Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.326 ·

SDK hook messages say who set up a hook and when it went to the background

For SessionStart hooks, SDK hook messages can now say where the hook came from and mark when it moved to the background

Under the hood Internal Changes
JSON All of v2.1.326
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
AgentsArea: what it touches
Internal ChangesKind: in v2.1.326,
Internal ChangesSection of the release
What

The SDK lets programs drive Claude Code and receive its messages. A hook is a command you set up to run automatically at a set point. Two hook messages can now carry more:

  • hook_started gains optional internal fields: origin (who set up the hook, for example user_settings or official_plugin), label and plugin_name. They are set only for SessionStart hooks.
  • hook_progress can carry an internal backgrounded: true flag. It is sent once, with no output, when such a hook moves to the background and the session stops waiting for it.
Why

Programs that read hook messages may now see these extra fields, and can tell when a SessionStart hook is no longer holding the session up.

See this entry in the whole of v2.1.326 →

Feedback