Canonical streaming event types and the broadcaster helper.
Providers emit events as tokens arrive. The ExAthena facade forwards them
to the user-supplied callback. ExAthena.Loop consumes the same events to
build up tool-call requests and decide when to stop, and re-emits tool
activity (:tool_call_start, :tool_result) so hosts can render a live
transcript of the run.
Summary
Functions
Emit a terminal error event.
Emit a terminal stop event.
Emit a text-delta event.
Emit a thinking/reasoning delta event (Claude <thinking> blocks, etc.).
Emit a tool-call argument delta.
Emit a final tool-call event with the complete ToolCall.
Emit a start-of-tool-call event with a partial ToolCall.
Emit a completed tool-result event (providers whose runtime executes tools internally, e.g. Claude Code).
Emit a usage-accounting event.
Functions
Emit a terminal error event.
Emit a terminal stop event.
Emit a text-delta event.
Emit a thinking/reasoning delta event (Claude <thinking> blocks, etc.).
Emit a tool-call argument delta.
Emit a final tool-call event with the complete ToolCall.
Emit a start-of-tool-call event with a partial ToolCall.
Emit a completed tool-result event (providers whose runtime executes tools internally, e.g. Claude Code).
Emit a usage-accounting event.