@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 a renamed skill's directory name to its
SlashCommandaliaseswhen the name is plain and Claude Code ships no command by that nameAdded
applied.ultracodeAvailableandapplied.ultracodeRequestedtogetSettings(): whether this session can run Ultracode, and whether it is requested, independent of whether it is in effectFixed
forkSession()copies reading back the wrong history when cut at a progress row or fork briefing after a rewind, or when the session was compacted with some messages keptFixed
getSessionMessages()leaving out messages from other agents, sessions and channels that the CLI transcript showsFixed
{ decision: 'block' }returned by Elicitation and ElicitationResult hook callbacks being ignored; it now declines the MCP elicitationFixed
query()closing stdin before a follow-up turn woken by a finished background agent, which failed that turn's hooks,canUseTooland SDK MCP calls with "Stream closed"Changed the first turn to still wait up to 2s for connecting MCP servers named in
allowedToolsor by anmcp_toolhook, even withCLAUDE_CODE_MCP_STARTUP_WAIT_MSset to0Changed
applyFlagSettings({ ultracode: true })to keep the current effort level instead of switching toxhigh; aneffortLevelthat changes the level withoutultracodeturns Ultracode offUpdated to parity with Claude Code v2.1.284
Update
npm install @anthropic-ai/claude-agent-sdk@0.3.284 # or yarn add @anthropic-ai/claude-agent-sdk@0.3.284 # or pnpm add @anthropic-ai/claude-agent-sdk@0.3.284 # or bun add @anthropic-ai/claude-agent-sdk@0.3.284
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.