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.