Laplace-bit/dsh-bell-notify

Laplace-bit/dsh-bell-notify

DeepSeek Harness 生命周期提示音:10 个可配置事件,默认只开启三项低打扰提示,可为每个事件更换自定义声音,内置音效不带音频资源。

通知与集成ai-agentscordisdeepseek-harness

dsh-bell-notify 🔔

English · 中文

dsh-bell-notify is a community plugin for DeepSeek Harness (dsh). It turns key Agent lifecycle events into configurable sound cues, so you can follow progress without watching the page.

Every bell is synthesized in real time with the Web Audio API, with no audio assets in the package. Controls live in Settings → Plugins → Plugin configuration → Bell notifications; there is no floating workspace panel or corner status dot competing with the conversation UI.

Not part of the official DeepSeek distribution. An MIT-licensed community plugin.

In one sentence

If you run DeepSeek Harness (dsh) tasks in the background and want a low-noise cue when the Agent needs you or a turn finishes, install this plugin. It is for long-running tasks, parallel work, and developers who do not want to watch the browser continuously; it uses no external service and never uploads audio.

This is not a desktop notification bridge or a general browser notification library: sounds play for Agent lifecycle events in a DSH Web session.

What it does

🎵 Sound the moments that matter

Each configurable event has its own bell. A new installation enables only the three highest-value cues by default: Agent start, waiting for input, and turn complete. The remaining events are preconfigured but silent until you enable them, so routine activity does not become noise.

EventDefault bellInitial state
Session startstartupOff
Agent startclickOn
ThinkingnotifyOff
Tool calltickOff
Tool donedropOff
Command runbeepOff
Command doneriseOff
Waiting for inputalertOn
Turn completesuccessOn
Back to idleconfirmOff

🎛️ Swap in your own sounds

Open Settings → Plugins → Plugin configuration → Bell notifications. For every event you can:

  • Preview the default sound, or the one you uploaded
  • Upload your own audio file to replace it
  • Reset back to default

Your replacement survives reloads and the card shows the uploaded file name. Choose Reset whenever you want to return to the built-in recipe.

🎼 Sounds that are "alive"

All bells are synthesized on the fly — not recorded files. That means:

  • Zero audio assets, a negligible footprint
  • Built-in recipes generated at playback; replace any event with your own audio
  • Fully offline, no network, no external resources

Why

When the Agent runs for a while, the page is not always in view. A small set of high-value cues for starting, requesting input, and finishing lets you keep working elsewhere and return to Harness when attention is needed.

Install

From a DeepSeek Harness source checkout:

pnpm dsh plugin --profile bell add dsh-bell-notify

If dsh is already on your PATH:

dsh plugin --profile bell add dsh-bell-notify

The npm package ships prebuilt lib/, so no pnpm ≥10 build-script allowance is needed.

Start it:

pnpm dsh --profile bell

Open the page, click anywhere once (browser autoplay policy — one click unlocks audio), then adjust events in Settings → Plugins → Plugin configuration → Bell notifications.

Remove it:

pnpm dsh plugin --profile bell remove dsh-bell-notify

Kernel Compatibility

DSH kernelThis plugin
0.1.0-rc.5 - 0.1.0-rc.7✅ all versions
0.1.1-rc.2✅ all versions
0.1.2-alpha.1 - 0.1.2-alpha.3✅ 0.1.2 (build with the 2026-09-01 compat fix); earlier releases fail to load on 0.1.2
  • ✅ = compatible. 0.1.2-alpha.3 is the current host kernel and has been verified live (built-artifact import + test suites); the remaining kernels are covered by the dual-kernel-compatible design (one build, one API surface).
  • Kernel 0.1.2 removed the settingsNamespace() runtime helper (on ≤ 0.1.1 it was a validating identity function; 0.1.2 keeps only the same-named type). This plugin does not statically import that symbol any more — it inlines its namespace constant locally and asserts it as the SettingsNamespace type, which works on both old and new kernels.
  • Since 0.1.2 the plugin no longer statically imports settingsNamespace(); earlier releases only work on kernels ≤ 0.1.1 — update to a build that contains the fix.
  • Never statically import runtime symbols from @deepseek-ai/* packages. The host CLI starts via node --import tsx/esm, and tsx applies the host tsconfig paths mapping, so a bare @deepseek-ai/* import from an external plugin may be redirected into the host's own sources — any host-side rename or removal then explodes at boot as a module instantiation error. Type-only imports (import type) are unaffected.

Configuration

Tune regular runtime parameters in the profile's cordis.patch.yml (Cordis validates and fills defaults at load):

maxQueue: 8            # wait-queue capacity
maxConcurrent: 3       # simultaneous sounds (1 = serial, higher = more overlap)
defaultCooldown: 1000  # global cooldown fallback (ms)

Use Settings → Plugins → Plugin configuration → Bell notifications for:

  • Enable notification sounds, the only global sound switch. Turning it off mutes everything.
  • Profile-durable enablement and master-volume preferences.
  • Browser-local event toggles, custom sound replacements, and file names (localStorage + IndexedDB), applied immediately and retained across reloads.

The former corner status dot and floating panel have been removed; all controls now live in the plugin configuration card.

Version and updates

The card shows the running version from package metadata. Update is enabled only when the active profile is confirmed to use an npm registry dependency; it runs the fixed command pnpm update dsh-bell-notify in that profile, then reconciles dsh.profile.bundles with Harness' bundle rules before requiring a Harness restart. link: and file: development installs show as a development version and keep Update disabled so local source links are never replaced.

Development

pnpm install
pnpm build          # builds lib/index.js (host) + lib/client.js (browser)
pnpm test           # unit tests
pnpm typecheck

Want to hear the built-in bells? Open preview.html from the repository, or visit the live preview.

FAQ

Is this an official DeepSeek plugin? No. It's a community plugin for DeepSeek Harness (dsh), MIT-licensed, not part of the official distribution.

Why is there no sound? Most likely the browser autoplay policy — after the plugin loads you need to click the page once to unlock audio. After that, event sounds work normally.

Where do I configure notification sounds? Open Settings → Plugins → Plugin configuration → Bell notifications. It manages enablement, volume, event toggles, custom sounds, and updates for npm-installed versions.

Why is there no corner status dot or floating panel? They were removed to keep the workspace unobstructed. All controls are now consolidated in Plugin configuration.

Where are custom sounds stored? Bytes in browser IndexedDB, event-to-file mapping in localStorage. All local — nothing is uploaded anywhere.

License

MIT