Fishsb/dsh-shoucang-memory ↗★ 2
dsh-shoucang-memory
DSH 长期记忆插件:记忆库 + 会话蒸馏自动沉淀 + 设置面板,越用越懂你。守藏(Shoucang)单插件,panel + scheduler + 内嵌记忆技能。 适合需要AI长期记住用户偏好与历史会话、实现个性化成长的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Fishsb/dsh-shoucang-memoryREADME
Read the full README ↗⚙️ 配置(常用项)
扁平单层配置,面板或配置文件均可改,缺省即「零配置可用」:
| 键 | 缺省 | 说明 |
|---|---|---|
enableDistill | 开 | 蒸馏总开关 |
idleWakeMs | 10 分钟 | 会话结束后唤醒蒸馏的空闲阈值 |
distillPrescan | 开 | 信号词预筛:无关会话零 LLM 成本跳过 |
distillModel / sleepModel | 继承主会话 | 蒸馏 / 深睡子代理可各自指定模型 |
enableDeepSleep | 开 | 深度睡眠总开关 |
deepSleepIdleMs | 3 小时 | 全部会话停滞触发阈值 |
embedEnabled | 开 | 向量召回;端点不可达自动降级词法 |
embedBaseUrl / embedModel | Ollama :11434 / bge-m3 | OpenAI 兼容向量端点(可换云端) |
mclEnabled | 开 | 认知环首步引导 |
capAgent / capUser / capMemory | 3000 / 3000 / 5000 | 写门容量字符上限 |
activityWarmDays / ColdDays / ArchiveDays | 14 / 44 / 90 | 遗忘节奏(天) |
bankGit | 开 | 记忆库本地 git 快照 |
完整键清单见面板「配置原文」视图。