agcodex_core/context_engine/
mod.rs

1//! AGCodex Context Engine scaffolding.
2//!
3//! This module provides compile-safe placeholders for the AST-RAG system
4//! described in PLANS.md (ast_compactor, semantic_index, retrieval,
5//! embeddings, cache). Implementations are intentionally minimal and do not
6//! pull heavy dependencies yet. They serve as stable integration points to
7//! progressively wire in functionality.
8
9pub mod ast_compactor;
10pub mod cache;
11pub mod embeddings;
12pub mod retrieval;
13pub mod semantic_index;
14
15pub use ast_compactor::AstCompactor;
16pub use ast_compactor::CompactOptions;
17pub use ast_compactor::CompactResult;
18pub use cache::Cache;
19pub use cache::InMemoryCache;
20pub use embeddings::EmbeddingError;
21pub use embeddings::EmbeddingModel;
22pub use embeddings::EmbeddingModelBridge;
23pub use embeddings::EmbeddingVector;
24pub use embeddings::NoOpEmbeddingModel;
25pub use retrieval::ContextRetriever;
26pub use retrieval::RetrievalQuery;
27pub use retrieval::RetrievalResult;
28pub use semantic_index::FileId;
29pub use semantic_index::SemanticIndex;
30pub use semantic_index::SymbolInfo;