Skip to main content

repomap_core/
lib.rs

1//! repomap core: a map of your codebase for AI agents.
2//!
3//! Walks a repository (respecting `.gitignore`), parses code with
4//! tree-sitter, links imports and calls into a graph, ranks files with
5//! PageRank, groups them into Louvain communities, and indexes AST chunks
6//! with BM25 and, when the model is installed, a static code embedding. Queries: map, search, context, trace, impact.
7
8pub mod bm25;
9pub mod db;
10pub mod export;
11pub mod graph;
12pub mod index;
13pub mod lang;
14pub mod multirepo;
15pub mod parse;
16pub mod qterms;
17pub mod query;
18pub mod score;
19pub mod semantic;
20pub use mcp_kit::search as tokenize;
21pub mod tune;
22pub mod workspace_graph;
23
24pub use index::{BuildOptions, Index};
25pub use query::{ContextOptions, Direction, ImpactOptions, MapOptions, SearchOptions, TraceOptions};