remem-ai 0.6.42

Local-first coding agent memory for Claude Code and OpenAI Codex
Documentation
pub(super) const DREAM_PROMPT: &str = include_str!("../../prompts/dream.txt");

/// 每个 project 每次 dream 处理的最大 cluster 数
pub(super) const DREAM_MAX_CLUSTERS: usize = 30;

/// cluster 内记忆数下限(少于这个不合并)
pub(super) const DREAM_MIN_CLUSTER_SIZE: usize = 2;

/// topic_key 前缀匹配长度
pub(super) const TOPIC_KEY_PREFIX_LEN: usize = 20;

/// dream job 最小触发间隔(秒)
#[allow(dead_code)]
pub(crate) const DREAM_COOLDOWN_SECS: i64 = 3600;

/// unchanged no-merge clusters are not reconsidered until this review window expires.
pub(crate) const DREAM_NO_MERGE_REVIEW_SECS: i64 = 7 * 24 * 3600;

/// 最近 N 秒内写入的记忆不参与合并(避免合并进行中的会话)
pub(super) const DREAM_RECENCY_GUARD_SECS: i64 = 3600;