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.271 ·

Plugin command and hook dispatch now track an origin/rootEvent chain

Plugin command runs and hook dispatches now carry origin and rootEvent tracking information

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaPluginswhat it touches
KindInternal Changesin v2.1.271,
Group of 2 Under the hood

Plugin command runs and hook dispatches now carry origin and rootEvent tracking information

What

  • The plugin $.command.run call changed its signature to accept a destructured {origin, rootEvent} object (instead of positional arguments), and now registers the queued command's origin and root event before dispatching it.
  • Plugin hook dispatch bookkeeping now also records a rootEvent and a new isPersonInput flag alongside the existing turnHeld field.

Why This lets Claude Code trace a command or hook dispatch back to the event that originally triggered it, which is groundwork for more accurate attribution of actions within a session.

See this entry in the whole of v2.1.271 →