Saltar al contenido principal
W

dsh-reload-restart

wind-h/dsh-reload-restart

Adds Reload and Restart buttons to the desktop top menu bar. Restart hands off to a detached worker that closes the shell, waits for port release, prunes bloated auth cookies and relaunches the app, with no visible window and no recovery dialog. Windows desktop only. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.

Instalar

dsh plugin --profile web add github:wind-h/dsh-reload-restart

README

刷新 / 重启(dsh-reload-restart)

为 DeepSeek Harness 桌面版的顶部菜单栏(「应用 / 编辑」右侧)添加两个按钮:

  • 刷新 — 立即重新加载页面。
  • 重启 — 确认后重启整个应用:界面关闭,几秒后自动重新打开。全程无黑窗、无报错弹窗。

安装

在 DSH 会话里任选一条:

dsh plugin add dsh-reload-restart
dsh plugin add github:wind-h/dsh-reload-restart

已安装过时,先 plugin_manager remove_bundle dsh-reload-restart 再装。

要求

  • 桌面版 DeepSeek Harness。Windows 上完整验证;macOS / Linux(含 AppImage)走同一条重启流水线,代码已适配但未实机验证,遇到问题欢迎提 issue。
  • Web 版没有应用壳,「重启」会提示不可用,「刷新」不受影响。

卸载

plugin_manager remove_bundle dsh-reload-restart

说明

  • 「重启」由一个独立后台进程完成:关应用 → 等端口释放 → 清理累积的会话 Cookie → 重新拉起应用。技术细节见 docs/DETAIL.md。
  • 日志在 %DSH_HOME%\logs\dsh-reload-restart-*.log;觉得「点了没反应」时先看这里。
  • 重启接口只接受本机请求,并要求自定义请求头,跨站网页无法调用。
  • 界面语言跟随应用语言(中文 / English)。

License

MIT

Plugins relacionados