notify sound for DeepSeek harness
在 DeepSeek Harness 终端运行:
dsh plugin --profile web add ldchaowin/dsh-plugin-notify-soundEnglish | 中文
A DeepSeek Harness (DSH) plugin for the Web UI: play a customizable ringtone when a task
finishes — per workspace — and an attention sound whenever something needs a human.
running: true → false) or a background job completes.The following events always ring (they are not affected by the “quiet current session” option):
| Event | Detection | Default sound |
|---|---|---|
| Approval request | session pendingInteraction: approval |
generic attention sound |
| User question | pendingInteraction: question |
generic attention sound |
| Plan review | pendingInteraction: plan-review |
generic attention sound |
| Goal blocked | goal projection enters blocked |
generic attention sound |
| Background task failure | job status failed |
Bell (dedicated failure sound) |
Each kind can override the generic attention sound, or use a shared TTS phrase
(e.g. “需要你的确认” / “Your confirmation is needed”).
Master switch, “quiet when viewing the current session”, default completion sound,
per-workspace completion sounds, generic + per-kind attention sounds, voice settings
(voice / rate / preview / refresh), per-row preview and custom-audio upload.
Requires a DSH version with bundle-plugin support (dsh.profile.bundles + dsh.bundle.patch)
and pnpm on PATH (corepack enable or npm i -g pnpm).
# One command: pnpm installs the package and adds it to the profile's bundle layer
dsh plugin --profile web add dsh-plugin-notify-sound
# Restart the server (or refresh the page), then open Settings → 通知铃声
Other profiles work the same way: dsh plugin --profile <name> add dsh-plugin-notify-sound.
@deepseek-ai/schemastery,@deepseek-ai/cosmokit, @standard-schema/spec) into$DSH_HOME/profiles/web/node_modules/."dsh-plugin-notify-sound" to dsh.profile.bundles in$DSH_HOME/profiles/web/package.json.dsh web.dsh-notify-sound:config), sanitizing every read and filling defaults.dsh-plugin-notify-sound settings namespace: on rc.6 theWEB_SETTINGS_NAMESPACES in dsh-host-apiproxy) does not exposesettingsScope today;npm test # 50+ assertions across host and client halves (Node only, no browser needed)
npm run check # syntax check
Layout:
lib/index.js — host half: registers the settings namespace (schema + defaults)lib/client.js — browser bundle: completion/attention event detection, sound enginelib/types/index.d.ts — host-side type declarationscordis.patch.yml — bundle patch layer (inserts the notify-sound row)tools/ — tests and verification scripts (not shipped in the npm package)npm login # npm account (2FA recommended)
npm publish --access public
登录后即可为该插件评分和评价。
还没有人评价这个插件,来抢个沙发吧!