Skip to main content

Module tool_executor

Module tool_executor 

Source

Structs§

ScopedExecutor
Lightweight executor wrapper that applies a default working directory to forwarded commands.

Enums§

Command
Commands that can be executed by the executor Conceptually, Shell allows any kind of input, and other commands enable more optimized implementations.
CommandError

Traits§

ExecutorExt
Convenience methods for scoping executors without cloning them.
ToolExecutor
A ToolExecutor provides an interface for agents to interact with a system in an isolated context.

Functions§

report_buffered_output
Reports the output of an already finished command to sink and returns the result unchanged.

Type Aliases§

CommandOutputSink
Receives command output in the order the executor observed it.