@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.295 to 0.3.296
1 release in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- New
Added
claude_code_versionto theinitializecontrol response so clients know the CLI version before the first turn - New
Added
autoCompactWindowtoAgentDefinition, so a subagent can auto-compact earlier than the main conversation's window - Fixed
Fixed the
sandboxoption discarding an inlinesettings.sandboxblock: the two now merge, the option's values win, and deny and credential lists from both sides are combined
- New
3 other lines we could not sort, mostly version bumps
- 0.3.296
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
- 0.3.296
Changed permission answers that arrive after a restart to be parsed like live ones: over 4,096
updatedPermissionsentries count as a denial, and a malformed list is ignored as a whole - 0.3.296
Updated to parity with Claude Code v2.1.296
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.