Toggle switches for the plugin inventory: enable/disable any plugin live from Settings → Plugins → Plugin list without restarting, with groups/filters, bulk toggle, undo, and backup.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:cynch18/plugin-switch
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. Only install sources you trust, and pin a commit (github:owner/repo#sha).
README
English | 中文
Adds toggle switches to the DeepSeek Harness (DSH) plugin inventory page: enable or disable any plugin with one click, live, without restarting the server — and the state persists across restarts.
Features
- Live enable/disable via an active recompose channel (bypasses the platform watcher deadlock; deterministic application)
- Groups (system / third-party / local), status filters, sorting, search
- Bulk enable/disable as one transaction (single backup; undo reverts it all)
- Undo with automatic backups (latest 20 kept)
- Critical-entry confirmations, disabled-source layering, config preview, failure diagnostics
- Multi-tab live sync, CLI recovery tool, bilingual UI, animations
Quick start
Option 1: dsh plugin add (recommended)
dsh plugin --profile web add dsh-profile-plugin-switch
Option 2: direct download (no git)
Download plugin-switch.zip from Releases, extract it, then run:
powershell -ExecutionPolicy Bypass -File .\install.ps1
Option 3: git clone
git clone https://github.com/cynch18/plugin-switch.git
cd plugin-switch
powershell -ExecutionPolicy Bypass -File .\scripts\install.ps1
Then restart dsh web, press Ctrl+Shift+R, and go to Settings → Plugins → Plugin list — every plugin row has a slider switch on the right.
Options 2/3 accept
-KeepOriginal(keep the original read-only inventory; HTTP API only) and-Dev(junction to the source tree for live development).
Uninstall / restore the original list
- Restore the original read-only inventory: in
%USERPROFILE%\.dsh\profiles\web\cordis.patch.yml, setdisabled: trueback tofalseforui-settings-plugin-inventoryandplugin-inventory, and remove theplugin-switchentry. - Full uninstall: delete
%USERPROFILE%\.dsh\profiles\web\node_modules\dsh-profile-plugin-switchand remove the related rows fromcordis.patch.yml.
Notes
- Requires DSH running the
webprofile (npx @deepseek-ai/dsh web), Node ≥ 22. - Disabling the plugin switch itself removes the toggle page; restore it by changing
plugin-switch'sdisabled: trueback tofalseincordis.patch.yml(the page asks for confirmation first). /plugin-switchis an unauthenticated local HTTP route (same trust level as DSH's built-in/plugins/...), for personal localhost use only.- Editing
index.jsinside the package requires a dsh restart; editingclient.jsonly needs a page refresh.
Development
npm install
npm test # unit tests (applyPatchEdit / backup rotation / source detection / baked-disabled scrub)
License
MIT © 2026 CYNCH18
Links
More in this category
dsh-market/dsh-market★ 129
Recommended. The plugin market inside DSH: a Settings page to browse and search the full community catalog by category, with confirmed one-click installs and an installed-plugins view.
Sanqi-normal/dsh-webui-market-plugin★ 31
In-harness plugin market for the dsh web GUI: browse the awesome-dsh-plugin.com catalog and install/uninstall plugins into a profile from Settings → Plugins → Plugin Market.
whyihaveyou/dsh-suite#plugin-manager★ 21
In-app plugin store for the DSH Web UI: browse, search, one-click install, compat badges.
Noob-stupid/dsh-plugin-hub★ 20
A plugin management panel: one-click enable/disable for installed plugins plus a GitHub dsh-plugin marketplace with details and one-click installs.
yyyyukari/dsh-plugin-workshop★ 18
Steam Workshop-style in-app plugin browser: search, hot/newest/trending (7/30/90-day) sorting, Chinese keyword mapping, bilingual descriptions and README translation, plugin-signature filtering, and one-click install/update.
loguhan/dsh-workshop★ 3
Steam Workshop-style plugin store for the DSH Web UI: browse, search, and one-click install community plugins with mirror acceleration, progress UI, security checks, and Chinese descriptions.