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

API requests that never send response headers are now aborted

Use it now
Useful4 Signal3
Internals Notable

Hung requests are aborted when headers never arrive, and you can tune the window.

CLAUDE_STREAM_FIRST_BYTE_TIMEOUT_MSAPI_TIMEOUT_MS
What

Streaming requests, and Bedrock POSTs to the invoke path, are now wrapped in a watchdog that aborts if the first response headers never arrive. The budget is computed from the request body size and API_TIMEOUT_MS, and CLAUDE_STREAM_FIRST_BYTE_TIMEOUT_MS overrides it. Time the machine spent asleep is measured and reported separately, so a laptop that suspended mid-request is not mistaken for a hung server.

Details
  • Applies to armed requests only; other calls keep their existing timeout behaviour.
  • Aborts are reported under the tengu_api_no_response_timeout event with the sleep-adjusted duration.
Evidence

tengu_api_no_response_timeout

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 →