What's changed
- Added
pluginDelivery: 'initialize' to send plugins over stdin so the launch command line no longer grows with the plugin count (fixes Windows start failures with many plugins)
- Fixed
query() throwing "Object not disposable" in runtimes without a native Symbol.dispose, such as Node 22 vm contexts (Jest's node environment, vitest vmThreads/vmForks) and Node <18.18
- Updated to parity with Claude Code v2.1.261
Update
npm install @anthropic-ai/claude-agent-sdk@0.3.261
## or
yarn add @anthropic-ai/claude-agent-sdk@0.3.261
## or
pnpm add @anthropic-ai/claude-agent-sdk@0.3.261
## or
bun add @anthropic-ai/claude-agent-sdk@0.3.261