5102a/dsh-plugin-hot-toggle
Stop and start any installed plugin from the Web settings page, in-process and instantly, with the state surviving restarts.
Calls the official Cordis Loader Entry.update({ disabled }) instead of editing configuration and restarting: disabling disposes the plugin fiber, enabling re-imports and starts it, all in the same process. The plugin list supports combinable filters for state, source (official, core, community by directory under $DSH_HOME/plugins) and type across nine categories, plus search with a live filtered-over-total count and recent-first or name sorting. Worth knowing what it is not: it manages enablement, not installation, and it cannot reach an entry the loader does not expose.
Install
dsh plugin --profile web add dsh-plugin-hot-toggleThe npm line, which the README heads with "after publish" even though the registry serves 0.1.4 with a repository field matching this repo — the wording is stale, not a blocker. The toggle writes to $DSH_HOME/profiles/<profile>/cordis.patch.yml and the official HMR watcher applies it on save, which is why the state survives a restart. Its own tab sits under Settings, Plugins and its label is Chinese in this release; the UI otherwise follows the DSH language preference through the locale service.
Compatibility
Windows, macOS and Linux, with the platform claims backed by specifics rather than a badge: paths go through node:path and fileURLToPath, the HTTP surface is a URL route, the client half has no process.platform branches, and CI runs on an ubuntu/windows/macos matrix across Node 18, 20 and 22. System-core entries cannot be toggled at all — include, the loader, HMR, timer and the dynamic-plugin host are marked as core in the list, so the plugin cannot be used to switch off the machinery that is running it.
Details
- Repo: 5102a/dsh-plugin-hot-toggle
- Category: Plugin Markets & Managers
- Stars: 0
- Version: 0.1.4 (npm)
- Last push: 2026-08-16
- First seen: 2026-08-16
Alternatives
1e0zj/dsh-plugin-mall · icefall7/dsh-plugin-scout · LivXue/dsh-plugin-shop