pub struct AcpAgentLaunch {
pub command: String,
pub args: Vec<String>,
pub full_mode: Option<String>,
pub environment: Vec<(OsString, OsString)>,
pub required: bool,
}Expand description
An agent’s Agent Client Protocol server, resolved from its adapter-table
entry and [agents.<name>] transport.
Fields§
§command: String§args: Vec<String>Arguments with the permissions = "full" switches already applied.
full_mode: Option<String>The ACP session mode that grants full permissions, selected in every
new session when permissions = "full".
environment: Vec<(OsString, OsString)>Extra environment for the ACP server, such as permission settings the server reads only from its environment.
required: booltransport = "acp": never fall back to one CLI process per turn, so
the agent is not offered while its ACP server is missing.
Trait Implementations§
Source§impl Clone for AcpAgentLaunch
impl Clone for AcpAgentLaunch
Auto Trait Implementations§
impl Freeze for AcpAgentLaunch
impl RefUnwindSafe for AcpAgentLaunch
impl Send for AcpAgentLaunch
impl Sync for AcpAgentLaunch
impl Unpin for AcpAgentLaunch
impl UnsafeUnpin for AcpAgentLaunch
impl UnwindSafe for AcpAgentLaunch
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