2132774831/dsh-memory-plugin ↗★ 0
dsh-local-memory
提供纯本地、不联网的跨对话长期记忆库 适合注重隐私、需要跨项目和对话保持上下文记忆的用户。
同名包的其他仓库
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:2132774831/dsh-memory-plugin说明文档
阅读完整 README ↗配置项
~/.dsh/dsh-local-memory-config.json
| 字段 | 默认 | 说明 |
|---|---|---|
enabled | true | 总开关 |
storeFile | ~/.dsh/dsh-local-memory.json | 记忆文件路径 |
maxMemories | 5000 | 条数上限,超出丢最旧的(10–100000) |
autoRecall | true | 每轮自动回忆 |
autoRecallMaxItems | 5 | 最多注入几条(1–20) |
autoRecallMinChars | 8 | 输入短于此不触发(0–500) |
autoTagProject | true | 写入时自动打项目标签 |
injectBrief | true | 是否把记忆库说明写进系统提示词 |