dsh-restart-relay

重启 DSH 时不丢工作。页面顶部横条先倒数,可点「立即重启」或「稍后」;无人操作时 倒计时结束自动重启,点「稍后」则永久取消。关闭进程树前,会为发起重启的会话以及 其他正在运行的会话各排一条一次性续接提示,让它们的任务在重启后继续。倒计时取自 本机实测的「杀进程到端口可用」耗时。仅支持 Windows 与桌面端 desktop profile。它的 HTTP 路由没有 DSH 的访问检查,浏览器里打开的网页可以调用它们。

插件介绍

重启 DSH 时不丢工作。页面顶部横条先倒数,可点「立即重启」或「稍后」;无人操作时 倒计时结束自动重启,点「稍后」则永久取消。关闭进程树前,会为发起重启的会话以及 其他正在运行的会话各排一条一次性续接提示,让它们的任务在重启后继续。倒计时取自 本机实测的「杀进程到端口可用」耗时。仅支持 Windows 与桌面端 desktop profile。它的 HTTP 路由没有 DSH 的访问检查,浏览器里打开的网页可以调用它们。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:Yi-qing-dev/dsh-restart-relay

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。