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

A check that stays false when ANTHROPIC_UNIX_SOCKET is set

Claude Code has a check that is true only for direct Anthropic API access with ANTHROPIC_UNIX_SOCKET unset, plus two further internal conditions

Under the hood Internal Changes
JSON All of v2.1.306
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
Internal ChangesKind: in v2.1.306,
Internal ChangesSection of the release

Unclear It is not clear whether anything calls this check, so what it controls for a reader is unknown.

What

Claude Code contains a check that answers yes only when all of these hold:

  • the API provider is Anthropic itself, rather than a third-party cloud provider
  • the ANTHROPIC_UNIX_SOCKET environment variable is not set (an environment variable is a named value you set in your shell before starting a program)
  • two further internal conditions are met

If any part of the check fails with an error, Claude Code logs the error and treats the answer as no. No place in Claude Code that uses this check was found, so it is not known what it turns on or off.

Why

The check reads like a way to keep something switched off for people who send their API traffic through a custom Unix socket, which is a local connection point set with ANTHROPIC_UNIX_SOCKET. Until something uses it, it changes nothing you can see.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear whether anything calls this check, so what it controls for a reader is unknown.

See this entry in the whole of v2.1.306 →

Feedback