@idoall/dsh-notify 0.4.3 → 0.4.4
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 +14 -0
- package/README.md +8 -7
- package/README.zh.md +8 -7
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
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.4] - 2026-10-15
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- **Declared DeepSeek Harness `0.2.1-alpha.3` compatible.** `dsh.compatibility.dshReleases` gains `0.2.1-alpha.3` after `0.2.1-alpha.1`. The requirement itself stays `>=0.1.7-rc.1 <0.3.0`, which already admitted it — that is why `dsh-notify` was not among the rows the loader refused at startup on `0.2.1-alpha.3`, and no range widening was needed. **No source change.**
|
|
10
|
+
|
|
11
|
+
### Verified
|
|
12
|
+
|
|
13
|
+
- **No interface this plugin binds changed in `0.2.1-alpha.2` or `0.2.1-alpha.3`.** Comparing the published packages of `0.2.1-alpha.1` and `0.2.1-alpha.3` field by field, the seams this plugin binds are identical: `connection.requestRejection`, `webServer.register`/`tapIndex`, the `settings.section` and `shell.overlay` seat contracts, `slots.inject`, `uiSession.sessionStatus`, the `session/event` payloads it reads (`tool/call`, `tool/result` with `message.toolCallId`/`message.isError`, `turn/*`), `jobs.events`, `workflow/end` and `tool-workflow/run-start`. What the range added is additive only: the `plugin:` record namespace, `job/registered`, `job/settled`, `working-directory/change`, and the `connection.operator` → `connection.browserPeer` rename, a member this plugin never reads.
|
|
14
|
+
- **A real profile on `0.2.1-alpha.3` admitted this plugin.** The loader disabled the `browser-use` and `browser-use-playwright-mcp` rows and no others, and no exact-version exemption was granted or needed for `@idoall/dsh-notify`.
|
|
15
|
+
- **Host half live on `0.2.1-alpha.3`:** `/plugins/dsh-notify/health` answered `guiAvailable: true` with `services.jobs: "reflected"` and `eventErrors: 0`; `/config`, `/sounds` and `/update` (real npm registry: running `0.4.3`, newest `0.4.3`) all answered 200; `/pull` returned six real records from that same day, spanning a completion, a failure and a question still awaiting an answer.
|
|
16
|
+
- **Client half live on `0.2.1-alpha.3`:** the page lists `@idoall/dsh-notify/client.js` in its plugin bundle, and the served bundle carries the `settings.section` and `shell.overlay` registrations and the `dsh-notify-*` markup.
|
|
17
|
+
- Full verification passed: static source checks, **110 automated tests**, build, and package precondition checks.
|
|
18
|
+
|
|
5
19
|
## [0.4.3] - 2026-10-06
|
|
6
20
|
|
|
7
21
|
### Fixed
|
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.1--alpha.
|
|
9
|
+
<img src="https://img.shields.io/badge/DSH-0.2.1--alpha.3-4B6BFB" alt="DSH 0.2.1-alpha.3">
|
|
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.2.1-alpha.
|
|
49
|
+
- Verified DeepSeek Harness version: `0.2.1-alpha.3`
|
|
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.4`** is verified against DeepSeek Harness **`0.2.1-alpha.3`**.
|
|
104
104
|
|
|
105
105
|
| Plugin | Verified DeepSeek Harness | What that version is |
|
|
106
106
|
| --- | --- | --- |
|
|
107
|
-
| **`0.4.
|
|
107
|
+
| **`0.4.4`** | `0.2.1-alpha.3` | Declares DeepSeek Harness `0.2.1-alpha.3` compatible — one `dshReleases` line, since `>=0.1.7-rc.1 <0.3.0` already admitted it. No source change: every interface it binds is unchanged, and the running `0.4.3` was already booting and delivering on `0.2.1-alpha.3` |
|
|
108
|
+
| `0.4.3` | `0.2.1-alpha.1` | The 「通知位置」and「提示音」dropdowns pin their own 13px instead of following the host's content font size, which made them render larger than their own labels. Client half only |
|
|
108
109
|
| `0.4.2` | `0.2.1-alpha.1` | A task that asked for your approval is announced again when it finishes (since `0.3.2` those completions were withheld forever), and `0.2.0-rc.2` / `0.2.1-alpha.1` are declared compatible — one `dshReleases` line each, since `>=0.1.7-rc.1 <0.3.0` already admitted them |
|
|
109
110
|
| `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 |
|
|
110
111
|
| `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 |
|
|
@@ -122,7 +123,7 @@ Current release: plugin **`0.4.3`** is verified against DeepSeek Harness **`0.2.
|
|
|
122
123
|
- 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.
|
|
123
124
|
- **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.
|
|
124
125
|
- `@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.
|
|
125
|
-
- **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` as of `0.4.
|
|
126
|
+
- **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` as of `0.4.4`) 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.
|
|
126
127
|
|
|
127
128
|
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.
|
|
128
129
|
|
|
@@ -153,8 +154,8 @@ npm run pack:check # publish preconditions + client registration check
|
|
|
153
154
|
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:
|
|
154
155
|
|
|
155
156
|
```sh
|
|
156
|
-
git tag v0.4.
|
|
157
|
-
git push origin v0.4.
|
|
157
|
+
git tag v0.4.4
|
|
158
|
+
git push origin v0.4.4
|
|
158
159
|
```
|
|
159
160
|
|
|
160
161
|
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.1--alpha.
|
|
9
|
+
<img src="https://img.shields.io/badge/DSH-0.2.1--alpha.3-4B6BFB" alt="DSH 0.2.1-alpha.3">
|
|
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.2.1-alpha.
|
|
49
|
+
- 已验证的 DeepSeek Harness:`0.2.1-alpha.3`
|
|
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.4`** 已在 DeepSeek Harness **`0.2.1-alpha.3`** 上验证。
|
|
104
104
|
|
|
105
105
|
| 插件 | 已验证的 DeepSeek Harness | 这一版是什么 |
|
|
106
106
|
| --- | --- | --- |
|
|
107
|
-
| **`0.4.
|
|
107
|
+
| **`0.4.4`** | `0.2.1-alpha.3` | 声明兼容 DeepSeek Harness `0.2.1-alpha.3`——只加一行 `dshReleases`,因为 `>=0.1.7-rc.1 <0.3.0` 本来就接纳它。无源码改动:它绑定的接口都没有变化,而且正在运行的 `0.4.3` 本来就已经在 `0.2.1-alpha.3` 上正常启动并投递通知 |
|
|
108
|
+
| `0.4.3` | `0.2.1-alpha.1` | 「通知位置」与「提示音」两个下拉框改为固定 13px,不再跟随宿主的正文字号而比自己的标签还大。只动客户端半边 |
|
|
108
109
|
| `0.4.2` | `0.2.1-alpha.1` | 走了审批的任务在完成时重新会通知(自 `0.3.2` 起这类完成通知被永久吞掉);同时声明兼容 `0.2.0-rc.2` 与 `0.2.1-alpha.1`——各一行 `dshReleases`,因为 `>=0.1.7-rc.1 <0.3.0` 本来就接纳它们 |
|
|
109
110
|
| `0.4.1` | `0.2.0-rc.1` | 兼容性跟进:声明支持 DSH `0.2.0` 线(`>=0.1.7-rc.1 <0.3.0`),`0.2.0` 正式版发布时插件不会再在 profile 加载阶段被丢弃。无源码改动——它绑定的接口都没有变化 |
|
|
110
111
|
| `0.4.0` | `0.1.7-rc.2` | 设置 → 通知新增在线版本检测:当前版本 vs npm 最新版、手动**检查更新**(`?force=1`)、仓库/更新日志/Issue 入口,以及可复制的升级命令——只读、带缓存,绝不自动安装、绝不重启 |
|
|
@@ -122,7 +123,7 @@ dsh plugin --profile web add "link:$(pwd)"
|
|
|
122
123
|
- 两处声明决定插件能否加载:`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` 正式版上正是如此。
|
|
123
124
|
- **交互门禁只在「还没等到人回答」时压住完成通知。** DSH 的执行审批与计划审批都是在**提问的那个回合内**解决的(`approval.request()` 必须处于打开的回合中并原地等待结果;`exit_plan_mode` 把结论交回同一回合),所以接着干活的回合就是提问的那个回合,它的结束就是用户任务的完成。`0.4.2` 以此为规则;`0.3.2`–`0.4.1` 压掉了整个回合,于是每个带审批的任务都静默丢失完成通知。
|
|
124
125
|
- `@deepseek-ai/schemastery` 是 **peer**,不是普通依赖:DSH 只会把 **link 形态**插件的 peer 解析到当前安装;若仍写成普通依赖,`link:` 安装的 Host 半会导入失败。
|
|
125
|
-
- **声明的是「实测验证过的版本」,不是语义化猜测。** `dsh.compatibility.dshReleases` 列出真正启动验证过的每个版本(截至 `0.4.
|
|
126
|
+
- **声明的是「实测验证过的版本」,不是语义化猜测。** `dsh.compatibility.dshReleases` 列出真正启动验证过的每个版本(截至 `0.4.4`:`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`),一旦其中某个落在声明范围之外,`npm run pack:check` 会直接失败。
|
|
126
127
|
|
|
127
128
|
同时在 390px 手机视口检查:设置控件会重排,Toast 会满宽显示且不会被移动端侧栏遮挡。
|
|
128
129
|
|
|
@@ -153,8 +154,8 @@ npm run pack:check # 发布前置条件 + 客户端注册校验
|
|
|
153
154
|
发版由 tag 驱动。更新 `package.json`、将对应 CHANGELOG 段落移出 `Unreleased`、编写 `release-notes/v<版本>.md` 后,推送发版提交与 tag:
|
|
154
155
|
|
|
155
156
|
```sh
|
|
156
|
-
git tag v0.4.
|
|
157
|
-
git push origin v0.4.
|
|
157
|
+
git tag v0.4.4
|
|
158
|
+
git push origin v0.4.4
|
|
158
159
|
```
|
|
159
160
|
|
|
160
161
|
发版工作流会运行 `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.4",
|
|
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",
|
|
@@ -40,7 +40,8 @@
|
|
|
40
40
|
"0.1.7-rc.2": "compatible",
|
|
41
41
|
"0.2.0-rc.1": "compatible",
|
|
42
42
|
"0.2.0-rc.2": "compatible",
|
|
43
|
-
"0.2.1-alpha.1": "compatible"
|
|
43
|
+
"0.2.1-alpha.1": "compatible",
|
|
44
|
+
"0.2.1-alpha.3": "compatible"
|
|
44
45
|
}
|
|
45
46
|
}
|
|
46
47
|
},
|