@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…
Release by release
- New
Added optional
trigger,user_message_uuidandtimestampfields to theconversation_resetmessage 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_changedstaying atrequires_actionafter an overlapping permission prompt and sandbox network-access prompt were both answered
- New
5 other lines we could not sort, mostly version bumps
- 0.3.281
Improved SDK package size and load time:
sdk.mjsno 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;initializemay 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
Settingstype'sattributionfield toboolean | {...}; TypeScript code that readsattribution.commitfrom returned settings needs a type narrow - 0.3.281
Updated to parity with Claude Code v2.1.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.