Expand description
Runner environment boundary and concrete execution backends.
This crate owns real tool execution, ordered stdout/stderr, cancellation, filesystem confinement, and future process/container/remote runners. It does not call model APIs or own sessions, memory, or UI concerns.
Re-exports§
pub use definitions::definition;pub use definitions::delete_file_definition;pub use definitions::edit_files_definition;pub use definitions::find_files_definition;pub use definitions::grep_definition;pub use definitions::list_dir_definition;pub use definitions::read_file_definition;pub use definitions::shell_definition;pub use definitions::tool_definitions;pub use definitions::write_file_definition;pub use output::MAX_TOOL_OUTPUT_CHARS;pub use output::truncate_output;pub use shell::ShellPolicy;pub use shell_classifier::classify_shell_interaction;
Modules§
- definitions
- Tool definitions for the tools this crate can execute.
- output
- Bounded tool output for model-facing results.
- shell
- The
shelltool: onesh -ccommand, bounded in time and output, whose processes do not outlive the call. - shell_
classifier - Typed classification of shell commands for memory-retention policy.
Structs§
- Local
Runner - Real local execution environment confined to one existing filesystem root.
- Local
Runner Policy - Which tools a
LocalRunneradvertises and will execute, plus the output bounds that keep a single tool result from exhausting the context window. - Noop
Runner - Runner
Error - Tool
Execution Request - Tool
Execution Result
Enums§
- Local
Tool - One tool the local runner can execute.
- Runner
Output