k12u/dsh-client-ui-pending-sound ↗★ 0
dsh-client-ui-pending-sound
会话进入审批、计划评审或提问等待时,在浏览器播放简短提示音。 适合需要及时获知等待操作的用户;音频可能被浏览器策略拦截。
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗dsh-client-ui-pending-sound
Browser chime when a session enters a user operation wait:
pendingInteraction | Motif |
|---|---|
approval | C5 → E5 |
plan-review | D5 → F#5 |
question | E5 → G5 |
Several kinds in one frame play a short C–E–G arpeggio once.
Behavior
- Host half is a no-op; all logic is the
./clientbundle (dsh.client). - Subscribes to
ctx.sessions.listand chimes on rising edges only
(undefined→ wait, or wait kind change). The firstphase: readysnapshot is baseline (no blast on reload). connection/resetre-baselines so mux replay after reconnect stays quiet.- Uses the Web Audio API (no asset files). Browsers may block audio until a click/key; the plugin arms unlock listeners on first load.
Install (this deployment)
Linked from ~/.dsh/profiles/web and inserted in cordis.patch.yml:
- insert:
- id: pending-sound
name: dsh-client-ui-pending-sound
Restart the DSH web host after install so the client module graph picks up the bundle.