PangXitong/dsh-restart-button ↗★ 0
@pangxitong/dsh-restart-button
Power button in the DeepSeek Harness (dsh) Web UI session header: click to expand a Close / Restart pair that shuts down or relaunches the whole DSH process. Self-contained, no external scripts. 适合需要直接在浏览器中便捷关闭或重启后台DSH进程的用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:PangXitong/dsh-restart-buttonドキュメント
README 全文を読む ↗使用
- 点击工具栏右侧的关机按钮(⏻)→ 下方展开菜单
- 点击「关闭」→ 当前网页关闭,随后 DSH 进程退出
- 点击「重启」→ 当前网页关闭,3 秒后 DSH 进程重启,刷新页面即可继续使用
浏览器只允许脚本关闭「由脚本打开」的窗口,手动打开的标签页通常无法自动关闭。此时页面会转为整屏提示(「DSH 已关闭」/「DSH 正在重启…」),并提供「关闭此页面」按钮手动关闭。