dsh-notify-me 1.1.2 → 1.1.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 +30 -0
- package/LICENSE +21 -21
- package/README.en.md +3 -0
- package/README.md +3 -0
- package/cordis.patch.yml +7 -7
- package/lib/client.js +815 -815
- package/lib/index.js +18 -18
- package/package.json +95 -87
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,34 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to **dsh-notify-me** are documented here.
|
|
4
4
|
|
|
5
|
+
## [未发布]
|
|
6
|
+
|
|
7
|
+
### 文档
|
|
8
|
+
- 新增 `docs/listing.md`:记录各插件目录/市场的收录方式(提交物、合并方式),以及本插件当前的收录状态;并记下 `awesome-dsh-plugin` 站点构建失败的排查入口(`build-site.yml` 最近一次运行 / issue #4731)。
|
|
9
|
+
|
|
10
|
+
## [1.1.4] — 2026-09-13
|
|
11
|
+
|
|
12
|
+
### 修复
|
|
13
|
+
- **插件在 DSH `0.1.2-rc.1` 及以后的运行时上一直没有真正激活**(表现为:桌面端/网页端都不弹提醒、设置里也没有「通知提醒」分区,而启动清单里又能看到条目)。根因是 `dsh.client.inject` 里残留了 `@deepseek-ai/dsh-client-runtime`:该包从 `0.1.2-rc.1` 起已从官方客户端依赖图移除(`sessions` 服务改由 `@deepseek-ai/dsh-client-ui-session` 提供),而客户端条目的 `inject` 目标是**硬门控**——解析不到就停在 `pending (waiting for services: …)`,`apply` 永不执行。1.1.3 为兼容 0.1.0/0.1.1 线而保留该条目,正是这一处让插件在 0.1.2-rc.1 起的版本上全程哑火。
|
|
14
|
+
- 相应地,`dsh.client.inject` 现在只保留 `@deepseek-ai/dsh-client-ui-session` / `@deepseek-ai/dsh-client-locale` / `@deepseek-ai/dsh-client-ui-conversation` 三个官方包。
|
|
15
|
+
|
|
16
|
+
### 变更
|
|
17
|
+
- 兼容声明补到实测激活的 `0.1.5-rc.1` / `0.1.5-rc.2`(DSH Desktop 2.0.9 内置 0.1.5-rc.2 线);`peerDependencies` 范围同步放宽到 `^0.1.5-rc.1`。
|
|
18
|
+
- 兼容性验证口径改为**「插件真的激活」**:在独立 `DSH_HOME` + 独立 profile 里启动目标版本,检查设置页出现本插件注册的「通知提醒」分区,而不只是看启动清单里有没有这个条目。
|
|
19
|
+
|
|
20
|
+
### 更正
|
|
21
|
+
- 1.1.3 的验证记录不成立:当时只确认了「条目进入 `__DSH_BOOT__`、`/plugins/??dsh-notify-me/client.js` 返回 200」,**没有验证插件是否被激活**,因此 `0.1.2-rc.1: compatible` 的声明与事实不符(该版本上插件同样被同一处 inject 门控)。同版条目里「原条目保留,供 0.1.0/0.1.1 线使用」的判断作废——保留即致命。
|
|
22
|
+
|
|
23
|
+
## [1.1.3] — 2026-09-09
|
|
24
|
+
|
|
25
|
+
### 新增
|
|
26
|
+
- **逐版本兼容声明**:`package.json` 增加 `dsh.compatibility.dshReleases`,声明 `0.1.1-rc.2` 与 `0.1.2-rc.1` 为 `compatible`(DSH-Store 目录用该矩阵决定条目是否保持上架)。
|
|
27
|
+
- **0.1.2-rc.1 实测记录**:用独立的 `DSH_HOME` + 临时 profile 启动 0.1.2-rc.1 的 web 应用,插件客户端模块进入 `__DSH_BOOT__`(47 个条目之一),`/plugins/??dsh-notify-me/client.js` 返回 200 且按 `__ModuleLoader__.load` 注册;运行时需要的 `sessions`(0.1.2 起由 `dsh-client-ui-session` 提供)、`locale` 与 `slots`(`dsh-client-locale`)三个服务均存在。
|
|
28
|
+
|
|
29
|
+
### 变更
|
|
30
|
+
- `dsh.client.inject` 补上 `@deepseek-ai/dsh-client-ui-session`:0.1.2-rc.1 已移除 `@deepseek-ai/dsh-client-runtime`,`sessions` 服务改由前者提供(原条目保留,供 0.1.0/0.1.1 线使用)。
|
|
31
|
+
- `peerDependencies` 由 `@deepseek-ai/dsh-client-runtime` 改为实际依赖的 `@deepseek-ai/dsh-client-locale`,范围扩到 `^0.1.2-rc.1`;仍为 optional。
|
|
32
|
+
|
|
5
33
|
## [1.1.2] — 2026-09-08
|
|
6
34
|
|
|
7
35
|
### 变更
|
|
@@ -52,6 +80,8 @@ All notable changes to **dsh-notify-me** are documented here.
|
|
|
52
80
|
<!-- versions -->
|
|
53
81
|
> 1.0.0 与 1.0.1 早于本仓库的 GitHub 标签历史(tag 从 `v1.1.0` 起,且 npm 上只有 1.0.0 / 1.1.0 / 1.1.1),故不附链接。
|
|
54
82
|
|
|
83
|
+
[1.1.4]: https://github.com/chromoany/dsh-notify-me/compare/v1.1.3...v1.1.4
|
|
84
|
+
[1.1.3]: https://github.com/chromoany/dsh-notify-me/compare/v1.1.2...v1.1.3
|
|
55
85
|
[1.1.2]: https://github.com/chromoany/dsh-notify-me/compare/v1.1.1...v1.1.2
|
|
56
86
|
[1.1.1]: https://github.com/chromoany/dsh-notify-me/compare/v1.1.0...v1.1.1
|
|
57
87
|
[1.1.0]: https://github.com/chromoany/dsh-notify-me/releases/tag/v1.1.0
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 chromoany
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 chromoany
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.en.md
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|

|
|
8
8
|

|
|
9
9
|

|
|
10
|
+
[](https://awesome-dsh-plugin.com)
|
|
10
11
|
|
|
11
12
|
---
|
|
12
13
|
|
|
@@ -73,6 +74,8 @@ dsh plugin --profile web add dsh-notify-me
|
|
|
73
74
|
|
|
74
75
|
Restart `dsh web`, then hard-refresh the page (Ctrl+Shift+R).
|
|
75
76
|
|
|
77
|
+
**Compatibility** — verified to actually activate on `0.1.2-rc.1` and `0.1.5-rc.2` (each booted in its own profile: the Settings → Notifications section registers, i.e. the plugin's `apply` really runs), and previously on `0.1.1-rc.2`. Per-release declarations live in `package.json` under `dsh.compatibility.dshReleases`. If a plugin's client entry lists a package that a newer runtime no longer ships in `dsh.client.inject`, the entry parks at `pending (waiting for services: …)` and never runs — which is what broke 1.1.3 on `0.1.2-rc.1` and later.
|
|
78
|
+
|
|
76
79
|
**Verify** — open the DevTools console and run:
|
|
77
80
|
|
|
78
81
|
```js
|
package/README.md
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|

|
|
8
8
|

|
|
9
9
|

|
|
10
|
+
[](https://awesome-dsh-plugin.com)
|
|
10
11
|
|
|
11
12
|
---
|
|
12
13
|
|
|
@@ -73,6 +74,8 @@ dsh plugin --profile web add dsh-notify-me
|
|
|
73
74
|
|
|
74
75
|
重启 `dsh web` 后硬刷新页面(Ctrl+Shift+R)。
|
|
75
76
|
|
|
77
|
+
**兼容性** — 实测**真正激活**(各自独立 profile 启动:设置里出现「通知提醒」分区,即插件的 `apply` 确实执行)于 `0.1.2-rc.1` 与 `0.1.5-rc.2`;更早的 `0.1.1-rc.2` 亦验证过。逐版本声明见 `package.json` 的 `dsh.compatibility.dshReleases`。注意一个坑:若 `dsh.client.inject` 里列了新版运行时已不再提供的包,客户端条目会停在 `pending (waiting for services: …)` 而永不执行——1.1.3 在 `0.1.2-rc.1` 及以后正是这样失效的。
|
|
78
|
+
|
|
76
79
|
**验证** — F12 控制台执行:
|
|
77
80
|
|
|
78
81
|
```js
|
package/cordis.patch.yml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# dsh-notify-me profile patch layer — insert one loader entry for the
|
|
2
|
-
# plugin package. The entry is a normal cordis loader entry (id + package
|
|
3
|
-
# name); the browser half is picked up by dsh-client-modules through the
|
|
4
|
-
# package's dsh.client declaration, exactly like the shipped ui-* packages.
|
|
5
|
-
- insert:
|
|
6
|
-
- id: notify-me
|
|
7
|
-
name: 'dsh-notify-me'
|
|
1
|
+
# dsh-notify-me profile patch layer — insert one loader entry for the
|
|
2
|
+
# plugin package. The entry is a normal cordis loader entry (id + package
|
|
3
|
+
# name); the browser half is picked up by dsh-client-modules through the
|
|
4
|
+
# package's dsh.client declaration, exactly like the shipped ui-* packages.
|
|
5
|
+
- insert:
|
|
6
|
+
- id: notify-me
|
|
7
|
+
name: 'dsh-notify-me'
|