Follow Discord
Sweep 03 Nov 2026 · 22:27Z Build v2.1.318 536 read Stable v2.1.311 Latest v2.1.318 Next v2.1.318 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.317 ·

Relaunched Claude Code keeps your original options for the resume hint

When Claude Code relaunches itself, it passes a cleaned-up copy of your original command-line options on so the resume hint can repeat them

Under the hood No documentation found Internal Changes
JSON All of v2.1.317
Under the hoodTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SessionsArea: what it touches
Internal ChangesKind: in v2.1.317,
Internal ChangesSection of the release
What

When Claude Code relaunches itself, starting a new copy of itself without being given explicit arguments, it now sets CLAUDE_CODE_RELAUNCH_RESUME_HINT_FLAGS for the new copy. This environment variable holds the command-line options (flags) you originally started Claude Code with, cleaned up first:

  • Removed options: resume, continue, session-id, worktree, prefill and some others, plus teammate and agent options
  • Character check: an option is kept only if it uses a strict set of characters
  • System paths: anything touching /dev/ or /proc/ is dropped

The new copy reads the variable, clears it, and uses it only if cleaning it again gives exactly the same result.

Why

The hint shown after a relaunch, telling you how to resume, can then include the options you first started with.

Read from
How sure we are
One source agreesOne thing we can check says the same as this entry.
The name it cites is new in this buildNew in this build: CLAUDE_CODE_RELAUNCH_RESUME_HINT_FLAGS

See this entry in the whole of v2.1.317 →

Feedback