dshbase

插件目录 / Developer / dsh-task-notifier

dsh-task-notifier

已验证 · 实测可装 AnCoSONG

✓ 持续维护

查看 GitHub ↗ ← 返回插件目录

0Stars
0Forks
0未关闭 issue
—语言
2026-08-15最近推送
跨平台平台

功能简介

DSH task-completion notifier: system notifications for turn/subagent/workflow/goal/question events. Cross-platform (macOS osascript / Linux notify-send / Windows toast).

✅
我们的评价
可用 — 实测通过,早期项目

DSH task-completion notifier: system notifications for turn/subagent/workflow/goal/question events. Cross-platform (macOS osascript / Linux notify-send / Windows toast). 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

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)

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-task-notifier」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:AnCoSONG/dsh-task-notifier

Headless(CLI)profile:

dsh plugin --profile headless add github:AnCoSONG/dsh-task-notifier

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7819 个插件 →