pub struct AgentOverride {
pub binary: Option<PathBuf>,
pub disabled: bool,
pub capabilities: Option<AgentCapabilities>,
pub args: Option<Vec<String>>,
pub prompt_via_stdin: Option<bool>,
}Expand description
Operator-configured override for a fingerprinted agent. All fields are optional; unset ones fall through to discovery defaults.
Fields§
§binary: Option<PathBuf>Override the binary path found on $PATH.
disabled: boolExclude this agent from the registry entirely.
capabilities: Option<AgentCapabilities>Replace the fingerprint’s default capabilities.
args: Option<Vec<String>>Replace the invocation args. {prompt} and {task_id} are
substituted at spawn time.
prompt_via_stdin: Option<bool>Force stdin vs. argv prompt delivery.
Trait Implementations§
Source§impl Clone for AgentOverride
impl Clone for AgentOverride
Source§impl Debug for AgentOverride
impl Debug for AgentOverride
Source§impl Default for AgentOverride
impl Default for AgentOverride
Source§impl<'de> Deserialize<'de> for AgentOverride
impl<'de> Deserialize<'de> for AgentOverride
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AgentOverride
impl RefUnwindSafe for AgentOverride
impl Send for AgentOverride
impl Sync for AgentOverride
impl Unpin for AgentOverride
impl UnsafeUnpin for AgentOverride
impl UnwindSafe for AgentOverride
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