dsh-restart
Manifest validIndependent one-click restart for DeepSeek Harness web (Settings page). · Independent DSH Web one-click restart plugin.
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 csuwzw
一键重启 DeepSeek Harness 的插件:标题栏按钮,两次点击完成重启,让新装的插件立即生效。One-click restart for DeepSeek Harness.
★ 3
↓ 259/wk
MIT
JavaScript
Oct 19, 2026
dsh plugin --profile web add dsh-restartby 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 xingyingyuzhui
Restart the DeepSeek Harness Web host from Settings.
★ 0
MIT
JavaScript
Aug 19, 2026
dsh plugin --profile web add dsh-restartby ayingQAQ
Windows 上的 DeepSeek Harness Web 一键启动器|One-click launcher with background restart and browser refresh.
★ 4
↓ 195/wk
MIT
JavaScript
Aug 18, 2026
dsh plugin --profile web add dsh-web-launcherby PPsz-qqq
DeepSeek Harness plugin: one-click restart button in the top-right of the session header (Windows desktop + dsh web). 一键重启 DeepSeek Harness 客户端。
★ 5
↓ 126/wk
MIT
JavaScript
Oct 3, 2026
dsh plugin --profile web add dsh-restart-button