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//! - **types**: Core types (MemoryCategory, MemoryEntry, AutoMemory)
11//! - **storage**: File storage with locking
12//! - **retrieval**: TF-IDF search, keyword extraction
13//! - **extractor**: AI and rule-based memory detection
14//! - **learning**: Feedback learning, behavior inference
15//! - **project**: Project structure analysis
16//! - **keywords_config**: Customizable keywords configuration
17
18mod config;
19mod extractor;
20mod keywords_config;
21mod learning;
22mod project;
23mod retrieval;
24mod storage;
25mod types;
26
27// Re-export all public items
28pub use config::*;
29pub use extractor::*;
30pub use keywords_config::*;
31pub use learning::*;
32pub use project::*;
33pub use retrieval::*;
34pub use storage::*;
35pub use types::*;