dsh-ming-memory

DSH 的开场记忆插件:会话开在指定目录时,把人格文件与最近几篇日记注入系统提示词,这些源文件只读不改;它会在 <root>/live/feed.json 保存一小段跨会话的最近对话,并可写出 <root>/live/web-for-qq.md 交给 QQ 侧,不上传任何内容。会变的块(时间感、刚做过、别的会话)走每步刷新的上下文消息,系统提示逐字节稳定,前缀缓存不被打断。

插件介绍

DSH 的开场记忆插件:会话开在指定目录时,把人格文件与最近几篇日记注入系统提示词,这些源文件只读不改;它会在 <root>/live/feed.json 保存一小段跨会话的最近对话,并可写出 <root>/live/web-for-qq.md 交给 QQ 侧,不上传任何内容。会变的块(时间感、刚做过、别的会话)走每步刷新的上下文消息,系统提示逐字节稳定,前缀缓存不被打断。

安装方式

从 GitHub 安装

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

版本兼容情况

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