Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.242 ·

Cloud headless can ask its host to refresh the OAuth token

A host program can take over refreshing your login token, off unless an env var is set.

Nothing to try yet Notable No documentation found In Development
JSON All of v2.1.242
Nothing to try yetTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
AuthArea: what it touches
In DevelopmentKind: in v2.1.242,
What probably matters to youSection of the release

OAuth refresh delegation installs only when CLAUDE_CODE_SDK_HAS_OAUTH_REFRESH is set and the entrypoint matches.

What

Instead of refreshing the login token itself, the client can hand that job to the program embedding it. This is installed only when CLAUDE_CODE_SDK_HAS_OAUTH_REFRESH is set and CLAUDE_CODE_ENTRYPOINT names one of a fixed set of entry points, so it is off by default.

Details
  • Whether the bridge was installed is reported as oauth_bridge in the session-started event.
Evidence

CLAUDE_CODE_SDK_HAS_OAUTH_REFRESH

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Read from

See this entry in the whole of v2.1.242 →

Feedback