use thiserror::Error;
#[derive(Debug, Error)]
pub enum CliError {
#[error("Agent error: {0}")]
Agent(#[from] mixtape_core::AgentError),
#[error("Session error: {0}")]
Session(#[from] mixtape_core::SessionError),
#[error("Input error: {0}")]
Readline(#[from] rustyline::error::ReadlineError),
#[error("IO error: {0}")]
Io(#[from] std::io::Error),
#[error("Shell command failed: {0}")]
ShellCommand(String),
}