Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.335 ·

Self-hosted runners can use the session token for inference in nested calls

On self-hosted runners, a qualifying session token now stands in for the model token and is also passed to child processes as CLAUDE_CODE_OAUTH_TOKEN

Group of 2 You'll notice Improvements
JSON All of v2.1.335
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Self-Hosted RunnerArea: what it touches
ImprovementsKind: in v2.1.335,
ImprovementsSection of the release

What

A self-hosted runner is a machine you run yourself that picks up Claude Code sessions. When it starts Claude Code again inside a session (a nested call), it hands that copy a token, a credential that proves who is asking. Two things change about which token it hands over:

  • Model token: when both the inference token and the session token pass a check, the runner now uses the session token as the model token. The token refresh path makes the same substitution, and one token-file helper is skipped when the session token passes the check. Before, the current inference token was used directly. Requests sent through the agent proxy are now flagged with sendsThroughAgentProxy.
  • CLAUDE_CODE_OAUTH_TOKEN: when the token passes the check, the runner now also writes it to the child process as CLAUDE_CODE_OAUTH_TOKEN, labelled inference_token. Before, it wrote only CLAUDE_CODE_SESSION_ACCESS_TOKEN.

Why

This changes which credential nested Claude Code calls use on self-hosted runners. In practice, child processes started by the runner can now make model requests with the token the runner issued.

Read from
Names in the bundleCLAUDE_CODE_OAUTH_TOKEN
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_OAUTH_TOKEN, on How Claude Code in the terminal applies your console settings. * **On a computer whose managed settings name your organization**: a session that doesn't use your connection and can use a claude.ai login or `CLAUDE_CODE_OAUTH_TOKEN` for its model requests. A collector that the computer's managed settin… third-party/claude-desktop/admin-console-claude-code-reference see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up CLAUDE_CODE_OAUTH_TOKEN, on How Claude Code in the terminal applies your console settings.

See this entry in the whole of v2.1.335 →

Feedback