@anthropic-ai/claude-agent-sdk
0.3.330 · 20 Nov 2026SEE LICENSE IN README.md20.7M / weekRepositorynpmAtom feed
0.3.330 is the newest release of 0.3.x.
In short
1 new4 fixed9 changed
Release note
What's changed
Added
overageEnabledtoSDKRateLimitInfo: on usage-limit warnings, whether the account has extra usage turned onFixed an MCP server added with
mcp_set_serverssometimes keeping an outdated tool list when another server in the same request connected laterFixed assistant text blocks losing their
citationsin streamed responsesFixed Claude being told "disabled by the user" about an in-process MCP server that was switched off with
toggleMcpServer()Fixed
rate_limit_eventwith statusallowed_warningomittingoverageStatus,overageResetsAtandoverageDisabledReason, whichallowedandrejectedevents already carryChanged MCP tool descriptions the model loads through tool search, including those from in-process SDK servers, to be cut at 16,384 characters instead of 2,048
Changed a permission answer whose
updatedPermissionsholds over 4,096 updates, rules and directories to count as a denialChanged
tool_result_meta.non_execution_kindto be absent when a mod withheld the result of a tool that ran without error; it waspermission-ruleChanged
pasted_contenton user messages to be ignored when it holds over 1,000 entries and blocks in allChanged how the SDK passes option values to Claude Code: the values of its named options are now sent in the same argument as their flag (
--flag=value)Changed
tool_use_resultfor MCP Apps tools:structuredContentor_metaover 8,388,608 JSON characters is left off, and_meta.uiwith noui://resource no longer lifts the ordinary capsChanged
tool_use_resultfor MCP tools: when a long result is saved to a file, or cut because it could not be, the text kept past 500,000 characters is dropped, with a note of how muchChanged
tool_use_resultfor MCP tools: a result_metaover 1,048,576 JSON characters is left off, except for SDK-server tools; so is text blocks'_metathat totals over 65,536Updated to parity with Claude Code v2.1.295
Update
npm install @anthropic-ai/claude-agent-sdk@0.3.295 # or yarn add @anthropic-ai/claude-agent-sdk@0.3.295 # or pnpm add @anthropic-ai/claude-agent-sdk@0.3.295 # or bun add @anthropic-ai/claude-agent-sdk@0.3.295
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.