Packages

@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.252 to 0.3.257

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 0.3.252Newest 0.x, Latest0.3.330
  1. 0.3.252yours
  2. 0.3.257target
0
changes to make
0
advisories fixed
4
new
5
fixes

Release by release

  1. 0.3.257

    1 Sep 20264 new · 5 fixes
    • New

      Added thinkingTokens to ModelUsage (a subset of outputTokens), and fixed result-message usage.output_tokens_details.thinking_tokens reporting 0 instead of the session's real count

    • New

      Added tool_use_result.resourceLinks on user messages carrying MCP tool results: the resource_link blocks the tool returned, so hosts can render returned files without parsing the result text

    • New

      Added optional resource_links to task_notification for an auto-backgrounded MCP tool call that completed, listing the files it returned by reference; join to the call via tool_use_id

    • New

      Added detail option to Query.getContextUsage(): 'summary' answers from the last response's usage and local estimates without per-category token-count API calls (default 'full')

3 other lines we could not sort, mostly version bumps
  • Changed mcp_set_servers to also list a server whose connection attempt throws under added (with a failed row in mcp_status), not only under errors

    0.3.257
  • Changed Agent tool calls to emit the periodic tool_progress heartbeat (heartbeat: true) like other long tools; heartbeat frames never clear a subagent_retry indicator

    0.3.257
  • Updated to parity with Claude Code v2.1.257

    0.3.257

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.