pub struct AcpLaunch {
pub command: &'static str,
pub full_mode: Option<&'static str>,
pub full_environment: &'static [(&'static str, &'static str)],
pub session_options: bool,
/* private fields */
}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.
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.
session_options: boolThe server takes model and effort as session config options even
though the CLI run once per turn takes neither as an argument, as
DeepSeek Harness’s does. Other agents take them over ACP where their
CLI takes them as arguments.
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