DeepSeek Harness Plugin

dunxuan/dsh-mimo-context

Category Memory Added 2026-11-12

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.

Install

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

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

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.