memd 1.9.0

Local memory CLI for AI agents with hybrid retrieval
Documentation
use super::*;

#[derive(Debug, Clone, Serialize, PartialEq)]
pub(super) struct ProjectState {
    pub(super) generated_unix_ms: u128,
    pub(super) tenant_id: String,
    pub(super) project_id: Option<String>,
    pub(super) configured_project_dir: Option<String>,
    pub(super) resolved_project_dir: String,
    pub(super) scope_warnings: Vec<String>,
    pub(super) memory: MemoryState,
    pub(super) collection_warnings: Vec<String>,
}

#[derive(Debug, Clone, Default, Serialize, PartialEq)]
pub(super) struct MemoryState {
    pub(super) metadata_active_chunks: Option<usize>,
    pub(super) readable_active_chunks: Option<usize>,
    pub(super) unreadable_active_chunks: Option<usize>,
    pub(super) scan_warning: Option<String>,
}