Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

--resume

cli in the build documented JSON

A Claude Code CLI flag, read out of the shipped bundle. It has been in the build since v2.1.138, including the newest one read.

Also written -r. Every list on this page counts all of these spellings together.

Resume a specific session by ID or name, or show an interactive picker to choose a session. In place of an ID, you can pass the absolute path to a session's .jsonl transcript file. The picker and name search include sessions that added this directory with /add-dir. When you pass a session ID, Claude Code searches the current project directory and its git worktrees, then every other project on this machine. Before v2.1.223, the ID search covered only the current project directory and its git worktrees. Background sessions appear in the picker marked with bg

Anthropic's own wording. Read off CLI reference, captured 2026-09-26.

First seen v2.1.138 9 May 2026
Last seen v2.1.308 22 Oct 2026
Builds149 / 149on this box, as of v2.1.308
Written about v0.2.117 first named in a changelog, 17 May 2025
v2.1.138in the build not in the build never minedv2.1.308

In the changelogs

65

Releases whose published page names --resume.

  1. v2.1.305
    Groundwork for resuming a cloud session with --resume

    Code that would let --resume pick up a cloud session alongside --cloud is present but cannot be reached in this build

    found in this entry's text, named in this entry

  2. v2.1.304
    --await-claim can no longer be combined with --sdk-url

    Claude Code now refuses to start when --await-claim and --sdk-url are used together

    found in this entry's text

  3. v2.1.304
    --resume help text now mentions resuming by session name

    The help text for --resume now says you can pass a session ID or a session name, or open the picker with a search term

    found in this entry's text, named in this entry

  4. v2.1.302
    Clearer errors when --continue or --resume fails

    Some failures during --continue or --resume now exit with their own message instead of one generic failure

    found in this entry's text, named in this entry

  5. v2.1.302
    --resume shows the real reason when a session will not load

    When --resume with a file or session ID fails in a particular way, Claude Code now shows that error instead of a generic message

    found in this entry's text, named in this entry

  6. v2.1.302
    /resume refuses while the terminal is attached to a remote session

    In a terminal attached to a remote session, /resume now explains how to resume a local conversation instead of opening the picker

    found in this entry's text, named in this entry

  7. v2.1.302
    The suggested resume command can include an environment variable

    The command Claude Code suggests for resuming a session can now start with an environment variable setting, such as X=1 claude --resume <id>

    found in this entry's text, named in this entry

  8. v2.1.302
    A path length limit drops from 4096 to 1024 characters

    A path check now rejects paths longer than 1024 characters instead of 4096, and one sandbox error for plugin folders is now reported differently

    found in this entry's text

  9. v2.1.302
    claude -p with --continue or --resume now exits on certain errors

    In print mode, some failures while continuing or resuming a conversation now print the error and exit with code 1 instead of starting empty

    found in this entry's text, named in this entry

  10. v2.1.299
    The resume command shown on exit now works for worktree sessions

    When you exit a session that ran in a worktree, Claude Code now prints a resume command that includes --worktree

    found in this entry's text, named in this entry

  11. v2.1.299
    Self-hosted runner startup timeout covers more cases, and fetch size check skips some responses

    The --startup-timeout-min help now says the timer covers MCP connection and idle sessions, and restarts whenever the child writes output

    found in this entry's text

  12. v2.1.299
    Claude Code drops stuck error output instead of waiting on it

    If error output backs up for over 10 seconds and 1 MiB, Claude Code now drops it and leaves a notice saying messages were dropped

    found in this entry's text

  13. v2.1.299
    No visible change to the --await-claim error message

    The error shown when --await-claim is combined with --continue, --resume or --fork-session is worded the same as before

    found in this entry's text, named in this entry

  14. v2.1.290
    Exiting a cloud session now shows how to continue it with --cloud

    When you leave a cloud session, the hint now shows claude --cloud <id> instead of the local claude --resume command

    found in this entry's text, named in this entry

  15. v2.1.290
    Resuming with --resume and --print can append an attachment

    When a resumed non-interactive session drops its last turn, Claude Code can now add an attachment entry instead of only trimming

    found in this entry's text, named in this entry

  16. v2.1.290
    Restarting a background session can now continue as a copy

    A restarted background session can now resume as a fresh copy with --fork-session, and a saved reply starting with / or ! gets a warning

    found in this entry's text, named in this entry

  17. v2.1.285
    New --desktop option opens a session in the Claude Desktop app

    claude --desktop opens the session in the Claude Desktop app instead of the terminal, and works with --continue or --resume

    found in this entry's text

  18. v2.1.285
    Open the Claude Desktop app from the terminal with claude --desktop

    The new claude --desktop flag opens the Claude Desktop app, and can resume a session there with --continue or --resume

    found in this entry's text

  19. v2.1.285
    Resuming a running background session now opens it

    Picking a still-running background session in /resume now tries to open it, and falls back to a screen explaining why when it cannot

    found in this entry's text, named in this entry

  20. v2.1.285
    Resuming a running background session now opens it and sends your prompt

    --resume on a session running in the background now attaches to it and hands over your prompt instead of refusing

    found in this entry's text, named in this entry

  21. v2.1.285
    /update refusal now names both directories involved

    When /update refuses because a session came from another project, the message now names that directory and the current one

    found in this entry's text

  22. v2.1.285
    Resuming a session that is still running elsewhere now carries your prompt

    If another process is still running a session you resume, Claude Code now passes your prompt to the screen that handles it, and --resume can take a title

    found in this entry's text

  23. v2.1.284
    No repeat home-directory trust prompt when Claude Code relaunches itself

    If you already accepted the home-directory trust prompt, Claude Code no longer asks again when it relaunches itself during a resume

    found in this entry's text, named in this entry

  24. v2.1.283
    Resumed sessions record where they came from

    Resuming a session now records the original session ID and transcript path, and forked commands and agents get the session's permission mode

    found in this entry's text, named in this entry

  25. v2.1.282
    Clearer error when resuming a session fails on Windows because a file read is blocked

    On Windows, a failed --resume caused by a blocked file read now explains that security software may be the cause and how to fix it

    found in this entry's text, named in this entry

  26. v2.1.281
    New SDK pre-warmed spare process: --await-claim plus claim_session control request

    A hidden --await-claim option lets an SDK host start a spare Claude Code process early and bind it to a session later

    found in this entry's text

  27. v2.1.281
    Resume: resumeSource recorded; fleet view gets extra working directories

    --resume now records where a session was resumed from, and fleet view opened this way gets extra working directories

    found in this entry's text, named in this entry

  28. v2.1.281
    Resume passes host-answerable tool-use IDs

    Resuming in print mode now works out which tool calls the host can answer and passes them to session loading

    found in this entry's text

  29. v2.1.275
    Cloud sessions by default: plain claude invocations can be silently routed to the cloud

    Plain claude commands can now be silently routed to a cloud session by default under a new flag

    found in this entry's text

  30. v2.1.275
    New env var CLAUDE_CODE_PARKED_PERMISSION_WAIT_MS with 2000ms fallback

    New CLAUDE_CODE_PARKED_PERMISSION_WAIT_MS env var sets a 2 second default wait for parked permissions

    found in this entry's text

  31. v2.1.268
    Print-mode resume gains cloud-session fork seed adoption and a hydration pass

    Print-mode session resume can now pick up where a forked cloud session left off

    found in this entry's text

  32. v2.1.261
    --resume can now adopt/accept custom (non-UUID) session IDs when used with SDK URL sessions

    --resume can now accept custom, non-UUID session IDs for SDK URL sessions.

    found in this entry's text, named in this entry

  33. v2.1.260
    Worktree-session cleanup on resume consolidated into a shared helper

    Worktree cleanup logic on resume was consolidated into a shared helper.

    found in this entry's text

  34. v2.1.259
    Early hydrate prefetch for SDK/remote-control resume sessions

    Starting with --sdk-url and --resume now warms session and history state in parallel with the rest of startup.

    found in this entry's text, named in this entry

  35. v2.1.257
    --background/--bg can now resume a session in place

    Combining --bg with --resume now continues that session in the background under the same ID.

    found in this entry's text, named in this entry

  36. v2.1.246
    Copyable resume command no longer carries a broken session id

    The suggested resume command no longer pastes a broken or undefined session id after the flag.

    named in this entry, found in this entry's text

  37. v2.1.242
    Artifact comment replies can move to another session of the same conversation

    Automatic replies to Artifact comments can move between sessions of the same conversation.

    found in this entry's text

  38. v2.1.239
    Resume hints no longer point at directories that are gone

    You no longer get a resume command suggesting a project directory that no longer exists.

    named in this entry, found in this entry's text

  39. v2.1.236
    --continue and --resume failures now say what went wrong

    A failed --continue or --resume now tells you the error and exits instead of quietly carrying on.

    named in this entry, found in this entry's text

  40. v2.1.234
    Resuming a session can retire unanswered permission prompts instead of re-running them

    Resuming could drop unanswered permission prompts instead of re-running the interrupted turn, but only with an env var set.

    found in this entry's text

  41. v2.1.232
    Rate-limit checkpoint can commit in-progress work to a hidden git ref

    Before a usage limit cuts you off, your work can be committed to a hidden git ref with resume notes.

    named in this entry, found in this entry's text

  42. v2.1.232
    --session-id now works with --continue/--resume under an SDK URL

    --session-id now works with --continue or --resume when an SDK URL is supplied.

    named in this entry, found in this entry's text

  43. v2.1.232
    Bridge worker processes are launched with a resume argument

    Remote bridge worker processes now start with a resume argument derived from the session URL.

    found in this entry's text

  44. v2.1.232
    Resuming with an unrecognisable session id now forks instead of resuming

    An unparseable --resume session id now forks and replays instead of quietly resuming.

    named in this entry, found in this entry's text

  45. v2.1.223
    New hidden CLI flag --resume-drops-turn

    A hidden flag lets you declare which turn a truncating resume is meant to discard.

    named in this entry

  46. v2.1.223
    --resume-session-at help text clarified to chain entries

    The --resume-session-at help now explains it takes a chain-entry id, not an assistant message id.

    named in this entry, found in this entry's text

  47. v2.1.221
    Teammate respawn records transcript restoration and first-paint marks

    Resumed teammate sessions now replay first-paint marks to clients that attach, so reattaching looks right.

    found in this entry's text

  48. v2.1.221
    Memory recall index is prewarmed at startup

    Claude warms the memory recall index at startup so your first recall is faster.

    named in this entry, found in this entry's text

  49. v2.1.218
    Backgrounded Session Messages Improved

    found in this entry's text

  50. v2.1.217
    Transcript Persistence Warnings

    found in this entry's text

  51. v2.1.212
    Resume Session at Flag

    found in this entry's text

  52. v2.1.200
  53. v2.1.193

    found in this entry's text

  54. v2.1.191
    Contextual Tips System [Gradual Rollout]

    found in this entry's text

  55. v2.1.191
    History Picker: Previous Session Entry

    found in this entry's text

  56. v2.1.101
    Resume Sessions by Title

    found in this entry's text

  57. v2.1.31
    Session Resume Hint on Exit

    found in this entry's text

  58. v2.1.27
    --from-pr Flag for PR-Linked Session Resume

    found in this entry's text

  59. v2.0.50
    Cross-Project Conversation Resume

    found in this entry's text

  60. v1.0.125
    Resume Session at Specific Message

    found in this entry's text

  61. v1.0.120
    File History Persistence Across Sessions

    found in this entry's text

  62. v1.0.62
    🆕 Session Start Hooks

    found in this entry's text

  63. v1.0.31
    Documentation Updates

    found in this entry's text

  64. v1.0.26
    Resume Conversation Command

    found in this entry's text

  65. v0.2.117
    Enhanced Print Mode (--print) 📄

    found in this entry's text

First cited

11

The earliest release whose published evidence quoted --resume was v2.1.223, 5 Aug 2026. That is the oldest release this project wrote about it, so it is a floor on the name's age and not the release that introduced it. It is not a presence reading: which builds carried the name is the table below.

ReleaseDateThe span that was quoted
v2.1.2235 Aug 2026any chain-entry UUID, typically the kept turn's last entry (use with --resume in print mode)
v2.1.23213 Aug 2026Error: --session-id can only be used with --continue or --resume if --fork-session is also specified.
v2.1.23619 Aug 2026Run claude --resume to pick a session, or start a new one.
v2.1.23921 Aug 2026claude --resume
v2.1.24625 Aug 2026claude --resume${g}
v2.1.2571 Sep 2026With --resume <session-id>, continues that session in the background under the same ID, or starts a copy and says so when the session is already running

5 further spans in the ledger name it. The list above is the earliest first and stops at 6.

Presence across releases

1
BuildsHow manyDatesReading
v2.1.138 – v2.1.308149 builds9 May 2026 → 22 Oct 2026 ◆in the build

Build by build

149

One row per release since the first build this name was read out of. Absent means the build was read and the name was not in it, never mined means no bundle for that release was ever archived, and a declared type or a default is only ever what that release's own bundle stated.

BuildDateStateThe record behind it
v2.1.1389 May 2026·presentverdict: present
v2.1.13911 May 2026·presentverdict: present
v2.1.14012 May 2026·presentverdict: present
v2.1.141·presentverdict: present
v2.1.142·presentverdict: present
v2.1.143·presentverdict: present
v2.1.144·presentverdict: present
v2.1.145·presentverdict: present
v2.1.146·presentverdict: present
v2.1.147·presentverdict: present
v2.1.148·presentverdict: present
v2.1.149·presentverdict: present
v2.1.150·presentverdict: present
v2.1.152·presentverdict: present
v2.1.153·presentverdict: present
v2.1.154·presentverdict: present
v2.1.156·presentverdict: present
v2.1.157·presentverdict: present
v2.1.158·presentverdict: present
v2.1.159·presentverdict: present
v2.1.160·presentverdict: present
v2.1.161·presentverdict: present
v2.1.162·presentverdict: present
v2.1.1634 Jun 2026·presentverdict: present
v2.1.1655 Jun 2026·presentverdict: present
v2.1.1665 Jun 2026·presentverdict: present
v2.1.1676 Jun 2026·presentverdict: present
v2.1.1686 Jun 2026·presentverdict: present
v2.1.1698 Jun 2026·presentverdict: present
v2.1.1709 Jun 2026·presentverdict: present
v2.1.17210 Jun 2026·presentverdict: present
v2.1.17311 Jun 2026·presentverdict: present
v2.1.17411 Jun 2026·presentverdict: present
v2.1.17512 Jun 2026·presentverdict: present
v2.1.17612 Jun 2026·presentverdict: present
v2.1.17713 Jun 2026·presentverdict: present
v2.1.17815 Jun 2026·presentverdict: present
v2.1.17916 Jun 2026·presentverdict: present
v2.1.18117 Jun 2026·presentverdict: present
v2.1.18218 Jun 2026·presentverdict: present
v2.1.18319 Jun 2026·presentverdict: present
v2.1.18520 Jun 2026·presentverdict: present
v2.1.18622 Jun 2026·presentverdict: present
v2.1.18723 Jun 2026·presentverdict: present
v2.1.19024 Jun 2026·presentverdict: present
v2.1.19124 Jun 2026·presentverdict: present
v2.1.19325 Jun 2026·presentverdict: present
v2.1.19526 Jun 2026·presentverdict: present
v2.1.19629 Jun 2026·presentverdict: present
v2.1.19730 Jun 2026·presentverdict: present
v2.1.1981 Jul 2026·presentverdict: present
v2.1.1992 Jul 2026·presentverdict: present
v2.1.2003 Jul 2026·presentverdict: present
v2.1.2013 Jul 2026·presentverdict: present
v2.1.2026 Jul 2026·presentverdict: present
v2.1.2037 Jul 2026·presentverdict: present
v2.1.2048 Jul 2026·presentverdict: present
v2.1.2058 Jul 2026·presentverdict: present
v2.1.2069 Jul 2026·presentverdict: present
v2.1.20710 Jul 2026·presentverdict: present
v2.1.20813 Jul 2026·presentverdict: present
v2.1.20914 Jul 2026·presentverdict: present
v2.1.21014 Jul 2026·presentverdict: present
v2.1.21115 Jul 2026·presentverdict: present
v2.1.21216 Jul 2026·presentverdict: present
v2.1.21317 Jul 2026·presentverdict: present
v2.1.21418 Jul 2026·presentverdict: present
v2.1.21519 Jul 2026·presentverdict: present
v2.1.21620 Jul 2026·presentverdict: present
v2.1.21721 Jul 2026·presentverdict: present
v2.1.21822 Jul 2026·presentverdict: present
v2.1.21924 Jul 2026·presentverdict: present
v2.1.22024 Jul 2026·presentverdict: present
v2.1.2213 Aug 2026·presentverdict: present
v2.1.2224 Aug 2026·presentverdict: present
v2.1.2235 Aug 2026·presentverdict: present
v2.1.2247 Aug 2026·presentverdict: present
v2.1.2257 Aug 2026·presentverdict: present
v2.1.2268 Aug 2026·presentverdict: present
v2.1.22710 Aug 2026·presentverdict: present
v2.1.22811 Aug 2026·presentverdict: present
v2.1.22912 Aug 2026·presentverdict: present
v2.1.23113 Aug 2026·presentverdict: present
v2.1.23213 Aug 2026·presentverdict: present
v2.1.23314 Aug 2026·presentverdict: present
v2.1.23417 Aug 2026·presentverdict: present
v2.1.23518 Aug 2026·presentverdict: present
v2.1.23619 Aug 2026·presentverdict: present
v2.1.23719 Aug 2026·presentverdict: present
v2.1.23820 Aug 2026·presentverdict: present
v2.1.23921 Aug 2026·presentverdict: present
v2.1.24022 Aug 2026·presentverdict: present
v2.1.24122 Aug 2026·presentverdict: present
v2.1.24224 Aug 2026·presentverdict: present
v2.1.24324 Aug 2026·presentverdict: present
v2.1.24525 Aug 2026·presentverdict: present
v2.1.24625 Aug 2026·presentverdict: present
v2.1.24726 Aug 2026·presentverdict: present
v2.1.24827 Aug 2026·presentverdict: present
v2.1.25027 Aug 2026·presentverdict: present
v2.1.25128 Aug 2026·presentverdict: present
v2.1.25231 Aug 2026·presentverdict: present
v2.1.2571 Sep 2026·presentverdict: present
v2.1.2581 Sep 2026·presentverdict: present
v2.1.2592 Sep 2026·presentverdict: present
v2.1.2603 Sep 2026·presentverdict: present
v2.1.2614 Sep 2026·presentverdict: present
v2.1.2636 Sep 2026·presentverdict: present
v2.1.2658 Sep 2026·presentverdict: present
v2.1.2668 Sep 2026·presentverdict: present
v2.1.2679 Sep 2026·presentverdict: present
v2.1.26810 Sep 2026·presentverdict: present
v2.1.26911 Sep 2026·presentverdict: present
v2.1.27012 Sep 2026·presentverdict: present
v2.1.27114 Sep 2026·presentverdict: present
v2.1.27214 Sep 2026·presentverdict: present
v2.1.27315 Sep 2026·presentverdict: present
v2.1.27416 Sep 2026·presentverdict: present
v2.1.27517 Sep 2026·presentverdict: present
v2.1.27618 Sep 2026·presentverdict: present
v2.1.27718 Sep 2026·presentverdict: present
v2.1.27819 Sep 2026·presentverdict: present
v2.1.28022 Sep 2026·presentverdict: present
v2.1.28123 Sep 2026·presentverdict: present
v2.1.28224 Sep 2026·presentverdict: present
v2.1.28325 Sep 2026·presentverdict: present
v2.1.28428 Sep 2026·presentverdict: present
v2.1.28529 Sep 2026·presentverdict: present
v2.1.28630 Sep 2026·presentverdict: present
v2.1.2871 Oct 2026·presentverdict: present
v2.1.2882 Oct 2026·presentverdict: present
v2.1.2893 Oct 2026·presentverdict: present
v2.1.2905 Oct 2026·presentverdict: present
v2.1.2916 Oct 2026·presentverdict: present
v2.1.2926 Oct 2026·presentverdict: present
v2.1.2937 Oct 2026·presentverdict: present
v2.1.2948 Oct 2026·presentverdict: present
v2.1.2958 Oct 2026·presentverdict: present
v2.1.2969 Oct 2026·presentverdict: present
v2.1.29914 Oct 2026·presentverdict: present
v2.1.30014 Oct 2026·presentverdict: present
v2.1.30115 Oct 2026·presentverdict: present
v2.1.30216 Oct 2026·presentverdict: present
v2.1.30318 Oct 2026·presentverdict: present
v2.1.30419 Oct 2026·presentverdict: present
v2.1.30520 Oct 2026·presentverdict: present
v2.1.30621 Oct 2026·presentverdict: present
v2.1.30721 Oct 2026·presentverdict: present
v2.1.30822 Oct 2026·presentverdict: present

Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the CLI flag does. All CLI flags.

Feedback