vtcode_bash_runner/
lib.rs

1//! Cross-platform command runner modeled after VTCode's original bash
2//! wrapper. The crate exposes a trait-based executor so downstream
3//! applications can swap the underlying process strategy (system shell,
4//! pure-Rust emulation, or dry-run logging) while reusing the higher-level
5//! helpers for workspace-safe filesystem manipulation.
6
7pub mod executor;
8pub mod policy;
9pub mod runner;
10
11#[cfg(feature = "dry-run")]
12pub use executor::DryRunCommandExecutor;
13#[cfg(feature = "exec-events")]
14pub use executor::EventfulExecutor;
15#[cfg(feature = "pure-rust")]
16pub use executor::PureRustCommandExecutor;
17pub use executor::{
18    CommandCategory, CommandExecutor, CommandInvocation, CommandOutput, CommandStatus,
19    ProcessCommandExecutor, ShellKind,
20};
21pub use policy::{AllowAllPolicy, CommandPolicy, WorkspaceGuardPolicy};
22pub use runner::BashRunner;