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 route through the agent proxy with a token opt-out and clearer errors

Self-hosted runners now route through an agent proxy with proxy session tokens, an opt-out flag, clearer 407 errors and a reworked git forwarder

Group of 3 Use it now Notable No documentation found Improvements
JSON All of v2.1.335
Use it nowTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Self-Hosted RunnerArea: what it touches
ImprovementsKind: in v2.1.335,
What probably matters to youSection of the release

What

A self-hosted runner is a machine you run yourself that picks up Claude Code sessions. An agent proxy is a server that sits between that runner and the outside world and passes its requests along. This release changes how the runner works with one:

  • --agent-proxy-url <url> now appears in the runner's help text. It routes every session through an agent proxy (https only), and the runner also clones http(s) repositories through it.
  • Proxy session tokens are now recognised. A token is a credential that proves who is asking. The runner refuses to decode a proxy token (decode-token: this is a proxy session token.) and sends registration and API requests through the agent proxy, with specific error messages when something fails. The request headers are now built from SELF_HOSTED_RUNNER_AGENT_PROXY_URL and the runner token.
  • --no-agent-proxy-session-tokens is a new opt-out flag, also available as the environment variable SELF_HOSTED_RUNNER_NO_AGENT_PROXY_SESSION_TOKENS. With it, the runner registers directly and keeps the real tokens on the runner.
  • A registration failure where the proxy answers with status 407, meaning the proxy wants you to log in to it, now gets its own message suggesting --no-agent-proxy-session-tokens or SELF_HOSTED_RUNNER_NO_AGENT_PROXY_SESSION_TOKENS. Before, you got a generic 401/403 credential message.
  • The runner warning now says whether registration goes through the agent proxy, and mentions SELF_HOSTED_RUNNER_SKIP_AGENT_PROXY_CHECK when --no-agent-proxy-session-tokens is on.
  • The git forwarder, which connects git to the agent proxy, now starts before the post-session hook, so git run by that hook can reach the git mount. It is also created for hook-based checkouts, and the checkout hook's git environment can be pointed at the proxy URL. If it cannot start, the runner logs "the forwarder to the self-hosted agent proxy did not start".
  • Session results now carry endedByServer.
  • A new .claude<suffix>.json file is read before the host config is applied.

Why

This changes how self-hosted runners sign in and where the real tokens are kept. If your runner sits behind a proxy that asks for a login, the new 407 message points you straight at the opt-out instead of a vague credential error.

Read from
How sure we are
One source agreesOne thing we can check says the same as this entry.
The name it cites is new in this buildNew in this build: SELF_HOSTED_RUNNER_NO_AGENT_PROXY_SESSION_TOKENS

See this entry in the whole of v2.1.335 →

Feedback