pub struct WrapperContext {Show 18 fields
pub worker_name: String,
pub ticket_id: String,
pub ticket_branch: String,
pub worktree_path: PathBuf,
pub system_prompt_file: PathBuf,
pub user_message_file: PathBuf,
pub skip_permissions: bool,
pub profile: String,
pub role_prefix: Option<String>,
pub options: HashMap<String, String>,
pub model: Option<String>,
pub log_path: PathBuf,
pub container: Option<String>,
pub extra_env: HashMap<String, String>,
pub root: PathBuf,
pub keychain: HashMap<String, String>,
pub current_state: String,
pub command: Option<String>,
}Fields§
§worker_name: String§ticket_id: String§ticket_branch: String§worktree_path: PathBuf§system_prompt_file: PathBuf§user_message_file: PathBuf§skip_permissions: bool§profile: String§role_prefix: Option<String>§options: HashMap<String, String>§model: Option<String>§log_path: PathBuf§container: Option<String>§extra_env: HashMap<String, String>§root: PathBuf§keychain: HashMap<String, String>§current_state: String§command: Option<String>Override for the wrapper-specific binary (e.g. for ClaudeWrapper, the
claude binary path). Honoured by built-ins that shell out to a fixed
binary; legacy [workers].command flows in here.
Auto Trait Implementations§
impl Freeze for WrapperContext
impl RefUnwindSafe for WrapperContext
impl Send for WrapperContext
impl Sync for WrapperContext
impl Unpin for WrapperContext
impl UnsafeUnpin for WrapperContext
impl UnwindSafe for WrapperContext
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