pub struct AgentInvocation {Show 16 fields
pub agent: String,
pub model: Option<String>,
pub work_dir: PathBuf,
pub system_prompt: String,
pub agent_message: String,
pub task_id: String,
pub disallowed_tools: Vec<String>,
pub git_author_name: String,
pub git_author_email: String,
pub output_file: PathBuf,
pub timeout_seconds: u64,
pub repo: String,
pub sandbox: bool,
pub main_project_dir: PathBuf,
pub branch: String,
pub attempt: u32,
}Expand description
Agent invocation configuration.
Fields§
§agent: StringAgent name (claude, codex, opencode, grok, kimi, minimax)
model: Option<String>Model override (e.g., “claude-sonnet-4-6”, “o3”, “gpt-4.1”)
work_dir: PathBufWorking directory
system_prompt: StringSystem prompt content
agent_message: StringAgent message (task prompt)
task_id: StringTask ID
disallowed_tools: Vec<String>Disallowed tools pattern
Git author name
Git author email
output_file: PathBufOutput file path for agent response
timeout_seconds: u64Timeout in seconds (0 = no timeout)
repo: StringRepository slug (owner/repo) for per-repo state isolation
sandbox: boolWhether the agent runs in the OS sandbox, from workflow.sandbox
main_project_dir: PathBufThe project’s main checkout, which the sandbox keeps read-only but for its .git
branch: StringThe task’s branch, from orch’s records, the one ref the sandbox lets the agent move
attempt: u32Current attempt number (1-indexed)
Auto Trait Implementations§
impl Freeze for AgentInvocation
impl RefUnwindSafe for AgentInvocation
impl Send for AgentInvocation
impl Sync for AgentInvocation
impl Unpin for AgentInvocation
impl UnsafeUnpin for AgentInvocation
impl UnwindSafe for AgentInvocation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more