Skip to content

Releases

v2.0.3

Choose a tag to compare

@IHS470 IHS470 released this 03 Oct 12:27

Changed

  • tools/release.mjs is the general version now. The directory it publishes can be given with --root=, and the
    repository is read from package.json's repository field instead of being hardcoded to this one. It is the same
    tool the sibling repository dsh-global-rules publishes with, so a fix to the pipeline no longer has to be copied by
    hand between repositories.
  • No runtime change: the plugin is still the v0.1.0 code, byte for byte.

Full Changelog: v2.0.2...v2.0.3

2.0.0:现在装的这版(v0.1.0 运行时)+ 托盘里的「重启 DeepSeek Harness」,一起打包

Choose a tag to compare

@github-actions github-actions released this 03 Oct 04:55

2.0.0:现在装的这版(v0.1.0 运行时)+ 托盘里的「重启 DeepSeek Harness」,一起打包

这是一次刻意的重定基线,不是功能叠加。 2.0.0 的运行时就是最初的 v0.1.0——标题栏一个按钮,点下去杀壳、拉起应用、抬窗两次;没有设置页、没有见证者、没有残留清理、没有稳定锁,想连点就连点(这正是你偏好的那套手感)。构建时对 client.js、lib/index.js、lib/relaunch.mjs、cordis.patch.yml 逐个做了 SHA256 比对,与 v0.1.0 tag 完全一致。

仓库另外附带托盘那一项:tools/patch-shell-tray.mjs 给桌面壳的托盘菜单加上 「重启 DeepSeek Harness」,走壳自己的 app.relaunch() + quitWithoutConfirmation(),因此托盘图标由 Electron 自己移除,不会像杀进程那样留下幽灵图标。

为什么托盘那一项不能由插件提供:托盘在壳的主进程里(new Tray / setContextMenu),插件只有宿主机(纯 Node,无 Electron API)和页面(preload 只暴露固定的 dshDesktop)两个落脚点,都无法向托盘菜单添加任何一项。所以它是本地、可回退的补丁工具:自动探测安装位置、从原始备份重建、逐文件校验、由 WMI 创建的独立进程完成切换、起不来 40 秒内自动还原。命令:status / build / detach / swap / revert。

1.0.x 那条线没有消失:v1.0.0–v1.0.4 仍在各自 tag(设置页、重启方式二选一、见证者、残留清理、稳定锁都在那边)。2.0.0 不含它们——按你的要求回到最初的行为。

如实说明:托盘工具改的是厂商打包的应用,应用更新或重装会覆盖 app.asar,重跑 build + detach 即可;标题栏按钮是杀进程式重启,可能出现幽灵托盘图标(Windows 行为),托盘那一项不会。

1.0.4:随附的托盘工具改成"自动找安装位置",并指向独立仓库

Choose a tag to compare

@github-actions github-actions released this 03 Oct 04:39

1.0.4:随附的托盘工具改成"自动找安装位置",并指向独立仓库

修的是我自己的问题:v1.0.3 里随附的 tools/patch-shell-tray.mjs 把安装路径写死在我这台机器上,别人拿去用不了。现在它按顺序探测:--install= / --asar= → 运行中进程的实际路径 → 默认安装位置;都找不到时给出明确提示(用 --install=<目录>),而不是抛一个文件系统错误。

独立仓库:托盘重启工具现在有了自己的家——IHS470/dsh-desktop-tray-restart(同一份工具 + 说明 + 请求文档 + 一个只做语法与自检的 CI)。两个 README 都已指向它,本仓库里的 tools/ 版本与它保持一致。

你机器上的功能不受影响:补丁已经打好并在运行(status 报 carries the tray patch: true),本次只是把工具本身修好、分好家。

v0.1.0 · 首个版本(最稳定的版本,没有什么太大的毛病)

Choose a tag to compare

@IHS470 IHS470 released this 01 Oct 22:30

首个版本:装在 DeepSeek Harness 桌面版窗口标题栏里的重启按钮。

  • 标题栏按钮 + 可见的确认浮层(位于原生「最小化」左侧,位置跟随 caption overlay 实时计算)
  • GET /dsh-restart/state、POST /dsh-restart/restart,都在 DSH 同源信任栅栏之后
  • 分离的重启助手:先关桌面壳、按 pid 关闭(绝不用 /T)、删掉 ELECTRON_RUN_AS_NODE 后再启动、应用回来后把窗口抬到前台
  • 三个测试 harness(宿主 / 浏览器 / 助手)已接入 npm test,CI 在 Windows + Ubuntu × Node 20/22/24 全绿

First release: a restart button for the DeepSeek Harness desktop window title bar — see README.md / README.en.md.

https://github.com/IHS470/dsh-plugin-restart/commits/v0.1.0

Full Changelog: https://github.com/IHS470/dsh-plugin-restart/commits/v0.1.0