@anthropic-ai/claude-agent-sdk
0.3.330 · 20 Nov 2026SEE LICENSE IN README.md20.7M / weekRepositorynpmAtom feed
Upgrading @anthropic-ai/claude-agent-sdk From 0.3.291 to 0.3.292
1 release in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- New
Added
agent_idto theassistantandusermessages a subagent produces; it equals thetask_idon that subagent's task events and stays the same when the subagent is resumed - New
Added
parent_task_idtotask_startedevents andbackground_tasks_changedentries, naming the subagent task that launched a task - New
Added
run_idto background task events andorigin.runIdto task notifications, so a host can tell a resumed task's runs apart - New
Added typed
sectionsandnotesto theListAgentstool'stool_use_result, so hosts can list agents without parsing its text - New
Added
recipient_kindto SendMessagetool_useinputs on assistant messages, and their top-levelapproveis now always a boolean, so hosts no longer infer them from the raw input - New
Added 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 session - Fixed
Fixed 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
- New
3 other lines we could not sort, mostly version bumps
- 0.3.292
Changed
background_tasks_changedfor a finishing background task to arrive after that task'stask_updatedandtask_notification - 0.3.292
Changed
canUseTooloptions to carrysuppressAlwaysAllowRule: truefor connector tools that an organization set to require approval, so hosts can hide their "always allow" choice - 0.3.292
Updated to parity with Claude Code v2.1.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.