pub mod builder;
pub mod executor;
pub mod sandbox;
pub mod schema;
pub use executor::BashExecutor;
pub use executor::BashStreamExecutor;
pub use schema::{BashOperationTemplate, BashSandboxTemplate, BashScriptTemplate};
#[derive(Debug, Clone)]
pub struct ResolvedBashSandbox {
pub network: bool,
pub writable_paths: Vec<String>,
pub max_time_ms: Option<u64>,
pub max_output_bytes: Option<usize>,
pub max_memory_bytes: Option<usize>,
pub max_cpu_time_ms: Option<u64>,
}
#[derive(Debug, Clone)]
pub struct PreparedBashScript {
pub script: String,
pub env: Vec<(String, String)>,
pub cwd: Option<String>,
pub stdin: Option<String>,
pub sandbox: ResolvedBashSandbox,
}