BangBang-03/dsh-memory ↗★ 0

dsh-memory

提供工作区长期记忆注入、读写与自动提炼功能。 适合需要跨会话保持项目背景、让模型记住长期设定和知识的用户。

包名
dsh-memory
兼容性
待验证
Harness 依赖范围
*
Cordis 依赖范围
^4.0.4
版本
0.1.0
许可证
MIT
最近更新
2026年10月10日

同名包的其他仓库

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:BangBang-03/dsh-memory

配置

面板里能改的都落在 ~/.dsh/storages/dsh-memory/settings.json;cordis.patch.yml 里的 config 只是初值。

键默认说明
enabledtrue总开关
directory""数据库位置,空 = ~/.dsh/storages/dsh-memory
mirrortrue在工作区写 .dsh-memory/MEMORY.md
briefingtrue会话开始注入摘要
briefingLimit12注入条数上限(1–50)
briefingMaxChars2000注入字数上限(200–20000)
sectionOrder550注入段落在系统提示里的位置
autoCapturefalse轮次结束自动提炼
autoCaptureMinChars600太短的轮次不提炼
captureCooldownMs60000两次提炼的最小间隔
minConfidence0.4提炼结果的最低置信度
maxPerTurn5每次最多落库条数
maxTranscriptChars6000送给模型的对白摘录上限
dedupetrue保存时合并相似记忆