AI Agent Hub
Back to plugins
⚙️

dsh-hotswap

Workflow Updated 2026.08.26

Run the following command in DeepSeek Harness:

dsh plugin install HongzhongL/dsh-hotswap

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

Run dsh plugin install HongzhongL/dsh-hotswap in your terminal to install this plugin in DeepSeek Harness. Full source: https://github.com/HongzhongL/dsh-hotswap

About this plugin

Toggling a Cordis plugin in DSH Web has always meant restarting the whole web server. For developers who iterate on plugin-heavy setups, that repeated cycle is disruptive and slow. dsh-hotswap removes that friction entirely: a dedicated tab under Settings → Plugins → Plugin Manager lists every mounted plugin, and a single click hot-enables, hot-disables, or hot-restarts it on the spot, with no web restart in between.

Beyond individual toggles, the plugin watches your profile's package.json in real time. The moment dsh.profile.bundles gains or loses an entry, the matching bundle is hot-mounted or hot-unmounted through the Include root group, so dsh plugin add and remove take effect immediately. Each state change is persisted into a managed block inside cordis.patch.yml, meaning your configuration survives a full DSH restart. Built-in guardrails shield critical entries such as webserver, connection, and api-gateway from accidental shutdown, and a one-click Restore All button provides a safety net.

If you maintain a suite of Cordis plugins, frequently switch feature combinations, or add and remove bundles on the fly while keeping the service running, dsh-hotswap is purpose-built for that workflow.

Use Cases

  • Toggle plugins on and off during development without restarting the web server every time
  • Add or remove bundles to dsh.profile.bundles and see changes take effect instantly
  • Quickly disable a misbehaving plugin in production and re-enable it once patched

Best For

  • DSH Web developers maintaining multiple Cordis plugins
  • Engineers who frequently switch plugin combinations for feature testing
  • Ops staff who need to hot-update plugins without interrupting service