companion-memory

DeepSeek Harness 的本地长期记忆内核:明文笔记、限长索引、五个工具、可选的宿主模型整理,并保留可追溯原话。它会把每条不超过 32,000 字符的用户和助手消息以明文追加到 ~/.companion/cold/<日期>.jsonl,没有内置清理,并在每次的系统提示词里加一份笔记索引;基于模型的整理默认关闭,打开后会把这些消息发给当前会话的模型。

插件介绍

DeepSeek Harness 的本地长期记忆内核:明文笔记、限长索引、五个工具、可选的宿主模型整理,并保留可追溯原话。它会把每条不超过 32,000 字符的用户和助手消息以明文追加到 ~/.companion/cold/<日期>.jsonl,没有内置清理,并在每次的系统提示词里加一份笔记索引;基于模型的整理默认关闭,打开后会把这些消息发给当前会话的模型。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:1326007879-sys/companion-memory

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。