AI Agent Hub
Back to plugins
🖥️

dsh-local-plugin-switch

Client Updated 2026.08.19

Run the following command in DeepSeek Harness:

dsh plugin install jcleener/dsh-local-plugin-switch

Paste the following prompt into your AI chat to install this plugin:

Install it in DeepSeek Harness by running dsh plugin install jcleener/dsh-local-plugin-switch; the source code is available at https://github.com/jcleener/dsh-local-plugin-switch

About this plugin

As your collection of local DSH plugins grows, wanting to temporarily disable one forces you to edit YAML files and restart the whole server, which is increasingly disruptive. dsh-local-plugin-switch adds a Local Plugin Switch panel to the settings page, turning that entire workflow into a single click per plugin.

Each toggle works on two levels at once. In real time it invokes the loader entry update API to stop or start the corresponding fiber, so the change takes effect immediately. For persistence it writes the disabled flag into the profile cordis.patch.yml, meaning the state survives a full restart and hot-reloads in roughly one second when Cordis HMR is enabled. At the same time, host-critical entries such as webServer, storage, and connection are badged as Host and locked so you cannot accidentally take down the infrastructure the settings page itself depends on. The panel reuses the native --dsw-alias-* theme tokens, so it looks right at home alongside the built-in settings sections.

If you regularly debug several local plugins in DSH or need to quickly swap plugin sets between project environments, this panel eliminates the repetitive YAML editing. Open the settings page, locate the Local Plugin Switch section, and flip the switches.

Use Cases

  • Quickly enable or disable target plugins while debugging several local ones
  • One-click switching between plugin sets across project environments
  • Eliminate the repetitive manual editing of YAML config files

Best For

  • Developers managing multiple local DSH plugins
  • Engineering teams that frequently toggle and debug plugin behavior
  • DSH users who want a simpler plugin enable/disable and config workflow