matrixcode_core/memory/mod.rs
1//! Memory system for MatrixCode.
2//!
3//! This module implements automatic memory accumulation for AI agents.
4//! It captures user preferences, project decisions, key findings, and solutions
5//! across sessions, providing persistent context.
6//!
7//! # Module Structure
8//!
9//! - **config**: Constants and configuration
10//! - **entry**: Core types (MemoryCategory, MemoryEntry)
11//! - **manager**: Memory manager (AutoMemory, SearchIndex, MemoryStatistics)
12//! - **storage**: File storage with locking
13//! - **retrieval**: TF-IDF search, keyword extraction
14//! - **extractor**: AI and rule-based memory detection
15//! - **learning**: Feedback learning, behavior inference
16//! - **project**: Project structure analysis
17
18mod config;
19mod entry;
20mod extractor;
21mod learning;
22mod manager;
23mod project;
24mod retrieval;
25mod storage;
26
27// Re-export all public items
28pub use config::*;
29pub use entry::*;
30pub use extractor::*;
31pub use learning::*;
32pub use manager::*;
33pub use project::*;
34pub use retrieval::*;
35pub use storage::*;