Source · release
Claude Agent SDK (TypeScript) v0.3.335
Summary
Version 0.3.335 of @anthropic-ai/claude-agent-sdk (2026-12-03) matches Claude Code
2.1.335. It adds the Interrupt hook event and more precise rate-limit usage, and it
changes two tool results that agents may parse.
Key points
- Install with
npm install @anthropic-ai/claude-agent-sdk@0.3.335. Interrupthook event with anInterruptHookInputtype: tells your code whether a person, another session, or the system stopped the turn.- Usage:
get_usagerate-limit windows andmodel_scopedrows gainutilization_precisewhen the server sends it. - Behaviour changes to check:
- The Agent tool's
tool_use_resultcontentno longer starts with the list of tools the subagent called. - PDF page images from Read are now read from the
tool_result(or in aPostToolUsehook that the call waits for), not fromfile.outputDirafterwards.
- The Agent tool's
Why it matters
Code that parsed the subagent tool list or read PDF page images from disk after the call
needs updating. The Interrupt hook lets hosted agents tell user aborts from system
stops.