πŸ”Š dsh-plugin-uisfx

August 29, 2026 Β· View on GitHub

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

License npm version npm downloads dsh-plugin dsh uisfx


What it solves

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:

  • Task sounds β€” start, success, failure, pending attention
  • Button sounds β€” different sounds for different button kinds
  • Global sound packs β€” 12 uisfx packs, switch the whole personality in one click
  • Per-scenario cues β€” every scenario maps to an independent cue, with preview buttons
  • Persistent settings β€” stored in settings.yaml, survives restarts

Preview

dsh-plugin-uisfx settings page


Quick start

Published 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 alongside dsh-better-sidebar and @dsh-external/dsh-navbar.


Features

FeatureDescription
🎚 Global sound pack12 uisfx packs (zen / studio / scifi / soft ...)
🎯 Scenario mapping11 scenarios, each mapped to a cue with sensible defaults
β–Ά Instant previewPreview buttons next to every scenario in settings
πŸ”” Task feedbackStart / success / failure / pending for the current session
πŸ–± Button feedbackAuto-detects send / delete / toggle / link / primary / normal
πŸ’Ύ PersistenceHost settings.yaml namespace dsh-plugin-uisfx
πŸ”Œ Service APIctx.uisfx for third-party plugins

Default scenario mapping

ScenarioCueWhen
task.startstartagent starts running
task.successsuccesstask finishes successfully
task.failureerrortask fails
task.pendingnotificationpending interaction appears
click.normalpressnormal button
click.primaryselectprimary / accent button
click.toggletoggle-ontoggle / checkbox
click.sendsendsend / submit
click.closecloseclose / cancel
click.dangerdeletedelete / destructive action
click.linkopenlink

Default sound pack: zen β€” paper, wood and quiet chimes for long working sessions.


Sound packs

PackCharacterGood fit
minimalDry, preciseProductivity
softRounded, warmMobile, friendly SaaS
glassBright, crystallineMedia, finance
arcadeChunky pixelsGames
mechanicalSwitches, relaysDevtools
organicWood, waterEducation, kids
dreamyAiry, slowCreative tools
scifiHolographicAI tools
rubberElastic, playfulCasual apps
cinematicDeep impactsMedia, games
studioTactile, restrainedAI creative tools
zenPaper, wood, chimeFocus, reading (default)

Preview every pack: https://uisfx.com


Settings

SettingDefaultDescription
enabledtrueMaster switch
volume0.55Volume 0-1
packzenGlobal sound pack
taskSoundstrueTask sounds
clickSoundstrueButton sounds
attentionSoundstruePending attention sounds
mapping.*table abovePer-scenario cue

All settings are written to Host settings.yaml:

dsh-plugin-uisfx:
  enabled: true
  volume: 0.55
  pack: zen

Service API

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


Architecture

  • No audio files β€” embeds the uisfx 0.4.0 Web Audio synthesis runtime
  • Lazy player β€” created on the first user gesture, respecting autoplay policies
  • Task watcher β€” subscribes to ctx.sessions.binding(current).session (running / pending / lastAgentError)
  • Click classifier β€” global pointerdown classifier maps semantics to scenarios
  • Persistence β€” dedicated /uisfx/api/settings API backed by Host settings

FAQ

No sound?

  1. Settings β†’ Sound Effects β†’ enable sounds
  2. The browser may block autoplay: click anywhere on the page once
  3. Check the system volume and the dsh volume slider

No success / failure sound after a task?

  • Only the current session plays task sounds
  • Make sure taskSounds is enabled
  • Failure detection uses lastAgentError or turn-error nodes

Development

git 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

Roadmap

  • Task sounds + button sounds + settings UI + persistence
  • All 12 packs and 78 cues selectable
  • Background-session completion notifications
  • Hover / drag / split sounds
  • Per-scenario sound pack
  • Custom audio uploads

License

  • uisfx β€” the open-source sound system this plugin uses
  • DSH-better-sidebar β€” a powerful dsh sidebar plugin
  • dsh-navbar β€” conversation message navigation dots

If you find this plugin useful, give it a ⭐ and add the dsh-plugin topic to the repo.