Claude Code 2.1.317 更新:新增隐私提示与成本报告
原标题:2.1.317
AI 摘要
Claude Code 发布 2.1.317 版本更新,新增多项安全与隐私提示,包括云调度任务连接器警告、发送账户邮箱前的确认检查,以及 Agent SDK 钩子回调的 onFailure: "block" 选项。同时为 Claude 应用网关管理 API 增加成本报告接口和开发者 IdP 分组记录,并扩展 OTel 指标字段。该版本还修复了大量问题,涉及 MCP 服务器断连、自动模式安全校验失败、认证状态保存、权限提示显示、云会话标题丢失及 OpenTelemetry 导出异常等。
正文节选
- Added a warning to `/schedule` when a new cloud scheduled task gets connectors you did not ask for, with how to remove them - Added a check that asks before a web or shell tool call sends your account email address to the network - Added `onFailure: "block"` for Agent SDK hook callbacks, so a callback that fails blocks the action instead of letting it run - Added a notice in Claude Desktop's Code tab when your organization's remote managed settings haven't loaded for the session, and another o