dsh
OpenPetsHQ/openpets将 DeepSeek Harness 的生命周期状态、错误与审批请求,桥接到本地运行的 OpenPets 桌面伙伴。
DeepSeek Harness 生命周期提示音:10 个可配置事件,默认只开启三项低打扰提示,可为每个事件更换自定义声音,内置音效不带音频资源。
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.
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.
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.
| Event | Default bell | Initial state |
|---|---|---|
| Session start | startup | Off |
| Agent start | click | On |
| Thinking | notify | Off |
| Tool call | tick | Off |
| Tool done | drop | Off |
| Command run | beep | Off |
| Command done | rise | Off |
| Waiting for input | alert | On |
| Turn complete | success | On |
| Back to idle | confirm | Off |
Open Settings → Plugins → Plugin configuration → Bell notifications. For every event you can:
Your replacement survives reloads and the card shows the uploaded file name. Choose Reset whenever you want to return to the built-in recipe.
All bells are synthesized on the fly — not recorded files. That means:
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.
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
| DSH kernel | This 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 |
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).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.settingsNamespace(); earlier releases only work on kernels ≤ 0.1.1 — update to a build that contains the fix.@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.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:
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.
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.
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.
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.