npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@anco-dsh/dsh-task-notifier

v0.1.4

Published

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

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)