dsh-plugin-notify-sounds 1.6.0 → 1.6.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.md +8 -5
- package/README.zh.md +8 -5
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -19,6 +19,10 @@ dsh-plugin-notify-sounds
|
|
|
19
19
|
|
|
20
20
|
---
|
|
21
21
|
|
|
22
|
+
## Consistent with DSH's own UI
|
|
23
|
+
|
|
24
|
+
Every visual detail of the settings section comes from DSH's own design system: row geometry, dividers, type sizes and spacing use the official design tokens, the sound picker is the official `Menu` primitive, the icons come from the official family, and the layout follows the native text-left, control-right row shape. Installing it does not introduce a visually disjoint third-party block into your settings.
|
|
25
|
+
|
|
22
26
|
## What it does
|
|
23
27
|
|
|
24
28
|
| What | What you get |
|
|
@@ -40,11 +44,9 @@ This plugin turns "it is waiting for you" and "it is done" into sound. With syst
|
|
|
40
44
|
|
|
41
45
|
## Sounds
|
|
42
46
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
Bell · Chime · Ding · Drop · Pulse · Arc · Coin · Success · Knock
|
|
47
|
+
Bell · Chime · Ding · Drop · Pulse · Arc · Coin · Success · Knock — nine built-in sounds, all synthesized live with Web Audio: no audio files, no network requests.
|
|
46
48
|
|
|
47
|
-
Or upload your own ringtone (mp3/wav/ogg, ≤512KB, validated and volume-normalized automatically), or pick "None" for notifications only. Each trigger (approval / question / completion)
|
|
49
|
+
Or upload your own ringtone (mp3/wav/ogg, ≤512KB, validated and volume-normalized automatically), or pick "None" for notifications only. Each trigger (approval / question / completion) gets its own sound, with preview right in the settings.
|
|
48
50
|
|
|
49
51
|
## Settings
|
|
50
52
|
|
|
@@ -72,7 +74,7 @@ The "install source" dropdown above the box picks the download mirror (mainland
|
|
|
72
74
|
|
|
73
75
|
### Upgrading
|
|
74
76
|
|
|
75
|
-
|
|
77
|
+
DSH does not update plugins on its own, but this plugin **updates itself**: Settings → Sounds → Updates can check for a new version and install it in one click. Uninstalling and installing again also works.
|
|
76
78
|
|
|
77
79
|
### Other ways
|
|
78
80
|
|
|
@@ -121,6 +123,7 @@ For anyone hacking on the code (exact details live in the source comments):
|
|
|
121
123
|
|
|
122
124
|
## Changelog
|
|
123
125
|
|
|
126
|
+
- **v1.6.1** (2026-10-11) The README is rebuilt as a release page: a new **Consistent with DSH's own UI** section on how the UI matches DSH's own settings, copy polished throughout, and the upgrade notes corrected — the plugin updates itself, so no uninstall is needed. This release doubles as the live drill for one-click update.
|
|
124
127
|
- **v1.6.0** (2026-10-11) New: **check for updates and install them in one click**. The settings section can fetch the newest npm version and install it: the download is checked against the registry's published sha512, only whitelisted files are unpacked (symlinks and path traversal are refused), the old files are kept aside, and any failure restores them. Downloaded code is never executed — the new code loads when DSH restarts. Automatic checks run at most once a day and can be turned off, with the mainland-China mirror as fallback.
|
|
125
128
|
- **v1.5.0** (2026-10-08) The "finished" title mark is unread news now — set by a finish that happens while you are away, cleared when you return — instead of reappearing on every switch-away. The retrigger cooldown is per session, so two conversations deciding within 2 seconds both ring. The Host half gained tests (Config schema, focus route, title matching) that cross-check the shared constants between the halves; the sessions provider is now an explicit load prerequisite, and quiet-hours catch-up is documented.
|
|
126
129
|
|
package/README.zh.md
CHANGED
|
@@ -19,6 +19,10 @@ dsh-plugin-notify-sounds
|
|
|
19
19
|
|
|
20
20
|
---
|
|
21
21
|
|
|
22
|
+
## 与 DSH 界面保持一致
|
|
23
|
+
|
|
24
|
+
设置面板中的每一处视觉细节都取自 DSH 自身的设计体系:行几何、分隔线、字号与间距沿用官方设计令牌,音效选择器使用官方 `Menu` 组件,图标来自官方图标族,排布沿用「文字左 / 控件右」的原生行式。安装后不会在设置中出现风格割裂的第三方区块。
|
|
25
|
+
|
|
22
26
|
## 它做什么
|
|
23
27
|
|
|
24
28
|
| 提醒什么 | 效果 |
|
|
@@ -40,11 +44,9 @@ DSH 的状态提示只有视觉——状态点、侧栏标记。你一切到别
|
|
|
40
44
|
|
|
41
45
|
## 声音
|
|
42
46
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
双音铃 · 风铃 · 单音叮 · 水滴 · 脉冲 · 上行琶音 · 金币 · 达成 · 敲门
|
|
47
|
+
双音铃 · 风铃 · 单音叮 · 水滴 · 脉冲 · 上行琶音 · 金币 · 达成 · 敲门 —— 九种内置音效全部由 Web Audio 现场合成,不含任何音频文件、不发一次网络请求。
|
|
46
48
|
|
|
47
|
-
|
|
49
|
+
也可以换上你自己的铃声(mp3/wav/ogg,≤512KB,自动校验并做音量归一化),或者干脆选「无声」只留通知。三种触发(审批 / 提问 / 完成)各选各的音效,设置里随时试听。
|
|
48
50
|
|
|
49
51
|
## 设置
|
|
50
52
|
|
|
@@ -72,7 +74,7 @@ DSH 的状态提示只有视觉——状态点、侧栏标记。你一切到别
|
|
|
72
74
|
|
|
73
75
|
### 升级
|
|
74
76
|
|
|
75
|
-
|
|
77
|
+
DSH 不会自动更新插件,但本插件**自带更新**:设置 → 提示音 →「更新」里可以检查新版并一键安装。想走手动路径也可以:在同一处先**卸载**旧版,再按上面的步骤装新版。
|
|
76
78
|
|
|
77
79
|
### 其他安装方式
|
|
78
80
|
|
|
@@ -121,6 +123,7 @@ dsh plugin --profile <你的 profile> add ./dsh-plugin-notify-sounds
|
|
|
121
123
|
|
|
122
124
|
## 更新记录
|
|
123
125
|
|
|
126
|
+
- **v1.6.1**(2026-10-11)README 重排为发布页风格:补「**与 DSH 界面保持一致**」一节讲清界面取自 DSH 自身设计体系;通篇表达润色,并修正升级说明(本插件自带更新,无需卸载重装)。本版同时是「一键更新」的发布演练。
|
|
124
127
|
- **v1.6.0**(2026-10-11)新增**检查更新与一键更新**:设置里可查 npm 新版本并一键安装——下载后按 registry 公布的 sha512 校验、只解包白名单文件(拒绝符号链接与路径穿越)、先备份再替换、失败自动还原;下载内容从不执行,新代码在 DSH 重启时生效。自动检查每天最多一次、可关;npm 官方源不通时自动改用国内镜像。
|
|
125
128
|
- **v1.5.0**(2026-10-08)「已完成」标题标记改为未读语义——离开期间发生的完成才标记,回到页面即清除,不再每次切走都重新出现;触发冷却按会话独立,2 秒内两个会话先后需要决策时都会响。补齐宿主半测试(配置 schema、唤窗路由、标题匹配)并交叉校验两半共享常量;`dsh.client.inject` 显式声明 sessions 提供包;静音时段结束后的补发行为写入文档。
|
|
126
129
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-plugin-notify-sounds",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.1",
|
|
4
4
|
"description": "Notification sounds for DeepSeek Harness — a soft chime when the agent needs your decision or finishes a task, with a Settings section styled like DSH's own · 需要决策或任务完成时播放提示音,点击系统通知可回到窗口,设置面板可调音量与音效",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
"lib/index.js",
|
|
19
19
|
"lib/client.js",
|
|
20
20
|
"cordis.patch.yml",
|
|
21
|
-
"README.zh.md"
|
|
21
|
+
"README.zh.md",
|
|
22
|
+
"assets"
|
|
22
23
|
],
|
|
23
24
|
"license": "MIT",
|
|
24
25
|
"repository": {
|