github anthropics/claude-agent-sdk-typescript v0.3.335

2 hours ago

What's changed

  • Added the Interrupt hook event and InterruptHookInput type
  • Added utilization_precise to the get_usage response's rate-limit windows and model_scoped rows: the same percentage to one decimal place, when the server sends it
  • Changed the Agent tool's tool_use_result so content no longer opens with the list of tools a subagent called
  • Changed Read's PDF page results: read the images from tool_result, or in a PostToolUse hook the call waits for, not from file.outputDir afterwards
  • Updated to parity with Claude Code v2.1.335

Update

npm install @anthropic-ai/claude-agent-sdk@0.3.335
# or
yarn add @anthropic-ai/claude-agent-sdk@0.3.335
# or
pnpm add @anthropic-ai/claude-agent-sdk@0.3.335
# or
bun add @anthropic-ai/claude-agent-sdk@0.3.335

Don't miss a new claude-agent-sdk-typescript release

NewReleases is sending notifications on new releases.