Skip to main content

Crate arabica_runner

Crate arabica_runner 

Source
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 shell tool: one sh -c command, bounded in time and output, whose processes do not outlive the call.
shell_classifier
Typed classification of shell commands for memory-retention policy.

Structs§

LocalRunner
Real local execution environment confined to one existing filesystem root.
LocalRunnerPolicy
Which tools a LocalRunner advertises and will execute, plus the output bounds that keep a single tool result from exhausting the context window.
NoopRunner
RunnerError
ToolExecutionRequest
ToolExecutionResult

Enums§

LocalTool
One tool the local runner can execute.
RunnerOutput

Traits§

RunnerEnvironment