dsh-plugin-mimo-delegate: Control Local MiMo Desktop Delegation Pipeline with Sidebar Toggle

Preface

Enabling or disabling the local MiMo Desktop delegation capability in DeepSeek Harness (DSH) typically requires modifying the skill directory and the rules block in ~/.dsh/AGENTS.md, relying on the verified Set-Delegation.ps1. Relying solely on the command line or manual configuration modifications makes the status unintuitive and prone to inconsistencies with the UI-side understanding.

The following introduces dsh-plugin-mimo-delegate (npm package name dsh-plugin-mimo-delegate, version 0.1.5 in current materials) provided by maintainer Qamar-crypto in the GitHub repository Qamar-crypto/DSH-skill. It adds visible toggles and setting cards in DSH Desktop. When switching, it still calls the same set of scripts without re-implementing the delegation logic.

What is this

dsh-plugin-mimo-delegate is a Cordis plugin for DeepSeek Harness: it places the local MiMo Desktop delegation pipeline (mimo-delegate skill and related scripts) behind a clickable switch.

The plugin does not rewrite the delegation logic; upon turning on/off, it executes the existing script Set-Delegation.ps1 to move the mimo-delegate skill out of or back into the skills root directory, and rewrites the rules block in ~/.dsh/AGENTS.md, ensuring the UI and command line share the same implementation.

Core Features

Adds a compact button at the bottom of the left sidebar in DSH Desktop, above “Context insight”, used to turn the delegation pipeline on or off.

Settings Card

Provides a card in Settings → Plugins → Plugin Configuration explaining what the pipeline is, the locations of relevant files, and the current live status, offering the same toggle as the sidebar.

Configurable Toggle Script Path

If the mimo-delegate skill and _mimo_bridge\Set-Delegation.ps1 are not in the default locations, you can modify toggleScript in the plugin settings card or configure it in ~/.dsh/settings.yaml.

Startup Safety

The plugin uses try/catch within apply() to prevent the entire DSH startup from failing due to erroneous assumptions. Monitoring for settings changes probes ctx.settings.watch, scope.watch, and scope.subscribe in sequence, falling back to polling if necessary. The repository provides preflight.mjs to verify that the host-side apply() does not throw errors under six different ctx shapes.

Environment & Dependencies

  1. Windows, with DSH Desktop installed.
  2. The local MiMo delegation pipeline itself: the mimo-delegate skill and _mimo_bridge\Set-Delegation.ps1. Installing only this plugin is insufficient to complete delegation switching if these are missing.
  3. Node.js >= 20 (see engines in package.json); host dependency @deepseek-ai/cordis ^4.0.2.

Installation & Activation

  1. Open Plugin Market → Discover.
  2. Search for mimo-delegate.
  3. Restart DSH Desktop after installation.

Market installation is a managed method; the plugin will appear in the Installed list, where it can be disabled or uninstalled.

Manual Installation

Copy this package to the current profile’s node_modules, register the package name in dsh.profile.bundles of package.json, then restart DSH Desktop:

$profile = "$env:USERPROFILE\.dsh\profiles\desktop"
$target  = "$profile\node_modules\dsh-plugin-mimo-delegate"
Copy-Item <this repo> $target -Recurse -Force
# then add "dsh-plugin-mimo-delegate" to dsh.profile.bundles in $profile\package.json
# and restart DSH Desktop

Replace <this repo> with the path to the locally cloned or extracted plugin directory.

Typical Usage

  1. Ensure DSH Desktop and the MiMo delegation pipeline (skill + Set-Delegation.ps1) are ready on Windows; if the path is non-default, change toggleScript in the settings.
  2. Complete market or manual installation as described in the previous section and restart.
  3. View the pipeline description and status at the bottom of the sidebar or in Settings → Plugins → Plugin Configuration, and use the toggle to enable or disable delegation.
  4. The toggle action calls Set-Delegation.ps1, which adjusts the skill position and the ~/.dsh/AGENTS.md rules block.

Developers can run preflight checks in the plugin source directory (the expected output in the materials ends with PREFLIGHT PASS):

npm run preflight     # or: node preflight.mjs
npm run check         # syntax + preflight

Use Cases & Notes

Who it’s for: Developers using DSH Desktop on Windows who have already deployed the local MiMo Desktop delegation pipeline and wish to manage enablement status via a graphical toggle and view pipeline locations and live status in the settings.

Permissions & Security: The plugin runs under the permissions of the current DSH process; before installation, you should review the GitHub source code and the MIT license to confirm that the Set-Delegation.ps1 and the skill source are trustworthy. If the plugin previously had uncaught exceptions in apply(), it could cause DSH to enter recovery mode; the current version mitigates this risk by not throwing errors and performing multi-form preflight checks, but it is still recommended to monitor startup logs after upgrading.

Ecosystem Notes: DSH adopts an “everything is a plugin” extension approach; community directory sites (such as SkillHub) are independent collections and have no official subordination to DeepSeek / High-Flyer. The installation steps in this article are based on the repository README.

Conclusion

dsh-plugin-mimo-delegate consolidates the start/stop of the local MiMo delegation pipeline into the sidebar and settings cards, while the underlying layer still only runs Set-Delegation.ps1, avoiding the forking of logic between the UI and scripts.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye