(sessionID string, msg *session.Message, agentName string)
| 103 | } |
| 104 | |
| 105 | func (e *sinkEmitter) EmitMessageAdded(sessionID string, msg *session.Message, agentName string) { |
| 106 | e.events.Emit(MessageAdded(sessionID, msg, agentName)) |
| 107 | } |
| 108 | |
| 109 | // hookDispatcher adapts the runtime's per-agent [hooks.Executor] machinery |
| 110 | // into the small [toolexec.HookDispatcher] interface. The events channel |
nothing calls this directly
no test coverage detected