dsh-mimo-context

Port of MiMo Code's infinite-context memory: as the window fills it asks the model in the background (the current provider route unless writerProvider/writerModel is set) to write a structured checkpoint and a project MEMORY.md, then, ahead of DSH's native compaction, replaces the visible window with a rebuilt dump of tasks, checkpoint, recent user messages, memory and notes, falling back to a MiMo-style compaction. Memory files live under $DSH_HOME/mimo-context (per session, per project, plus a read-only global one); it adds mimo_* memory, history, checkpoint and rebuild tools and /mimo-* commands, with dream/distill off by default. Needs DSH 0.2.2-rc.1 or a later 0.2.x.

Overview

Port of MiMo Code's infinite-context memory: as the window fills it asks the model in the background (the current provider route unless writerProvider/writerModel is set) to write a structured checkpoint and a project MEMORY.md, then, ahead of DSH's native compaction, replaces the visible window with a rebuilt dump of tasks, checkpoint, recent user messages, memory and notes, falling back to a MiMo-style compaction. Memory files live under $DSH_HOME/mimo-context (per session, per project, plus a read-only global one); it adds mimo_* memory, history, checkpoint and rebuild tools and /mimo-* commands, with dream/distill off by default. Needs DSH 0.2.2-rc.1 or a later 0.2.x.

Installation

Install from 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.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.