sdk-v1.10.0
Anthropic TypeScript SDK v1.10.0 introduces beta support for billing policy parameters, new billing-related error codes, webhook events for external key states, and fixes session termination handling in tools.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
Anthropic TypeScript SDK version 1.10.0 includes new API features, bug fixes, and chores. It adds beta support for the billing policy request parameter, new error codes for contract spend limits, linked billing refusals, and unauthorized profile billing, alongside webhook events for external key failure and recovery. Tool execution fixes ensure that EnvironmentWorker stops executing tools, downloading skills, or fetching memory stores for terminated sessions (avoiding SessionMemoryError ), and that the session tool runner halts tool execution and confirmation waits when a session thread terminates. Furthermore, error data models have been renamed with old names deprecated, and documentation updates clarify KMS key usage, credentials, plugin pins, and plugin scan error reasons.
可执行摘要
Anthropic TypeScript SDK v1.10.0 adds billing policy parameters, error codes (contract spend limit, linked billing refusals, profile billing unauthorized), and external key webhooks. Tool runners now properly halt tool execution and confirmation handling on terminated sessions.
- Agent 实用度
- 77/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Update error handling logic to accommodate renamed error data models and new billing-related error codes.
- Verify plugin scan logic to check status alongside scan.reason so errored scans are not misinterpreted as security findings.
- Review tool execution logic relying on EnvironmentWorker and session tool runners to align with new termination and idle countdown behaviors.