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
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…