Skip to main content

Module tool_output

Module tool_output 

Source
Expand description

Live tool output hook: a plain-data sink so a long-running process tool (shell/exec) can report output chunks while it runs without owning any session state. The engine installs a sink per tool call and turns the (coalesced) chunks into toolOutputDelta protocol events.

Structs§

ToolOutputNotifier
Cloneable, optional output sink. Default is a no-op, so a tool can call ToolOutputNotifier::notify unconditionally.

Enums§

ToolOutputStream
Which pipe a chunk was read from.