keyiadiannao/dsh-restart-button

keyiadiannao★ 1TypeScript最后同步: 2026-08-15

在 GitHub 打开

Self-contained power control for DeepSeek Harness: sidebar power button with upward restart/shutdown menu, Windows-shutdown-style overlay, own restart & shutdown engine (no dependency on other plugins).

README 摘要

dsh-restart-button English 中文 A self-contained power control plugin for DeepSeek Harness: a power button in the sidebar footer with an upward Restart / Shutdown menu and a full-screen transition overlay. The restart & shutdown engine is built into this plugin — no dependency on other plugins. Developed with DeepSeek AI assistance, reviewed before release. Features - Power button in the sidebar footer ( sidebar.footer.action ), styled to match the adjacent Settings trigger (34px row, theme tokens — follows light/dark). - Upward menu : Restart / Shutdown, closes on outside click or Esc. - Restart : writes a .cjs helper → spawns node detached (no console window) → waits for the port to free → relaunches DSH with the same execPath/execArgv/argv/cwd , then terminates the old process after the response flushes. - Shutdown : terminates the process without relaunching. - Overlay : Windows-shutdown-style transition screen with ring progress and stage captions; auto-reload after restart. - restart harness model tool : same name as anweat/dsh-restart , provided by this plugin when installed alone; skipped if another plugin already owns the name. Install Restart DSH; a power button appears in …

在 GitHub 查看完整 README →
终端/TUIclient-plugindeepseek-harnessdshdsh-pluginpluginpowerrestartshutdown

分类