DSH Plugins Marketplace

DSH Plugins

Plugins

/

Notifications & Integrations

/

dsh-desktop-toast

d

dsh-desktop-toast

Manifest valid

Desktop notifications for DeepSeek Harness: a toast when a task is interrupted or finishes.

hasBundlePatch

dsh-desktop-toast

DeepSeek Harness 桌面通知插件:任务被打断(等你审批、等你回答、计划待确认)和任务完成时,弹一条系统原生通知。不用一直盯着窗口。

前身是 dsh-desktop-notify 0.1.0 原型(靠 install.ps1 往 profile 里拷文件)。这版改成标准 bundle,装、配、卸都走官方插件管理器。改名是因为 dsh-desktop-notify 已被他人发布。

Windows 通知中心里的实际弹窗

提示时机

会话事件通知说明
tool/call 且工具是 ask_user_question / exit_plan_mode任务中断 · 需要你处理模型在等你回答或确认计划
approval/asked任务中断 · 需要你处理有操作在等你授权
turn/end 且 reason.kind === 'completed'任务完成
turn/end 且 reason.kind 为 blocked / error / max-tokens任务中断 · 需要你处理需要你看一眼才能继续
turn/end 且 reason.kind === 'aborted'不提示你自己取消的,不用吵你

子会话(subagent)的事件一律忽略,避免一次任务弹一串通知。

安装

官方方式——和装其它插件一样,二选一:

# CLI
dsh plugin --profile desktop add dsh-desktop-toast

# 本地开发时直接指向目录
dsh plugin --profile desktop add D:\code\dsh-notify\dsh-desktop-toast

或者开 DSH 桌面端 → 侧边栏「插件」→ 搜索 dsh-desktop-toast → 安装。装完立即生效,不用重启。

不推荐:手工挂行。 如果你非要不装成 bundle,把 cordis.patch.yml 里 insert 那两行抄进 %USERPROFILE%\.dsh\profiles\<profile>\cordis.patch.yml 即可;id 保持唯一。

配置

在 profile 的 cordis.patch.yml 里按行 id 覆盖 config(改完重启 DSH 生效):

- id: desktop-toast
  name: dsh-desktop-toast
  config:
    onDone: false
    dedupeWindowMs: 5000
键默认值作用
onInterrupttrue是否发「任务中断」通知
onDonetrue是否发「任务完成」通知
silentfalse静音弹出(Windows 上不响提示音)
dedupeWindowMs3000同一种通知在这个窗口内只弹一次(毫秒,0 关闭去重)
bootQuietMs3000插件刚加载时,这段时间内的「任务完成」不弹(避免启动就刷屏);「中断」不受影响
interruptText任务中断 · 需要你处理中断通知正文
doneText任务完成完成通知正文
appIdcom.deepseek.dshWindows 通知的 AUMID,默认复用 DSH 自己的身份

为什么设置页没有表单? 这份 Config 只负责校验和默认值;DSH 的插件页不会按 schema 自动生成表单,bundle 自己的配置区(plugins.bundle.config)要插件自带 Web 端代码去填。本插件是纯宿主插件,所以配置走 cordis.patch.yml。

平台

  • Windows(主要目标):PowerShell 5.1 + WinRT ToastNotificationManager,系统通知中心里显示为 DeepSeek Harness。要求系统通知总开关打开、DSH 没被关掉通知。
  • macOS:osascript -e 'display notification ...',尽力而为,弹窗归属「脚本编辑器」。
  • Linux:notify-send,需要装了 libnotify。

已知限制

  • Windows 上正文只有一行;标题留空,靠系统显示应用名。
  • 每次通知会拉起一个 PowerShell 进程(约几百毫秒),已经 unref(),不拖住宿主退出。
  • 不支持点通知跳回会话(WinRT 的激活回调要注册 COM 类,宿主侧做不干净)。
  • 只对宿主侧会话事件生效;纯 client 侧(浏览器直连)场景没有系统通知。

从原型迁移

旧版往 profile 里拷目录、在 cordis.patch.yml 尾部追加 - id: desktop-notify 行。换到本插件:

  1. 删掉 profile 的 node_modules\dsh-desktop-notify 目录;
  2. 删掉 profile cordis.patch.yml 里 id: desktop-notify 那一块(含它前面的 - insert: 行);
  3. 按上面「安装」装 dsh-desktop-toast。

两个插件同时装着会弹两遍,务必先拆旧的。

开发

cd D:\code\dsh-notify\dsh-desktop-toast
npm install          # 只为跑测试,装 @deepseek-ai/schemastery
npm test             # node --test test
npm pack --dry-run   # 看发布内容

改完想在本机验证,用上面的本地目录安装,然后随便发一句话、或让它问个问题试试。

License

MIT

Comments

Loading…

Similar plugins

dsh-notification

by drydeuterium

Desktop (Windows toast) notifications for DeepSeek Harness — questions, approvals, turn end and errors. Host-side plugin, zero dependencies.

Manifest valid

★ 0

MIT

JavaScript

Oct 20, 2026

dsh plugin --profile web add dsh-desktop-notify

by FANLS05

Windows desktop toast notifications for DeepSeek Harness (DSH): approval requests, user questions, run completion, errors and sign-in prompts — every toast led by the conversation name.

Tools & CapabilitiesNotifications & IntegrationsManifest valid

★ 0

MIT

JavaScript

Oct 2, 2026

dsh plugin --profile web add dsh-desktop-notifications

by paleech0

Windows toast notifications for DSH desktop sessions from the host process: turn ends, approvals, questions and a reminder for an unanswered wait, with a selectable sound per situation and imported cu

Tools & CapabilitiesNotifications & IntegrationsManifest valid

★ 3

MIT

JavaScript

Oct 18, 2026

dsh plugin --profile web add dsh-notify-desktop

by Andyqwe44

Native Windows toast + taskbar flash for DeepSeek Harness when a task finishes or your input is needed.

Notifications & IntegrationsTerminal & ClientsManifest valid

★ 3

↓ 45/wk

MIT

JavaScript

Sep 27, 2026

dsh plugin --profile web add dsh-notify-win

by VoodooB0Ys

DeepSeek Harness 桌面提醒(Windows):原生 Toast + 全屏兜底卡片,需要授权/提问/完成/出错时叫你一声,点一下回到对应对话

Manifest valid

★ 3

↓ 26/wk

MIT

JavaScript

Oct 5, 2026

dsh plugin --profile web add dsh-desktop-notify

by Exynos671

Windows toast notifications for DeepSeek Harness (dsh): permission requests, branch/option choices and turn completion, plus a Settings -> General switch panel.

Tools & CapabilitiesTerminal & ClientsManifest valid

★ 0

MIT

JavaScript

Sep 20, 2026

dsh plugin --profile web add @deepseek-ai/dsh-windows-notify