pub async fn spawn_acp_session(
agent_command: &str,
init_request: InitializeRequest,
new_session_request: NewSessionRequest,
) -> Result<AcpSession, AcpClientError>Expand description
Spawn an agent subprocess and establish an ACP session.
The connection auto-approves permissions, forwards session notifications as
AcpEvents, and tunnels elicitation requests through the _aether/elicitation
extension method.