Preface¶
When running long sessions in DSH Web, it can be difficult to know whether a turn has ended, reported an error, become blocked, or is waiting for approval, a question, or plan review after switching to another tab or minimizing the page. Relying on manual refreshes or constantly watching the session list interrupts your workflow and makes it easy to miss interactions that require immediate attention.
The following is an introduction to the community plugin dsh-web-notify (Maintainer: Wepoi9; Category: Client-side). It registers a session projection on the host side, which the Web client monitors to trigger system-level notifications via the browser’s Notification API at appropriate times. It avoids interruptions when the current session is already visible and focused. This plugin is not part of the DeepSeek Harness core distribution; you must build it from source and add it to your Web profile manually.
What is this¶
dsh-web-notify is a community plugin for the DeepSeek Harness Web UI. It sends prompts to the browser/OS notification center when a session ends with completed, blocked, or error, or enters states such as approval, question, or plan-review that are waiting for user action. The notification text is intentionally generic, avoiding exposure of session titles, model outputs, or file paths. Clicking a notification opens the highest-priority relevant session.
Core Features¶
The host side registers a session projection named notifyTurn; the Web client observes the session status and calls the Notification API. The behavior details are as follows:
-
When notifications are triggered:
- The current invisible session ends with
completed,blocked, orerror. - The session is waiting for
approval,question, orplan-review.
- The current invisible session ends with
-
When notifications are suppressed:
- The conversation corresponding to the session is already visible and focused on the current page.
- The turn ends with
max-tokens,aborted, orinterrupted(ignored, no notification). - Sub-agent sessions (ignored).
- Duplicate turn and interaction notifications (deduplicated).
-
Other behaviors:
- Multiple simultaneous updates are merged into one (e.g., English
DSH · 3 updates/1 Waiting, 2 Completed; or corresponding Japanese text in a Japanese browser environment). - Sent only when browser notification permission is
granted. - The notification body language follows the browser’s preferred language (Japanese for
ja, otherwise English), regardless of the DSH interface language setting. This is determined when the client module is loaded; changing the browser language requires a page refresh to take effect.
- Multiple simultaneous updates are merged into one (e.g., English
-
Privacy:
- Titles use a generic
DSHprefix followed by fixed status labels (e.g., Completed, Error, Waiting for approval, and Japanese equivalents); aggregations only display counts. - Does not display session display titles, LLM outputs, commands, or full paths; does not send notification data to external services, created locally via the Notification API only.
- Titles use a generic
Compatible DSH Versions¶
The engines.dsh field in package.json declares multiple version ranges; the README records the item-by-item verification status. As of the information provided, 0.2.1-rc.2 is the latest DSH version verified via live Web UI runtime testing (2026-10-17). 0.2.1-alpha.2 is declared compatible in the manifest, but the README indicates that plugin loading, test notifications, and real session triggers have not yet been runtime-verified on this version. DSH pre-release versions iterate quickly; new versions not listed in the table should not be considered compatible by default.
The plugin’s current package version is 0.1.2, licensed under MIT.
Installation and Activation¶
Please review the repository source code and license before installing. The plugin runs with the current DSH Web process and page context, with permissions consistent with browser same-origin notification policies.
- Install dependencies and build the client bundle in the plugin repository root directory:
npm install
npm run build
- Add the local checkout to the Web profile (the path must be absolute):
dsh plugin --profile web add <absolute-path-to-this-repository>
- Restart DSH Web after installation.
After modifying the client source code, you must re-run npm run build (which generates lib/client.js via esbuild). Maintainers may optionally run:
npm run check
npm test
Settings and Typical Usage¶
- Open Settings → General → Browser notifications.
- If permission is not set: You can request browser notification permission here.
- If permission is granted: You can send a test notification to confirm the pipeline.
- To revoke permission: Turn off notifications for the site in your browser’s site settings.
No additional configuration is needed for daily use: keep the DSH Web page loaded and connected to the backend. When permission is granted and the session does not meet the “visible and focused” suppression condition, completion or interaction-pending events will automatically trigger notifications; clicking a notification jumps to the corresponding session.
Scenarios and Limitations¶
Suitable for: Developers working in parallel or with multiple sessions in DSH Web for long periods, who need to perceive “it finished” or “you need to click this” even when away from the current tab.
Limitations (from README):
- Browser notification permission must be granted, and permissions are bound to the browser origin.
- Valid only when the DSH page is open and connected; this plugin does not implement offline push.
- The DSH extension contract may change between pre-release versions; refer to the compatibility table in the README.
- In real environments, notification triggers for error / blocked end states have not been fully re-tested in the verification records of some versions; if you rely on such prompts, it is recommended to verify them yourself on your target DSH version.
Community plugin directory page: https://www.skillhub.cn/plugins/Wepoi9/dsh-web-notify (An independent community site, with no official affiliation with DeepSeek / High-Flyer). For source code and a detailed compatibility matrix, see GitHub: https://github.com/Wepoi9/dsh-web-notify.