pub struct Cli {Show 25 fields
pub command: Option<Command>,
pub prompt: Option<String>,
pub gate: Option<String>,
pub orchestrate: bool,
pub dispatch_cmd: Option<String>,
pub context: String,
pub model: Option<String>,
pub container: Option<String>,
pub max_turns: usize,
pub max_gates: usize,
pub rollback: bool,
pub container_workdir: String,
pub max_seconds: Option<u64>,
pub max_cost_usd: Option<f64>,
pub report: Option<PathBuf>,
pub fold_budget: Option<usize>,
pub sandbox: String,
pub network: String,
pub allow_read: Vec<PathBuf>,
pub pass_env: Vec<String>,
pub read_roots: Vec<PathBuf>,
pub no_gate_slot: bool,
pub research: bool,
pub claim_check: bool,
pub base_check: bool,
}Fields§
§command: Option<Command>§prompt: Option<String>Direct task prompt to run in single-shot / headless mode
gate: Option<String>Verification gate command (e.g. ‘pytest’, ‘cargo test’). Several steps may be given one per line: every step runs and all failures are reported together.
orchestrate: boolRun blyte as the orchestrator: plan, dispatch implementers with blyte dispatch, review and merge
dispatch_cmd: Option<String>Command to run on the host when the orchestrator delegates work via the dispatch tool
context: StringContext strategy: ‘conversational’ (append-all chat) or ‘folded’ (append-only chat, oldest half folded into digests past a budget)
model: Option<String>Model identifier or provider selection
container: Option<String>Run inside an isolated container workspace instead of local host
max_turns: usizeMaximum turn budget
max_gates: usizeMaximum verification gate attempts before failing
rollback: boolEnable automatic rollback to baseline git commit if gate fails (disable with –rollback=false)
container_workdir: StringWorking directory inside the container when –container is set
max_seconds: Option<u64>Wall-clock budget in seconds; the run stops itself and reports when it is spent
max_cost_usd: Option<f64>Maximum spend in USD; the run stops before a model call once reached
report: Option<PathBuf>Write a JSON run report to this path when the headless run exits
fold_budget: Option<usize>Approximate token budget for the verbatim tail before folding (folded context; default 48000)
sandbox: StringSandbox the commands blyte runs on this machine (macOS Seatbelt, Linux Landlock): ‘on’ or ‘off’
network: StringLet commands blyte runs connect out: ‘on’ or ‘off’ (default ‘on’). ‘off’ needs the sandbox
allow_read: Vec<PathBuf>Let sandboxed commands read this path despite the credential deny-list (repeatable)
pass_env: Vec<String>Pass this environment variable to commands even though it looks like a credential (repeatable)
read_roots: Vec<PathBuf>Directory allowed for reading with the read and grep tools (repeatable)
no_gate_slot: boolGates in this run do not take a machine-wide slot
research: boolWhether this is a research run: periodically remind the model to keep report.md updated
claim_check: boolResearch run: check report.md’s claims against their cited lines
base_check: boolRun the verification gate once before the first model call and stop as blocked if it fails
Trait Implementations§
Source§impl Args for Cli
impl Args for Cli
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl CommandFactory for Cli
impl CommandFactory for Cli
Source§impl From<&Cli> for TaskConfig
impl From<&Cli> for TaskConfig
Source§impl FromArgMatches for Cli
impl FromArgMatches for Cli
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.