dsh-messager 0.2.0 → 0.2.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/README.en.md +8 -0
- package/README.md +15 -0
- package/package.json +116 -30
package/README.en.md
CHANGED
|
@@ -178,6 +178,14 @@ pnpm typecheck # host side
|
|
|
178
178
|
pnpm build # host tsc + client declarations + client bundle (lib/)
|
|
179
179
|
```
|
|
180
180
|
|
|
181
|
+
## Version compatibility (DSH 0.1.1-rc.2+ / APIProxy → @Remote)
|
|
182
|
+
|
|
183
|
+
- Starting with **v0.2.1**, all `@deepseek-ai/dsh-*` peerDependencies are upgraded from `0.1.0-rc.6` to **`0.1.1-rc.2`** (the current npm release line), matching DSH's migration away from the legacy APIProxy surface toward the unified **@Remote gateway**.
|
|
184
|
+
- Compatibility notes:
|
|
185
|
+
- **No source changes were required in the plugin**: client-side event subscription already uses `ctx.remote.$on` (@Remote/Typert), and config reads/writes go through the plugin's own webserver route `/dsh-messager/config` — neither depends on the old APIProxy surface.
|
|
186
|
+
- `peerDependencies` now includes all type-surface peers required by `dsh-api-remotes@0.1.1-rc.2` (api-gateway / credentials / llm / commands / typert-registry, etc.), so client-side Typert declaration merging stays complete (forwarded events such as `settings/document-updated` can be subscribed with full typings).
|
|
187
|
+
- Newer DSH Web settings has a namespace allowlist (`WEB_SETTINGS_NAMESPACES`): for the native DSH settings page to read the `messager` namespace, add `messager` to that allowlist in DSH source if needed — the plugin's own settings route is not restricted by it.
|
|
188
|
+
|
|
181
189
|
## Known limitations
|
|
182
190
|
|
|
183
191
|
- Browser notifications require site permission; with `onlyWhenHidden=false` they also pop while visible.
|
package/README.md
CHANGED
|
@@ -209,6 +209,21 @@ pnpm typecheck # host 端
|
|
|
209
209
|
pnpm build # host tsc + client 声明 + client bundle(lib/)
|
|
210
210
|
```
|
|
211
211
|
|
|
212
|
+
## 版本兼容(DSH 0.1.1-rc.2+ / APIProxy → @Remote)
|
|
213
|
+
|
|
214
|
+
- 本插件自 **v0.2.1** 起将全部 @deepseek-ai/dsh-* peerDependencies 从 `0.1.0-rc.6` 升级到
|
|
215
|
+
**`0.1.1-rc.2`**(npm 当前最新),对应 DSH「旧版调用接口 APIProxy 已迁移并移除,统一使用
|
|
216
|
+
@Remote 网关」的版本线;
|
|
217
|
+
- 兼容性要点:
|
|
218
|
+
- 插件**无需源码改造**:客户端事件订阅本就走 `ctx.remote.$on`(@Remote/Typert),
|
|
219
|
+
配置读写走插件自有 webServer 路由 `/dsh-messager/config`,均不依赖旧 APIProxy 面;
|
|
220
|
+
- `peerDependencies` 补齐了 `dsh-api-remotes@0.1.1-rc.2` 所需的全部类型面 peer
|
|
221
|
+
(api-gateway / credentials / llm / commands / typert-registry 等),保证 client 端
|
|
222
|
+
Typert 类型声明合并完整(`settings/document-updated` 等转发事件可类型化订阅);
|
|
223
|
+
- 新版 DSH 的 Web 设置面有命名空间白名单(`WEB_SETTINGS_NAMESPACES`):要让 DSH
|
|
224
|
+
原生设置面读取 `messager` 命名空间,需在 DSH 源码该白名单中加入 `messager`
|
|
225
|
+
(插件自身设置路由不受此限制)。
|
|
226
|
+
|
|
212
227
|
## 已知边界
|
|
213
228
|
|
|
214
229
|
- 浏览器通知需站点权限;`onlyWhenHidden=false` 时页面可见也会弹。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-messager",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "DeepSeek Harness 通知插件:会话交互/任务完成/出错时通过系统通知、浏览器通知、飞书/企业微信/Discord/钉钉/Telegram 推送提醒",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -38,37 +38,123 @@
|
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
41
|
-
"@deepseek-ai/dsh-agent": "0.1.
|
|
42
|
-
"@deepseek-ai/dsh-api-remotes": "0.1.
|
|
43
|
-
"@deepseek-ai/dsh-client-connection": "0.1.
|
|
44
|
-
"@deepseek-ai/dsh-client-locale": "0.1.
|
|
45
|
-
"@deepseek-ai/dsh-client-runtime": "0.1.
|
|
46
|
-
"@deepseek-ai/dsh-client-ui-primitives": "0.1.
|
|
47
|
-
"@deepseek-ai/dsh-client-ui-settings": "0.1.
|
|
48
|
-
"@deepseek-ai/dsh-client-ui-slots": "0.1.
|
|
49
|
-
"@deepseek-ai/dsh-host-webserver": "0.1.
|
|
50
|
-
"@deepseek-ai/dsh-session": "0.1.
|
|
51
|
-
"@deepseek-ai/dsh-session-title": "0.1.
|
|
52
|
-
"@deepseek-ai/dsh-settings": "0.1.
|
|
53
|
-
"@deepseek-ai/dsh-user-approval": "0.1.
|
|
54
|
-
"@deepseek-ai/schemastery": "^3.18.1"
|
|
41
|
+
"@deepseek-ai/dsh-agent": "0.1.1-rc.2",
|
|
42
|
+
"@deepseek-ai/dsh-api-remotes": "0.1.1-rc.2",
|
|
43
|
+
"@deepseek-ai/dsh-client-connection": "0.1.1-rc.2",
|
|
44
|
+
"@deepseek-ai/dsh-client-locale": "0.1.1-rc.2",
|
|
45
|
+
"@deepseek-ai/dsh-client-runtime": "0.1.1-rc.2",
|
|
46
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.1.1-rc.2",
|
|
47
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.1.1-rc.2",
|
|
48
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.1.1-rc.2",
|
|
49
|
+
"@deepseek-ai/dsh-host-webserver": "0.1.1-rc.2",
|
|
50
|
+
"@deepseek-ai/dsh-session": "0.1.1-rc.2",
|
|
51
|
+
"@deepseek-ai/dsh-session-title": "0.1.1-rc.2",
|
|
52
|
+
"@deepseek-ai/dsh-settings": "0.1.1-rc.2",
|
|
53
|
+
"@deepseek-ai/dsh-user-approval": "0.1.1-rc.2",
|
|
54
|
+
"@deepseek-ai/schemastery": "^3.18.1",
|
|
55
|
+
"@deepseek-ai/dsh-api-gateway": "0.1.1-rc.2",
|
|
56
|
+
"@deepseek-ai/dsh-agent-presets": "0.1.1-rc.2",
|
|
57
|
+
"@deepseek-ai/dsh-commands": "0.1.1-rc.2",
|
|
58
|
+
"@deepseek-ai/dsh-credentials": "0.1.1-rc.2",
|
|
59
|
+
"@deepseek-ai/dsh-file-reference": "0.1.1-rc.2",
|
|
60
|
+
"@deepseek-ai/dsh-goal": "0.1.1-rc.2",
|
|
61
|
+
"@deepseek-ai/dsh-host-plugin-inventory": "0.1.1-rc.2",
|
|
62
|
+
"@deepseek-ai/dsh-invariants": "0.1.1-rc.2",
|
|
63
|
+
"@deepseek-ai/dsh-llm": "0.1.1-rc.2",
|
|
64
|
+
"@deepseek-ai/dsh-cordis-host-runner": "0.1.1-rc.2",
|
|
65
|
+
"@deepseek-ai/dsh-message-feedback": "0.1.1-rc.2",
|
|
66
|
+
"@deepseek-ai/dsh-session-persistence": "0.1.1-rc.2",
|
|
67
|
+
"@deepseek-ai/dsh-session-reference": "0.1.1-rc.2",
|
|
68
|
+
"@deepseek-ai/dsh-typert-registry": "0.1.1-rc.2"
|
|
55
69
|
},
|
|
56
70
|
"peerDependenciesMeta": {
|
|
57
|
-
"@deepseek-ai/cordis": {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
"@deepseek-ai/dsh-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"@deepseek-ai/dsh-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"@deepseek-ai/dsh-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
"@deepseek-ai/dsh-
|
|
70
|
-
|
|
71
|
-
|
|
71
|
+
"@deepseek-ai/cordis": {
|
|
72
|
+
"optional": true
|
|
73
|
+
},
|
|
74
|
+
"@deepseek-ai/dsh-agent": {
|
|
75
|
+
"optional": true
|
|
76
|
+
},
|
|
77
|
+
"@deepseek-ai/dsh-api-remotes": {
|
|
78
|
+
"optional": true
|
|
79
|
+
},
|
|
80
|
+
"@deepseek-ai/dsh-client-connection": {
|
|
81
|
+
"optional": true
|
|
82
|
+
},
|
|
83
|
+
"@deepseek-ai/dsh-client-locale": {
|
|
84
|
+
"optional": true
|
|
85
|
+
},
|
|
86
|
+
"@deepseek-ai/dsh-client-runtime": {
|
|
87
|
+
"optional": true
|
|
88
|
+
},
|
|
89
|
+
"@deepseek-ai/dsh-client-ui-primitives": {
|
|
90
|
+
"optional": true
|
|
91
|
+
},
|
|
92
|
+
"@deepseek-ai/dsh-client-ui-settings": {
|
|
93
|
+
"optional": true
|
|
94
|
+
},
|
|
95
|
+
"@deepseek-ai/dsh-client-ui-slots": {
|
|
96
|
+
"optional": true
|
|
97
|
+
},
|
|
98
|
+
"@deepseek-ai/dsh-host-webserver": {
|
|
99
|
+
"optional": true
|
|
100
|
+
},
|
|
101
|
+
"@deepseek-ai/dsh-session": {
|
|
102
|
+
"optional": true
|
|
103
|
+
},
|
|
104
|
+
"@deepseek-ai/dsh-session-title": {
|
|
105
|
+
"optional": true
|
|
106
|
+
},
|
|
107
|
+
"@deepseek-ai/dsh-settings": {
|
|
108
|
+
"optional": true
|
|
109
|
+
},
|
|
110
|
+
"@deepseek-ai/dsh-user-approval": {
|
|
111
|
+
"optional": true
|
|
112
|
+
},
|
|
113
|
+
"@deepseek-ai/schemastery": {
|
|
114
|
+
"optional": true
|
|
115
|
+
},
|
|
116
|
+
"@deepseek-ai/dsh-api-gateway": {
|
|
117
|
+
"optional": true
|
|
118
|
+
},
|
|
119
|
+
"@deepseek-ai/dsh-agent-presets": {
|
|
120
|
+
"optional": true
|
|
121
|
+
},
|
|
122
|
+
"@deepseek-ai/dsh-commands": {
|
|
123
|
+
"optional": true
|
|
124
|
+
},
|
|
125
|
+
"@deepseek-ai/dsh-credentials": {
|
|
126
|
+
"optional": true
|
|
127
|
+
},
|
|
128
|
+
"@deepseek-ai/dsh-file-reference": {
|
|
129
|
+
"optional": true
|
|
130
|
+
},
|
|
131
|
+
"@deepseek-ai/dsh-goal": {
|
|
132
|
+
"optional": true
|
|
133
|
+
},
|
|
134
|
+
"@deepseek-ai/dsh-host-plugin-inventory": {
|
|
135
|
+
"optional": true
|
|
136
|
+
},
|
|
137
|
+
"@deepseek-ai/dsh-invariants": {
|
|
138
|
+
"optional": true
|
|
139
|
+
},
|
|
140
|
+
"@deepseek-ai/dsh-llm": {
|
|
141
|
+
"optional": true
|
|
142
|
+
},
|
|
143
|
+
"@deepseek-ai/dsh-cordis-host-runner": {
|
|
144
|
+
"optional": true
|
|
145
|
+
},
|
|
146
|
+
"@deepseek-ai/dsh-message-feedback": {
|
|
147
|
+
"optional": true
|
|
148
|
+
},
|
|
149
|
+
"@deepseek-ai/dsh-session-persistence": {
|
|
150
|
+
"optional": true
|
|
151
|
+
},
|
|
152
|
+
"@deepseek-ai/dsh-session-reference": {
|
|
153
|
+
"optional": true
|
|
154
|
+
},
|
|
155
|
+
"@deepseek-ai/dsh-typert-registry": {
|
|
156
|
+
"optional": true
|
|
157
|
+
}
|
|
72
158
|
},
|
|
73
159
|
"devDependencies": {
|
|
74
160
|
"@types/node": "^26.2.0",
|