Claude Code v2.1.296 adds subagent auto-compact windows and Desktop gateway mode
ashwin-ant · ghdev · 2026-10-10
anthropics/claude-code shipped v2.1.296 with notable changes:
- A new code key in managed.policies[] enables gateway mode for Claude Desktop's Code tab
- Subagents can auto-compact earlier via autoCompactWindow in frontmatter and --agents definitions
- CLAUDECODEWORKFLOWSUBAGENTMODEL runs all workflow agents on a single model while other subagents keep theirs
- CLAUDECODEOVERLOADEDRETRYMAXDELAYMS tunes max backoff delay for 529 retries
- Read tool gains an allowlarge option for one-call reads of oversized text files
- Fixes: managed PreToolUse/PostToolUse hooks, headless sessions starting disabled MCP servers, ignored gateway sign-ins (2.1.295 regression), and wrong token counts for Haiku 5.5 and other adaptive-thinking models
More from coding & agent
- Claude Code + ARIA via MCP: debugging agent evals from 4/12 to 9/12 — CoreWeaveDevs · 2026-12-02
- Claude Opus 5.5 + Unreal Engine 5.9 used to rapid-prototype a "Wedding Videographer Simulator" — gorkem · 2026-12-02
- Dev builds Mac app that turns selected text into AI-designed posters, open-sourcing it soon — vista8 · 2026-12-02
- Every trains a writing skill on 185 posts that beats standard Claude skills 85% of the time — every · 2026-12-02
- Astral's ty type checker hits 1.0, giving OpenAI a 24x speedup over prior tooling — Simon Willison · 2026-12-02
- Agent trace eval guide: matching full-trace LLM reads at ~80% lower token cost — CShorten30 · 2026-12-02