# Claude Code v2.1.296 adds gateway policy controls and fixes hook and permission bugs

> Original title: v2.1.296

- Source: Claude Code · GitHub Releases
- Published: 2026-10-09T19:28:59.000Z
- Bad Influence: https://badinfluence.news/items/dgusqbtc4iguw0nvhg4rddslr
- Original: https://github.com/anthropics/claude-code/releases/tag/v2.1.296

## Summary

Anthropic releases Claude Code v2.1.296, which adds a code key to the Claude apps gateway's managed.policies[] and an allow_large option to the Read tool for reading large text files in one call. The release also adds autoCompactWindow for subagents and CLAUDE_CODE_WORKFLOW_SUBAGENT_MODEL, and fixes many bugs in hooks, MCP servers, permission checks and self-hosted runners.
