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
Install
$
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.tgzREADME
Read the full README ↗使用示例
以下为虚构示意:
用户:以后我说累了,先听我吐槽两句,别急着给建议。
模型可以将它提炼成:疲惫时希望先被倾听,并保留适用情境与原话依据。另一天出现“今天我想听听你的办法”时,当前表达优先,也可以修正已有理解。
默认安静15秒后尝试整理;持续聊天时,从首个完整待整理交互起最多等待60秒,生成回复期间会等待其结束。普通闲聊可以不形成长期记忆。上述时间是本地调度目标,不是提供商缓存TTL。
插件给宿主模型提供 recall_memory 与 read_memory,聊天先看到摘要;需要时再展开意义或原话。后台模型决定记忆变化,执行层只检查来源、容量、依赖和事务一致性。