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进程的用户。

패키지
@pangxitong/dsh-restart-button
호환성
미검증
Harness peer 범위
>=0.1.5-rc.1 <0.2.0 || >=0.2.0-rc.1 <0.3.0-0
Cordis peer 범위
>=4.0.1 <5.0.0 || >=5.0.0-rc.1 <6.0.0-0
버전
0.2.0
라이선스
Apache-2.0
최근 업데이트
2026. 9. 21.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:PangXitong/dsh-restart-button

使用

  1. 点击工具栏右侧的关机按钮(⏻)→ 下方展开菜单
  2. 点击「关闭」→ 当前网页关闭,随后 DSH 进程退出
  3. 点击「重启」→ 当前网页关闭,3 秒后 DSH 进程重启,刷新页面即可继续使用

浏览器只允许脚本关闭「由脚本打开」的窗口,手动打开的标签页通常无法自动关闭。此时页面会转为整屏提示(「DSH 已关闭」/「DSH 正在重启…」),并提供「关闭此页面」按钮手动关闭。