Claude Code v2.1.225 ·
Trusted-device 403s handled on elevated-auth requests
A rejected session can now tell you it's stale and needs re-login, not just untrusted device.
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
SessionsArea: what it touches
ImprovementsKind: in v2.1.225,
ImprovementsSection of the release
What
A 403 from the code-session request helper can now report a stale session needing re-login, not just an untrusted device.
Details
- The helper always parses the error resource on a 403.
- Still returns
untrusted_device as before. - Additionally surfaces
session_stale_relogin when the call site is tagged elevated_auth. - Replaces the old
classifyUntrustedDevice option object. - The user-facing re-login message itself already existed in 2.1.224.
Evidence
Your session has expired for the trusted-device check. Run /login to re-authenticate, then retry.
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
See this entry in the whole of v2.1.225 →