Packages

@anthropic-ai/claude-agent-sdk

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

Upgrading @anthropic-ai/claude-agent-sdk From 0.3.280 to 0.3.281

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 0.3.280Newest 0.x, Latest0.3.330
  1. 0.3.280yours
  2. 0.3.281target
0
changes to make
0
advisories fixed
1
new
3
fixes

Release by release

  1. 0.3.281

    23 Sep 20261 new · 3 fixes
    • New

      Added optional trigger, user_message_uuid and timestamp fields to the conversation_reset message so clients can tell what reset the conversation, match a /clear to its message, and show when the reset happened

    • Fixed

      Fixed permission and dialog callbacks still being invoked for requests that arrived after close()

    • Fixed

      Fixed control requests issued after a query closed hanging or leaking, and permission prompts that could not be cancelled after a cancelled request was redelivered

    • Fixed

      Fixed session_state_changed staying at requires_action after an overlapping permission prompt and sandbox network-access prompt were both answered

5 other lines we could not sort, mostly version bumps
  • Improved SDK package size and load time: sdk.mjs no longer bundles unused dependencies (1.47 MB → 0.97 MB)

    0.3.281
  • Improved startup time for query() sessions with in-process MCP servers (createSdkMcpServer) by running their handshake inside the SDK; initialize may now wait up to 250 ms for them

    0.3.281
  • Improved SDK session start-up: the CLI now answers the host's initialize request before starting its background start-up work

    0.3.281
  • Changed the Settings type's attribution field to boolean | {...}; TypeScript code that reads attribution.commit from returned settings needs a type narrow

    0.3.281
  • Updated to parity with Claude Code v2.1.281

    0.3.281

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.