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.247 Home All releases olderv2.1.246 v2.1.248newer
Claude Code v2.1.247

Failed streaming connections are drained before being classified

You'll notice
Useful2 Signal2
Internals

Failed streaming responses are drained and re-checked for cancellation before being labelled an error.

What

When a streaming connection returns a non-ok response, the client now reads and discards the body with a timeout and re-checks whether the request was already cancelled before deciding what kind of failure it was, instead of tearing the stream down immediately.

Details
  • The event envelope now parses only the event type; the optional withheld payload field was removed.
  • One entry was dropped from the set of recognised notification event types.
Evidence

cli_sse_connect_http_error

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.247 →