Anthropic TypeScript SDK v1.2.0

v1.2.0
Added 2
  • Add support for message threads.
  • Add usage and cost reports by dimension.
Fixed 2
  • Copy the messages a tool runner is created with again.
  • Restore what the tool runner does after setMessagesParams() or pushMessages() in the loop body.
Deprecated 1
  • Mark older usage and cost reports as legacy.

From Anthropic TypeScript SDK

Features
  • api: add support for message threads
  • api: add usage and cost reports by dimension, mark older reports legacy
Bug Fixes
  • tools: copy the messages a tool runner is created with again
  • tools: restore what the tool runner does after setMessagesParams() or pushMessages() in the loop body
Chores
  • docs: clarify plugin content scan and validation descriptions
  • docs: clarify plugin served_version_pinned and updated_at
  • docs: fix usage and cost report examples and ending_at docs
  • docs: rate limit model lists vary by organization and workspace
  • internal: rename the version manifest to .version-manifest.json
  • tests: fix a retry count header test that could never fail
View original

Upgraded? How did it go?

Discussion