All plugins

DSH / BUNDLE / CLIENT-UI

dsh-restart-dock

v0.1.37gzgn / dsh-restart-dockbb74ab5d5e

InstallableBundlesUI & client pluginsCommunity · Topic auto-analysisWeb UI

Overview

dsh-restart-dock

A small dock floating in the DSH Web UI: one click restarts the DSH host, one click reloads the page. Restart asks first (now / 30s / 60s / 2min / cancel), the dock drags to any edge only after a 320ms hold and stays anchored when the window resizes, and a particle wave plays before the page reloads. Refresh checks the plugin bundle first and refuses when it is still rebuilding or broken, so a reload can never brick the app.

README / EN

Package documentation

Registry summary

A small dock floating in the DSH Web UI: one click restarts the DSH host, one click reloads the page. Restart asks first (now / 30s / 60s / 2min / cancel), the dock drags to any edge only after a 320ms hold and stays anchored when the window resizes, and a particle wave plays before the page reloads. Refresh checks the plugin bundle first and refuses when it is still rebuilding or broken, so a reload can never brick the app.

dsh.pub verifies the pinned bundle contract, runtime facts, and distribution semantics. The complete README remains in the source repository.

Read the full README on GitHub

LIMITATIONS

Known limitations

- **只实现了 Windows**。非 Windows 平台「重启」返回 501 并提示用「刷新」;UI 和刷新在所有平台都能用。 - 重启会打断正在跑的任务。插件不做排程、不做"等这一轮说完"——那是 [dsh-restart-planner](https://github.com/7gzgn/dsh-restart-planner) 的活,两者可共存:一个给人点,一个给 agent 自己用。 - **重启后不会替你续话**(刻意不做)。窗口回来就是你原来那一屏,不会自动往对话里发消息 —— 按钮是你亲手按的,回来再冒一句"我继续"很奇怪。想要"重启后自动接着干",用重启插件那条链。 - 如果宿主是被某个 **job object**(例如某些终端)托管的,脱离出来的 helper 也可能被一起带走。桌面版从快捷方式启动时不在 job 里,实测正常。 - `lib/relaunch.ps1` **必须带 UTF-8 BOM**。Windows PowerShell 5.1 读无 BOM 的 UTF-8 文件会按 ANSI 解码,中文注释会把语法搞坏(实测会报一堆"意外标记")。