Under the hood
New helper classifies auth errors as dead, live, or unknown, plus telemetry for proxy usage
What
A new function classifies authentication or network errors into three states: dead (the credential is truly no longer valid), live (the error is likely transient), or unknown, based on error codes, HTTP status, and the outcome of OAuth token refresh attempts. A companion helper reports whether a proxy is being used and whether that proxy is a loopback (local machine) proxy.
Why
Distinguishing genuinely dead credentials from transient failures should let Claude Code avoid treating temporary network hiccups as a reason to force re-authentication.