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 和評分是快照中的導航訊號。

安裝與排錯 · 專案問題反饋

同類專案