Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.326 ·

Shorter error when --session-id is combined with --continue or --resume

Using --session-id with --continue or --resume but without --fork-session now gives a shorter error message

You'll notice Improvements
JSON All of v2.1.326
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
CLIArea: what it touches
ImprovementsKind: in v2.1.326,
ImprovementsSection of the release
What

If you start Claude Code with --session-id together with --continue or --resume, you must also pass --fork-session. If you leave it out, Claude Code stops and shows an error. That error is now shorter:

Error: --session-id with --continue or --resume also needs --fork-session.

Why

Only the wording changed. The rule is the same, so commands that worked before still work, and commands that failed before still fail.

Read from
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.

Added since A small documentation edit on Use Claude Code in the cloud touched a line naming --fork-session after this was published. | `--fork-session can't fork a cloud session, so nothing was opened or sent.` | To message the existing cloud session, run `claude -p "your message" --cloud <session-id>` without `--fork-session`. | claude-code-on-the-web see the edit
Confirmed since Anthropic's documentation has since written up --fork-session, on Manage sessions. Sessions created with `/branch` or `--fork-session` get their own session IDs and appear as separate rows. sessions see the edit
Confirmed since Anthropic's documentation has since written up --continue, on Claude Code changelog. * Added `CLAUDE_CODE_DISABLE_DEFERRED_TOOL_RESUME`, which lets a host stop `claude -p --resume` and `--continue` from running a tool call that a hook deferred changelog see the edit
Confirmed since Anthropic's documentation has since written up --resume, on Claude Code changelog. * Fixed a plugin's agent being dropped when resuming a session from the `--resume` picker changelog see the edit
How sure we are
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up --resume, on Claude Code changelog.
Anthropic's release notes agreeFixed Program Status Protocol (OSC 7501) terminals showing a finished turn after idle compaction, or no status for background sessions…

See this entry in the whole of v2.1.326 →

Feedback