dsh-task-notifier
Manifest validDSH task-completion notifier: system notifications for turn/subagent/workflow/goal/question events. Cross-platform (macOS osascript / Linux notify-send / Windows toast).
dsh-task-notifier
DSH 任务完成通知器:任务结束时发送系统通知(当前实现为 macOS osascript 横幅),触发链来自浏览器/会话事件;通知通道按平台分发(macOS osascript / Linux notify-send / Windows toast),不依赖浏览器权限。
功能
| 场景 | 事件 | 默认 |
|---|---|---|
| 每轮对话完成(仅根 agent) | agent/status | 开 |
| 子代理结束 | subagent/end | 开 |
| Workflow 跑完 | workflow/end | 开 |
| 目标(goal)完成 | goal/changed (complete) | 开 |
| Agent 提问 | tools/execute (ask_user_question) | 开 |
通知通道:Host 端通过 ctx.shell 执行平台系统通知命令(macOS osascript / Linux notify-send / Windows PowerShell toast),无需 Client 端、无需审批。
安装
在 DSH profile(Web GUI 默认 profile 为 web)中安装:
dsh plugin --profile web add @anco-dsh/dsh-task-notifier
或从本仓库直接安装(本地开发):
dsh plugin --profile web add .
提示:如果你使用非
web的 profile,把上面的web换成你的 profile 名即可(dsh --profile <name>或 GUI 设置里的当前 profile)。
配置
所有场景默认开启,可通过 profile 的 cordis.patch.yml 按 id 覆盖整行 config:
- id: task-notifier
config:
notifyOnTurnEnd: true
notifyOnSubagentEnd: false
notifyOnWorkflowEnd: true
notifyOnGoalComplete: false
notifyOnQuestion: true
发布
# 1. 构建产物
pnpm pack
# 2. 发布到 npm(需要 npm 账号)
npm publish
# 或交付 tarball
dsh plugin --profile web add ./anco-dsh-dsh-task-notifier-0.1.4.tgz
依赖
- 运行时:零依赖(Config 为手写 Standard Schema)
- 环境:跨平台(macOS
osascript/ Linuxnotify-send/ Windows PowerShell toast)
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.1 | — | — |
| 0.1.2 | — | — |
| 0.1.3 | — | — |
| 0.1.4 | — | — |
Comments
Loading…
Similar plugins
System-native notifications when a task finishes or needs your confirmation: Windows toast, macOS osascript, and Linux notify-send.
★ 0
↓ 681/wk
dsh plugin --profile web add dsh-notifierDesktop and webhook alerts on macOS, Linux and Windows when an agent finishes a turn, errors, or waits for approval — zero-dependency native notifications (osascript / notify-send / PowerShell toast)
★ 2
↓ 562/wk
MIT
JavaScript
dsh plugin --profile web add dsh-notificationSystem-level desktop notifications: turn-completion and workflow-end banners, plus a modal alert when an approval is needed (macOS osascript / Linux notify-send).
★ 0
↓ 381/wk
dsh plugin --profile web add dsh-notifyby YuMo226
Native Windows system notification (Notification Center toast) when a task completes: goal completion or agent turn end.
★ 0
MIT
JavaScript
Aug 17, 2026
dsh plugin --profile web add dsh-task-notifyby kaotusi
DeepSeek Harness (DSH) system-level task notifications: approval required / awaiting reply / task finished (background job, subagent, workflow) → OS notification center with chimes + in-app bell panel
★ 4
MIT
JavaScript
Aug 15, 2026
dsh plugin --profile web add @deepseek-ai/dsh-task-notifyby yimengsuper2432
Sends one system notification when a DSH turn ends: per-outcome switches for completed, error and interrupted, a minimum-duration threshold, silent subagents and unfocused-window-only delivery. Works
★ 0
MIT
JavaScript
Nov 2, 2026
dsh plugin --profile web add dsh-notice