Logging in or out now clears cached key and subscription state properly.
What's wrong with this entry?
The caches holding your primary API key and detected subscription now sit behind an object with a clear operation, called on logout, login and keychain changes, so stale auth state is dropped instead of lingering.
- New helpers expose the normalized subscription tier (max, pro, team or enterprise) and the rate-limit tier.
- Both are available only when you are signed in via OAuth; an API key or a
CLAUDE_CODE_OAUTH_TOKENoverride skips them.
case "max":
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.234
Signing back into the same account keeps a pending auto-resume
Both mention auth
-
v2.1.234
Token screen reports actual remaining validity
Both mention auth
-
v2.1.234
Setup-token login result carries the expiry
Both mention auth