@falling-ts/dsh-web-ding
在智能体运行结束或弹出用户选择时播放提示音 适合在后台运行任务,需要声音反馈来提醒任务完成或需要人工介入的用户。
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:falling-ts/dsh-web-ding说明文档
阅读完整 README ↗Configuration (falling-ts-web-ding namespace, stored in the profile's cordis.patch.yml)
Two independent blocks, each with its own switch and its own tone:
Block 1 — 弹出用户选择 (question popup ding) — plays when the harness pops a
user-question chooser in the browser. Detection is client-side on the DOM
([data-question-key] anchor of the QuestionComposer): the Host half sees no
question frame, so this block is entirely browser-side.
| Field | Type | Default | Meaning |
|---|---|---|---|
questionEnabled | boolean | true | Switch for the question-popup ding. |
questionVolume | number 0..1 | 0.7 | Web Audio playback gain. |
questionFreq | number 80..4000 | 880 | Fundamental frequency of the ding (Hz). |
questionDecayMs | number 100..4000 | 900 | Tone decay length (ms). |
Block 2 — 回合结束 (turn-end ding) — the classic agent/status idle-transition
tone. The Host observes agent/status; on the idle transition (all turns done,
including sub-agents, before the next human turn; fresh sessions that never ran
and repeated idle ticks stay silent) it publishes the done signal.
| Field | Type | Default | Meaning |
|---|---|---|---|
turnEndEnabled | boolean | true | Switch for the turn-end ding (Host skips publishing when off). |
turnEndVolume | number 0..1 | 0.7 | Web Audio playback gain. |
turnEndFreq | number 80..4000 | 880 | Fundamental frequency of the ding (Hz). |
turnEndDecayMs | number 100..4000 | 900 | Tone decay length (ms). |
Besides the ring, each turn end drops a bottom-right toast (Win11-style,
auto-dismisses after 6 s). Click it to open the right-side notification
drawer: the last 100 turn-end messages are kept in the browser's
localStorage (key falling-ts-web-ding.notify.v1), each row can be
deleted individually, and a "全部删除" button clears them all. The message
log is front-end only — the Host never reads or writes it.
You can also adjust both blocks from the 设置 → 提示音配置 panel, each with its own switch and its own "试听" (preview) button.