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;
|
2026-03-14 17:49:27 -04:00
|
|
|
pub mod query;
|
2026-03-05 22:23:03 -05:00
|
|
|
pub mod similarity;
|
|
|
|
|
pub mod spectral;
|
|
|
|
|
pub mod lookups;
|
2026-03-14 17:49:27 -04:00
|
|
|
// search was moved into query/engine
|
|
|
|
|
pub use query::engine as search;
|
|
|
|
|
// old query.rs moved into query/parser
|
|
|
|
|
pub use query::parser as query_parser;
|
2026-03-09 17:06:32 -04:00
|
|
|
pub mod transcript;
|
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 neuro;
|
2026-03-10 23:59:39 -04:00
|
|
|
pub mod counters;
|
2026-03-13 22:31:23 -04:00
|
|
|
pub mod cursor;
|
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
|
|
|
|
|
|
|
|
// Agent layer (LLM-powered operations)
|
|
|
|
|
pub mod agents;
|
poc-memory status: add ratatui TUI dashboard
Per-agent-type tabs (health, replay, linker, separator, transfer,
apply, orphans, cap, digest, digest-links, knowledge) with dynamic
visibility — tabs only appear when tasks or log history exist.
Features:
- Overview tab: health gauges (α, gini, cc, episodic%), in-flight
tasks, and recent log entries
- Pipeline tab: table with phase ordering and status
- Per-agent tabs: active tasks, output logs, log history
- Log tab: auto-scrolling daemon.log tail
- Vim-style count prefix: e.g. 5r runs 5 iterations of the agent
- Flash messages for RPC feedback
- Tab/Shift-Tab navigation, number keys for tab selection
Also adds run-agent RPC to the daemon: accepts agent type and
iteration count, spawns chained tasks with LLM resource pool.
poc-memory status launches TUI when stdout is a terminal and daemon
is running, falls back to text output otherwise.
2026-03-10 00:41:29 -04:00
|
|
|
pub mod tui;
|
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
|
|
|
|
|
|
|
|
// 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"));
|
|
|
|
|
}
|