@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
2 new4 fixed3 changed
Release note
What's changed
Added an optional
read.title(the artifact's stored title) to the Artifact tool's structured read resultAdded
provider_not_allowedtostartup_failure_reasonandallowedProvidersto theSettingstypeFixed sessions with
CLAUDE_CODE_FORK_SUBAGENT=1: a subagent's own Agent call now runs in the foreground, so the subagent gets the child's resultFixed
getSessionMessages()leaving out a message sent while Claude was working when the process stopped before the reply, or when another prompt followed it with no reply in betweenFixed
toggleMcpServer(name, false)leaving the connection open for a server that had not yet connected when the session started, or whose config was edited after it connectedFixed
rewind_conversationleaving a backgrounded MCP tool call running after the message that started it was removedChanged Bash/PowerShell
timeoutto bound arun_in_backgroundcommand (was ignored; default 30 min, max 2 h); thestoppedtask notification for a stop at that limit says whyChanged
getSubagentMessages()to also return the messages a subagent read while it ran, such as a message sent to it;offsetandlimitcount these rowsUpdated to parity with Claude Code v2.1.285
Update
npm install @anthropic-ai/claude-agent-sdk@0.3.285 # or yarn add @anthropic-ai/claude-agent-sdk@0.3.285 # or pnpm add @anthropic-ai/claude-agent-sdk@0.3.285 # or bun add @anthropic-ai/claude-agent-sdk@0.3.285
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.