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.242 Home All releases olderv2.1.241 v2.1.243newer
Claude Code v2.1.242

Rejected WebSocket upgrades now say why, including Cloudflare blocks

You'll notice
Useful3 Signal2
Internals

Refused WebSocket connections now report the status and whether Cloudflare blocked them.

What

When a WebSocket connection is refused before it opens, Claude Code records the HTTP status and whether Cloudflare mitigated the request, logs the Cloudflare ray id, writes a short bracketed note into the running task's output, and closes the socket instead of failing silently.

Details
  • Triggered by the underlying client's unexpected-response event, so it covers rejections that never became a WebSocket.
Evidence

[callWs] upgrade rejected: status=

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

See this entry in the whole of v2.1.242 →