aether-acp-utils 0.5.6

Agent Client Protocol (ACP) utilities for the Aether AI agent framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/// Errors returned by ACP client-side operations.
#[derive(Debug, thiserror::Error)]
pub enum AcpClientError {
    /// The agent command string could not be parsed.
    #[error("invalid agent command: {0}")]
    InvalidAgentCommand(#[source] agent_client_protocol::Error),

    /// The agent subprocess exited unexpectedly.
    #[error("agent subprocess crashed: {0}")]
    AgentCrashed(String),

    /// The ACP request/response exchange failed (`initialize`, `new_session`,
    /// `prompt`, etc.).
    #[error("ACP protocol error: {0}")]
    Protocol(#[source] agent_client_protocol::Error),
}