返回全部动态
Anthropic TypeScript SDK 发布 v1.2.0:新增消息线程与用量成本报告
原标题:sdk-v1.2.0
AI 摘要
Anthropic 发布 TypeScript SDK v1.2.0,新增消息线程(message threads)支持,并新增按维度统计的用量与成本报告,同时将旧版报告标记为 legacy。该版本还修复了工具运行器(tool runner)在创建时复制消息、以及在循环体内调用 setMessagesParams() 或 pushMessages() 后行为异常的问题,并更新了插件扫描、版本固定、限流等文档说明。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
### 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 c
发布时间:2026-10-23 21:09
抓取时间:2026-10-23 21:17
来源机构:Anthropic