You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
ImprovementsKind: in v2.1.310,
ImprovementsSection of the release
What
A cloud session is Claude Code running on a remote machine. Creating one now handles refusals tied to device trust and sign-in:
When the server refuses with a 403 token_refused and device identity is enabled, Claude Code re-enrolls the computer as a device and sends the request again.
If that recovery fails, the message says: "this computer is not a trusted device for your account yet. Sign in again with /login to enroll it, then retry".
A new message covers an expired sign-in: "session expired for trusted-device check - run /login to re-authenticate".
Session creation now builds its sign-in details through a helper that can refresh credentials, so a failed create can retry with refreshed details.
The 403 message "Choose a cloud environment with /remote-env" now appears only when the refusal is recognised as an unrecognized-environment refusal.
Why
Starting a cloud session from a computer that is not yet enrolled as trusted can now recover by itself, and when it cannot, you are told to use /login instead of seeing a bare failure.