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

SDK reports where an API key actually came from

The SDK now reports where an API key really came from, like the env var or an apiKeyHelper.

Under the hood Improvements
JSON All of v2.1.234
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SDKArea: what it touches
ImprovementsKind: in v2.1.234,
ImprovementsSection of the release
What

The credential-source values in the SDK schema now lead with what current CLIs really emit: ANTHROPIC_API_KEY, apiKeyHelper, /login managed key and none. The previous set (user, project, org, temporary, oauth) remains only as documented legacy so existing types keep compiling.

Evidence

'user' | 'project' | 'org' | 'temporary' | 'oauth' are legacy members that current CLIs never emit

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

Read from
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Added since A small documentation edit on Authentication touched a line naming ANTHROPIC_API_KEY after this was published. [Cloud sessions](/docs/en/claude-code-on-the-web) always use your subscription credentials. If you set `ANTHROPIC_API_KEY` or `ANTHROPIC_AUTH_TOKEN` in the cloud environment, it doesn't override your subscription credentials. authentication see the edit
Added since A small documentation edit on Week 20 · May 11–15, 2026 touched a line naming apiKeyHelper after this was published. <div>Remote Control, <code>/schedule</code>, claude.ai MCP connectors, and notification preferences are now disabled when <code>ANTHROPIC\_API\_KEY</code>, <code>apiKeyHelper</code>, or <code>ANTHROPIC\_AUTH\_TOKEN</code> is set, even alon… whats-new/2026-w20 see the edit
Confirmed since Anthropic's documentation has since written up apiKeyHelper, on Connect Claude Code to an LLM gateway. * **Amazon Bedrock, Google Cloud's Agent Platform, or Claude Platform on AWS**: add `ANTHROPIC_AUTH_TOKEN` after the block. Claude Code sends it to the gateway as an `Authorization: Bearer` header. For a credential in a different scheme or… llm-gateway-connect see the edit
Confirmed since Anthropic's documentation has since written up ANTHROPIC_API_KEY, on permission-policies. -H "x-api-key: $ANTHROPIC_API_KEY" \ managed-agents/permission-policies see the edit
How sure we are
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up ANTHROPIC_API_KEY, on permission-policies.
Anthropic's release notes agreeFixed modal text such as the /login OAuth URL losing characters when copied in fullscreen

See this entry in the whole of v2.1.234 →

Feedback