DeepSHPlugins
dsh-windows-notifications 项目预览
GITHUB / COMMUNITY PROJECT

dsh-windows-notifications

工具与集成TypeScriptMIT

为任务事件提供 Windows 桌面通知、可选提示音和 DSH 风格的页面通知。

3 Starslsq-dsh-plugins 更新时间 2026-08-26
访问 GitHub 仓库
dsh-windows-notifications 项目预览

项目介绍

中文

为任务事件提供 Windows 桌面通知、可选提示音和 DSH 风格的页面通知。

English

Adds Windows desktop notifications, optional sounds, and DSH-styled in-page notifications for task events.

项目信息与收录信号

快照 2026-09-11
作者 / 组织
lsq-dsh-plugins
仓库
lsq-dsh-plugins/dsh-windows-notifications
GitHub Stars
3
Forks
0
开发语言
TypeScript
许可证
MIT
最近推送
2026-08-26
Manifest
数据中检测到声明

公开仓库不自动等于可商用;许可证与当前兼容性以原项目文档为准。Manifest 和数据评分不构成安装安全认证。

数据评分

57/ 100
维护活跃
90
文档与实用信息
85
生态关注度
17
安装便捷信号
75
项目声明信号
100

近 16 天仍在更新;README 含完整安装与使用说明;关注度尚低(3)。

评分来自已有数据快照的五维模型,仅作浏览参考,不是实际使用评测或安全检测结论。

安装与使用

所有项目资料与许可均以对应 GitHub 仓库为准。

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

复制命令不会自动执行。请先阅读仓库文档,确认环境要求与许可证。

项目截图

仓库 README

GitHub 原文

已保存的仓库文档快照;文档抓取时间未记录,可能与上方目录介绍处于不同版本。安装前请核对当前仓库说明。

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 stateDefault presentation
Tab visible and browser window focusedDSH in-page card
DSH visible on another monitor while a different application is focusedWindows notification
Another browser tab is active or the browser is minimizedWindows notification
Windows notification unavailable or rejectedIn-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.

SettingDefaultPurpose
Enable notificationsOnMaster switch for task notifications
Windows notificationsOnUse the browser Notification API
Only while DSH is inactiveOnAvoid a system alert while actively viewing DSH
In-page notificationsOnShow a DSH-styled card when no Windows alert is delivered
Notification soundOnPlay a synthesized Web Audio chime
Volume55%Set the chime volume
Task completedOnNotify successful task completion
Failures and interruptionsOnNotify non-successful turn endings
Waiting for your actionOnNotify approvals, plan reviews, and questions
Subagent notificationsOffInclude 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

使用前核对

安装步骤、兼容版本与授权范围以原项目当前文档为准。Stars 和评分是快照中的导航信号。

安装与排错 · 项目问题反馈

同类项目