ppy-web/dsh-plugin-xiaomi-mimo-tts
ppy-web/dsh-plugin-xiaomi-mimo-tts为 DSH 提供小米 MiMo、豆包、浏览器本地 TTS 语音朗读;自动播报、自定义音色、UI 音效、桌宠联动、QQBot 联动。
基于 uisfx 的语义化 UI 音效:任务开始/成功/失败、不同按钮情景 cue,设置页即时试听,12 种音色包,Host 持久化,并提供 `ctx.uisfx` 服务给其他插件。
🌐 English | 中文
A dsh plugin that brings uisfx semantic UI sound effects to DeepSeek Harness. Task start / success / failure and button clicks can each be assigned a sound cue from the settings page, with instant preview.
dsh has almost no audio feedback by default. Did the task finish? Did it fail? Did the button register? You can only tell by watching the screen.
dsh-plugin-uisfx adds a semantic sound system:
settings.yaml, survives restartsPublished on npm: dsh-plugin-uisfx
dsh plugin --profile web add dsh-plugin-uisfx
# restart dsh web
Pin a version:
dsh plugin --profile web add dsh-plugin-uisfx@0.1.0
Then open Settings → Sound Effects.
Requires dsh
0.1.0-rc.6. Verified alongsidedsh-better-sidebarand@dsh-external/dsh-navbar.
| Feature | Description |
|---|---|
| 🎚 Global sound pack | 12 uisfx packs (zen / studio / scifi / soft ...) |
| 🎯 Scenario mapping | 11 scenarios, each mapped to a cue with sensible defaults |
| ▶ Instant preview | Preview buttons next to every scenario in settings |
| 🔔 Task feedback | Start / success / failure / pending for the current session |
| 🖱 Button feedback | Auto-detects send / delete / toggle / link / primary / normal |
| 💾 Persistence | Host settings.yaml namespace dsh-plugin-uisfx |
| 🔌 Service API | ctx.uisfx for third-party plugins |
| Scenario | Cue | When |
|---|---|---|
task.start | start | agent starts running |
task.success | success | task finishes successfully |
task.failure | error | task fails |
task.pending | notification | pending interaction appears |
click.normal | press | normal button |
click.primary | select | primary / accent button |
click.toggle | toggle-on | toggle / checkbox |
click.send | send | send / submit |
click.close | close | close / cancel |
click.danger | delete | delete / destructive action |
click.link | open | link |
Default sound pack: zen — paper, wood and quiet chimes for long working sessions.
| Pack | Character | Good fit |
|---|---|---|
minimal | Dry, precise | Productivity |
soft | Rounded, warm | Mobile, friendly SaaS |
glass | Bright, crystalline | Media, finance |
arcade | Chunky pixels | Games |
mechanical | Switches, relays | Devtools |
organic | Wood, water | Education, kids |
dreamy | Airy, slow | Creative tools |
scifi | Holographic | AI tools |
rubber | Elastic, playful | Casual apps |
cinematic | Deep impacts | Media, games |
studio | Tactile, restrained | AI creative tools |
zen | Paper, wood, chime | Focus, reading (default) |
Preview every pack: https://uisfx.com
| Setting | Default | Description |
|---|---|---|
enabled | true | Master switch |
volume | 0.55 | Volume 0-1 |
pack | zen | Global sound pack |
taskSounds | true | Task sounds |
clickSounds | true | Button sounds |
attentionSounds | true | Pending attention sounds |
mapping.* | table above | Per-scenario cue |
All settings are written to Host settings.yaml:
dsh-plugin-uisfx:
enabled: true
volume: 0.55
pack: zen
Other dsh plugins can trigger sounds:
// play by scenario
ctx.uisfx.play('task.success')
ctx.uisfx.play('click.send')
ctx.uisfx.play('task.start')
// play a raw cue
ctx.uisfx.playCue('achievement')
ctx.uisfx.playCue('reward')
// preview from settings
ctx.uisfx.preview('success')
// read / update settings
ctx.uisfx.getPrefs()
ctx.uisfx.setPack('studio')
ctx.uisfx.setVolume(0.5)
There are 78 cues from uisfx:
hover / press / select / toggle-on / send / success / error / complete / achievement / ...
ctx.sessions.binding(current).session (running / pending / lastAgentError)/uisfx/api/settings API backed by Host settingstaskSounds is enabledlastAgentError or turn-error nodesgit clone https://github.com/<your-name>/dsh-plugin-uisfx.git
cd dsh-plugin-uisfx
pnpm install
pnpm build # generates lib/client.js / lib/index.js
pnpm check # syntax checks
Use a separate dev profile so restarts never interrupt your daily web:
dsh plugin --profile dev add ./dsh-plugin-uisfx
dsh --profile dev web --port 3090
Browser debug helpers:
window.__dshUISFX() // uisfx player
window.__dshUISFXDebug() // current prefs
NOTICE and vendor/uisfx-0.4.0.jsIf you find this plugin useful, give it a ⭐ and add the dsh-plugin topic to the repo.