123zxs345/dsh-plugin-companion-memory ↗★ 2

dsh-plugin-companion-memory

Selective companion memory for DeepSeek Harness: learn the user and distill what matters, with layered recall and prefix/summary reuse

包名
dsh-plugin-companion-memory
兼容性
待验证
Harness 依赖范围
0.2.1-rc.2
Cordis 依赖范围
4.0.5
版本
0.3.2
许可证
MIT
最近更新
2026年11月4日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add https://github.com/123zxs345/dsh-plugin-companion-memory/releases/download/v0.3.2/dsh-plugin-companion-memory-0.3.2.tgz

使用示例

以下为虚构示意:

用户:以后我说累了,先听我吐槽两句,别急着给建议。

模型可以将它提炼成:疲惫时希望先被倾听,并保留适用情境与原话依据。另一天出现“今天我想听听你的办法”时,当前表达优先,也可以修正已有理解。

默认安静15秒后尝试整理;持续聊天时,从首个完整待整理交互起最多等待60秒,生成回复期间会等待其结束。普通闲聊可以不形成长期记忆。上述时间是本地调度目标,不是提供商缓存TTL。

插件给宿主模型提供 recall_memory 与 read_memory,聊天先看到摘要;需要时再展开意义或原话。后台模型决定记忆变化,执行层只检查来源、容量、依赖和事务一致性。