next_plaid_cli/
lib.rs

1//! next-plaid-cli: Semantic code search powered by ColBERT
2//!
3//! This crate provides semantic code search using:
4//! - **next-plaid** - Multi-vector search (ColBERT/PLAID)
5//! - **next-plaid-onnx** - ONNX-based ColBERT encoding
6//! - **tree-sitter** - Multi-language code parsing
7
8pub mod config;
9pub mod embed;
10pub mod index;
11pub mod install;
12pub mod model;
13pub mod onnx_runtime;
14pub mod parser;
15
16pub use config::Config;
17pub use embed::build_embedding_text;
18pub use index::paths::{
19    find_parent_index, get_index_dir_for_project, get_plaid_data_dir, get_vector_index_path,
20    ParentIndexInfo, ProjectMetadata,
21};
22pub use index::state::IndexState;
23pub use index::{index_exists, IndexBuilder, SearchResult, Searcher, UpdatePlan, UpdateStats};
24pub use model::{ensure_model, DEFAULT_MODEL};
25pub use onnx_runtime::ensure_onnx_runtime;
26pub use parser::{build_call_graph, detect_language, extract_units, CodeUnit, Language, UnitType};
27
28// Install commands for AI coding tools
29pub use install::{install_claude_code, uninstall_claude_code};