Tool calls and turn steps now flow through the plugin event bus, so plugins can observe a running turn.
What's wrong with this entry?
Tool invocation and turn stepping now go through the same event dispatch that plugins observe, rather than being called in line. This is the plumbing that lets a plugin see and act within a running turn.
- Each tool call builds an event input, dispatches through core and managed handlers, and does open/close bookkeeping around the call.
- The interactive session subscribes to turn events and dispatches turn steps, appending their results as messages.
createTurnEventTail
Strings lifted out of the shipped bundle, so the claim above can be checked against them.