dsh-notify-me 1.2.0 → 1.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/CHANGELOG.md +8 -0
- package/lib/client.js +6 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to **dsh-notify-me** are documented here.
|
|
4
4
|
|
|
5
|
+
## [1.2.1] — 2026-10-03
|
|
6
|
+
|
|
7
|
+
### 修复
|
|
8
|
+
- **提示音叠着响两声**:`new Notification(...)` 没带 `silent: true`,平台自带通知音与插件自己的 WebAudio 提示音各响一遍。现在通知一律静音,声音统一由插件承担(attention / done 两种音型、音量设置不变);设置页「提示音」关掉即完全安静。
|
|
9
|
+
|
|
10
|
+
### 变更
|
|
11
|
+
- `smoke/cordis-host-test.mjs` 借用 cordis 的探测路径补上 `~/.dsh/profiles/node_modules`(`healProfilesModuleFallback` 维护的平铺回退目录):此前只探测 `profiles/web/node_modules`,多数机器上最强的那套真 cordis 端到端用例会静默跳过。
|
|
12
|
+
|
|
5
13
|
## [1.2.0] — 2026-09-30
|
|
6
14
|
|
|
7
15
|
### 修复
|
package/lib/client.js
CHANGED
|
@@ -207,6 +207,11 @@ window.__ModuleLoader__.load({
|
|
|
207
207
|
body: body || "",
|
|
208
208
|
tag: "dsh-notify-me-" + kind,
|
|
209
209
|
renotify: true,
|
|
210
|
+
// The plugin owns the audio: its WebAudio cues already differ per
|
|
211
|
+
// kind (attention vs done) and answer the Sound toggle and volume
|
|
212
|
+
// slider. Without this flag the platform plays its own chime on top
|
|
213
|
+
// of the beep — two sounds stacked on one alert.
|
|
214
|
+
silent: true,
|
|
210
215
|
icon: (location.origin || "") + "/favicon.svg"
|
|
211
216
|
});
|
|
212
217
|
if (config.autoFocus) {
|
|
@@ -843,7 +848,7 @@ window.__ModuleLoader__.load({
|
|
|
843
848
|
});
|
|
844
849
|
} catch (e) {}
|
|
845
850
|
// keep in sync with package.json "version" on every release
|
|
846
|
-
api.version = "1.2.
|
|
851
|
+
api.version = "1.2.1";
|
|
847
852
|
api.setConfig = function (patch) { return setConfigLocal(patch); };
|
|
848
853
|
api.resetConfig = function () {
|
|
849
854
|
try { localStorage.removeItem(LS_CONFIG); } catch (e) {}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-notify-me",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "DSH 桌面消息提醒插件:模型需要你操作(审批/方案确认/提问的可操作提醒)或回复在后台完成时,系统通知+提示音+标签页标题提醒你;可在设置页开关并切换通知语言。Desktop notification & message alerts for DeepSeek Harness web — toasts, sounds and a tab-title marker when the agent needs your input (approval / plan review / question) or a reply finishes in the background; toggleable from Settings with zh/en notification language.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|