#[cfg(feature = "console")]
mod console_adapter;
mod rwi_adapter;
mod session_action_bridge;
#[cfg(feature = "console")]
pub use console_adapter::*;
pub use rwi_adapter::*;
pub use session_action_bridge::*;
#[derive(Debug, thiserror::Error)]
pub enum AdapterError {
#[error("Unknown command type")]
UnknownCommand,
#[error("Missing required field: {0}")]
MissingField(&'static str),
#[error("Invalid value for field '{0}': {1}")]
InvalidValue(&'static str, String),
#[error("Command not supported in current context: {0}")]
NotSupported(String),
#[error("Session command without session context")]
NoSessionContext,
}