{"version":"2.1.212","anchor":"resume-session-at-flag","canonical_anchor":"resume-session-at-flag","heading":"Resume Session at Flag","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.212\/e\/resume-session-at-flag","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.212","markdown":"### Resume Session at Flag\n\nNew CLI flag `--resume-session-at=<message-uuid>` for resuming a session starting at a specific point in the transcript.\n\n**Details**\n\n- Must be combined with `--resume`; without it Claude Code exits immediately with `Error: --resume-session-at requires --resume`.\n- The value is the `uuid` field of a specific message in the saved transcript \u2014 not a timestamp, ordinal index, or boundary marker.\n- 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.\n- 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.\n- 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.\n- 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>\".\n\n**Evidence**\n\n`--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\"`)"}