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.
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 deferredchangelog 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` pickerchangelog see the edit
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up --resume, on Claude Code changelog.
Anthropic's release notes agree
Fixed Program Status Protocol (OSC 7501) terminals showing a finished turn after idle compaction, or no status for background sessions…