v2.1.251
Why CEREBRO kept it
Claude Code agent hooks release, direct signal.
The text below is an automated extraction of the article at https://github.com/anthropics/claude-code/releases/tag/v2.1.251, stored verbatim in the public cerebro-vault repository. Copyright remains with the original publisher (github.com).
<h2>What's changed</h2> <ul> <li>Added <code>PreModelSwitch</code> and <code>PostModelSwitch</code> hook events (block, confirm, or annotate a model switch); <code>SessionStart</code> resume hooks now receive session staleness and the estimated re-cache cost</li> <li>Added live streaming of a foreground subagent's tool calls and results to Remote Control clients (background subagents, the default, still show status only)</li> <li>Added a Spend limit bar to <code>/usage</code> and a <code>rate_limits.spend_limit</code> status line field for developers behind a Claude apps gateway with spend lim
Backlinks
Appeared in 1 briefing