lovstudio/dsh-better-restart

lovstudio★ 0TypeScript最后同步: 2026-08-22

在 GitHub 打开

README 摘要

dsh-better-restart Lovstudio's in-place application restart plugin for the DeepSeek Harness web surface. The settings header gains a Restart app action that re-boots the whole application in place (reloading the current tab, not opening a new one), with a confirmation dialog that watches running conversations live. This is a Lovstudio plugin, not a DeepSeek-AI package, distributed under the @lovstudio scope. What it does - Host half exposes two webServer routes: - POST /better-restart/status — { running, active } (how many agent loops are mid-turn). - POST /better-restart — triggers the launcher's in-place restart. - Client half (settings-header button): - Confirmation dialog that poll : s agent activity live (1.5s). With conversations running it reports the count and gates the restart behind an explicit acknowledgement; without running conversations the restart passes straight through. - In-flight spinner + disabled button while restarting; the current tab reloads on reconnect. The plugin is completely runtime and self-contained: it reaches DSH capabilities through the injected Cordis ctx only ( webServer , agents , appRestart ), and the client page reaches the host through plain …

在 GitHub 查看完整 README →
工具/开发deepseek-harnessdsh-pluginagent

分类