@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
4 new5 changed
Release note
What's changed
Added optional
fireReasonto the task-notificationSDKMessageOrigin; a local host's declared scheduled-task fire is honored only in a process it started withCLAUDE_CODE_HOST_SCHEDULED_RUN=1Added
verbatimPromptsoption: prompts are delivered as written — no@pathexpansion, no slash-command dispatch and, on current CLIs, no ambient attachments with the prompt (Claude Code 2.1.248+)Added
_metatomcpServerStatus()tool entries, carrying a tool's MCP Appsuimetadata so a host can find itsui://resourceAdded
readMcpResource()(alpha) to read an MCP Appsui://resource from an MCP server that Claude Code connectedImproved
askSideQuestion(): asked while a turn is running, it now sees that turn (its prompt, replies and finished tool results so far) instead of only the last completed turnImproved unattended retry (
CLAUDE_CODE_RETRY_WATCHDOG): a usage-limit wait emitsrate_limit_event(rejected,resetsAt) as it begins;api_retryheartbeats continue while sub-agent work waitsChanged
session_state_changedevents (CLAUDE_CODE_EMIT_SESSION_STATE_EVENTS=1) to reportrequires_actionwhile an MCP elicitation waits on the user, as for permission promptsChanged headless sessions to cancel an MCP server's pending form question when the tool call that drew it ends
Updated to parity with Claude Code v2.1.280
Update
npm install @anthropic-ai/claude-agent-sdk@0.3.280 # or yarn add @anthropic-ai/claude-agent-sdk@0.3.280 # or pnpm add @anthropic-ai/claude-agent-sdk@0.3.280 # or bun add @anthropic-ai/claude-agent-sdk@0.3.280
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.