zhaoyu-restart
Manifest valid★ 1One-click silent DSH restart button for DeepSeek Harness (dsh-plugin)
@huangzhaoyu/zhaoyu-restart
一键重启 DeepSeek Harness 的插件。在输入框左下角加一个"重启"按钮,点击后静默重启 DSH,无窗口弹出,旧标签页自动断线重连。
One-click silent restart button for DeepSeek Harness. Adds a "重启" button to the composer input bar. Click it to restart DSH silently — no window popup, the old tab auto-reconnects via WebSocket.
安装 / Installation
# 从 npm 安装
dsh plugin --profile web add @huangzhaoyu/zhaoyu-restart
配置 / Configuration
默认重启脚本路径是 restart-dsh.bat(位于 DSH 部署目录)。你可以通过 DSH 设置来修改:
# settings.yaml
zhaoyu-restart:
scriptPath: "C:\\你的路径\\restart-dsh.bat"
或者在 DSH 设置界面中修改(如果设置了 UI 入口)。
使用 / Usage
安装后,在聊天输入框左下角会出现一个 🔄 重启按钮。点击后:
- 按钮显示"重启中…"
- Host 用
powershell.exe -WindowStyle Hidden静默启动重启脚本 - DSH 进程被重启,浏览器自动断线重连
- 全程无窗口弹出,无感重启
工作原理 / How it works
- Host 端:
lib/index.js— 用ctx.inject(['webServer'])注册POST /zhaoyu-restart路由 - Client 端:
lib/client.js— 在conversation.input.left槽位注册重启按钮 - 重启:通过
subprocess.spawn启动powershell.exe -WindowStyle Hidden执行重启脚本 - 配置:
settings命名空间zhaoyu-restart.scriptPath可自定义重启脚本路径
发布 / Release
- GitHub: SUJIElearning/zhaoyu-restart
- npm:
@huangzhaoyu/zhaoyu-restart
许可证 / License
MIT
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 1.0.0 | — | — |
| 1.0.1 | — | — |
| 1.0.2 | — | — |
Comments
Loading…
From the same category
by awesome-dsh-plugin
A curated list of plugins for DeepSeek Harness (dsh) · DeepSeek Harness 插件精选列表
★ 24.1k
CC0-1.0
Python
Nov 10, 2026
by 0xsline
DeepSeek Harness (DSH) ecosystem: curated plugins, tools, and infrastructure from dsh-external/hub and the public dsh-plugin topic.
★ 1.3k
CC0-1.0
Python
Nov 6, 2026
by woniuniuniu
DeepSeek Harness 自媒体工作台插件:一句话记灵感,一键生成脚本、封面、配图和分镜
★ 950
↓ 3.7k/wk
MIT
JavaScript
Nov 8, 2026
dsh plugin --profile web add dsh-media-deskby uumit-ai
Open dsh web from your phone or another computer through a UUMit account, without running your own server or installing another program: a built-in tunnel client connects to UUMit's hosted tunnel, and
★ 523
↓ 268/wk
MIT
JavaScript
Oct 21, 2026
dsh plugin --profile web add @uumit-ai/dsh-uumit-remoteby SAOS-3624
Scene-aware storyboard for DeepSeek Harness: 9-16 numbered cells with timestamps + transcript + an audio envelope, packed into ONE image (384 tokens). Two tools: video_storyboard and video_zoom.
★ 509
↓ 17k/wk
MIT
JavaScript
Nov 10, 2026
dsh plugin --profile web add dsh-video-storyboardby Yuuyuko-uu
DSH 鱼的记忆:给会话一份会淡忘的长期记忆,每条都带时间
★ 508
MIT
JavaScript
Nov 9, 2026
dsh plugin --profile web add dsh-fish-memory