#![allow(dead_code)]
#![allow(unused_imports)]
#![allow(clippy::upper_case_acronyms)]
#![allow(clippy::type_complexity)]
pub mod agency;
pub mod analytics;
pub mod api;
pub mod automation;
pub mod browser;
pub mod cli;
pub mod cloud_sync;
pub mod commands;
pub mod copilot_version;
pub mod database;
pub mod encryption;
pub mod error;
pub mod integrations;
pub mod intelligence;
pub mod mcp;
pub mod models;
pub mod plugins;
pub mod providers;
pub mod routing;
pub mod scaling;
pub mod schema;
pub mod storage;
pub mod sync;
pub mod teams;
pub mod telemetry;
pub mod tui;
pub mod workspace;
pub use cli::{
Cli, Commands, ExportCommands, FetchCommands, FindCommands, GitCommands, ImportCommands,
ListCommands, MergeCommands, MigrationCommands, MoveCommands, ProviderCommands, RunCommands,
SchemaCommands, ShardCommands, ShowCommands,
};
pub use schema::{DetectedSchema, Ontology, ProviderSchema, SchemaRegistry, SchemaVersion};
pub use database::{ChatDatabase, ShareLinkInfo, ShareLinkParser, ShareLinkProvider};
pub use error::CsmError;
pub use models::{
ChatMessage, ChatRequest, ChatSession, ChatSessionIndex, ChatSessionIndexEntry,
SessionWithPath, Workspace, WorkspaceJson,
};
pub use providers::{
CsmConfig, GenericMessage, GenericSession, ProviderConfig, ProviderRegistry, ProviderType,
};
pub use storage::{
add_session_to_index, backup_workspace_sessions, close_vscode_and_wait, compact_session_jsonl,
is_vscode_running, parse_session_auto, parse_session_file, parse_session_json,
parse_session_jsonl, read_chat_session_index, recover_from_all_backups, recover_from_jsonl_bak,
register_all_sessions_from_directory, reopen_vscode, repair_workspace_sessions,
sync_session_index, trim_session_jsonl, write_chat_session_index,
};
pub use workspace::{
decode_workspace_folder, discover_workspaces, find_workspace_by_path,
get_chat_sessions_from_workspace, get_workspace_by_hash, get_workspace_by_path,
get_workspace_storage_path, normalize_path,
};