Community plugin

AnCoSONG / @anco-dsh/dsh-task-notifier

DSH 任务完成通知器:Agent 每轮完成、子代理结束、Workflow 跑完、目标完成、Agent 提问时发送系统通知(macOS osascript)。

  • JavaScript
  • License not detected
  • 0 stars
  • Aug 15, 2026

About this plugin

Written by the registry from verified metadata, not from the README.

@anco-dsh/dsh-task-notifier is a DSH plugin published from the AnCoSONG/dsh-task-notifier repository.

  • Listing statusManifest verified
  • Manifest checkedNov 23, 2026
  • Package@anco-dsh/dsh-task-notifier
  • Package version0.1.4
  • Source commit5e0721e
  • Repository createdAug 15, 2026

Capabilities and topics

agentdshnotifications
From the repository README

README

Everything below this line is the repository's own document, cached here. This site did not write or review it.

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 / Linux notify-send / Windows PowerShell toast)

Badge

Listed here? Link back with this badge — paste the snippet into your repository README.

Listed on DSH Plugin badge
[![Listed on DSH Plugin](https://dsh-plugin.com/badges/listed.svg)](https://dsh-plugin.com/plugins/AnCoSONG/dsh-task-notifier)