返回全部动态

Anthropic TypeScript SDK 发布 v0.126.0

原标题:sdk: v0.126.0

Anthropic TypeScript SDK Releases一手来源API 更新质量 61

AI 摘要

Anthropic 发布 TypeScript SDK v0.126.0,新增 Managed Agents 自动模式工具权限、压缩参数与签名压缩块(beta)、web fetch 工具的 url_sources 等 API 能力,并修复客户端重试逻辑与类型问题。该版本还通过 sideEffects 与纯类标记优化打包体积,并将仓库根迁移至 ESM、弃用 ts-node。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

## 0.126.0 (2026-09-15) Full Changelog: [sdk-v0.125.0...sdk-v0.126.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.125.0...sdk-v0.126.0) ### Features * **api:** add auto mode tool permissions for Managed Agents ([7829b43](https://github.com/anthropics/anthropic-sdk-typescript/commit/7829b4302375a14db64d5536226768601f843233)) * **api:** add compaction parameter and signed compaction blocks (beta) ([05fd878](https://github.com/anthropics/anthropic-sdk-typescript/commit/


发布时间:2026-09-16 01:34
抓取时间:2026-09-16 01:34
来源机构:Anthropic
阅读原文github.com