Claude Agent SDK (TypeScript) 0.3.326 release notes
Claude Agent SDK (TypeScript) 0.3.326 was released on November 16, 2026. The latest version is 0.3.332.
Release notes
What's changed
- Added
mcpServersDelivery: 'initialize': sendsmcpServersin the initialize request instead of on Claude Code's command line; needs the bundled Claude Code or newer - Added
getSessionInfo()to the/coreentry - Added
message_uuidtocancel_async_messageresponses, naming the dropped message - Added a warning on stderr and as a
system/informationalmessage when a tool list has an entry that doesn't look like a complete rule - Added a
system/informationalwarning, taggedmanaged_mcp_arrived, when an administrator'smanaged-mcp.jsonarrives during a session and your own MCP servers stop loading - Fixed a tool call in a running turn reconnecting to an MCP server just removed with
setMcpServers(), or reporting that it needs authentication; the call is now refused - Fixed
resumeSessionAtfailing on an empty reply, and a resumed session losing recent turns after a crash when the previous turn ended with one - Fixed a tool result from an SDK MCP server being lost, or delivered to another call, when a long call overlapped a reconnect of the SDK MCP servers
- Fixed a hook request that arrives while the SDK is still starting up being refused instead of answered
- Improved how secrets are masked in the
descriptionpassed tocanUseTool;inputitself is unchanged - Improved the first turn after
SpareProcess.claim(): it no longer waits up to 500 ms for the stdio MCP servers the claim starts, where tool search loads their tools on demand - Changed the JSON-RPC
idof requests to an SDK MCP server from a number to a string - Changed
rewindFiles()on macOS, Linux and WSL to leave some files untouched when the sandbox is on, and report them as skipped - Changed the
register_repo_rootcontrol request to refuse some folders it used to accept - Deprecated sending
mcpServerson Claude Code's command line (today's default,'argv'): a future release defaults to'initialize'; apps running an older Claude Code must update it or set'argv' - Updated to parity with Claude Code v2.1.326
Update
npm install @anthropic-ai/claude-agent-sdk@0.3.326
# or
yarn add @anthropic-ai/claude-agent-sdk@0.3.326
# or
pnpm add @anthropic-ai/claude-agent-sdk@0.3.326
# or
bun add @anthropic-ai/claude-agent-sdk@0.3.326
Source: GitHub release v0.3.326