Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.267 ·

Hooks runtime dispatch generalized beyond same-thread execution

Hooks runtime dispatch reworked to support more than same-thread execution

TierUnder the hoodhow much it should matter to you
Useful3my rating, 1 to 5
Signal4worth watching, 1 to 5
AreaHookswhat it touches
KindInternal Changesin v2.1.267,
Under the hood

Hooks runtime dispatch reworked to support more than same-thread execution

What

The internal function that builds the runtime interface for hook modules (custom code that runs at points in Claude Code) was changed from a single implementation built only for running in the same thread into a generic one. It now takes parameters for the kind of dispatch, how to copy and answer data, and how to create an environment, plus a new lookup surface and tracking of in-flight dispatches including their working directory and whether a turn is held.

Why

This generalizes how hooks are dispatched, laying groundwork for hooks to run in contexts other than the same thread, though the finding does not specify what new execution mode this enables.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtThe finding shows the dispatch mechanism was generalized but does not say what new execution context or use case it now supports.

See this entry in the whole of v2.1.267 →