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

Claude Code v2.1.246 ·

Idle exit after a configurable delay

Set a delay and Claude Code will shut itself down after sitting idle that long.

Use it now Notable New Features
JSON All of v2.1.246
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Session LifecycleArea: what it touches
New FeaturesKind: in v2.1.246,
What probably matters to youSection of the release
What

Set CLAUDE_CODE_EXIT_AFTER_STOP_DELAY to a positive value and Claude Code will now shut itself down once the session has sat idle for that whole window. With the variable unset or non-positive the watchdog never starts, so behaviour is unchanged.

Details
  • The timer restarts itself after each check rather than firing once, so a session that becomes busy again resets the window.
  • If the idleness check itself throws, the chain stops and the error is logged instead of taking the process down.
Usage
CLAUDE_CODE_EXIT_AFTER_STOP_DELAY=300000 claude
Evidence

Exiting after

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

Read from

See this entry in the whole of v2.1.246 →

Feedback