返回全部动态
Anthropic TypeScript SDK 发布 v1.5.0
原标题:sdk-v1.5.0
AI 摘要
Anthropic 发布 TypeScript SDK v1.5.0,新增 API 错误详情类型与错误码、工作区列表的 ids 过滤器,以及客户端按 HTTP 状态码和 API 错误码分类的错误类。同时修复路径参数注入(如 ";x"、"..;x")和 memory 工具误改 /memories 目录等问题,并优化流式 SSE 解码性能。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
### Features * **api:** add error details types and new error type values * **api:** add ids filter to list workspaces * **client:** add error classes for HTTP statuses and API error codes, and apiMessage, errorCode and details on APIError ### Bug Fixes * **api:** capitalize CMEK in error details type names * **api:** move some error details types to the resource they describe * **client:** reject path parameters like ";x", ".;x" and "..;x" * **tools:** keep the memory tool from renaming or
发布时间:2026-11-05 04:25
抓取时间:2026-11-05 04:29
来源机构:Anthropic