dsh-restart
Restart dsh web from Settings → Restart, enable/disable installed plugins with one toggle, and jump to the Community plugins tab to install more. Bilingual (English/中文) UI. 在 设置 → 重启 中一键重启 dsh web、开关已安装插件,并跳转社区插件页安装更多。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:dujar/dsh-restart说明文档
阅读完整 README ↗Usage
- Open Settings → Restart.
- Restart now restarts the dsh web process; the page reloads once the new instance answers.
- Toggle any plugin to mount/unmount it — the profile manifest is updated immediately, and the change is applied after a restart. The Restart to apply chip and the notice bar's Restart button show you exactly what is pending.
- Browse more plugins opens Settings → Plugins → Community plugins, where you can search and install from the community catalog (via dsh-community-plugins).
- For local checkouts, ⎇ Switch branch opens the git panel: pick a repo (Local / each remote) and a branch — the same branch name from a different repo retargets tracking (
git branch --set-upstream-to/--unset-upstream) instead of being a no-op. The Reinstall row below it is a fresh cleanup from one of three sources (all two-step confirmed): Local discards every local change and untracked file (git reset --hard+git clean -fdx), a remote fetches and hard-resets the checkout to that remote's default branch, and Plugin (npm) reinstalls the latest release from the registry (dsh plugin add @latest— the local checkout stays on disk but stops being loaded). Local/remote reinstalls automatically restore the node_modules thatgit clean -fdxwiped and repair a broken link. Link health shows per row: when the Link broken warning appears, click Repair link to fix it. - Uninstall (row meta) removes the plugin from
dsh.profile.bundlesanddependencies— restart to apply; the checkout files on disk are left untouched.
Configuration
Environment variables (all optional):
| Variable | Default | Purpose |
|---|---|---|
DSH_RESTART_CMD | original command line | Custom restart command (e.g. systemctl restart dsh-web) for supervised setups. |
DSH_RESTART_PROFILE | auto-detected | Explicit profile; falls back to DSH_PROFILE, then auto-detection of the profile that mounted this plugin, then web. |