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.221 ·

Web sessions can adopt refreshed credentials from the heartbeat

Web sessions can swap in a refreshed credential mid-run instead of waiting for the old one to expire.

Under the hood No documentation found New Features
JSON All of v2.1.221
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
AuthArea: what it touches
New FeaturesKind: in v2.1.221,
New FeaturesSection of the release
What

The Claude-Code-on-the-web worker client can pick up a new credential mid-session when the server sends one on a heartbeat, rather than waiting for the existing credential to lapse.

Details
  • New adoptRefreshedAuth: if a heartbeat response carries refreshed_auth with expires_in_seconds, the worker adopts the credential in place.
  • Diagnostics cli_heartbeat_refreshed_auth_signal, cli_heartbeat_refreshed_auth_late_adopted and cli_heartbeat_refreshed_auth_adopt_threw.
  • Repeated failure reasons are deduped via lastAuthRefreshBadReason.
  • Only wired in when CLAUDE_CODE_ENVIRONMENT_KIND is unset; otherwise the handler is not passed at all.
Evidence

cli_heartbeat_refreshed_auth_signal

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

Read from
Names in the bundleCLAUDE_CODE_ENVIRONMENT_KIND

See this entry in the whole of v2.1.221 →

Feedback