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.331,
Bug FixesSection of the release
What
A remote session keeps a live connection open to receive updates from the server. When the server answers that connection with a 401, meaning it does not accept the login, Claude Code tries to refresh the credentials. It now keeps count of refreshes that fail. It closes the connection as exhausted only once failed refreshes reach the limit (one, when a credential was sent) and its reconnection attempts are used up. Before, it closed on the first refresh that did not succeed.
Why
Remote sessions cope better with brief login hiccups instead of dropping the connection straight away.