@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 new3 fixed3 changed
Release note
What's changed
Added the initialize response field
sdk_mcp_manifests_parkedand thesystem/initcapabilitiessdk_mcp_manifestsandsdk_mcp_tools_list_changedFixed foreground subagents sometimes not receiving the task-tracking tools listed in
toolsorallowedToolsFixed an SDK MCP server listing no tools when one tool's schema cannot be converted to JSON Schema; that tool is now left out with a warning naming it
Fixed
toggleMcpServer()not disconnecting, and failing to re-enable, an in-process MCP server created withcreateSdkMcpServer(), except one namedclaude-in-chromeChanged a person's priority
nowmessage to move running shell commands, agents and MCP calls to the background and join the running turn instead of stopping itChanged the TypeScript Agent SDK to leave an omitted
permissionModeto Claude Code, so a settingsdefaultModenow applies and, on third-party providers or with telemetry off, the session starts in auto mode likeclaude -p; passpermissionMode: 'default'for manual approvalsUpdated to parity with Claude Code v2.1.286
Update
npm install @anthropic-ai/claude-agent-sdk@0.3.286 # or yarn add @anthropic-ai/claude-agent-sdk@0.3.286 # or pnpm add @anthropic-ai/claude-agent-sdk@0.3.286 # or bun add @anthropic-ai/claude-agent-sdk@0.3.286
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.