Files
poimen-memory/crates/mem-store/src/lib.rs
T
rock d8c3b06cb0
CI / CI (push) Successful in 15m14s
fix: resolve 75 mem-cli compilation errors
All errors were API mismatches — handler code calling wrong method
   names, wrong argument types, or missing imports/derives. No logic
   changes. Build now passes with SQLX_OFFLINE=true.

   Key fixes:
   - embed_text -> embed_one, Vector -> Vec<f32> conversion
   - extract_token: extract auth header from HttpRequest first
   - AuthError variants aligned to actual enum definition
   - recursive async fns boxed (dfs_paths in inference + path_finder)
   - missing derives (Default, Serialize), imports (sqlx::Row, Timelike)
   - borrow-after-move: compute .len() before struct field move
   - streaming_body -> streaming with Result<Bytes> for SSE
   - CI: add SQLX_OFFLINE=true for offline builds without DB

   25 files changed, 99 insertions(+), 81 deletions(-)

Co-authored-by: rock <[email protected]>
2026-09-08 01:11:14 +00:00

23 lines
857 B
Rust

pub mod event_log;
pub mod pgvector;
pub mod rebuild;
pub mod pg_repo;
pub mod schema;
pub mod entity_repo;
pub mod edge_repo;
pub mod community_repo;
pub mod versioning;
pub mod audit_logger;
// pub mod db_repo; // TODO: Fix Entity schema integration
pub use event_log::{EventRecord, LogWriter};
pub use pgvector::{VectorRecord, VectorStore, ChunkL0, MemoryL1, MemoryL2};
pub use rebuild::{RebuildEngine, RebuildOpts, RebuildStats};
pub use pg_repo::{PgRepo, MemoryNode, VectorKind, Level, ScoredNode, Scope, SignatureHit};
pub use schema::init_schema;
pub use entity_repo::{EntityRepoOps, MockEntityRepo};
pub use edge_repo::{EdgeRepoOps, MockEdgeRepo};
pub use community_repo::{CommunityRepoOps, MockCommunityRepo};
pub use versioning::{EntityVersioningService, EdgeVersioningService, VersionSnapshot};
pub use audit_logger::{AuditLogger, AuditEntry};