Group of 2 Under the hood
Plugin command runs and hook dispatches now carry origin and rootEvent tracking information
What
- The plugin
$.command.runcall 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
rootEventand a newisPersonInputflag alongside the existingturnHeldfield.
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.