Preface¶
When running agents with DeepSeek Harness (DSH), the window is often in the background, you’re looking at other tabs, or multiple sessions are open at the same time. Permission approvals, the model asking you a question, tasks truly finishing, or a conversation halting due to an error — these states are usually reflected only in the sidebar or the session list, and without sound or desktop notifications, they can easily be missed.
Below we introduce the community plugin dsh-chime (maintainer: AkotaP, category: client-side). It subscribes to session states on the DSH Web client side, plays configurable notification sounds according to event type, and can optionally show system notifications; configuration lives on the plugin page and does not alter business configuration in the DSH profile (installing the plugin itself still modifies the profile’s bundles, see the installation instructions below).
What This Is¶
dsh-chime is a Web notification sound plugin for DSH: for four types of session-related events, it lets you set the audio source, volume, when to alert, and whether to pop up a desktop notification, each independently. The repository and documentation are on GitHub, and the community catalog page is on SkillHub.
The plugin is primarily a pure client-side implementation: the configuration and playback engine live on the browser side, persisted in localStorage (key dsh.chime.config.v1). The host side only registers two loopback HTTP routes, used to expose local audio files as same-origin URLs for playback, without copying your audio files.
Four Event Types and Trigger Conditions¶
The plugin makes its judgments based on DSH’s uiSession.sessionStatus and the session list (primarily event-driven, with 400ms polling as a fallback). The four event types correspond to the README as follows.
| Sound category | Trigger timing |
|---|---|
| Permission approval | Tool call awaiting approval (pendingInteraction === 'approval') |
| Question to answer | ask_user_question question or plan review (question / plan-review) |
| Interruption | Conversation cannot continue due to a final error (failures that will be auto-retried do not sound) |
| Completion | Task truly finished (no running agent, no running sub-agents, no background tasks) |
“Completion” and “Interruption” are deliberately designed to avoid false positives: background bash jobs or background sub-agents still running will not falsely trigger completion; failures that can be auto-retried do not trigger interruption. By default, sound categories with no configured audio source do not play, and there is no fallback to a built-in notification sound.
Core Features¶
Audio Source and Volume¶
- Linked audio source: You can paste an
http(s)network link, or the full path of a local audio file (Linux/macOS, e.g./home/you/ding.mp3; Windows, e.g.E:\Sounds\ding.mp3). Local files are served as byte streams by the host routeGET /dsh-chime/asset?path=<absolute path>(supportingRange/206), and played via Web Audio on the browser side. - Independent volume per sound category: 0–100, each unaffected by the others.
- Before the first playback, the plugin unlocks the
AudioContexton userpointerdown/keydownto comply with browser autoplay policies.
Alert Timing¶
Taking both “which session the event occurred in” and “whether you are currently in the DSH window” into account, there are five levels: only current session / only when I’m away / I’m away or the event is in another session (recommended by the README) / always / never. Sound effects and system notifications each pick their own level, but share the same judgment logic.
Even when the window is in the background or unfocused for a long time, it can still respond promptly via remote push; this avoids relying solely on timers that would only fire after hidden tabs get throttled.
System Notifications¶
- Independent master switch and per-category switches, using the browser’s
NotificationAPI (silent: true; sound is handled by the audio channel). - Windows / macOS / Linux all go through the system notification center; clicking a notification returns to the corresponding conversation (
openSession). - The desktop version has an additional experimental option: bring the window to the foreground when a notification is clicked (
notify.raiseWindow, disabled by default). - The first time, notification authorization must be completed in DSH settings (browsers require permission requests to occur within a user gesture); if notifications are unsupported or denied, it silently degrades.
Configuration Entry¶
Under Plugins → This plugin’s page (or the Chimes card on the plugin page). The form is rendered directly on the plugin page, with no separate save button — changes take effect immediately.
Installation and Enabling¶
Installation modifies the profile configuration under %USERPROFILE%\.dsh (on Linux/macOS, the .dsh under the corresponding user directory) and requires restarting DSH (which will interrupt running sessions). The plugin runs with the permissions of the current DSH process; before installing, it is recommended to review the repository source code and the MIT license.
Method 1: Plugin page
In the sidebar, “Plugins” → “Add Plugin”, enter the repository address https://github.com/AkotaP/dsh-chime (the same place also accepts the npm package name dsh-chime, an absolute local directory path, and tarballs). DSH first probes the repository with git ls-remote before handing it to pnpm; after installation, confirm in the list that the plugin is enabled.
Method 2: Command line (equivalent to the above, when the profile is desktop):
dsh plugin --profile desktop add https://github.com/AkotaP/dsh-chime
The README notes: after being published to npm, the package name can also be used:
dsh plugin --profile desktop add dsh-chime
After installation, restart DSH, and you should see the configuration form in the Chimes card on the plugin page. To uninstall: use the plugin page’s uninstall option, or:
dsh plugin --profile desktop remove dsh-chime
Then confirm that dsh-chime has been removed from the profile’s dsh.profile.bundles.
Typical Usage¶
- Install and restart DSH as described above, then open the Chimes configuration on the plugin page.
- Fill in a URL or local absolute path for the sound categories you need, and adjust the volumes.
- Pick one of the five alert timing levels for “Sound effects” and “Notifications” respectively; if you want desktop notifications, first authorize browser notifications in settings.
- Keep DSH running agents in the background: when an approval, question, final error, or true task completion occurs, a sound plays or a notification pops up according to your configuration; clicking a notification jumps back to the corresponding session.
If you want the agent inside DSH to assist with installation, the README provides a paragraph of instructions that can be copied to the agent (it requires asking the user before restarting after installation).
Suitable Scenarios and Notes¶
Suitable for: DSH users who run agents on tasks in the background for long stretches, run multiple sessions in parallel, and need auditory or system-level alerts to avoid missing approvals and questions.
Environment and versions (from the repository’s package.json and README):
- Node.js
>=20 - DSH
>=0.2.0-rc.2 - Current package version
0.6.0
Notes:
- If no audio source is configured for a category, that type of event is muted; there is no default “ding” sound.
- Local paths depend on installations that include a host half, such as desktop; in purely Web scenarios, the behavior of local file routes depends on the actual host.
- The experimental “bring window to foreground on notification click” has limitations when the window is collapsed to the system tray; the README suggests opening the window from the tray.
- The community catalog SkillHub and the GitHub repository are maintained by the community and have no official affiliation with DeepSeek / High-Flyer; the DSH ecosystem emphasizes “everything is a plugin”, so adopt it as needed.
Conclusion¶
dsh-chime turns four kinds of DSH states — permission approvals, questions, final errors, and true completion — into configurable notification sounds and optional desktop notifications, with differentiated alert timing, reducing missed alerts while agents run in the background. For details, event judgment contracts, and version history, please consult the repository README and CONTRACT.md directly.
- Catalog page: https://www.skillhub.cn/plugins/AkotaP/dsh-chime
- GitHub: https://github.com/AkotaP/dsh-chime