pub(crate) const CHUNK_MAX_CHARS: usize = 1_400;
#[cfg(any(feature = "mcp", feature = "tui"))]
mod budget;
pub mod commands;
pub mod embed;
pub mod error;
pub mod index;
pub mod ingest;
#[cfg(feature = "mcp")]
pub mod mcp;
pub mod storage;
#[cfg(feature = "tui")]
pub mod tui;
pub use commands::{
index_project, index_project_with_progress, is_yes, load_default_embedder, open_project,
render_error, render_search, render_stats, search_project, skip_summary, stats_project,
IndexReport, Progress, SearchHit, Stats,
};
pub use error::{Error, Result};