@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.276 to 0.3.277
1 release in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- New
Added an optional
builtinfield toSlashCommand, set when a command is built into Claude Code - New
Added
pasted_contenttoSDKUserMessage: text the user pasted rather than typed, appended after the typed prompt - New
Added optional remote-session latency fields (
first_text_post_ms,first_text_post_wall_ms,first_stream_post_queue_wait_ms,first_stream_post_queued_behind) to the success result message - New
Added
'userSettings'as anupdateSettings()source, accepting onlyeffortLevel, which is saved for the session's current model as/effortsaves it - Fixed
Fixed a resumed or forked session's
total_cost_usd,modelUsageandget_usagetotals starting at zero instead of continuing from the earlier turns (maxBudgetUsdis unchanged)
- New
2 other lines we could not sort, mostly version bumps
- 0.3.277
Changed
SDKUsageReportusage rows to always carryseverityandis_active: the report relays only rows from a live server reply, and none while the usage fetch is failing - 0.3.277
Updated to parity with Claude Code v2.1.277
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.