falling-ts/dsh-web-ding ↗★ 2

@falling-ts/dsh-web-ding

DSH Cordis plugin: announces the moment an agent finishes (turns idle) by pushing a 'done' signal from the Host half into the falling-ts-web-ding settings namespace, which the browser client half mirrors live and answers with a synthesized 'ding' tone via the Web Audio API. The tone is played ENTIRELY by front-end JS in the browser — the Host/node backend never emits audio and no Windows/system notification is used. 适合在后台运行任务,需要声音反馈来提醒任务完成或需要人工介入的用户。

パッケージ
@falling-ts/dsh-web-ding
互換性
未検証
Harness ピア範囲
>=0.2.1-rc.1
Cordis ピア範囲
>=4.0.5
バージョン
0.7.0
ライセンス
MIT
最終更新
2026/10/19

インストール

$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.

FieldTypeDefaultMeaning
questionEnabledbooleantrueSwitch for the question-popup ding.
questionVolumenumber 0..10.7Web Audio playback gain.
questionFreqnumber 80..4000880Fundamental frequency of the ding (Hz).
questionDecayMsnumber 100..4000900Tone 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.

FieldTypeDefaultMeaning
turnEndEnabledbooleantrueSwitch for the turn-end ding (Host skips publishing when off).
turnEndVolumenumber 0..10.7Web Audio playback gain.
turnEndFreqnumber 80..4000880Fundamental frequency of the ding (Hz).
turnEndDecayMsnumber 100..4000900Tone 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.