Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.212 Home All releases olderv2.1.211 v2.1.213newer
Claude Code v2.1.212

Resume Session at Flag

New CLI flag --resume-session-at=<message-uuid> for resuming a session starting at a specific point in the transcript.

Details
  • Must be combined with --resume; without it Claude Code exits immediately with Error: --resume-session-at requires --resume.
  • The value is the uuid field of a specific message in the saved transcript — not a timestamp, ordinal index, or boundary marker.
  • When the UUID is found, the loaded transcript is sliced to include only messages up to and including that message (messages.slice(0, index + 1)), so the resumed session behaves as if the conversation ended exactly at that point.
  • When the UUID is not found in the transcript, Claude Code exits with No message found with message.uuid of: <value> and a non-zero exit code.
  • Available in the TypeScript SDK as the resumeSessionAt option on the session options object; the SDK translates it to --resume-session-at=<value> in the subprocess argument list.
  • The flag is hidden from --help output (.hideHelp()); the internal help string reads: "When resuming, only messages up to and including the assistant message with <message.id>".
Evidence

--resume-session-at <message id> CLI option definition and the c.messages.findIndex((d) => d.uuid === t.resumeSessionAt) slicing inside loadInitialMessages / dqf (search for "resume-session-at")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.212 →