Skip to content

Releases: Ray1270/dsh-restart

Mirror the release tarball to npm, without making npm a requirement

Choose a tag to compare

@github-actions github-actions released this 05 Nov 15:50

改了什么

  • release: 0.3.6 — the release mirrors its own tarball to npm (f7c7c4a)
  • ci: mirror the release tarball to npm, when a token exists (42f2b9a)
  • docs: the install job is a minute and a half, and the number repeats (e500b9e)

装法

下载下面的 ray1270-dsh-restart-0.3.6.tgz,在应用里 插件 → 添加插件 填它的绝对路径,然后重启一次应用。

附件里的 .sha256 可用来核对这个文件:下载后
Get-FileHash .\ray1270-dsh-restart-0.3.6.tgz -Algorithm SHA256,把值与它比对。


完整对比: v0.3.5...v0.3.6

Verify the installed package, not just the packed one

Choose a tag to compare

@github-actions github-actions released this 05 Nov 15:37

改了什么

  • release: 0.3.5 — the install check runs in the pipeline now (01d575f)
  • ci: install the launcher into the temp drive; the cache bought 28s (52e41fa)
  • ci: pass the runner OS into the launcher action (f1a6bda)
  • ci: install the packed tarball on the runner too, cached by launcher version (b1d857e)

装法

下载下面的 ray1270-dsh-restart-0.3.5.tgz,在应用里 插件 → 添加插件 填它的绝对路径,然后重启一次应用。

附件里的 .sha256 可用来核对这个文件:下载后
Get-FileHash .\ray1270-dsh-restart-0.3.5.tgz -Algorithm SHA256,把值与它比对。


完整对比: v0.3.4...v0.3.5

v0.3.4 — 先解开验包再发:发布前会把包里那份代码拉起来跑一遍

Choose a tag to compare

@github-actions github-actions released this 05 Nov 14:44

改了什么

  • ci: verify the tarball on the runner instead of installing it there (dafc1bb)
  • chore: refuse --tarball without a path instead of crashing on resolve(undefined) (17756ca)
  • ci: install the packed tarball before publishing it (0f56a4b)

装法

下载下面的 ray1270-dsh-restart-0.3.4.tgz,在应用里 插件 → 添加插件 填它的绝对路径,然后重启一次应用。

附件里的 .sha256 可用来核对这个文件:下载后
Get-FileHash .\ray1270-dsh-restart-0.3.4.tgz -Algorithm SHA256,把值与它比对。


完整对比: v0.3.3...v0.3.4

v0.3.3 — 发布由 tag 驱动:先验版本、再跑测试、最后打包

Choose a tag to compare

@github-actions github-actions released this 05 Nov 13:54

改了什么

  • docs: describe the release pipeline that actually exists (9f949d2)
  • ci: replace the release instead of editing it, then check what got published (c1e0e20)
  • ci: pack, describe and publish in one step, and refuse an empty body (566ad4a)
  • ci: write release notes from the commits, not from merged PRs (bfd1ec1)
  • ci: publish on a tag, and only after the suites pass (3c2dd0b)
  • docs: show the CI badge now that the suite passes on the runner (dc92b0a)
  • test: give the helper a CI-sized budget to announce itself (a30fddf)
  • docs: point install at the release tarball, keep the source path for development (cfa9e80)

装法

下载下面的 ray1270-dsh-restart-0.3.3.tgz,在应用里 插件 → 添加插件 填它的绝对路径,然后重启一次应用。

附件里的 .sha256 可用来核对这个文件:下载后
Get-FileHash .\ray1270-dsh-restart-0.3.3.tgz -Algorithm SHA256,把值与它比对。


完整对比: v0.3.2...v0.3.3

v0.3.2 — 刷新 / 重启 两个常驻按钮

Choose a tag to compare

@Ray1270 Ray1270 released this 05 Nov 13:25

给 DeepSeek Harness 桌面版的顶栏加两个常驻按钮,就在「应用」「编辑」右边:

应用  编辑  刷新  重启
  • 刷新 —— 重新加载 Web 客户端。Host 不动、会话记录不动、正在跑的 agent 也不动,回来还停在同一个会话。只改了客户端插件(slot 注册、界面代码)时用它,不必重启 Host。
  • 重启 —— 重启整个应用(Electron 壳 + Host)。点第一下是预检,按钮会显示此刻会被中断的 agent / job / 终端数量,点第二下才真的执行;2–4 秒后应用带着刚才那个会话重新打开。

为什么需要它:桌面版的端口每次启动都是随机分配的,重启等于换了一个 origin,旧页面失联、你被扔回首页。「重启一下看效果」原本要关窗口 → 找图标 → 等启动 → 手动点回会话。

重启由一个短命的 PowerShell helper 执行,而这个 helper 是 WMI 服务创建的 —— 它不在自己即将杀掉的进程树里。helper 创建时就带 SW_HIDE 启动信息,全程没有任何控制台窗口一闪而过。

安装

  1. 下载本页附件 ray1270-dsh-restart-0.3.2.tgz
  2. 应用内 插件 → 添加插件,填这个 tgz 的绝对路径
  3. 手动重启一次应用才会加载(这一次只能手动,之后就用按钮)

或者直接要源码:

git clone https://github.com/Ray1270/dsh-restart.git

要求

  • Windows 桌面版(DeepSeek Harness.exe)。CLI Host 下按钮会报「不支持」,而不是假装工作。
  • Node ^22.19.0 || >=24.0.0

这一版验证过什么

  • npm test:smoke-host 37/37、smoke-client 27/27、selftest-helper 23/23
  • 本仓库 CI 在 windows-latest 上跑同一套命令
  • 包内只有 8 个文件、30 kB:lib/、两个 patch、README.md、LICENSE