The Wire · Showcase
CLAUDE SDK ROLLS OVERLOAD DETECTION AND SESSION RESUME CONTROLS
By RepoJournal · Filed · About Anthropic
TypeScript Agent SDK v0.3.223 ships structural 529 overload detection and a new resumeDropsTurn safety valve for session truncation, while the Python SDK and Code Action synced their bundled CLI versions overnight.
The TypeScript SDK now returns `api_error_status: 529` in result messages for repeated overload failures [1], letting consumers detect API saturation without parsing message text. Same release adds `resumeDropsTurn` to declare which turn a truncating resume intends to drop, with the CLI refusing the resume if anything else would be discarded [1]. Bare headless queries without tool access now emit `system/permission_denied` stream events for structural permission detection [1]. The Python Agent SDK bumped its bundled Claude CLI to 2.1.223 [4], and Claude Code Action v1.0.186 flipped its formatter from invoking `bun run format` to calling `bunx prettier@3.5.3 --no-config` directly [2], ensuring consistent output regardless of repo-level scripts and prettier config. This sidesteps a potential security vector where a checked-out tree's package.json could override the pinned formatter version [3]. Code Action also documented which paths the action restores [3]. The base action repo synced these changes in kind [5].
One email a day. Unsubscribe in one click.
Keep up with Anthropic in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Upgrade TypeScript Agent SDK to 0.3.223 to catch API overload with api_error_status field anthropics/claude-agent-sdk-typescript [plan]
- → Update Claude Code Action to v1.0.186 for formatter pinning security fix anthropics/claude-code-action [plan]
- → Bump Python Agent SDK to 0.2.131 to align CLI versions across SDKs anthropics/claude-agent-sdk-python [monitor]
References
- [1] v0.3.223 ↗ anthropics/claude-agent-sdk-typescript
- [2] v1.0.186 ↗ anthropics/claude-code-action
- [3] Invoke the formatter directly from the format hook (#1594) anthropics/claude-code-action
- [4] v0.2.131 ↗ anthropics/claude-agent-sdk-python
- [5] Sync from claude-code-action base-action@c038e4d anthropics/claude-code-base-action