Skip to main content

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//! - **keywords_config**: Customizable keywords configuration
18
19mod config;
20mod entry;
21mod extractor;
22mod keywords_config;
23mod learning;
24mod manager;
25mod project;
26mod retrieval;
27mod storage;
28
29// Re-export all public items
30pub use config::*;
31pub use entry::*;
32pub use extractor::*;
33pub use keywords_config::*;
34pub use learning::*;
35pub use manager::*;
36pub use project::*;
37pub use retrieval::*;
38pub use storage::*;