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.336 ·

Programs built on Claude Code can sign a user in before startup is refused

In headless stream-json mode, Claude Code can now run a sign-in flow for the host program before it would refuse to start.

You'll notice No documentation found Improvements
JSON All of v2.1.336
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
SDKArea: what it touches
ImprovementsKind: in v2.1.336,
ImprovementsSection of the release
What

Some programs run Claude Code in the background and talk to it through JSON messages instead of a terminal (the stream-json input format). In that setup, when Claude Code would otherwise refuse to start, it now first answers a few control messages that let the host program sign the user in: initialize, claude_authenticate, claude_oauth_callback and claude_oauth_wait_for_completion.

This only happens when:

  • input is stream-json
  • no terminal is attached
  • none of several startup options is used, such as resume, continue or background

If the managed settings on the computer change during sign-in, or cannot be read, Claude Code does not save the sign-in and asks you to sign in again. The sign-in also gives up after a time limit.

Why

Programs that embed Claude Code can now sign a user in when a company policy would otherwise stop it from starting.

Read from
Names in the bundleclaude_authenticateclaude_oauth_callbackclaude_oauth_wait_for_completion

See this entry in the whole of v2.1.336 →

Feedback