Claude Code v2.1.314
Claude Code v2.1.314 adds a permissions.blockWritesOutsideWorkingDirectories setting, IdP group routing and Bedrock guardrail tracing for the Claude apps gateway, and idle compaction in VS Code and Claude Desktop, plus a long list of fixes.
Why it matters
For developers and IT teams running Anthropic's Claude Code agent. The new setting gives a hard stop on file writes outside the project in every permission mode, and the gateway options help companies route and audit model traffic by team.
What's new
- New permissions.blockWritesOutsideWorkingDirectories: Write, Edit and NotebookEdit refuse paths outside the working directories in every permission mode.
- Claude apps gateway: an optional groups list sends only developers in the listed IdP groups to an upstream (failover included), and guardrail_trace logs which Amazon Bedrock guardrail filter fired, without the matched text.
- Idle compaction in VS Code and Claude Desktop's Code tab: a 200K+ token conversation left idle is summarized and used on your next message if the prompt cache has expired.
- When an admin caps a model's effort, Claude Code now lowers the effort and retries instead of failing every turn with "Invalid effort level".
- claude -p now prints the error and exits 1 when startup fails, instead of exiting 0 with no output.
Taken from the project's own release notes. Claims about speed or accuracy are the maker's unless stated otherwise.
Worth knowing: Scripts that relied on claude -p exiting 0 after a startup failure will now see exit code 1.
Quick facts
| Pricing | Requires a Claude account or Anthropic API access (plan details not checked)not verified |
|---|---|
| Free or paid | Paid |
| License | Proprietary (© Anthropic PBC; use subject to Anthropic's Commercial Terms) |
| Language | TypeScript (repo) |
| Platform | macOS, Linux, Windows; terminal, IDE, desktop |
| GitHub stars | ★ 153,919 (as of 2026-10-30) |
| Maker | Anthropic |
Links
- Official site: https://code.claude.com/docs/en/overview
- Repository: https://github.com/anthropics/claude-code
- Release notes: https://github.com/anthropics/claude-code/releases/tag/v2.1.314
- Docs: https://code.claude.com/docs/en/setup
Related ranking
See how established tools compare in Best AI Coding Tools for Developers. New releases aren't scored until we review them against the rubric.
What we couldn't verify
- quick_facts.pricing
Checked 2026-10-30 from the release notes's own pages. Prices and star counts change, so confirm on the official site. Listing here is not a ranking or an endorsement.
One email a week on AI that saves business owners time
Every Friday: one tool pick with the business use case, what changed in tools you already use, and the week's AI news in plain English. No spam.
Free. Unsubscribe any time. See our privacy policy.