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
- Four ready-to-use Grok bot templates for X: launches, threat hunting, intel, API — dean_rie · 2026-10-10
- Cursor adds /visualize: build charts and diagrams inline, follow-up questions get new charts — dean_rie · 2026-10-10
- Rippling splits AI diagnosis from deterministic authorization in its IT Helpdesk agent — andreisavu · 2026-10-10
- Musk asks for feedback as Grok Bot runs Shopify stores, per Tobi Lütke — elonmusk · 2026-10-10
- Personal AI helper Allies abandons SaaS, goes fully open source on your own server — saheedniyi_02 · 2026-10-10
- Project that took a month to build in 2024 now rebuilt with one prompt and $50 — danshipper · 2026-10-10