2026-03-05 22:23:03 -05:00
|
|
|
// poc-memory library — shared modules for all binaries
|
|
|
|
|
//
|
|
|
|
|
// Re-exports modules so that memory-search and other binaries
|
|
|
|
|
// can call library functions directly instead of shelling out.
|
|
|
|
|
|
move LLM-dependent modules into agents/ subdir
Separate the agent layer (everything that calls external LLMs or
orchestrates sequences of such calls) from core graph infrastructure.
agents/: llm, prompts, audit, consolidate, knowledge, enrich,
fact_mine, digest, daemon
Root: store/, graph, spectral, search, similarity, lookups, query,
config, util, migrate, neuro/ (scoring + rewrite)
Re-exports at crate root preserve backwards compatibility so
`crate::llm`, `crate::digest` etc. continue to work.
2026-03-08 21:27:41 -04:00
|
|
|
// Core infrastructure
|
2026-03-05 22:23:03 -05:00
|
|
|
pub mod config;
|
|
|
|
|
pub mod store;
|
|
|
|
|
pub mod util;
|
|
|
|
|
pub mod graph;
|
|
|
|
|
pub mod search;
|
|
|
|
|
pub mod similarity;
|
|
|
|
|
pub mod spectral;
|
|
|
|
|
pub mod lookups;
|
move LLM-dependent modules into agents/ subdir
Separate the agent layer (everything that calls external LLMs or
orchestrates sequences of such calls) from core graph infrastructure.
agents/: llm, prompts, audit, consolidate, knowledge, enrich,
fact_mine, digest, daemon
Root: store/, graph, spectral, search, similarity, lookups, query,
config, util, migrate, neuro/ (scoring + rewrite)
Re-exports at crate root preserve backwards compatibility so
`crate::llm`, `crate::digest` etc. continue to work.
2026-03-08 21:27:41 -04:00
|
|
|
pub mod query;
|
|
|
|
|
pub mod migrate;
|
|
|
|
|
pub mod neuro;
|
|
|
|
|
|
|
|
|
|
// Agent layer (LLM-powered operations)
|
|
|
|
|
pub mod agents;
|
|
|
|
|
|
|
|
|
|
// Re-export agent submodules at crate root for backwards compatibility
|
|
|
|
|
pub use agents::{
|
|
|
|
|
llm, audit, consolidate, knowledge,
|
|
|
|
|
enrich, fact_mine, digest, daemon,
|
|
|
|
|
};
|
2026-03-05 22:23:03 -05:00
|
|
|
|
|
|
|
|
pub mod memory_capnp {
|
|
|
|
|
include!(concat!(env!("OUT_DIR"), "/schema/memory_capnp.rs"));
|
|
|
|
|
}
|