pub struct AgentConfig {
pub socket_path: PathBuf,
pub scope: AgentScope,
pub confirm_timeout: Duration,
pub requesting_process: Option<String>,
}Expand description
Everything run_agent needs, built by the face (the CLI) from its Ctx.
The custodied keys are provided by a closure so the daemon can re-read them
per request (a key added/removed while the daemon runs is reflected).
Fields§
§socket_path: PathBufThe socket path to bind (published as $SSH_AUTH_SOCK).
scope: AgentScopeThe agent’s capability scope (I13), from agent.toml or the safe default.
confirm_timeout: DurationHow long a high/prod confirmation may block before failing safe.
requesting_process: Option<String>The observed requesting process for the I16 prompt line, if any.
Auto Trait Implementations§
impl Freeze for AgentConfig
impl RefUnwindSafe for AgentConfig
impl Send for AgentConfig
impl Sync for AgentConfig
impl Unpin for AgentConfig
impl UnsafeUnpin for AgentConfig
impl UnwindSafe for AgentConfig
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