Use it now Notable
--resume can now accept custom, non-UUID session IDs for SDK URL sessions.
A new helper decides whether a resumed session ID is adopted and whether the resume is effectively a fork. --resume now accepts custom, non-UUID session IDs specifically when d.sdkUrl is set, for SDK URL sessions. The returned message bundle now also reports resumedAsFork.
Names in the bundle--resume
--resume
Claude Code changelog modified, high confidence
* Fixed `-p --resume`/`--continue` (as used by the desktop app) failing on every retry once a session's worktree directory lost its git metadata; it now fails once, then resumes without the worktreesee the edit
--resume
Model configuration modified, high confidence
* **You resumed a session.** A session you resume with `claude --resume` or `--continue` usually [keeps the model it was using](#setting-your-model) rather than your current default.see the edit
--resume
Claude Code changelog modified, high confidence
* Fixed `claude -p --resume <file>` adopting a malformed session ID recorded in the transcript; it now resumes under a fresh session ID insteadsee the edit
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 Common workflows touched a line naming --resume after this was published.
| [`/loop`](/docs/en/scheduled-tasks) | The current CLI session | Quick polling while a session is open. `--resume` and `--continue` restore unexpired fixed-interval loops. |common-workflows see the edit
Confirmed since
Anthropic's documentation has since written up --resume, on Claude Code changelog.
* Improved `--continue` / `--resume`: the conversation appears immediately instead of waiting for SessionStart hooks, and the first message no longer re-reads the whole transcriptchangelog see the edit
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agrees
--resume on Claude Code changelog
Anthropic's release notes agree
Fixed claude -p --resume <file> adopting a malformed session ID recorded in the transcript; it now resumes under a fresh session ID instead