dsh-plugin-reload
Run the following command in DeepSeek Harness:
dsh plugin install reina4xa/dsh-plugin-reload
Paste the following prompt into your AI chat to install this plugin:
Please install the dsh-plugin-reload plugin for my DeepSeek Harness profile. The source is at https://github.com/reina4xa/dsh-plugin-reload — run dsh plugin install reina4xa/dsh-plugin-reload to install and auto-mount it.
About this plugin
Under DeepSeek Harness's everything-is-a-plugin architecture, changing a single line in an MCP server or an in-process plugin often means restarting the entire host process, interrupting every unrelated Loader entry and slowing the dev loop dramatically. dsh-plugin-reload gives the agent a reload_plugin tool: supply an entry ID, module name, or MCP serverName, and exactly that one entry is restarted while all others keep running.
The strategy adapts to the entry kind. MCP-client entries respawn the server child process, pick up the latest on-disk code, and re-register their tools. In-process plugin entries undergo a hard reload: the ESM/CJS module caches for the entry and its local source files are busted, the module is re-imported from disk, and its fibers are swapped onto the fresh copy—all without touching the host process. A dry_run flag previews the matched entry and the strategy that would execute, while auto, soft, and hard modes let you dial in the level of cache invalidation. If a re-import or re-apply fails, the entry automatically rolls back to its previous code.
This plugin is aimed at developers who iterate on MCP servers or Harness plugins at high frequency and want a change-to-effect cycle measured in seconds rather than minutes. As long as your profile ships with the web or headless bundle, the agent can call the tool directly with no manual patch editing. Keep in mind that the entry's tools are briefly unavailable during the swap, and the hard reload covers only the plugin's own source—changes to node_modules dependencies still require a host restart.
Use Cases
- After editing a local MCP server, the agent reloads only that server without restarting the whole Harness
- Iterating on an in-process plugin and wanting a one-line change to take effect immediately without a host restart
- An entry misbehaves mid-session and the agent needs to restart just that entry while all other tools stay up
Best For
- Developers who debug MCP servers at high frequency
- Plugin authors who change Harness plugin code often
- Workflow setups where the agent must manage plugin lifecycle autonomously
Related Plugins
A method pack that makes AI coding agents plan against your real baseline, prove completion with fresh evidence, and reduce reworks and unsafe changes.
Turns the DeepSeek Harness session into a captain that builds a durable sub-agent team, splits goals into dependency-aware tasks, and coordinates work via direct messages and a live Web UI.
Gives coding agents design judgment, letting Claude Code, Cursor, and 70+ agents generate and iterate high-quality UI, presentations, and graphics right from the terminal.
Run the Pi ecosystem's plugins on DeepSeek Harness, unmodified, via a compatibility layer that implements Pi's public extension ABI on DSH's native services.