@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
6 new1 fixed3 changed
Release note
What's changed
Added
agent_idto theassistantandusermessages a subagent produces; it equals thetask_idon that subagent's task events and stays the same when the subagent is resumedAdded
parent_task_idtotask_startedevents andbackground_tasks_changedentries, naming the subagent task that launched a taskAdded
run_idto background task events andorigin.runIdto task notifications, so a host can tell a resumed task's runs apartAdded typed
sectionsandnotesto theListAgentstool'stool_use_result, so hosts can list agents without parsing its textAdded
recipient_kindto SendMessagetool_useinputs on assistant messages, and their top-levelapproveis now always a boolean, so hosts no longer infer them from the raw inputAdded two optional fields to the
ReadNotificationstool output:read_at, when the tool read the session's queued notifications, andarrived_aton each notification, when it reached the sessionFixed subagents with a declared auto permission mode having their tool calls decided by the auto-mode classifier instead of the canUseTool callback when auto mode is unavailable
Changed
background_tasks_changedfor a finishing background task to arrive after that task'stask_updatedandtask_notificationChanged
canUseTooloptions to carrysuppressAlwaysAllowRule: truefor connector tools that an organization set to require approval, so hosts can hide their "always allow" choiceUpdated to parity with Claude Code v2.1.292
Update
npm install @anthropic-ai/claude-agent-sdk@0.3.292 # or yarn add @anthropic-ai/claude-agent-sdk@0.3.292 # or pnpm add @anthropic-ai/claude-agent-sdk@0.3.292 # or bun add @anthropic-ai/claude-agent-sdk@0.3.292
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.