@idoall/dsh-notify 0.4.0 → 0.4.1
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 +17 -0
- package/README.md +9 -8
- package/README.zh.md +9 -8
- package/package.json +8 -7
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,19 @@
|
|
|
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.1] - 2026-09-29
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- **Declared DeepSeek Harness `0.2.0-rc.1` compatible.** `dsh.engines.dsh` and every `@deepseek-ai/dsh-*` peer move from `>=0.1.7-rc.1 <0.2.0` to `>=0.1.7-rc.1 <0.3.0`, and `dsh.compatibility.dshReleases` gains `0.2.0-rc.1` while keeping `0.1.7-rc.1` and `0.1.7-rc.2`. DSH refuses an incompatible bundle at profile load by peer range, so the old ceiling would have dropped the plugin as soon as `0.2.0` shipped — `0.2.0-rc.1` only loads today because a prerelease still sorts below `0.2.0`.
|
|
10
|
+
|
|
11
|
+
### Verified
|
|
12
|
+
|
|
13
|
+
- **No source change was needed.** The Host events (`agent/status`, `session/event`, `approval/request`, `user-questions/request`, `goal/activation-changed`, `agent/error`, `workflow/end`), the `webServer`/`connection` route and authorization contract, the `jobs` event stream, the two client `slots` seats, and the `--dsw-alias-*` theme tokens are unchanged in `0.2.0-rc.1`; the packages the plugin binds are byte-identical between `dsh-v0.1.7-rc.2` and `dsh-v0.2.0-rc.1`, and the approval-resolves-inline flow it already handles is the same in both.
|
|
14
|
+
- Full verification passed: static source checks, **110 automated tests**, build, and package precondition checks.
|
|
15
|
+
- **Real-machine verification** in an isolated `DSH_HOME` under `/tmp` (the user's profile is never touched) with the plugin installed as `link:` and DSH `0.2.0-rc.1` booted: the composed profile mounted the `dsh-notify` row without a compatibility refusal, `/plugins/dsh-notify/health` answered `guiAvailable: true` with `eventErrors: 0`, `/config`, `/pull`, `/sounds` and `/update` (real npm registry) all answered 200, and the browser rendered **设置 → 通知** with a working self-test toast stack and no page errors.
|
|
16
|
+
- Counter-proof: under DSH's real semver evaluation the old ranges do **not** satisfy `0.2.0` or `0.2.1`, so the empty-lookup risk on the `0.2.0` release is real rather than assumed.
|
|
17
|
+
|
|
5
18
|
## [0.4.0] - 2026-09-25
|
|
6
19
|
|
|
7
20
|
### Added
|
|
@@ -226,6 +239,10 @@ First public release. Verified against DeepSeek Harness `0.1.5-rc.1`.
|
|
|
226
239
|
|
|
227
240
|
- Browser system notifications (channel B), host OS notifications (channel C) and web push / service worker (channel D), along with the `web-push` and `ipaddr.js` dependencies. Those channels failed invisibly (submitted but never seen) and could not be made reliable across browsers and operating systems.
|
|
228
241
|
|
|
242
|
+
[0.4.1]: https://github.com/idoall/dsh-notify/releases/tag/v0.4.1
|
|
243
|
+
[0.4.0]: https://github.com/idoall/dsh-notify/releases/tag/v0.4.0
|
|
244
|
+
[0.3.4]: https://github.com/idoall/dsh-notify/releases/tag/v0.3.4
|
|
245
|
+
[0.3.3]: https://github.com/idoall/dsh-notify/releases/tag/v0.3.3
|
|
229
246
|
[0.3.2]: https://github.com/idoall/dsh-notify/releases/tag/v0.3.2
|
|
230
247
|
[0.3.1]: https://github.com/idoall/dsh-notify/releases/tag/v0.3.1
|
|
231
248
|
[0.3.0]: https://github.com/idoall/dsh-notify/releases/tag/v0.3.0
|
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.
|
|
9
|
+
<img src="https://img.shields.io/badge/DSH-0.2.0--rc.1-4B6BFB" alt="DSH 0.2.0-rc.1">
|
|
10
10
|
</p>
|
|
11
11
|
|
|
12
12
|
<p align="center">English | <a href="README.zh.md">中文</a></p>
|
|
@@ -46,7 +46,7 @@ Requirements:
|
|
|
46
46
|
|
|
47
47
|
- DeepSeek Harness with a Web profile
|
|
48
48
|
- Node.js 20 or newer
|
|
49
|
-
- Verified DeepSeek Harness version: `0.
|
|
49
|
+
- Verified DeepSeek Harness version: `0.2.0-rc.1`
|
|
50
50
|
|
|
51
51
|
Install from npm into your Web profile:
|
|
52
52
|
|
|
@@ -100,11 +100,12 @@ 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.1`** is verified against DeepSeek Harness **`0.2.0-rc.1`**.
|
|
104
104
|
|
|
105
105
|
| Plugin | Verified DeepSeek Harness | What that version is |
|
|
106
106
|
| --- | --- | --- |
|
|
107
|
-
| **`0.4.
|
|
107
|
+
| **`0.4.1`** | `0.2.0-rc.1` | Compatibility follow-up: declares the DSH `0.2.0` line (`>=0.1.7-rc.1 <0.3.0`), so the plugin is no longer dropped at profile load when `0.2.0` ships. No source change — every interface it binds is unchanged |
|
|
108
|
+
| `0.4.0` | `0.1.7-rc.2` | Online version detection in 设置 → 通知: the running version against npm's newest, a manual **检查更新** (`?force=1`), repository/changelog/issues links, and a copyable upgrade command — read-only, cached, and it never installs or restarts anything |
|
|
108
109
|
| `0.3.4` | `0.1.7-rc.1` | Trigger-timing fixes: a failure is delivered at `agent/error` (one card with `turn/end`), a same-stack `idle → running` flap no longer announces a finished task, and the client pulls at once on a session-state change or a visible-again tab (1.5 s interval kept as fallback) |
|
|
109
110
|
| `0.3.3` | `0.1.7-rc.1` | Adapts to DSH 0.1.7: job completions follow `jobs.events.subscribe`, tool results read the flattened tool-role message, in-toast answers read `uiSession.sessionStatus`, and `@deepseek-ai/schemastery` is a peer |
|
|
110
111
|
| `0.3.2` | `0.1.6-alpha.1` | Completion follows native `agent/status: idle`; one green card per continuous task |
|
|
@@ -116,8 +117,8 @@ Current release: plugin **`0.4.0`** is verified against DeepSeek Harness **`0.1.
|
|
|
116
117
|
| `0.1.2` | `0.1.6-alpha.1` | — |
|
|
117
118
|
|
|
118
119
|
- **`0.3.3` supports the DSH `0.1.7` line only.** DSH `0.1.7` removed `jobs.onJobDone`, flattened tool-result identity onto the tool-role message, and replaced `uiSession.pendingInteractions` with the unified `sessionStatus` snapshot. On an older DSH — including `0.1.6-alpha.1` — stay on plugin **`0.3.2`**.
|
|
119
|
-
- Two declarations
|
|
120
|
-
- `@deepseek-ai/schemastery` is a **peer**, not a plain dependency: DSH
|
|
120
|
+
- 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.
|
|
121
|
+
- `@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.
|
|
121
122
|
|
|
122
123
|
The layout is also checked at a 390px mobile viewport: the settings controls reflow and the toast becomes full-width without falling behind the mobile sidebar.
|
|
123
124
|
|
|
@@ -148,8 +149,8 @@ npm run pack:check # publish preconditions + client registration check
|
|
|
148
149
|
Releases are tag-driven. Bump `package.json`, move the matching CHANGELOG section out of `Unreleased`, write `release-notes/v<version>.md`, then push the release commit and tag:
|
|
149
150
|
|
|
150
151
|
```sh
|
|
151
|
-
git tag v0.4.
|
|
152
|
-
git push origin v0.4.
|
|
152
|
+
git tag v0.4.1
|
|
153
|
+
git push origin v0.4.1
|
|
153
154
|
```
|
|
154
155
|
|
|
155
156
|
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.
|
|
9
|
+
<img src="https://img.shields.io/badge/DSH-0.2.0--rc.1-4B6BFB" alt="DSH 0.2.0-rc.1">
|
|
10
10
|
</p>
|
|
11
11
|
|
|
12
12
|
<p align="center"><a href="README.md">English</a> | 中文</p>
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
|
|
47
47
|
- 带 Web profile 的 DeepSeek Harness
|
|
48
48
|
- Node.js 20 或更新
|
|
49
|
-
- 已验证的 DeepSeek Harness:`0.
|
|
49
|
+
- 已验证的 DeepSeek Harness:`0.2.0-rc.1`
|
|
50
50
|
|
|
51
51
|
从 npm 安装:
|
|
52
52
|
|
|
@@ -100,11 +100,12 @@ dsh plugin --profile web add "link:$(pwd)"
|
|
|
100
100
|
|
|
101
101
|
## 兼容性
|
|
102
102
|
|
|
103
|
-
当前发布:插件 **`0.4.
|
|
103
|
+
当前发布:插件 **`0.4.1`** 已在 DeepSeek Harness **`0.2.0-rc.1`** 上验证。
|
|
104
104
|
|
|
105
105
|
| 插件 | 已验证的 DeepSeek Harness | 这一版是什么 |
|
|
106
106
|
| --- | --- | --- |
|
|
107
|
-
| **`0.4.
|
|
107
|
+
| **`0.4.1`** | `0.2.0-rc.1` | 兼容性跟进:声明支持 DSH `0.2.0` 线(`>=0.1.7-rc.1 <0.3.0`),`0.2.0` 正式版发布时插件不会再在 profile 加载阶段被丢弃。无源码改动——它绑定的接口都没有变化 |
|
|
108
|
+
| `0.4.0` | `0.1.7-rc.2` | 设置 → 通知新增在线版本检测:当前版本 vs npm 最新版、手动**检查更新**(`?force=1`)、仓库/更新日志/Issue 入口,以及可复制的升级命令——只读、带缓存,绝不自动安装、绝不重启 |
|
|
108
109
|
| `0.3.4` | `0.1.7-rc.1` | 触发时序修复:失败在 `agent/error` 时即投递(与 `turn/end` 共用同一张卡)、同栈 `idle → running` 抖动不再误报完成、客户端在会话状态变化与标签页重新可见时立即拉取(保留 1.5s 兜底) |
|
|
109
110
|
| `0.3.3` | `0.1.7-rc.1` | 适配 DSH 0.1.7:后台任务完成走 `jobs.events.subscribe`,工具结果读取扁平化后的 tool-role 消息,卡片内回答读取 `uiSession.sessionStatus`,`@deepseek-ai/schemastery` 改为 peer |
|
|
110
111
|
| `0.3.2` | `0.1.6-alpha.1` | 完成通知跟随原生 `agent/status: idle`;连续任务只发一张绿色卡 |
|
|
@@ -116,8 +117,8 @@ dsh plugin --profile web add "link:$(pwd)"
|
|
|
116
117
|
| `0.1.2` | `0.1.6-alpha.1` | — |
|
|
117
118
|
|
|
118
119
|
- **`0.3.3` 只支持 DSH `0.1.7` 线。** DSH `0.1.7` 移除了 `jobs.onJobDone`,把工具结果身份扁平化到 tool-role 消息上,并用统一的 `sessionStatus` 快照替换了 `uiSession.pendingInteractions`。更早的 DSH(含 `0.1.6-alpha.1`)请继续用插件 **`0.3.2`**。
|
|
119
|
-
-
|
|
120
|
-
- `@deepseek-ai/schemastery` 是 **peer**,不是普通依赖:DSH
|
|
120
|
+
- 两处声明决定插件能否加载:`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` 正式版上正是如此。
|
|
121
|
+
- `@deepseek-ai/schemastery` 是 **peer**,不是普通依赖:DSH 只会把 **link 形态**插件的 peer 解析到当前安装;若仍写成普通依赖,`link:` 安装的 Host 半会导入失败。
|
|
121
122
|
|
|
122
123
|
同时在 390px 手机视口检查:设置控件会重排,Toast 会满宽显示且不会被移动端侧栏遮挡。
|
|
123
124
|
|
|
@@ -148,8 +149,8 @@ npm run pack:check # 发布前置条件 + 客户端注册校验
|
|
|
148
149
|
发版由 tag 驱动。更新 `package.json`、将对应 CHANGELOG 段落移出 `Unreleased`、编写 `release-notes/v<版本>.md` 后,推送发版提交与 tag:
|
|
149
150
|
|
|
150
151
|
```sh
|
|
151
|
-
git tag v0.4.
|
|
152
|
-
git push origin v0.4.
|
|
152
|
+
git tag v0.4.1
|
|
153
|
+
git push origin v0.4.1
|
|
153
154
|
```
|
|
154
155
|
|
|
155
156
|
发版工作流会运行 `npm run verify`、打包插件、通过 npm trusted publishing(OIDC)发布,并创建附带 tarball 与 sha256 的 GitHub Release。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@idoall/dsh-notify",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
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",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"dsh": {
|
|
21
21
|
"manifestVersion": 1,
|
|
22
22
|
"engines": {
|
|
23
|
-
"dsh": ">=0.1.7-rc.1 <0.
|
|
23
|
+
"dsh": ">=0.1.7-rc.1 <0.3.0"
|
|
24
24
|
},
|
|
25
25
|
"bundle": {
|
|
26
26
|
"patch": "./cordis.patch.yml"
|
|
@@ -37,7 +37,8 @@
|
|
|
37
37
|
"compatibility": {
|
|
38
38
|
"dshReleases": {
|
|
39
39
|
"0.1.7-rc.1": "compatible",
|
|
40
|
-
"0.1.7-rc.2": "compatible"
|
|
40
|
+
"0.1.7-rc.2": "compatible",
|
|
41
|
+
"0.2.0-rc.1": "compatible"
|
|
41
42
|
}
|
|
42
43
|
}
|
|
43
44
|
},
|
|
@@ -55,10 +56,10 @@
|
|
|
55
56
|
},
|
|
56
57
|
"peerDependencies": {
|
|
57
58
|
"@deepseek-ai/cordis": "^4.0.4",
|
|
58
|
-
"@deepseek-ai/dsh-client-connection": ">=0.1.7-rc.1 <0.
|
|
59
|
-
"@deepseek-ai/dsh-client-ui-session": ">=0.1.7-rc.1 <0.
|
|
60
|
-
"@deepseek-ai/dsh-host-webserver": ">=0.1.7-rc.1 <0.
|
|
61
|
-
"@deepseek-ai/dsh-jobs": ">=0.1.7-rc.1 <0.
|
|
59
|
+
"@deepseek-ai/dsh-client-connection": ">=0.1.7-rc.1 <0.3.0",
|
|
60
|
+
"@deepseek-ai/dsh-client-ui-session": ">=0.1.7-rc.1 <0.3.0",
|
|
61
|
+
"@deepseek-ai/dsh-host-webserver": ">=0.1.7-rc.1 <0.3.0",
|
|
62
|
+
"@deepseek-ai/dsh-jobs": ">=0.1.7-rc.1 <0.3.0",
|
|
62
63
|
"@deepseek-ai/schemastery": "^3.18.4",
|
|
63
64
|
"react": "^18.2.0"
|
|
64
65
|
},
|