Claude Code 2.1.199: improved sub-agent and background task stability

Key fixes focus on error handling. Streaming responses are no longer discarded if the API returns an overloaded status mid-output: partial results are now saved with an incompleteness flag. Sub-agents interrupted by limits or server errors now return partial work to the parent instead of failing silently.
Sub-agent API errors are no longer reported as successful results. The background agent daemon on Linux no longer terminates itself and all active agents every 50 seconds following an incorrect shutdown. The cold start issue on macOS via SSH, which triggered a Could not switch to audit session error, has been resolved after appearing in version 2.1.196.
Transient 429 errors that occur without exceeding actual limits now trigger a backoff for subscribers. The CLAUDE_CODE_RETRY_WATCHDOG variable now raises the retry counter to 300 and removes the previous cap of 15 for CLAUDE_CODE_MAX_RETRIES.
Related stories
- Leak puts expandable usage limits in Claude Code desktop
- Claude Code gets a wrap-up budget at the 5-hour limit
- Claude Code 2.1.282 ignores telemetry set by project files
- Claude Code Projects threads can now run on your machine
- Claude Code cloud sessions go GA with credit outside limits
- Claude Code 2.1.281 adds Bedrock guardrails to its gateway
Comments
No comments yet. Be the first.
Join the conversation
Sign in with Google to leave a comment. Your name and avatar come from your Google profile, and the comment appears after moderation.
