github anthropics/claude-agent-sdk-typescript v0.2.45

latest releases: v0.3.334, v0.3.333, v0.3.332...
9 months ago

What's changed

  • Added support for Claude Sonnet 4.6
  • Added task_started system message to the SDK stream, emitted when subagent tasks are registered
  • Fixed Session.stream() returning prematurely when background subagents are still running, by holding back intermediate result messages until all tasks complete
  • Improved memory usage for shell commands that produce large output — RSS no longer grows unboundedly with command output size

Update

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

Don't miss a new claude-agent-sdk-typescript release

NewReleases is sending notifications on new releases.