Follow Discord
Sweep 27 Oct 2026 · 19:04Z Build v2.1.312 531 read Stable v2.1.308 Latest v2.1.312 Next v2.1.312 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.312 ·

Background session commands wait for a sign-in refresh before exiting

The logs, attach, respawn, rm and stop commands, and --bg, now wait for any sign-in refresh to finish before exiting

You'll notice Bug Fixes
JSON All of v2.1.312
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SessionsArea: what it touches
Bug FixesKind: in v2.1.312,
Bug FixesSection of the release
What

The commands that manage background sessions (logs, attach, respawn, rm and stop) and starting a session with --bg now wait for any sign-in token refresh in progress to finish before they exit. Before, they exited as soon as Claude Code had finished sending its usage data.

Why

A freshly refreshed sign-in is less likely to be lost when one of these commands exits.

See this entry in the whole of v2.1.312 →

Feedback