Skip to main content

DispatchArgs

Struct DispatchArgs 

Source
pub struct DispatchArgs {
Show 24 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 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: String

Identifier 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

§tags: Vec<String>

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

§base: String

The commit a new worktree starts from

§research: bool

Run 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: String

Sandbox 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: bool

Start even if the task names paths outside the workspace and –allow-read

§no_brief_check: bool

Research runs: no warning for missing brief sections, and allow a question that names an unverified report

§no_claim_check: bool

Skip the model claim check on report.md for research runs

§no_base_check: bool

Skip 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

Source§

fn group_id() -> Option<Id>

Report the ArgGroup::id for this set of arguments
Source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to Command so it can instantiate Self via FromArgMatches::from_arg_matches_mut Read more
Source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to Command so it can instantiate self via FromArgMatches::update_from_arg_matches_mut Read more
Source§

impl Clone for DispatchArgs

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for DispatchArgs

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl FromArgMatches for DispatchArgs

Source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>

Assign values from ArgMatches to self.
Source§

fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>

Assign values from ArgMatches to self.
Source§

impl PartialEq for DispatchArgs

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for DispatchArgs

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.