@idoall/dsh-notify 0.4.11 → 0.4.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -0
- package/README.md +16 -12
- package/README.zh.md +16 -12
- package/dist/client.js +10 -3
- package/package.json +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,38 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project are documented here. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); this project uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html). GitHub Releases use the same bilingual layout as [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness/releases/tag/dsh-v0.1.6-alpha.1).
|
|
4
4
|
|
|
5
|
+
## [0.4.13] - 2026-11-04
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Declare DeepSeek Harness `0.2.2-rc.1` compatible while preserving `>=0.1.7-rc.1 <0.3.0` and all earlier verified releases. No notification source changes are needed.
|
|
10
|
+
- Synchronize both READMEs, the package and lockfile versions, compatibility matrix, DSH badge, channel information and release commands. Clarify that current DSH requires Node.js `>=24.9.0`, while the plugin's own `>=20` requirement is unchanged.
|
|
11
|
+
|
|
12
|
+
### Verified
|
|
13
|
+
|
|
14
|
+
- Compared 19 consumed DSH package build trees with published `0.2.2-alpha.3`: only the general-settings display version and client-modules build commit changed; all other compared build files are byte-identical. Current Cordis `4.1.0` passes Host and Client activation and cleanup tests.
|
|
15
|
+
- Static checks, **118 automated tests**, build, package checks and dependency audit pass. Live Client inspection confirms `dsh-notify-toast` active in `shell.overlay`; registration is not a fresh visual, audio or end-to-end test.
|
|
16
|
+
- Release acceptance downloads the npm tarball and checks both file-set differences and each file's bytes against the release checkout, plus npm `latest`, GitHub Release notes, tarball and checksum. No profile or other plugin is modified.
|
|
17
|
+
|
|
18
|
+
## [0.4.12] - 2026-11-03
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- Make the Client plugin entry non-constructible and return an idempotent disposer instead of a plain runtime object. Cordis treats ordinary functions as constructors and can ignore their cleanup return; passing the old object through its effect path instead throws `Invalid effect`. The prior pack check called `apply` directly and missed these lifecycle errors. Settings and overlay registrations now clean up through the accepted effect contract.
|
|
23
|
+
- Synchronize the lockfile's DSH peer ranges with the manifest (`>=0.1.7-rc.1 <0.3.0`); its root still carried the obsolete `<0.2.0` ceiling. Update locked transitive Zod `4.6.5` → `4.6.7` to resolve the high-severity audit advisory without modifying the host installation.
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
|
|
27
|
+
- Declare the running DSH `0.2.2-alpha.3` compatible. Consumed renderer, session UI, connection, webserver, jobs, session, agent, agent-loop and workflow builds are unchanged from alpha.2; additive settings/layout changes and module-loader reconciliation changes preserve the consumed contracts.
|
|
28
|
+
- Add regression checks for bilingual README versions, DSH badges, compatibility rows, release commands, changelog and Release headings, and root lockfile metadata. Refresh both READMEs and clearly separate historical screenshots from this check.
|
|
29
|
+
|
|
30
|
+
### Verified
|
|
31
|
+
|
|
32
|
+
- Static checks, **118 automated tests**, build and package checks, including real Cordis client load/unload and release-metadata regressions.
|
|
33
|
+
- Host API inspection and live Client inspection (`dsh-notify-toast` active in `shell.overlay`) on DSH `0.2.2-alpha.3`. The existing profile was not upgraded or changed.
|
|
34
|
+
- Browser automation returned HTTP 401: no new authenticated visual, mobile, audio or end-to-end notification verification is claimed. DSH npm `latest` is `0.2.1-rc.5`; that unbooted RC is not added to the explicitly verified list.
|
|
35
|
+
- Post-publication acceptance compares the npm tarball's documents, manifest, patch and every build file with the release checkout and requires npm `latest`, GitHub Release and tag to match.
|
|
36
|
+
|
|
5
37
|
## [0.4.11] - 2026-10-28
|
|
6
38
|
|
|
7
39
|
### Changed
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<a href="https://github.com/idoall/dsh-notify/actions/workflows/ci.yml"><img src="https://github.com/idoall/dsh-notify/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
|
|
7
7
|
<a href="https://www.npmjs.com/package/@idoall/dsh-notify"><img src="https://img.shields.io/npm/v/@idoall/dsh-notify?label=npm&color=CB3837" alt="npm version"></a>
|
|
8
8
|
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-0F172A" alt="MIT"></a>
|
|
9
|
-
<img src="https://img.shields.io/badge/DSH-0.2.2--
|
|
9
|
+
<img src="https://img.shields.io/badge/DSH-0.2.2--rc.1-4B6BFB" alt="DSH 0.2.2-rc.1">
|
|
10
10
|
</p>
|
|
11
11
|
|
|
12
12
|
<p align="center">English | <a href="README.zh.md">中文</a></p>
|
|
@@ -45,8 +45,8 @@ When a session really stops, fails, asks a question, or needs approval, a card a
|
|
|
45
45
|
Requirements:
|
|
46
46
|
|
|
47
47
|
- DeepSeek Harness with a Web profile
|
|
48
|
-
- Node.js
|
|
49
|
-
- Verified DeepSeek Harness version: `0.2.2-
|
|
48
|
+
- Node.js 24.9.0 or newer for current DSH (the plugin itself declares Node.js 20+)
|
|
49
|
+
- Verified DeepSeek Harness version: `0.2.2-rc.1`
|
|
50
50
|
|
|
51
51
|
Install from npm into your Web profile:
|
|
52
52
|
|
|
@@ -92,7 +92,7 @@ Reload the profile or restart DSH only when its plugin host has not hot-reloaded
|
|
|
92
92
|
|
|
93
93
|
Custom sounds are stored in `<dataDir>/sounds/` in the profile data directory, not the plugin installation. Uploads are limited to 1 MB and `mp3 / m4a / aac / wav / ogg / flac`; names must be a single path segment.
|
|
94
94
|
|
|
95
|
-
Above the cards, the page shows the running version against the newest one on npm: `v0.4.
|
|
95
|
+
Above the cards, the page shows the running version against the newest one on npm: `v0.4.13 ✓ 最新`, `v0.4.12 ➔ v0.4.13`, or `v0.4.13 · 检查失败`. **检查更新** forces a fresh lookup (`GET /plugins/dsh-notify/update?force=1`, authenticated); a page load reuses the host's six-hour cache. When a newer version exists the row reveals `dsh plugin --profile web add @idoall/dsh-notify@<version>` with a copy button — installing it, and restarting DSH afterwards, stays your decision.
|
|
96
96
|
|
|
97
97
|
<p align="center">
|
|
98
98
|
<img src="./assets/version-check.png" width="60%" alt="DSH notification settings with the version row: v0.4.0 newest, Check for updates, GitHub, Changelog and Issues links">
|
|
@@ -100,12 +100,14 @@ Above the cards, the page shows the running version against the newest one on np
|
|
|
100
100
|
|
|
101
101
|
## Compatibility
|
|
102
102
|
|
|
103
|
-
Current release: plugin **`0.4.
|
|
103
|
+
Current release: plugin **`0.4.13`** is verified against DeepSeek Harness **`0.2.2-rc.1`**.
|
|
104
104
|
|
|
105
105
|
| Plugin | Verified DeepSeek Harness | What that version is |
|
|
106
106
|
| --- | --- | --- |
|
|
107
|
-
| **`0.4.
|
|
108
|
-
|
|
|
107
|
+
| **`0.4.13`** | `0.2.2-rc.1` | Declares the new DSH RC compatible, preserves existing support, and updates bilingual release information and the current DSH Node.js requirement. No notification source changes. |
|
|
108
|
+
| `0.4.12` | `0.2.2-alpha.3` | Fixes Client entry lifecycle handling (constructor detection and cleanup return), declares the current DSH alpha compatible, synchronizes lockfile DSH peer ranges, updates locked Zod, and adds bilingual release checks. Notification logic is unchanged; see the release notes for verification limits. |
|
|
109
|
+
| `0.4.11` | `0.2.2-alpha.2` | Declares DSH `0.2.2-alpha.2` compatible — one `dshReleases` line, since `>=0.1.7-rc.1 <0.3.0` already admitted it. No source change: `dsh-client-ui-renderer`, which owns the whole `slots` service, is byte-identical, as are `dsh-client-ui-settings`, `dsh-jobs`, `dsh-client-ui-slots`, `dsh-tool-workflow` and `dsh-client-connection`'s host half. The six packages that did change are all additive and off the notification call path — a second `resource` route style in `dsh-host-webserver` (its `register(route)` body and the `{kind,path,handler}` dispatch are unchanged), one new `whenAccess()` in `dsh-client-ui-session`, six locale dictionaries in `dsh-client-ui-layout`, `require.asset` plus the `/plugins/<pkg>/assets` route in `dsh-client-modules`, a settings-panel grid restyle in `dsh-client-ui-settings-general` (the seat's `{close}` props are unchanged), and one browser-transport type in `dsh-client-connection` |
|
|
110
|
+
| `0.4.10` | `0.2.1-rc.4` | Declares DSH `0.2.1-rc.4` compatible — one `dshReleases` line, since `>=0.1.7-rc.1 <0.3.0` already admitted it. No source change: of the packages it binds, every one is byte-identical across `0.2.1-rc.3` → `0.2.1-rc.4` except `dsh-client-ui-settings-general`, whose client only substitutes the host version string it displays |
|
|
109
111
|
| `0.4.9` | `0.2.1-rc.3` | Adds one-click **clear-all** above the notification pile — page-local, it never answers a waiting interaction; host requirement and DSH declarations are unchanged |
|
|
110
112
|
| `0.4.8` | `0.2.1-rc.3` | Declares DSH `0.2.1-rc.3` compatible; notification behavior and the existing host requirement are unchanged |
|
|
111
113
|
| `0.4.7` | `0.2.1-rc.2` | Declares DeepSeek Harness `0.2.1-rc.2` compatible — one `dshReleases` line, since `>=0.1.7-rc.1 <0.3.0` already admitted it. No source change: of the packages it binds, only `dsh-client-ui-settings-general` differs across `0.2.1-alpha.5` → `0.2.1-rc.2`, and only in the host version string it displays. The host's `cordis` and `schemastery` also promoted to stable `4.0.5` / `3.18.5`, which are byte-identical to the alphas this plugin already ran against |
|
|
@@ -130,14 +132,16 @@ Current release: plugin **`0.4.11`** is verified against DeepSeek Harness **`0.2
|
|
|
130
132
|
- Two declarations decide whether the plugin loads at all: `dsh.engines.dsh` and every `@deepseek-ai/dsh-*` peer state the same requirement, `>=0.1.7-rc.1 <0.3.0` as of `0.4.1`. DSH refuses an incompatible bundle at profile load, so a range that excluded the running release would silently drop the plugin — which is exactly what the old `<0.2.0` ceiling would have done on the `0.2.0` release.
|
|
131
133
|
- **An interactive gate only withholds a completion while it is unanswered.** DSH resolves an execution approval and a plan review *inside* the turn that asked them (`approval.request()` awaits its outcome under an open turn; `exit_plan_mode` returns its verdict to the same turn), so the turn that resumes is the turn that asked, and its end is the user's task finishing. `0.4.2` makes that the rule; `0.3.2`–`0.4.1` suppressed the whole turn, which silently dropped the completion of every approval-gated task.
|
|
132
134
|
- `@deepseek-ai/schemastery` is a **peer**, not a plain dependency: DSH resolves only a linked plugin's peer dependencies from the running installation, so a `link:` install of this directory would otherwise fail to import the Host half.
|
|
133
|
-
- **Verified releases are listed, not just matched.** `dsh.compatibility.dshReleases` names every release this plugin was actually booted on (`0.1.7-rc.1`, `0.1.7-rc.2`, `0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-alpha.1`, `0.2.1-alpha.3`, `0.2.1-alpha.4`, `0.2.1-alpha.5`, `0.2.1-rc.2`, `0.2.1-rc.3`, `0.2.1-rc.4`, `0.2.2-alpha.2` as of `0.4.
|
|
135
|
+
- **Verified releases are listed, not just matched.** `dsh.compatibility.dshReleases` names every release this plugin was actually booted on (`0.1.7-rc.1`, `0.1.7-rc.2`, `0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-alpha.1`, `0.2.1-alpha.3`, `0.2.1-alpha.4`, `0.2.1-alpha.5`, `0.2.1-rc.2`, `0.2.1-rc.3`, `0.2.1-rc.4`, `0.2.2-alpha.2`, `0.2.2-alpha.3`, `0.2.2-rc.1` as of `0.4.13`) and `npm run pack:check` fails when one of them falls outside the declared range. Each entry means a real boot, not a semver guess.
|
|
134
136
|
|
|
135
|
-
The layout
|
|
137
|
+
The screenshots below come from earlier browser verification, not a new RC visual test. This check covers interface compatibility, automated tests and live overlay registration, not a fresh visual or audio test. The layout was checked at a 390px mobile viewport: the settings controls reflow and the toast becomes full-width without falling behind the mobile sidebar.
|
|
136
138
|
|
|
137
139
|
<p align="center">
|
|
138
140
|
<img src="./assets/mobile.png" width="34%" alt="390 pixel mobile viewport showing a full-width enhanced notification stack with equal coloured edges beneath the newest card">
|
|
139
141
|
</p>
|
|
140
142
|
|
|
143
|
+
At this release, npm DSH `next` points to the running `0.2.2-rc.1`, `alpha` to `0.2.2-alpha.3`, and `latest` to `0.2.1-rc.5`. The latter remains within the declared range but is not added to the explicitly boot-verified list.
|
|
144
|
+
|
|
141
145
|
## Uninstall
|
|
142
146
|
|
|
143
147
|
```sh
|
|
@@ -158,11 +162,11 @@ npm run pack:check # publish preconditions + client registration check
|
|
|
158
162
|
|
|
159
163
|
## Releasing
|
|
160
164
|
|
|
161
|
-
Releases are tag-driven. Bump `package.json
|
|
165
|
+
Releases are tag-driven. Bump `package.json` and the lockfile root versions, synchronize both READMEs and the DSH declarations, move the matching CHANGELOG section out of `Unreleased`, write `release-notes/v<version>.md`, then push the release commit and tag:
|
|
162
166
|
|
|
163
167
|
```sh
|
|
164
|
-
git tag v0.4.
|
|
165
|
-
git push origin v0.4.
|
|
168
|
+
git tag v0.4.13
|
|
169
|
+
git push origin v0.4.13
|
|
166
170
|
```
|
|
167
171
|
|
|
168
172
|
The release workflow runs `npm run verify`, packs the plugin, publishes through npm trusted publishing (OIDC), and creates a GitHub Release with the package tarball and sha256.
|
package/README.zh.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<a href="https://github.com/idoall/dsh-notify/actions/workflows/ci.yml"><img src="https://github.com/idoall/dsh-notify/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
|
|
7
7
|
<a href="https://www.npmjs.com/package/@idoall/dsh-notify"><img src="https://img.shields.io/npm/v/@idoall/dsh-notify?label=npm&color=CB3837" alt="npm 版本"></a>
|
|
8
8
|
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-0F172A" alt="MIT"></a>
|
|
9
|
-
<img src="https://img.shields.io/badge/DSH-0.2.2--
|
|
9
|
+
<img src="https://img.shields.io/badge/DSH-0.2.2--rc.1-4B6BFB" alt="DSH 0.2.2-rc.1">
|
|
10
10
|
</p>
|
|
11
11
|
|
|
12
12
|
<p align="center"><a href="README.md">English</a> | 中文</p>
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
环境要求:
|
|
46
46
|
|
|
47
47
|
- 带 Web profile 的 DeepSeek Harness
|
|
48
|
-
- Node.js 20
|
|
49
|
-
- 已验证的 DeepSeek Harness:`0.2.2-
|
|
48
|
+
- 当前 DSH 需要 Node.js 24.9.0 或更新(插件自身声明 Node.js 20+)
|
|
49
|
+
- 已验证的 DeepSeek Harness:`0.2.2-rc.1`
|
|
50
50
|
|
|
51
51
|
从 npm 安装:
|
|
52
52
|
|
|
@@ -92,7 +92,7 @@ dsh plugin --profile web add "link:$(pwd)"
|
|
|
92
92
|
|
|
93
93
|
自定义提示音保存在 profile 数据目录的 `<dataDir>/sounds/`,而非插件安装目录。上传限制 1 MB,支持 `mp3 / m4a / aac / wav / ogg / flac`,文件名必须是单段路径。
|
|
94
94
|
|
|
95
|
-
卡片上方是版本检测行:显示当前版本与 npm 上最新版本的关系——`v0.4.
|
|
95
|
+
卡片上方是版本检测行:显示当前版本与 npm 上最新版本的关系——`v0.4.13 ✓ 最新`、`v0.4.12 ➔ v0.4.13` 或 `v0.4.13 · 检查失败`。**检查更新**会强制重新查询(`GET /plugins/dsh-notify/update?force=1`,需通过鉴权);页面加载则复用宿主 6 小时缓存。检测到新版本时,行下方会展开 `dsh plugin --profile web add @idoall/dsh-notify@<版本>` 与复制按钮——是否安装、以及随后是否重启 DSH,都由你决定。
|
|
96
96
|
|
|
97
97
|
<p align="center">
|
|
98
98
|
<img src="./assets/version-check.png" width="60%" alt="DSH 通知设置中的版本检测行:v0.4.0 已是最新、检查更新、GitHub、更新日志与反馈 Issue 入口">
|
|
@@ -100,12 +100,14 @@ dsh plugin --profile web add "link:$(pwd)"
|
|
|
100
100
|
|
|
101
101
|
## 兼容性
|
|
102
102
|
|
|
103
|
-
当前发布:插件 **`0.4.
|
|
103
|
+
当前发布:插件 **`0.4.13`** 已在 DeepSeek Harness **`0.2.2-rc.1`** 上验证。
|
|
104
104
|
|
|
105
105
|
| 插件 | 已验证的 DeepSeek Harness | 这一版是什么 |
|
|
106
106
|
| --- | --- | --- |
|
|
107
|
-
| **`0.4.
|
|
108
|
-
|
|
|
107
|
+
| **`0.4.13`** | `0.2.2-rc.1` | 声明兼容新版 DSH RC,保留既有支持,并同步双语发布信息与当前 DSH 的 Node.js 要求。通知源码无改动。 |
|
|
108
|
+
| `0.4.12` | `0.2.2-alpha.3` | 修复客户端入口的 Cordis 生命周期处理(构造器识别与清理返回值),声明兼容当前 DSH alpha,同步锁文件的 DSH peer 范围、更新锁定的 Zod,并新增中英文发布检查。通知逻辑不变;验证边界见发布说明。 |
|
|
109
|
+
| `0.4.11` | `0.2.2-alpha.2` | 声明兼容 DSH `0.2.2-alpha.2`——只加一行 `dshReleases`,因为 `>=0.1.7-rc.1 <0.3.0` 本来就接纳它。无源码改动:承载整个 `slots` 服务的 `dsh-client-ui-renderer` 逐字节相同,`dsh-client-ui-settings`、`dsh-jobs`、`dsh-client-ui-slots`、`dsh-tool-workflow` 以及 `dsh-client-connection` 的宿主半边也相同。有改动的六处都是叠加式、不经过通知调用路径——`dsh-host-webserver` 新增一种 `resource` 路由(`register(route)` 与 `{kind,path,handler}` 派发都未变)、`dsh-client-ui-session` 新增一个 `whenAccess()`、`dsh-client-ui-layout` 新增六份语言包、`dsh-client-modules` 新增 `require.asset` 与 `/plugins/<pkg>/assets` 路由、`dsh-client-ui-settings-general` 重排设置面板网格(挂载点的 `{close}` 参数未变)、`dsh-client-connection` 只新增一个浏览器传输类型 |
|
|
110
|
+
| `0.4.10` | `0.2.1-rc.4` | 声明兼容 DSH `0.2.1-rc.4`——只加一行 `dshReleases`,因为 `>=0.1.7-rc.1 <0.3.0` 本来就接纳它。无源码改动:它绑定的每个包在 `0.2.1-rc.3` → `0.2.1-rc.4` 之间都逐字节相同,只有 `dsh-client-ui-settings-general` 变了,而那里只替换了界面显示的宿主版本号 |
|
|
109
111
|
| `0.4.9` | `0.2.1-rc.3` | 通知堆叠上方新增**全部清除**——只清本页、不替你回答待处理交互;宿主要求与 DSH 兼容声明保持不变 |
|
|
110
112
|
| `0.4.8` | `0.2.1-rc.3` | 声明兼容 DSH `0.2.1-rc.3`;通知行为与现有宿主版本范围保持不变 |
|
|
111
113
|
| `0.4.7` | `0.2.1-rc.2` | 声明兼容 DeepSeek Harness `0.2.1-rc.2`——只加一行 `dshReleases`,因为 `>=0.1.7-rc.1 <0.3.0` 本来就接纳它。无源码改动:它绑定的包里只有 `dsh-client-ui-settings-general` 在 `0.2.1-alpha.5` → `0.2.1-rc.2` 之间有差异,且只差界面显示的宿主版本号。宿主侧 `cordis`、`schemastery` 同时转正为 `4.0.5` / `3.18.5`,与本插件此前运行的 alpha 版本逐字节相同 |
|
|
@@ -130,14 +132,16 @@ dsh plugin --profile web add "link:$(pwd)"
|
|
|
130
132
|
- 两处声明决定插件能否加载:`dsh.engines.dsh` 与每一个 `@deepseek-ai/dsh-*` peer 都写同一条要求,自 `0.4.1` 起为 `>=0.1.7-rc.1 <0.3.0`。DSH 会在 profile 加载时拒绝不兼容的 bundle,范围写错就会静默丢掉插件——旧的 `<0.2.0` 上限在 `0.2.0` 正式版上正是如此。
|
|
131
133
|
- **交互门禁只在「还没等到人回答」时压住完成通知。** DSH 的执行审批与计划审批都是在**提问的那个回合内**解决的(`approval.request()` 必须处于打开的回合中并原地等待结果;`exit_plan_mode` 把结论交回同一回合),所以接着干活的回合就是提问的那个回合,它的结束就是用户任务的完成。`0.4.2` 以此为规则;`0.3.2`–`0.4.1` 压掉了整个回合,于是每个带审批的任务都静默丢失完成通知。
|
|
132
134
|
- `@deepseek-ai/schemastery` 是 **peer**,不是普通依赖:DSH 只会把 **link 形态**插件的 peer 解析到当前安装;若仍写成普通依赖,`link:` 安装的 Host 半会导入失败。
|
|
133
|
-
- **声明的是「实测验证过的版本」,不是语义化猜测。** `dsh.compatibility.dshReleases` 列出真正启动验证过的每个版本(截至 `0.4.
|
|
135
|
+
- **声明的是「实测验证过的版本」,不是语义化猜测。** `dsh.compatibility.dshReleases` 列出真正启动验证过的每个版本(截至 `0.4.13`:`0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-alpha.1`、`0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.2-alpha.2`、`0.2.2-alpha.3`、`0.2.2-rc.1`),一旦其中某个落在声明范围之外,`npm run pack:check` 会直接失败。
|
|
134
136
|
|
|
135
|
-
|
|
137
|
+
以下截图来自此前的浏览器验证,并非本次 RC 的新视觉测试;本次验证覆盖接口兼容性、自动化测试与实时浮层注册,不包含新的视觉或声音实测。此前在 390px 手机视口检查:设置控件会重排,Toast 会满宽显示且不会被移动端侧栏遮挡。
|
|
136
138
|
|
|
137
139
|
<p align="center">
|
|
138
140
|
<img src="./assets/mobile.png" width="34%" alt="390px 手机视口:增强版通知栈满宽显示,最新通知下方有等距状态色边缘">
|
|
139
141
|
</p>
|
|
140
142
|
|
|
143
|
+
本次发布时 npm DSH 的 `next` 指向当前运行的 `0.2.2-rc.1`,`alpha` 指向 `0.2.2-alpha.3`,`latest` 指向 `0.2.1-rc.5`。后者仍位于声明范围内,但未加入明确启动验证的列表。
|
|
144
|
+
|
|
141
145
|
## 卸载
|
|
142
146
|
|
|
143
147
|
```sh
|
|
@@ -158,11 +162,11 @@ npm run pack:check # 发布前置条件 + 客户端注册校验
|
|
|
158
162
|
|
|
159
163
|
## 发版
|
|
160
164
|
|
|
161
|
-
发版由 tag 驱动。更新 `package.json
|
|
165
|
+
发版由 tag 驱动。更新 `package.json` 与锁文件根版本、同步中英文 README 和 DSH 声明、将对应 CHANGELOG 段落移出 `Unreleased`、编写 `release-notes/v<版本>.md` 后,推送发版提交与 tag:
|
|
162
166
|
|
|
163
167
|
```sh
|
|
164
|
-
git tag v0.4.
|
|
165
|
-
git push origin v0.4.
|
|
168
|
+
git tag v0.4.13
|
|
169
|
+
git push origin v0.4.13
|
|
166
170
|
```
|
|
167
171
|
|
|
168
172
|
发版工作流会运行 `npm run verify`、打包插件、通过 npm trusted publishing(OIDC)发布,并创建附带 tarball 与 sha256 的 GitHub Release。
|
package/dist/client.js
CHANGED
|
@@ -1391,9 +1391,16 @@ window.__ModuleLoader__.load({
|
|
|
1391
1391
|
for (const dispose of disposers.reverse()) dispose?.();
|
|
1392
1392
|
} };
|
|
1393
1393
|
}
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1394
|
+
var apply = (ctx) => {
|
|
1395
|
+
const mounted = mountNotifyClient({ slots: ctx?.slots, getSessions: () => ctx?.get?.("sessions"), getUiSession: () => ctx?.get?.("uiSession"), getUiWorkspace: () => ctx?.get?.("uiWorkspace") });
|
|
1396
|
+
let disposed = false;
|
|
1397
|
+
const dispose = () => {
|
|
1398
|
+
if (disposed) return;
|
|
1399
|
+
disposed = true;
|
|
1400
|
+
mounted.destroy();
|
|
1401
|
+
};
|
|
1402
|
+
return Object.assign(dispose, { status: mounted.status, destroy: dispose });
|
|
1403
|
+
};
|
|
1397
1404
|
|
|
1398
1405
|
return module.exports;
|
|
1399
1406
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@idoall/dsh-notify",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.13",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "DSH web plugin: in-page task notifications for DeepSeek Harness — enhanced or soft status toasts, a collapsible top-right stack, answer buttons, background-tab attention, and a WebAudio cue that also plays while the page is hidden. Live delivery only: no history, no service worker, no web push, no OS notification matrix.",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -47,7 +47,9 @@
|
|
|
47
47
|
"0.2.1-rc.2": "compatible",
|
|
48
48
|
"0.2.1-rc.3": "compatible",
|
|
49
49
|
"0.2.1-rc.4": "compatible",
|
|
50
|
-
"0.2.2-alpha.2": "compatible"
|
|
50
|
+
"0.2.2-alpha.2": "compatible",
|
|
51
|
+
"0.2.2-alpha.3": "compatible",
|
|
52
|
+
"0.2.2-rc.1": "compatible"
|
|
51
53
|
}
|
|
52
54
|
}
|
|
53
55
|
},
|