Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.251 ·

Model switches from the SDK now go through hooks

Model switches over the SDK now ask your hooks first and can be blocked.

You'll notice New Features
JSON All of v2.1.251
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
SDKArea: what it touches
New FeaturesKind: in v2.1.251,
New FeaturesSection of the release
What

A model switch requested over the SDK bridge while tool calls are still pending is no longer applied straight away. It asks the hook pipeline first and applies only if the decision is "proceed"; otherwise the switch is blocked, recorded in telemetry, and any messages the hook produced are shown in the transcript.

Details
  • With no pending tool calls, the switch still applies immediately without consulting hooks.
  • Blocked switches are reported as a model_switch event with the outcome blocked_by_hook.
Evidence

g("model_switch", "blocked_by_hook")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.251 →

Feedback