Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.257 ·

CLI entrypoint/token wiring reorganized under a CLAUDE_CODE_REMOTE check

Reading tokens from file descriptors is now skipped under CLAUDE_CODE_REMOTE, which also affects entrypoint detection.

Under the hood Internal Changes
JSON All of v2.1.257
Under the hoodTier: how much it should matter to you
3Useful: my rating, 1 to 5
4Signal: worth watching, 1 to 5
AuthArea: what it touches
Internal ChangesKind: in v2.1.257,
What probably matters to youSection of the release

Startup now gates reading of several file-descriptor-based secret sources, the OAuth token FD, gateway token FD (CLAUDE_CODE_GATEWAY_TOKEN_FILE_DESCRIPTOR), API key FD, and websocket auth FD, behind !$e(a.CLAUDE_CODE_REMOTE). "Remote" entrypoint detection now also treats CLAUDE_CODE_REMOTE being set together with a resolved websocket or gateway token as a remote entrypoint.

Read from
What the documentation says
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up CLAUDE_CODE_REMOTE, on Customize sessions in self-hosted environments. | `CLAUDE_CODE_REMOTE_SESSION_ID` | Session ID in the tagged `cse_...` form. This is the same session the [lifecycle hooks](#lifecycle-hooks) see as `CLAUDE_RUNNER_SESSION_ID` in `session_...` form; the UUID variables match across both, an… self-hosted-environments-configuration see the edit
Added since A small documentation edit on Configure cloud environments touched a line naming CLAUDE_CODE_REMOTE after this was published. * **No cloud-only scoping**: hooks run in both local and cloud sessions. To skip local execution, exit early unless the `CLAUDE_CODE_REMOTE` environment variable is `true`, the way the [dependency install script](#install-dependencies-with… cloud-environments see the edit
How sure we are
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agreesA small documentation edit on Configure cloud environments touched a line naming CLAUDE_CODE_REMOTE after this was published.
The name it cites is new in this buildNew in this build: CLAUDE_CODE_GATEWAY_TOKEN_FILE_DESCRIPTOR

See this entry in the whole of v2.1.257 →

Feedback