checkpoint resume: hide while experimental · Entire

checkpoint resume: hide while experimental

e4e48b4main·

pfleidi·1w ago·2 files·+6 added/-7 removed

Keep the command runnable but out of help output while the surface settles; drop the session-resume comparison from its help text.

Sessions

01KX1EDMAWF7JFGQNC5KTYBTTYView transcript

[?
Implement Checkpoint Resume CommandClaude Code·2 steps](/content/gh/entireio/cli/session/ba137a72-eaf9-443b-b868-49da78b39915#timeline-01KX1EDMAWF7JFGQNC5KTYBTTY/index.html)

Changes

2

20 unmodified lines

21
22
23
24
24
25
26
27
28
30
31
29
30
31
32

20 unmodified lines

explain  Explain a checkpoint, commit, or session
  tokens   Show token usage and optimization recommendations
  search   Search checkpoints (semantic + keyword)
  resume   Resume the agent session(s) recorded in a checkpoint

Examples:
  entire checkpoint list
  entire checkpoint explain <id|sha>
  entire checkpoint tokens <id>
  entire checkpoint search "fix login"
  entire checkpoint resume <id|sha|branch>`,  entire checkpoint search "fix login"`,
    PersistentPreRunE: func(cmd *cobra.Command, _ []string) error {
        if _, err := paths.WorktreeRoot(cmd.Context()); err != nil {
            return errors.New("not a git repository")

Mcmd/entire/cli/checkpoint_group.go+1/-3

34 unmodified lines

35
36
37
38
39
38
39
40
41
42
43
4 unmodified lines

48
49
50
50
51
51
52
53
54
55

34 unmodified lines

var force bool

cmd := &cobra.Command{
        Use:   "resume [checkpoint-id | commit-sha | branch]",
        Short: "Resume the agent session(s) recorded in a checkpoint",
        Use:    "resume [checkpoint-id | commit-sha | branch]",
        Short:  "Resume the agent session(s) recorded in a checkpoint",
        Hidden: true,
        Long: `Resume agent sessions from a committed checkpoint.

The target can be a checkpoint ID (or prefix), a commit SHA (or ref) whose
4 unmodified lines

For a checkpoint or commit target, the branch containing the checkpoint's
commit is checked out at its current tip before the session logs are
restored. If no local branch contains it, the session logs are restored
without switching branches. A branch target behaves like
'entire session resume <branch>'.
without switching branches. A branch target checks the branch out and
resumes its latest checkpoint.

With no target, shows recent checkpoints: an interactive picker on a
terminal, a plain-text list otherwise.