dsh-quick-restart
Manifest validOne-click Quick Restart for DSH Desktop: quits and relaunches the app from the account menu.
快速重启 · DSH Quick Restart
为 DeepSeek Harness 桌面端 的账号菜单加一个 「快速重启」 入口:点击并确认后,插件会自动退出 DSH 并重新打开它,省去「退出登录 / 关闭窗口 → 重新打开」的步骤。
一个专门解决“改了插件、想立刻生效”这类小麻烦的插件。Web 端和其他平台不受影响:插件会先探测宿主能力,宿主不支持时自动保留原生账号菜单。
功能
- 在左侧栏底部头像弹出的菜单中新增 快速重启(位于 设置 / 意见反馈 之后)。
- 点击后弹出确认框;确认即重启,进程退出与重新启动约需 2–4 秒。
- 账号、登录态、工作区、会话数据都会保留(插件不清理任何用户数据)。
- 运行日志:
%TEMP%\dsh-quick-restart.log。
安装
在 DSH 桌面端的插件市场搜「快速重启」安装,或使用 CLI:
dsh plugin --profile web add github:SakuraYH1080/dsh-quick-restart
安装后菜单立即生效(无需重启)。
使用
- 点击左侧栏底部的头像。
- 选择 快速重启。
- 在确认框中点击 立即重启。
⚠️ 重启会中断当前正在运行的任务(例如正在回答的对话)。没有运行任务时使用体验最佳。
原理
Host 半部分通过 webServer 注册一个受登录态保护的本地路由;浏览器半部分把原生账号菜单替换为带「快速重启」的菜单。点击确认后,Host 会启动一个脱离宿主进程树的 PowerShell 助手:先结束 Electron 主进程与 Host 进程,等待端口释放后重新启动 DSH 可执行文件。助手独立于被杀进程树,因此不会“把自己也杀掉”。
支持范围
- 仅 Windows + DSH 桌面端 支持真正重启。
- Web 端、macOS 等平台会检测到不支持,并不替换原生账号菜单。
- 与侧边栏账号菜单的替换关系是
shadows-shipped-ui:如果同时安装了其他同样替换该菜单的插件,优先级最低者生效。
License
MIT
Comments
Loading…
Similar plugins
by IHS470
DeepSeek Harness restart button in the DSH desktop window title bar
★ 3
↓ 55/wk
MIT
JavaScript
Oct 3, 2026
dsh plugin --profile web add dsh-plugin-restartby StabCut
DSH Desktop sidebar restart button: orderly relaunch of DSH Desktop from the sidebar settings row (based on desktopActions.requestRestart).
★ 0
MIT
JavaScript
Aug 21, 2026
dsh plugin --profile web add dsh-plugin-restart-desktopby y2zyyr
@y2zyyr/dsh-restart-button — one-click Restart DSH button in Settings → General (DSH Desktop), using the official desktopRuntime.requestRestart() facade.
★ 0
MIT
JavaScript
Aug 22, 2026
dsh plugin --profile web add @y2zyyr/dsh-restart-controlby FuriousKinght
A button at the foot of the sidebar that restarts the DSH desktop app and reloads the page when it comes back.
★ 0
MIT
JavaScript
Oct 15, 2026
dsh plugin --profile web add dsh-restart-buttonby StarMoon-win
Sidebar restart button for DeepSeek Harness Desktop: one click fully quits and reopens the app.
★ 0
MIT
JavaScript
Oct 19, 2026
dsh plugin --profile web add dsh-restartby MicroWearld
DSH Desktop 快速重启插件:一键重启工具、斜杠命令与托盘菜单入口。
★ 0
MIT
JavaScript
Aug 16, 2026
dsh plugin --profile web add dsh-quick-restart-desktop