Event ·Official first-hand

Claude Code v2.1.317 发布:新增成本报告 API 与邮箱外发提醒

Anthropic 发布 Claude Code v2.1.317,新增网关管理 API 的成本报告接口 GET /v1/organizations/analytics/cout,可按日期范围、开发者或 IdP 分组查看过去支出。网页或 shell 工具调用前会询问是否将账户邮箱发送到网络。Agent SDK 的 hook 回调支持 onFailure: "block",失败时阻止动作执行。另修复了 MCP 服务器断连、auto mode 遇 403/422 失败等十余个问题。

Current read

Claude Code 这个版本对管团队的人很实用,能按开发者查 API 花费了,还堵了邮箱被悄悄发出去的口子。

11 sources38° AI heatLast updated 2026/11/3 01:25:46

Evidence

11 sources
Primary sourceClaude Code: GitHub Releases
View source
Related source 4Fierce Healthcare
View source
Related source 6HIT Consultant
View source
Related source 7claudedevs
View source
Related source 8rohanpaul_ai
View source
Related source 10kimmonismus
View source

Conflict check

Dedup data only shows that these sources discuss the same event, not that they agree. There is no structured supporting or refuting evidence yet, so no conflict is inferred automatically.

Claude Code v2.1.317 发布:新增成本报告 API 与邮箱外发提醒 · 事件专题 | AITOP