# Claude Code v2.1.317 adds account-email and connector warnings and fixes many bugs

> Original title: v2.1.317

- Source: Claude Code · GitHub Releases
- Published: 2026-11-03T01:25:46.000Z
- Bad Influence: https://badinfluence.news/items/ivk90mxry9cfyeillytdyqk20
- Original: https://github.com/anthropics/claude-code/releases/tag/v2.1.317

## Summary

Anthropic's Claude Code v2.1.317 adds a warning to /schedule when a cloud scheduled task gets unrequested connectors, and a check that asks before a web or shell tool call sends the account email address to the network. The release also adds onFailure: "block" for Agent SDK hook callbacks, a cost report at GET /v1/organizations/analytics/cost on the Claude apps gateway admin API, and fixes for MCP server disconnects, auto mode failures and session loss.
