aether-acp-utils 0.3.1

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 server-side outbound traffic.
#[derive(Debug, thiserror::Error)]
pub enum AcpServerError {
    #[error("ACP protocol error during {operation}: {source}")]
    Protocol {
        operation: String,
        #[source]
        source: agent_client_protocol::Error,
    },
}

impl AcpServerError {
    pub fn protocol(operation: &'static str, source: agent_client_protocol::Error) -> Self {
        Self::Protocol { operation: operation.to_string(), source }
    }
}