Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.326 ·

Self-hosted runner offers a built-in gh api and renews tool-server tokens

The self-hosted runner gains --use-anthropic-gh, on by default, which offers sessions a built-in gh api, and it can now keep tool-server tokens renewed

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

What

A self-hosted runner is a machine you run yourself that starts Claude Code sessions for you. Two things changed.

  • Built-in gh api: a new flag, --use-anthropic-gh, offers the sessions the runner starts a built-in gh api command. gh is GitHub's command-line tool. The built-in version reaches only the github.com REST API, which is GitHub's standard web interface for programs.
  • On by default: the setting can also be given through the SELF_HOSTED_RUNNER_USE_ANTHROPIC_GH environment variable (a named value set in your shell), whose default is "default". The runner logs when the offer was made this way, labelled 'by default'.
  • Withheld in some situations: the runner does not offer it on Windows, when --capacity is above 1, with a third-party provider, or when CLAUDE_CODE_CHILD_SESSION is set. It warns when it cannot offer it.
  • Status lines: the runner prints 'built-in gh:' lines saying whether it was offered.
  • Token renewal: the runner can keep a tool-server session's access token renewed. It gives up a fixed number of minutes after the token expires and shows new status messages about this.
  • New config entries: the runner config gains useAnthropicGh and noCloneThroughAgentProxy, which is set to false.

Why

Runners that have no gh installed can still give sessions an authenticated way to call the GitHub REST API. If you do not want this, you can turn it off with the flag or the environment variable. Watch the 'built-in gh:' lines to see whether it was offered.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeSelf-hosted runner: Changed Linux and macOS sessions with no gh to get a built-in gh api by default, via Anthropic, which adds their GitHub…

See this entry in the whole of v2.1.326 →

Feedback