What's changed
- Added
duration_mstotask_notificationfor shell commands: how long the command ran - Added
consumer_terms_review_in_terminalandconsumer_terms_accept_on_webtostartup_failure_reason, for a start that ends because the updated Consumer Terms wait for an answer - Added
old_cell_typetoNotebookEdittool results forreplaceanddeleteoperations - Added
tool_use_resultto a subagent's PushNotification result message, and to its WebFetch result message when the fetch got no page - Added
resume_target_not_foundtostartup_failure_reason, for the result Claude Code writes when--resumefinds no conversation to load - Fixed
SYSTEM_PROMPT_DYNAMIC_BOUNDARYbeing ignored on Bedrock, Agent Platform, Foundry, gateways or with experimental betas off: the text above it gets a cache breakpoint. The text sent is unchanged - Fixed the browser SDK's WebSocket transport leaving a pending write and a connection behind when closed or aborted before it connected
- Fixed a tool call to an in-process MCP server ending early when the server sent a request of its own with the same id
- Changed auto-compact's per-model default to near 400K on most current 1M models (rolling out; on now with third-party providers); to keep 1M, set a model's
autoCompactWindowundermodelSettings - Changed
SlashCommandrows incommandslists: a command whose display name runs another command (no row if it is hidden) or can't be sent as a slash command is now listed under its own name - Updated to parity with Claude Code v2.1.334
Update
npm install @anthropic-ai/claude-agent-sdk@0.3.334
# or
yarn add @anthropic-ai/claude-agent-sdk@0.3.334
# or
pnpm add @anthropic-ai/claude-agent-sdk@0.3.334
# or
bun add @anthropic-ai/claude-agent-sdk@0.3.334