Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.223 Home All releases olderv2.1.222 v2.1.224newer

Settings-supplied API and credential env vars are stripped when ANTHROPIC_UNIX_SOCKET is set

You'll notice
Useful2 Signal0
Auth

When you connect through a unix socket, settings files can no longer override your API keys or endpoint.

ANTHROPIC_UNIX_SOCKETANTHROPIC_BASE_URLANTHROPIC_API_KEYANTHROPIC_AUTH_TOKENCLAUDE_CODE_OAUTH_TOKEN
What

When Claude Code talks to a unix socket, env vars coming from settings files can no longer redirect or re-credential that connection.

Details
  • Env vars applied from settings are filtered through a deny set covering ANTHROPIC_UNIX_SOCKET, ANTHROPIC_BASE_URL, ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN, CLAUDE_CODE_OAUTH_TOKEN, and every CLAUDE_CODE_ARTIFACT* variable.
  • Only applies when process.env.ANTHROPIC_UNIX_SOCKET is set; otherwise settings env vars are applied as before.
Evidence

ANTHROPIC_UNIX_SOCKET

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

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.223 →