Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.299 ·

The resume command shown on exit now works for worktree sessions

When you exit a session that ran in a worktree, Claude Code now prints a resume command that includes --worktree

You'll notice Bug Fixes
JSON All of v2.1.299
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
WorktreesArea: what it touches
Bug FixesKind: in v2.1.299,
Bug FixesSection of the release
What

When you leave a session, Claude Code prints a command you can copy to come back to it later. If the session ran in a worktree (a separate copy of your project folder), the command now includes the worktree, as claude --worktree "name" --resume <id>.

  • If the terminal is narrow, it uses the shorter flag form instead.
  • If neither fits, it prints plain claude --resume.
  • If the worktree's record has been cleared, it adds advice to run the command from that folder.
Why

You get a command that actually returns you to a worktree session instead of one that misses it.

Read from
Names in the bundle--worktree--resume
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up --resume, on Claude Code changelog. * Fixed `claude --help` text for `--tools`, `--resume`, `--debug`, `--json-schema`, `--disable-slash-commands`, `--system-prompt-snapshot` and `claude update` to match actual behavior changelog see the edit
Confirmed since Anthropic's documentation has since written up --worktree, on Desktop application. | Session isolation | [`--worktree`](/docs/en/cli-reference) flag | [Run a session in its own worktree](#run-a-session-in-its-own-worktree) | desktop see the edit
Added since A small documentation edit on Manage multiple agents with agent view touched a line naming --resume after this was published. Except in the kept cases covered in [What deleting a session removes](#what-deleting-a-session-removes), deleting removes the session from the list, and a worktree Claude created for it is removed, kept, or left in place depending on how y… agent-view see the edit
How sure we are
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agreesA small documentation edit on Manage multiple agents with agent view touched a line naming --resume after this was published.
Anthropic's release notes agreeFixed bare mode notices in background sessions telling you to restart without --bare, which keeps the mode; they now name /stop and claude…

See this entry in the whole of v2.1.299 →

Feedback