dsh-restart
Manifest validIndependent one-click restart for DeepSeek Harness web (Settings page). · 独立的 DSH Web 一键重启插件。
dsh-restart
独立的 DeepSeek Harness Web 一键重启插件——与任何余额/用量功能无关,单独负责在设置页提供一个"重启 dsh"入口。
初衷:装插件 / 改插件之后总要重启 dsh web 才生效。这个小插件把重启做进界面:设置页点一下 → 确认 → 自动重启、服务恢复后自动刷新页面,不再需要命令行。
特性 / Features
- 独立:零依赖、零耦合,可单独安装/卸载;不读取任何密钥
- 原生适配:设置页独立分区,使用 DSH 设计令牌(
--dsw-alias-*),深浅主题自适应 - 可靠重启:先
launchctl kickstart -k,2 秒后兜底 SIGTERM 自身进程,launchdKeepAlive保证拉起新进程(双保险) - 自动恢复:确认后轮询服务,恢复即自动刷新页面
- 可观测:执行痕迹记录在
/tmp/dsh-restart.log
安装 / Install
dsh plugin --profile web add github:zhouchengke2046/dsh-restart
# 或本地路径
dsh plugin --profile web add /path/to/dsh-restart
重启 dsh web(或直接用本插件)后,打开 设置 → 重启 dsh。
配置 / Configuration
| 键 | 默认 | 说明 |
|---|---|---|
| restartEnabled | true | 是否注册重启路由 |
| restartCommand | "" | 覆盖重启命令;留空则 macOS 自动用 launchctl kickstart -k gui/<uid>/<label> |
| restartLabel | com.dsh.web | launchd agent 标签 |
| restartDelayMs | 600 | 响应发出后延迟执行重启的毫秒数 |
覆盖方式(profile 的 cordis.patch.yml):
- insert:
- id: dsh-restart
name: dsh-restart
config:
restartEnabled: true
restartLabel: com.dsh.web
卸载 / Uninstall
dsh plugin --profile web remove dsh-restart
License
MIT
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.0 | — | — |
| 0.1.1 | — | — |
| 0.1.2 | — | — |
| 0.1.3-alpha.4 | — | — |
| 0.1.3-alpha.5 | — | — |
Comments
Loading…
Similar plugins
by Towzai
DSH 应用内整体重启插件
★ 0
JavaScript
Aug 16, 2026
dsh plugin --profile web add dsh-restartby woyeshishen
为 DeepSeek Harness Web 页面左下角添加“重启后端”按钮,一键重启 dsh 后端进程。
★ 0
Apache-2.0
PowerShell
Aug 16, 2026
dsh plugin --profile web add @woyeshishen/dsh-restart-backendby 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-launcherby 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 13, 2026
dsh plugin --profile web add @zhengjunyao/dsh-restartby 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 StabCut
DSH Desktop sidebar restart button: orderly relaunch of DSH Desktop from the sidebar settings row (based on desktopActions.requestRestart).
★ 0
MIT
JavaScript
Aug 21, 2026
dsh plugin --profile web add dsh-plugin-restart-desktop