#![allow(dead_code, unused_imports)]
pub mod handlers;
pub mod protocol;
pub mod state;
#[cfg(test)]
mod tests;
pub mod utils;
pub use handlers::run_rpc_mode;
pub use protocol::{
jsonrpc_to_command, parse_json_line, rpc_response_to_jsonrpc, serialize_json_line,
serialize_json_line_obj, CommandInfo, CompactionResult, ImageData, JsonRpcError,
JsonRpcErrorResponse, JsonRpcRequest, JsonRpcSuccessResponse, JsonlLineReader, ModelInfo,
PendingExtensionRequest, RpcCommand, RpcEvent, RpcExtensionUiRequest, RpcExtensionUiResponse,
RpcImageSource, RpcOutput, RpcResponse, SessionHandoff, SessionState, SessionStats, SourceInfo,
JSONRPC_INTERNAL_ERROR, JSONRPC_INVALID_PARAMS, JSONRPC_INVALID_REQUEST,
JSONRPC_METHOD_NOT_FOUND, JSONRPC_PARSE_ERROR,
};
pub use state::RpcServer;
pub use utils::{BoxedEventListener, PasteHandler, PasteState, RpcClient, RpcClientConfig};