Stalled streams are now detected across direct, gateway and Bedrock connections, and you can force it with an env var.
tengu_stream_watchdog_default_on Not enough to sayNothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.
This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.222: off
These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.
Read once, for one account on one subscription tier, against v2.1.222. It isn't a statement about your account. What a flag value here can and cannot tell you
What's wrong with this entry?
The rule for wrapping a text/event-stream body in the stall watchdog was widened from a single caller-supplied boolean to name the providers explicitly.
- Now instruments firstParty, gateway and anthropicAws responses.
- Gated on tengu_stream_watchdog_default_on, which falls back to true when the flag is unavailable.
- CLAUDE_ENABLE_BYTE_WATCHDOG overrides the decision, and CLAUDE_ENABLE_BYTE_WATCHDOG_BEDROCK covers Bedrock specifically.
tengu_stream_watchdog_default_on
Strings lifted out of the shipped bundle, so the claim above can be checked against them.