Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.336 ·

Claude Code can wait for a login token refresh before it exits

When a session ends, Claude Code can now wait up to a deadline for an in-progress login token refresh before forcing its exit

You'll notice Improvements
JSON All of v2.1.336
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
AuthArea: what it touches
ImprovementsKind: in v2.1.336,
ImprovementsSection of the release
What

When a session ends, Claude Code shuts down and then forces its process to exit. A session is one run of Claude Code from start to finish. Under some conditions it now waits for a login token refresh that is still in progress before forcing the exit. A token refresh renews the credential that keeps you signed in. The wait has a deadline, and Claude Code exits once that passes. It does not apply on Windows. Before, Claude Code forced the exit straight away.

Why

This can stop a token refresh being cut off halfway when Claude Code closes. Exiting may take a little longer when a refresh is underway.

See this entry in the whole of v2.1.336 →

Feedback