dshbase

插件目录 / Developer / dsh-windows-notifications

dsh-windows-notifications

未验证 lsq-dsh-plugins

✓ 持续维护 基于 11 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

1Stars
0Forks
0未关闭 issue
语言
2026-08-23最近推送
跨平台平台

功能简介

Developer 类别的 DeepSeek Harness 插件。

我们的评价
未验证 — 尚未实测

Developer 类别的 DeepSeek Harness 插件。 尚未验证——请自行安装测试。

「未验证」表示我们的自动化 CI 尚未安装过该插件。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

你是插件作者? 想拿到「已验证」标签——提交你自己的验证证据(截图、日志或短视频),我们审核通过后即改为「已验证」。

提交验证证据 ↗

README

DSH Windows Notifications

简体中文 | English

Windows desktop notifications, optional sounds, and DSH-styled in-page cards for DeepSeek Harness Web. Keep the DSH tab open and receive task results or requests for attention while working in another application.

DSH notification settings with an in-page card and a Windows desktop notification

Notification behavior

By default, one event produces either a Windows notification or an in-page card, not both. Sound is independent and can accompany either presentation.

DSH state Default presentation
Tab visible and browser window focused DSH in-page card
DSH visible on another monitor while a different application is focused Windows notification
Another browser tab is active or the browser is minimized Windows notification
Windows notification unavailable or rejected In-page card fallback, when enabled

The decision uses browser visibility and focus rather than monitor count. If “Only show system notifications while DSH is inactive” is disabled, Windows notifications may also appear while DSH is focused; a successfully delivered Windows notification still suppresses the in-page card for that same event.

Events

  • Task completed normally.
  • Task failed, was aborted, blocked, interrupted, or reached the output limit.
  • DSH is waiting for approval, plan review, or an answer to a question.
  • Optional completion and failure notifications from subagents.

Clicking a Windows notification focuses DSH and opens the related Session. The plugin reads the durable Harness turn/end result instead of inferring completion from a transient running-state change. Initial page load, refresh, and reconnect establish a silent baseline, so old events are not replayed as new notifications.

Settings

Open Settings → Notifications inside DSH Web.

Setting Default Purpose
Enable notifications On Master switch for task notifications
Windows notifications On Use the browser Notification API
Only while DSH is inactive On Avoid a system alert while actively viewing DSH
In-page notifications On Show a DSH-styled card when no Windows alert is delivered
Notification sound On Play a synthesized Web Audio chime
Volume 55% Set the chime volume
Task completed On Notify successful task completion
Failures and interruptions On Notify non-successful turn endings
Waiting for your action On Notify approvals, plan reviews, and questions
Subagent notifications Off Include subagent completion and failure events

Windows notifications, in-page cards, and sound each have a separate test action. Repeated Windows or in-page tests replace the unfinished test of the same kind instead of building a queue; real task notifications retain their arrival order.

Installation

Install the public package into the DSH Web profile:

dsh plugin --profile web add @lsq64737/dsh-windows-notifications

Restart DSH Web if it is already running. Run the same add command to update an existing installation.

Remove the plugin with:

dsh plugin --profile web remove @lsq64737/dsh-windows-notifications

First use

  1. Open DSH Web and go to Settings → Notifications.
  2. Select Allow notifications.
  3. Accept the browser's notification permission prompt.
  4. Run Test Windows notification, Test in-page notification, and Test sound.

Browsers require a user gesture before requesting permission, so the plugin never opens the permission prompt automatically during page load. If permission was denied previously, restore it from the site's permission settings in the browser before testing again.

Browser and Windows requirements

  • The DSH tab must remain open. Closing the tab or browser stops all notification processing.
  • Windows notifications require a browser and page origin that expose the Notification API in a permitted secure context.
  • Chrome or Edge site permissions and Windows Do Not Disturb settings remain authoritative; the plugin cannot bypass them.
  • Windows controls the system notification frame, placement, and duration. The plugin supplies the DSH icon, title, message, and click action.
  • A browser may throttle or freeze a long-unused background tab, delaying notifications even while the DSH connection appears active.

Privacy and reliability

  • The plugin does not use a third-party notification service. Event handling stays inside DSH Web, the browser Notification API, Web Audio, and Windows.
  • Notification text can include the DSH Session title and is therefore visible to Windows and on the lock screen according to system notification settings.
  • Sounds are synthesized with Web Audio; no audio file is downloaded.
  • A desktop-delivery failure falls back to an in-page error or task card when in-page notifications are enabled.
  • Operational messages use the windows-notifications: prefix in Harness logs or the browser console. They cover permission, delivery, settings, and audio failures without recording credentials.

Development

Requirements: Node.js 24 or newer and a compatible DSH development workspace.

npm ci
npm run typecheck
npm test
npm run build

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-windows-notifications」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:lsq-dsh-plugins/dsh-windows-notifications

Headless(CLI)profile:

dsh plugin --profile headless add github:lsq-dsh-plugins/dsh-windows-notifications

实测报告

尚未 L3 验证——若已跑过,见下方失败备注。

状态:pending · 最近测试 2026-08-26
备注:验证: runtime-fail 浏览全部待验证失败 →
安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7789 个插件 →