@idoall/dsh-notify 0.4.2 → 0.4.3
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 +12 -0
- package/README.md +5 -4
- package/README.zh.md +5 -4
- package/dist/client.js +5 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
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.3] - 2026-10-06
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- **The two settings dropdowns no longer render larger than the labels beside them.** 「通知位置」and「提示音」were the only controls in the section that did not pin their own type size: `.dsh-notify-select` used a bare `font: inherit`, so they followed the host's content font size — `--dsh-content-font-size`, 14px by default and user-settable from 10px to 22px — while every label, hint, toggle, segmented button and action button around them is pinned (13px/12px). The select now states `font-size: 13px` after `font: inherit`, matching its own card, and still inherits the family from the host. No other control was affected: every other `select` in the plugin already sat inside a container that pinned 13px.
|
|
10
|
+
|
|
11
|
+
### Verified
|
|
12
|
+
|
|
13
|
+
- `npm run typecheck` gained a static guard: `.dsh-notify-select` must declare its own `font-size`, so the control cannot silently go back to scaling with the host's content font size.
|
|
14
|
+
- Full verification passed: static source checks, **110 automated tests**, build, and package precondition checks.
|
|
15
|
+
- Counter-proof: removing `font-size: 13px` from the rule fails `npm run typecheck` with `the settings select must pin its own font-size, not inherit the host content font size`; restoring it passes.
|
|
16
|
+
|
|
5
17
|
## [0.4.2] - 2026-10-06
|
|
6
18
|
|
|
7
19
|
### Fixed
|
package/README.md
CHANGED
|
@@ -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.3`** is verified against DeepSeek Harness **`0.2.1-alpha.1`**.
|
|
104
104
|
|
|
105
105
|
| Plugin | Verified DeepSeek Harness | What that version is |
|
|
106
106
|
| --- | --- | --- |
|
|
107
|
-
| **`0.4.
|
|
107
|
+
| **`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
|
+
| `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 |
|
|
108
109
|
| `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 |
|
|
109
110
|
| `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 |
|
|
110
111
|
| `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) |
|
|
@@ -152,8 +153,8 @@ npm run pack:check # publish preconditions + client registration check
|
|
|
152
153
|
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:
|
|
153
154
|
|
|
154
155
|
```sh
|
|
155
|
-
git tag v0.4.
|
|
156
|
-
git push origin v0.4.
|
|
156
|
+
git tag v0.4.3
|
|
157
|
+
git push origin v0.4.3
|
|
157
158
|
```
|
|
158
159
|
|
|
159
160
|
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
|
@@ -100,11 +100,12 @@ dsh plugin --profile web add "link:$(pwd)"
|
|
|
100
100
|
|
|
101
101
|
## 兼容性
|
|
102
102
|
|
|
103
|
-
当前发布:插件 **`0.4.
|
|
103
|
+
当前发布:插件 **`0.4.3`** 已在 DeepSeek Harness **`0.2.1-alpha.1`** 上验证。
|
|
104
104
|
|
|
105
105
|
| 插件 | 已验证的 DeepSeek Harness | 这一版是什么 |
|
|
106
106
|
| --- | --- | --- |
|
|
107
|
-
| **`0.4.
|
|
107
|
+
| **`0.4.3`** | `0.2.1-alpha.1` | 「通知位置」与「提示音」两个下拉框改为固定 13px,不再跟随宿主的正文字号而比自己的标签还大。只动客户端半边 |
|
|
108
|
+
| `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` 本来就接纳它们 |
|
|
108
109
|
| `0.4.1` | `0.2.0-rc.1` | 兼容性跟进:声明支持 DSH `0.2.0` 线(`>=0.1.7-rc.1 <0.3.0`),`0.2.0` 正式版发布时插件不会再在 profile 加载阶段被丢弃。无源码改动——它绑定的接口都没有变化 |
|
|
109
110
|
| `0.4.0` | `0.1.7-rc.2` | 设置 → 通知新增在线版本检测:当前版本 vs npm 最新版、手动**检查更新**(`?force=1`)、仓库/更新日志/Issue 入口,以及可复制的升级命令——只读、带缓存,绝不自动安装、绝不重启 |
|
|
110
111
|
| `0.3.4` | `0.1.7-rc.1` | 触发时序修复:失败在 `agent/error` 时即投递(与 `turn/end` 共用同一张卡)、同栈 `idle → running` 抖动不再误报完成、客户端在会话状态变化与标签页重新可见时立即拉取(保留 1.5s 兜底) |
|
|
@@ -152,8 +153,8 @@ npm run pack:check # 发布前置条件 + 客户端注册校验
|
|
|
152
153
|
发版由 tag 驱动。更新 `package.json`、将对应 CHANGELOG 段落移出 `Unreleased`、编写 `release-notes/v<版本>.md` 后,推送发版提交与 tag:
|
|
153
154
|
|
|
154
155
|
```sh
|
|
155
|
-
git tag v0.4.
|
|
156
|
-
git push origin v0.4.
|
|
156
|
+
git tag v0.4.3
|
|
157
|
+
git push origin v0.4.3
|
|
157
158
|
```
|
|
158
159
|
|
|
159
160
|
发版工作流会运行 `npm run verify`、打包插件、通过 npm trusted publishing(OIDC)发布,并创建附带 tarball 与 sha256 的 GitHub Release。
|
package/dist/client.js
CHANGED
|
@@ -250,7 +250,11 @@ window.__ModuleLoader__.load({
|
|
|
250
250
|
.dsh-notify-settings .dsh-notify-toggle input{accent-color:var(--dsw-alias-state-business-primary);flex:0 0 18px;height:18px;margin:1px 0 0;max-width:18px;min-height:18px;min-width:18px;width:18px}
|
|
251
251
|
.dsh-notify-settings .dsh-notify-toggle>span{min-width:0;overflow-wrap:anywhere}
|
|
252
252
|
.dsh-notify-field{display:grid;font-size:13px;font-weight:600;gap:8px;min-width:0}
|
|
253
|
-
|
|
253
|
+
/* A bare font:inherit made this the one control that scaled with the host's content font size
|
|
254
|
+
(--dsh-content-font-size, default 14px and user-settable to 22px), while every label and control
|
|
255
|
+
around it is pinned \u2014 so the two selects sat visibly larger than their own card. Pin the size; the
|
|
256
|
+
inherited family still comes from font:inherit. */
|
|
257
|
+
.dsh-notify-select{background:var(--dsw-specific-input-major,var(--dsw-alias-bg-layer-2));border:1px solid var(--dsw-alias-border-l2);border-radius:8px;color:inherit;font:inherit;font-size:13px;font-weight:400;max-width:100%;min-height:36px;min-width:0;padding:0 10px;width:100%}
|
|
254
258
|
.dsh-notify-actions{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0}
|
|
255
259
|
.dsh-notify-action{background:var(--dsw-alias-button-floating-fill);border:1px solid var(--dsw-alias-border-l2);border-radius:8px;color:inherit;cursor:pointer;font:inherit;font-size:12px;line-height:30px;max-width:100%;min-height:32px;padding:0 10px;touch-action:manipulation}
|
|
256
260
|
.dsh-notify-action:hover:not(:disabled){background:var(--dsw-alias-button-floating-hover)}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@idoall/dsh-notify",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
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",
|