dsh-mimo-context

移植自 MiMo Code 的无限上下文记忆:窗口逐渐填满时,在后台让模型(默认沿用当前模型路由,可用 writerProvider/writerModel 指定)写出结构化 checkpoint 和项目 MEMORY.md,并在 DSH 原生 compaction 之前,用任务、checkpoint、最近用户消息、记忆与笔记重建的内容替换当前可见窗口,没有可用 checkpoint 时回退到 MiMo 式压缩。记忆文件存在 $DSH_HOME/mimo-context(按会话、按项目,另有只读的全局记忆);提供 mimo_* 记忆、历史、checkpoint、重建工具和 /mimo-* 命令,dream/distill 默认关闭。需要 DSH 0.2.2-rc.1 或之后的 0.2.x。

插件介绍

移植自 MiMo Code 的无限上下文记忆:窗口逐渐填满时,在后台让模型(默认沿用当前模型路由,可用 writerProvider/writerModel 指定)写出结构化 checkpoint 和项目 MEMORY.md,并在 DSH 原生 compaction 之前,用任务、checkpoint、最近用户消息、记忆与笔记重建的内容替换当前可见窗口,没有可用 checkpoint 时回退到 MiMo 式压缩。记忆文件存在 $DSH_HOME/mimo-context(按会话、按项目,另有只读的全局记忆);提供 mimo_* 记忆、历史、checkpoint、重建工具和 /mimo-* 命令,dream/distill 默认关闭。需要 DSH 0.2.2-rc.1 或之后的 0.2.x。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:dunxuan/dsh-mimo-context

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.

版本兼容情况

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