dsh-restart-ui
Manifest validOne-click, cross-platform restart button for the DSH web GUI. The loopback-only host route relaunches the exact current DSH invocation; the browser half injects the button.
dsh-restart-ui
A small DeepSeek Harness plugin that adds a restart button to the Web UI.
It restarts the exact DSH invocation that is currently running, so it works with source checkouts, installed CLIs, portable Node.js, and custom profiles without hard-coded machine paths.
Install
Install the tagged release into the Web profile:
dsh plugin --profile web add 'github:BaoBao1996121/dsh-restart-ui#v0.1.1'
When running DSH from a source checkout, use its source launcher instead:
corepack pnpm dsh plugin --profile web add 'github:BaoBao1996121/dsh-restart-ui#v0.1.1'
Restart DSH after installation. A ⟳ Restart button appears in the session
header utilities area.
How it works
- The client bundle adds one button and calls a same-origin POST endpoint.
- The host endpoint accepts loopback requests only.
- A package-local Node helper waits for the old process to exit, then relaunches the same executable, Node arguments, CLI arguments, and working directory.
- The route registration is owned by the plugin lifecycle and is removed when the plugin is disabled.
The package commits its built lib/ artifacts. GitHub installs therefore do
not need to run a lifecycle build script or request pnpm build permission.
Development
Requires Node.js ^22.19.0 || >=24.0.0 and pnpm 11.
corepack pnpm install --frozen-lockfile
corepack pnpm check
Remove
dsh plugin --profile web remove dsh-restart-ui
Security
Restarting DSH executes code with the current user's privileges. This plugin does not accept a command or filesystem path from the browser: it starts one fixed helper shipped in this package, and that helper reuses the current DSH process invocation. Review and pin the release you install.
License
MIT. This is an independent community plugin and is not affiliated with or endorsed by DeepSeek.
Comments
Loading…
Similar plugins
by 1123762794
One-click restart button for the DSH Web UI: a sidebar footer button that restarts the dsh web process with a single click and persists across the restart it triggers.
★ 5
MIT
JavaScript
Aug 18, 2026
dsh plugin --profile web add dsh-web-restartby hadesybil-hub
Adds a restart button next to the shutdown button in the bottom-right of the DSH Web GUI; the server comes back up and the browser reopens.
★ 0
MIT
JavaScript
Aug 29, 2026
dsh plugin --profile web add dsh-restart-buttonby zhengjy01
One-click restart for DeepSeek Harness: a web button (plus a dsh_restart agent tool) hands the relaunch to a detached helper, the page reconnects by itself, and a recovery console shows the boot error
★ 0
MIT
JavaScript
Sep 19, 2026
dsh plugin --profile web add @zhengjunyao/dsh-restartby zhouchengke2046
Independent one-click restart for DeepSeek Harness web (Settings page). · 独立的 DSH Web 一键重启插件。
★ 0
MIT
JavaScript
Aug 19, 2026
dsh plugin --profile web add dsh-restartby Neptune810
A draggable one-press stop button for the DeepSeek Harness Web GUI. / DSH 一键结束服务按钮。
★ 0
MIT
JavaScript
Sep 23, 2026
dsh plugin --profile web add dsh-power-buttonby ayingQAQ
Windows 上的 DeepSeek Harness Web 一键启动器|One-click launcher with background restart and browser refresh.
★ 4
↓ 110/wk
MIT
JavaScript
Aug 18, 2026
dsh plugin --profile web add dsh-web-launcher