Skip to main contentModule tool_executor
Source - ScopedExecutor
- Lightweight executor wrapper that applies a default working directory to forwarded commands.
- Command
- Commands that can be executed by the executor
Conceptually,
Shell allows any kind of input, and other commands enable more optimized
implementations. - CommandError
- 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.
- report_buffered_output
- Reports the output of an already finished command to
sink and returns the result unchanged.
- CommandOutputSink
- Receives command output in the order the executor observed it.