Rainpomelo/deepseek-harness-mimo-memory
Rainpomelo★ 0JavaScript最后同步: 2026-08-19
DeepSeek Harness - MiMoCode 工作区自动记忆插件 (0 工具调用预注入、后台自动蒸馏与跨会话持久化) #dsh-plugin
README 摘要
DeepSeek Harness - MiMoCode 工作区自动记忆插件 (MiMo Memory) 基于 MiMoCode 记忆架构 构建的 DeepSeek Harness 跨会话长期工作区持久记忆插件。 实现开局 0 工具调用自动预注入 、 后台异步蒸馏与沉淀 (Dreaming) 、 跨会话任务断点续接 (Checkpoints) 以及 显式结构化落盘工具 ( update project memory ) 。 运行机制与核心架构 插件采用 MiMoCode 原版四层分级记忆与异步调度模型: 插件是怎么运行的 1. 工作区路径映射与隔离 ( projectKey ) 插件对每个工作区目录( cwd )进行跨平台无冲突编码(如 C:\Agent code\deepseek 映射为 --C-Agent 0020code-deepseek-- ),将记忆统一隔离存储在 /.dsh/memory/ / 目录下,不同项目互不串扰。 2. 开局 0 工具调用自动预注入 在会话启动组装系统提示词时( ctx.systemPrompt.context ),插件会自动读取对应工作区的 MEMORY.md 与 checkpoint.md ,并在上下文最前部注入: 模型开局第一轮即直接掌握项目的硬件配置、架构选型与开发约定,无需先耗费 1 2 轮对话去执行 view file 或 grep 检索历史文档。 3. 后台 Dreaming 自动蒸馏 当单次对话交互结束、Agent 状态转为 idle 时,插件自动启动后台分析: - 扫描最近交互,识别用户明确给出的规则偏好(如“统一使用 TypeScript”、“记住这个配置”)与已验证的技术结论(如“Bug 根因是...”); - 自动更新 checkpoint.md 与 MEMORY.md ,实现静默记忆生长。 4. 主动更新工具 ( update project memory ) 插件向 Agent 注册了主动记忆管理工具: - section :指定写入的章节(如 架构与技术选型 、 关键约定与环境规范 、 已验证结论与踩坑记录 ); - content :沉淀的具体事实或规则; - action : append (追加,自动去重)或 replace (覆盖)。 安装与配置 方式一:在本地 Profile 中引入(推荐) 1. 将本仓库 clone 到本地,例如 C:/plugins/deepseek-harness-mimo-memory 。 2. 打开你的 Web profile 配置文件( /.dsh/profiles/web/package.json 或 C:\Users\ \.dsh\profiles\web\package.json )。 3. 在 dependencies 与 dsh.profile.…
在 GitHub 查看完整 README →分类
DeepSeek Harness: Everything is a Plugin.
★ 182,325
amruthpillai/reactive-resumeA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
★ 41,477
anywhere-labs/deepseek-harness-desktop为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。
★ 17,784