ReleaseAnthropicAnthropicpublished Oct 9, 2026seen 2d

anthropics/claude-agent-sdk-typescript v0.3.296

anthropics/claude-agent-sdk-typescript

Open original ↗

Captured source

source ↗

v0.3.296

Repository: anthropics/claude-agent-sdk-typescript

Tag: v0.3.296

Published: 2026-10-09T19:28:19Z

Prerelease: no

Release notes:

What's changed

  • Added claude_code_version to the initialize control response so clients know the CLI version before the first turn
  • Added autoCompactWindow to AgentDefinition, so a subagent can auto-compact earlier than the main conversation's window
  • Fixed the sandbox option discarding an inline settings.sandbox block: the two now merge, the option's values win, and deny and credential lists from both sides are combined
  • Changed the default limit on MCP tool descriptions sent up front and on MCP server instructions, in-process SDK servers included, from 2,048 to 4,096 characters
  • Changed permission answers that arrive after a restart to be parsed like live ones: over 4,096 updatedPermissions entries count as a denial, and a malformed list is ignored as a whole
  • Updated to parity with Claude Code v2.1.296

Update

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