@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
3 new1 fixed3 changed
Release note
What's changed
Added per-tool permission policies to sdk-type MCP server configs:
toolsentries withpermission_policyalways_askoralways_deny, applied oninitializeandsetMcpServers()Added
BUILTIN_TOOL_NAMESandLEGACY_TOOL_NAME_ALIASESexports: the public built-in tool names and their earlier names, for checking permission rules and tool settingsAdded
addPluginstoQuery.reloadPlugins()so a host can load more plugin folders into a running sessionFixed
setModel()with a model ID failing while the account is at its five-hour or weekly usage limit; the model now applies and the next message reports the limitChanged the error when a full disk keeps the login from being refreshed:
erroris nowinvalid_request, notauthentication_failed, andapi_error_statusisnull, not 401Changed
mcpServerStatus()to still report a tool's_meta.ui.visibilitywhen the rest of its_meta.uifails validationUpdated to parity with Claude Code v2.1.301
Update
npm install @anthropic-ai/claude-agent-sdk@0.3.301 # or yarn add @anthropic-ai/claude-agent-sdk@0.3.301 # or pnpm add @anthropic-ai/claude-agent-sdk@0.3.301 # or bun add @anthropic-ai/claude-agent-sdk@0.3.301
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.