Packages

@anthropic-ai/claude-agent-sdk

0.3.330 · 20 Nov 2026SEE LICENSE IN README.md20.7M / weekRepositorynpmAtom feed

Your version

0.3.271

14 Sep 2026Where it was published

0.3.330 is the newest release of 0.3.x.

In short

1 new2 fixed2 changed

Release note

What's changed

  • Added optional omitClaudeMd to AgentDefinition in the agents option, so a subagent can run without user, project and local CLAUDE.md files; managed policy files still load

  • Fixed listSessions, getSessionMessages and getSessionInfo with dir on Windows not finding sessions for a directory on a mapped network drive or SUBST drive

  • Fixed sessionStore resume losing the global config when it is stored under the legacy .config.json name or an OAuth-suffixed file name

  • Removed persistent from the MonitorInput tool type

  • Updated to parity with Claude Code v2.1.271

Update

npm install @anthropic-ai/claude-agent-sdk@0.3.271
# or
yarn add @anthropic-ai/claude-agent-sdk@0.3.271
# or
pnpm add @anthropic-ai/claude-agent-sdk@0.3.271
# or
bun add @anthropic-ai/claude-agent-sdk@0.3.271

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.