dsh-memory

DSH 的工作区长期记忆。会话开始只注入「一行一条」的记忆索引,正文由 memory 工具按需取——同样字数预算约装三倍条目;一轮结束时用当轮最后一条用户消息做纯本地检索,命中的记忆下一轮随简报召回,不花模型 token。可选自动提炼把一段对话归纳成结构化记忆,captureMode=draft 时先进审批队列、你批准了才生效。另有画像层:工作区与全局各一份全貌,由日志与条目重写生成,同样可走草稿。设置 → 记忆 里有档案 / 列表 / 时间线、体检(重复簇、过期未用、断链)、版本链 supersede 与一键回滚,以及「扫描本机」把已有的 WorkBuddy / Qoder 记忆文件导入(只读,不动来源)。

插件介绍

DSH 的工作区长期记忆。会话开始只注入「一行一条」的记忆索引,正文由 memory 工具按需取——同样字数预算约装三倍条目;一轮结束时用当轮最后一条用户消息做纯本地检索,命中的记忆下一轮随简报召回,不花模型 token。可选自动提炼把一段对话归纳成结构化记忆,captureMode=draft 时先进审批队列、你批准了才生效。另有画像层:工作区与全局各一份全貌,由日志与条目重写生成,同样可走草稿。设置 → 记忆 里有档案 / 列表 / 时间线、体检(重复簇、过期未用、断链)、版本链 supersede 与一键回滚,以及「扫描本机」把已有的 WorkBuddy / Qoder 记忆文件导入(只读,不动来源)。

安装方式

通过 npm 安装

dsh plugin --profile web add @bangbang-03/dsh-memory

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

从 GitHub 安装

dsh plugin --profile web add github:BangBang-03/dsh-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.

版本兼容情况

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