ToolClaudeClaude Code
Anthropic updates Claude Code with new security settings
Original title: Claude Code 2.1.314
- Date
- Company
- Anthropic
- Type
- Tool
- Source
- AnthropicRead the source (opens in a new tab)

Plain language
- What it is
- Anthropic released an update for Claude Code, version 2.1.314, which includes new security settings, automatic conversation summarizing, and many bug fixes.
- How it works
- The update adds a setting to block file changes outside your working folders. It also automatically summarizes very long, inactive conversations to save memory.
- Where it is available
- This update applies to Claude Code, Claude Desktop, and the VS Code extension.
- Example
- If you leave a conversation with over 200,000 tokens idle in VS Code, the system will summarize it for your next message.
For developers
- What it is
- Claude Code version 2.1.314 was released with new permissions, gateway routing features, idle compaction, and numerous bug fixes.
- How it works
- It introduces the permissions.blockWritesOutsideWorkingDirectories setting to prevent Write, Edit, and NotebookEdit from accessing paths outside working directories. It also adds idle compaction for conversations over 200K tokens and IdP group filtering for Claude apps gateway upstreams.
- Where it is available
- The changes apply to Claude Code, Claude apps gateway, VS Code, Claude Desktop, and supported cloud providers like Amazon Bedrock and Google Vertex.
- Example
- Developers can configure the Claude apps gateway upstream with an optional groups list so only users in specific IdP groups are routed to it.
The original post
The headline and explanation on this page are based on Anthropic's post. The full details are in the original.
Claude Code 2.1.314
Read the source (opens in a new tab)