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.186 Home All releases olderv2.1.185 v2.1.187newer
Claude Code v2.1.186

Stream Suspend Detection and Recovery

The streaming layer now detects when the system was suspended (sleep/hibernate) mid-stream and handles it gracefully instead of silently hanging.

Details
  • A new StreamSuspended / StreamSuspendedError error code is emitted when the watchdog determines a gap was caused by system suspend rather than a genuine timeout.
  • The stream watchdog detects suspend events and aborts the current attempt to trigger a fresh reconnect.
  • Retry categorization now includes "stream_suspended" as a distinct reason, separate from "watchdog" and "stale_connection".
Evidence

New error type and retry reason (search for "Stream watchdog detected system suspend; aborting to retry on a fresh connection" and "StreamSuspended")

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