Skip to main content

paper/
lib.rs

1//! Paper — local-first document search with exact citations.
2//!
3//! One binary, two front-ends: a CLI and an MCP stdio server, both driven by
4//! the same `core` library.
5
6#[cfg(feature = "daemon")]
7pub mod bootstrap;
8pub mod cli;
9pub mod core;
10pub mod daemon;
11pub mod mcp;
12pub mod util;
13
14pub use core::config::{Config, SearchConfig};
15pub use core::index::{init_db, Connection, Indexer};
16pub use core::models::{Embedder, ModelManager, Reranker};
17pub use core::paths::Paths;
18pub use core::search::{Hit, RawHit, SearchPipeline};