@idoall/dsh-notify 0.4.4 → 0.4.5
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 +7 -6
- 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.5] - 2026-10-16
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- **Declared DeepSeek Harness `0.2.1-alpha.4` compatible.** `dsh.compatibility.dshReleases` gains `0.2.1-alpha.4` after `0.2.1-alpha.3`. 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.4`, and no range widening, exemption or code change was needed.
|
|
10
|
+
|
|
11
|
+
### Verified
|
|
12
|
+
|
|
13
|
+
- **Every package this plugin binds is byte-identical across `0.2.1-alpha.3` → `0.2.1-alpha.4`, with one additive exception.** Comparing the published packages field by field, `dsh-host-webserver`, `dsh-client-connection`, `dsh-jobs`, `dsh-client-ui-renderer`, `dsh-client-ui-layout`, `dsh-client-ui-settings`, `dsh-client-ui-session`, `dsh-session`, `dsh-llm`, `dsh-tool-workflow`, `dsh-workflow`, `dsh-agent-loop`, `dsh-agent`, `dsh-user-questions` and `dsh-tools` carry no source change at all. Only `dsh-client-ui-settings-general` differs, and what it adds is off this plugin's paths: a Host release change prompt (`HostReleasePrompt`) with its `hostRelease.*` locale keys, plus a cosmetic renumbering of the bundled CSS variables. The `settings.section` and `shell.overlay` seats this plugin mounts into are untouched.
|
|
14
|
+
- **A real profile on `0.2.1-alpha.4` admitted this plugin.** The loader disabled the `browser-use` and `browser-use-playwright-mcp` rows and no others, and no exact-version exemption was needed or granted for `@idoall/dsh-notify`.
|
|
15
|
+
- **Host half live on `0.2.1-alpha.4`:** `/plugins/dsh-notify/health` answered `guiAvailable: true` with `services.jobs: "reflected"` and `eventErrors: 0`; `/config`, `/sounds` and `/update` (real npm registry: running `0.4.4`, newest `0.4.4`) all answered 200.
|
|
16
|
+
- **Client half live on `0.2.1-alpha.4`:** the page lists `@idoall/dsh-notify/client.js` in its plugin bundle, and the served combo bundle answered `200` (4.4 MB) carrying 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.4] - 2026-10-15
|
|
6
20
|
|
|
7
21
|
### 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.1--alpha.
|
|
9
|
+
<img src="https://img.shields.io/badge/DSH-0.2.1--alpha.4-4B6BFB" alt="DSH 0.2.1-alpha.4">
|
|
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.4`
|
|
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.5`** is verified against DeepSeek Harness **`0.2.1-alpha.4`**.
|
|
104
104
|
|
|
105
105
|
| Plugin | Verified DeepSeek Harness | What that version is |
|
|
106
106
|
| --- | --- | --- |
|
|
107
|
-
| **`0.4.
|
|
107
|
+
| **`0.4.5`** | `0.2.1-alpha.4` | Declares DeepSeek Harness `0.2.1-alpha.4` compatible — one `dshReleases` line, since `>=0.1.7-rc.1 <0.3.0` already admitted it. No source change: every package it binds is byte-identical across `0.2.1-alpha.3` → `0.2.1-alpha.4` except `dsh-client-ui-settings-general`, whose only additions are a Host release prompt and its locale keys |
|
|
108
|
+
| `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
109
|
| `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 |
|
|
109
110
|
| `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 |
|
|
110
111
|
| `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 |
|
|
@@ -123,7 +124,7 @@ Current release: plugin **`0.4.4`** is verified against DeepSeek Harness **`0.2.
|
|
|
123
124
|
- 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.
|
|
124
125
|
- **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.
|
|
125
126
|
- `@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.
|
|
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.
|
|
127
|
+
- **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` as of `0.4.5`) 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.
|
|
127
128
|
|
|
128
129
|
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.
|
|
129
130
|
|
|
@@ -154,8 +155,8 @@ npm run pack:check # publish preconditions + client registration check
|
|
|
154
155
|
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:
|
|
155
156
|
|
|
156
157
|
```sh
|
|
157
|
-
git tag v0.4.
|
|
158
|
-
git push origin v0.4.
|
|
158
|
+
git tag v0.4.5
|
|
159
|
+
git push origin v0.4.5
|
|
159
160
|
```
|
|
160
161
|
|
|
161
162
|
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
|
@@ -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.4`
|
|
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.5`** 已在 DeepSeek Harness **`0.2.1-alpha.4`** 上验证。
|
|
104
104
|
|
|
105
105
|
| 插件 | 已验证的 DeepSeek Harness | 这一版是什么 |
|
|
106
106
|
| --- | --- | --- |
|
|
107
|
-
| **`0.4.
|
|
107
|
+
| **`0.4.5`** | `0.2.1-alpha.4` | 声明兼容 DeepSeek Harness `0.2.1-alpha.4`——只加一行 `dshReleases`,因为 `>=0.1.7-rc.1 <0.3.0` 本来就接纳它。无源码改动:它绑定的每个包在 `0.2.1-alpha.3` → `0.2.1-alpha.4` 之间都是逐字节相同的,只有 `dsh-client-ui-settings-general` 变了,而那里新增的只是宿主版本变更提示及其本地化文案 |
|
|
108
|
+
| `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
109
|
| `0.4.3` | `0.2.1-alpha.1` | 「通知位置」与「提示音」两个下拉框改为固定 13px,不再跟随宿主的正文字号而比自己的标签还大。只动客户端半边 |
|
|
109
110
|
| `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` 本来就接纳它们 |
|
|
110
111
|
| `0.4.1` | `0.2.0-rc.1` | 兼容性跟进:声明支持 DSH `0.2.0` 线(`>=0.1.7-rc.1 <0.3.0`),`0.2.0` 正式版发布时插件不会再在 profile 加载阶段被丢弃。无源码改动——它绑定的接口都没有变化 |
|
|
@@ -123,7 +124,7 @@ dsh plugin --profile web add "link:$(pwd)"
|
|
|
123
124
|
- 两处声明决定插件能否加载:`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` 正式版上正是如此。
|
|
124
125
|
- **交互门禁只在「还没等到人回答」时压住完成通知。** DSH 的执行审批与计划审批都是在**提问的那个回合内**解决的(`approval.request()` 必须处于打开的回合中并原地等待结果;`exit_plan_mode` 把结论交回同一回合),所以接着干活的回合就是提问的那个回合,它的结束就是用户任务的完成。`0.4.2` 以此为规则;`0.3.2`–`0.4.1` 压掉了整个回合,于是每个带审批的任务都静默丢失完成通知。
|
|
125
126
|
- `@deepseek-ai/schemastery` 是 **peer**,不是普通依赖:DSH 只会把 **link 形态**插件的 peer 解析到当前安装;若仍写成普通依赖,`link:` 安装的 Host 半会导入失败。
|
|
126
|
-
- **声明的是「实测验证过的版本」,不是语义化猜测。** `dsh.compatibility.dshReleases` 列出真正启动验证过的每个版本(截至 `0.4.
|
|
127
|
+
- **声明的是「实测验证过的版本」,不是语义化猜测。** `dsh.compatibility.dshReleases` 列出真正启动验证过的每个版本(截至 `0.4.5`:`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`),一旦其中某个落在声明范围之外,`npm run pack:check` 会直接失败。
|
|
127
128
|
|
|
128
129
|
同时在 390px 手机视口检查:设置控件会重排,Toast 会满宽显示且不会被移动端侧栏遮挡。
|
|
129
130
|
|
|
@@ -154,8 +155,8 @@ npm run pack:check # 发布前置条件 + 客户端注册校验
|
|
|
154
155
|
发版由 tag 驱动。更新 `package.json`、将对应 CHANGELOG 段落移出 `Unreleased`、编写 `release-notes/v<版本>.md` 后,推送发版提交与 tag:
|
|
155
156
|
|
|
156
157
|
```sh
|
|
157
|
-
git tag v0.4.
|
|
158
|
-
git push origin v0.4.
|
|
158
|
+
git tag v0.4.5
|
|
159
|
+
git push origin v0.4.5
|
|
159
160
|
```
|
|
160
161
|
|
|
161
162
|
发版工作流会运行 `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.5",
|
|
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",
|
|
@@ -41,7 +41,8 @@
|
|
|
41
41
|
"0.2.0-rc.1": "compatible",
|
|
42
42
|
"0.2.0-rc.2": "compatible",
|
|
43
43
|
"0.2.1-alpha.1": "compatible",
|
|
44
|
-
"0.2.1-alpha.3": "compatible"
|
|
44
|
+
"0.2.1-alpha.3": "compatible",
|
|
45
|
+
"0.2.1-alpha.4": "compatible"
|
|
45
46
|
}
|
|
46
47
|
}
|
|
47
48
|
},
|