Packages

@anthropic-ai/sdk

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

Your version

0.129.0

28 Sep 2026Where it was published

0.137.0 is the newest release of 0.129.x.

In short

1 deprecated7 new2 faster4 fixed11 internal

  • Deprecated

    api: deprecate the betas param on GA models and completions methods

Release note

Features

  • api: add between_tools thinking type

  • api: add claude-sonnet-5-5

  • api: add ClientToolUnion type for client-executed tools

  • api: add include_inherited and source to workspace rate limits

  • api: add typed event type values to the Managed Agents events list filter

  • api: cache diagnostics GA — diagnostics on Message / MessageCreateParams

  • tools: optionally start tool calls while the reply streams

Bug Fixes

  • client: also send X-Stainless-Timeout for client-level timeouts

  • client: send upload filenames as given, with no placeholder

  • helpers: degrade between_tools thinking to disabled on fallback hops

  • streaming: show every complete array item and hold back unfinished numbers in partial tool input

Performance Improvements

  • streaming: drop the redundant iterSSEChunks layer

  • streaming: take each string token as one slice in the partial JSON tokenizer

Chores

  • Deprecated

    api: deprecate the betas param on GA models and completions methods

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.