v2.1.296
Why CEREBRO kept it
Claude Code release; new hook and policy features for agents
The text below is an automated extraction of the article at https://github.com/anthropics/claude-code/releases/tag/v2.1.296, stored verbatim in the public cerebro-vault repository. Copyright remains with the original publisher (github.com).
<h2>What's changed</h2> <ul> <li>Added a <code>code</code> key to the Claude apps gateway's <code>managed.policies[]</code>: the same settings as <code>cli</code>, also applied in Claude Desktop's Code tab; beside <code>desktop</code>, it turns on Claude Desktop's gateway mode</li> <li>Added <code>autoCompactWindow</code> to subagent frontmatter and <code>--agents</code> definitions, so a subagent can auto-compact earlier than the main conversation's window</li> <li>Added <code>CLAUDE_CODE_WORKFLOW_SUBAGENT_MODEL</code> to run every workflow agent on one model while other subagents keep theirs
Backlinks
Appeared in 1 briefing