pub struct AcpLaunch {
pub command: &'static str,
pub args: &'static [&'static str],
pub full_args: &'static [&'static str],
pub full_mode: Option<&'static str>,
pub full_environment: &'static [(&'static str, &'static str)],
}Expand description
How to start an agent’s Agent Client Protocol (ACP) server: a long-running process speaking JSON-RPC 2.0 over stdio, one conversation per ACP session.
Fields§
§command: &'static strThe ACP server executable: the agent itself or its official adapter.
args: &'static [&'static str]Its arguments; a {full} entry is replaced by full_args for
permissions = "full" and dropped otherwise.
full_args: &'static [&'static str]§full_mode: Option<&'static str>The ACP session mode selected for permissions = "full", for agents
whose permission level is a session mode.
full_environment: &'static [(&'static str, &'static str)]Environment for the ACP server under permissions = "full", for
settings the server reads only from its environment.
Trait Implementations§
impl Copy for AcpLaunch
impl Eq for AcpLaunch
impl StructuralPartialEq for AcpLaunch
Auto Trait Implementations§
impl Freeze for AcpLaunch
impl RefUnwindSafe for AcpLaunch
impl Send for AcpLaunch
impl Sync for AcpLaunch
impl Unpin for AcpLaunch
impl UnsafeUnpin for AcpLaunch
impl UnwindSafe for AcpLaunch
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.