Packages

@anthropic-ai/claude-agent-sdk

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

Your version

0.3.265

8 Sep 2026Where it was published

0.3.330 is the newest release of 0.3.x.

In short

2 new2 fixed2 changed

Release note

What's changed

  • Added user_message_uuid and user_message_uuids to a synthetic turn's first reply and result for a message sent with isSynthetic: true and a uuid, naming the message that started it

  • Added user_message_uuid and user_message_uuids to the first reply and the result of a turn Claude Code started itself, such as a resume, naming the messages you sent that it picked up mid-turn

  • Fixed user_message_uuid missing from the success result of a turn that sent no API request, such as a slash command

  • Fixed multi-turn sessions resetting the shell working directory to the cwd option at each new user message; a cd made by the agent now persists across turns, as in the interactive app

  • Changed user_message_uuid to be set on the first reply after each change of the message a turn is answering, instead of on one reply frame per turn

  • Updated to parity with Claude Code v2.1.265

Update

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

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.