pub struct DispatchArgs {Show 25 fields
pub id: String,
pub task_file: Option<PathBuf>,
pub gate: Option<String>,
pub tags: Vec<String>,
pub plan: Option<String>,
pub plan_task: Option<String>,
pub request: Option<String>,
pub surface: Option<String>,
pub started_by: Option<String>,
pub base: String,
pub research: bool,
pub report_to: Option<PathBuf>,
pub model: Option<String>,
pub max_seconds: Option<u64>,
pub max_turns: Option<u32>,
pub max_cost_usd: Option<f64>,
pub fold_budget: Option<usize>,
pub sandbox: String,
pub network: Option<String>,
pub allow_read: Vec<PathBuf>,
pub no_path_check: bool,
pub no_brief_check: bool,
pub no_claim_check: bool,
pub no_base_check: bool,
pub pass_env: Vec<String>,
}Fields§
§id: StringIdentifier for this dispatch (used for worktree and branch wip/
task_file: Option<PathBuf>Path to the task description markdown file; optional with –plan and –plan-task, which take the task from the plan
gate: Option<String>The check command; several lines are several steps, all of which must pass
Tag for this dispatch (repeatable)
plan: Option<String>Path to the plan file this dispatch belongs to
plan_task: Option<String>Plan task this dispatch implements
request: Option<String>Request identifier this dispatch belongs to
surface: Option<String>Surface identifier that started this dispatch
started_by: Option<String>§base: StringThe commit a new worktree starts from
research: boolRun read-only research: scratch repository, report gate, findings in report.md
report_to: Option<PathBuf>Copy the finished research report to this path (only with –research)
model: Option<String>Model identifier or provider selection
max_seconds: Option<u64>Wall-clock budget in seconds (default 3600)
max_turns: Option<u32>Maximum turn budget (default 300)
max_cost_usd: Option<f64>Maximum spend in USD (default 25)
fold_budget: Option<usize>Approximate token budget for the verbatim tail before folding
sandbox: StringSandbox local command execution: ‘on’ or ‘off’ (default ‘on’)
network: Option<String>Outbound network mode: ‘on’ or ‘off’ (default ‘on’)
allow_read: Vec<PathBuf>Let sandboxed commands read this path despite credential deny-list (repeatable)
no_path_check: boolStart even if the task names paths outside the workspace and –allow-read
no_brief_check: boolResearch runs: no warning for missing brief sections, and allow a question that names an unverified report
no_claim_check: boolSkip the model claim check on report.md for research runs
no_base_check: boolSkip the pre-run gate check on the untouched worktree
pass_env: Vec<String>Pass this environment variable to commands (repeatable)
Trait Implementations§
Source§impl Args for DispatchArgs
impl Args for DispatchArgs
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 Clone for DispatchArgs
impl Clone for DispatchArgs
Source§impl Debug for DispatchArgs
impl Debug for DispatchArgs
Source§impl FromArgMatches for DispatchArgs
impl FromArgMatches for DispatchArgs
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.