Packages

@anthropic-ai/sdk

1.8.0 · 10 Nov 2026Apache-2.075M / weekRepositoryHomepagenpmAtom feed

Your version

0.126.0

15 Sep 2026Where it was published

0.137.0 is the newest release of 0.126.x.

In short

6 new2 faster6 fixed13 internal

Release note

Features

  • api: add auto mode tool permissions for Managed Agents

  • api: add compaction parameter and signed compaction blocks (beta)

  • api: add enum types for workspace data-residency geo fields

  • api: add thinking_mismatch_allowed entries to input_transformations (beta)

  • api: add url_sources to the web fetch tool

  • api: add workspace_id parameter to user profiles methods

Bug Fixes

  • api: mark usage iteration model as nullable

  • api: use one input transformation type for message and delta event

  • client: ignore invalid Retry-After values and validate maxRetries

  • client: retry connection errors in the async client and stop blocking in the coroutine retry loop

  • client: stop waiting for a retry as soon as the request is aborted

  • client: use the default backoff when Retry-After is out of range

Performance Improvements

  • Add "sideEffects": false so bundlers can drop unused modules

  • Mark classes as pure so bundlers can drop unused ones

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.