#[derive(Debug, thiserror::Error)]
pub enum AcpClientError {
#[error("invalid agent command: {0}")]
InvalidAgentCommand(#[source] agent_client_protocol::Error),
#[error("ACP connection failed before handshake: {0}")]
ConnectFailed(#[source] agent_client_protocol::Error),
#[error("agent subprocess crashed: {0}")]
AgentCrashed(String),
#[error("ACP protocol error: {0}")]
Protocol(#[source] agent_client_protocol::Error),
}