#![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::{
serialize_json_line, serialize_json_line_obj, parse_json_line,
JsonRpcRequest, JsonRpcSuccessResponse, JsonRpcError, JsonRpcErrorResponse,
JSONRPC_PARSE_ERROR, JSONRPC_INVALID_REQUEST, JSONRPC_METHOD_NOT_FOUND,
JSONRPC_INVALID_PARAMS, JSONRPC_INTERNAL_ERROR,
jsonrpc_to_command, rpc_response_to_jsonrpc,
RpcCommand, ImageData, RpcImageSource,
RpcResponse, RpcExtensionUiRequest, RpcExtensionUiResponse,
SessionState, ModelInfo, CommandInfo, SourceInfo, SessionStats, CompactionResult,
RpcEvent, PendingExtensionRequest,
JsonlLineReader, RpcOutput, SessionHandoff,
};
pub use state::RpcServer;
pub use utils::{
PasteState, PasteHandler,
RpcClientConfig, BoxedEventListener, RpcClient,
};