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

dsh-push

v0.1.1

Published

Push DeepSeek Harness agent lifecycle notifications to configurable channels

Downloads

788

Readme

dsh-push

English | 简体中文

把 DeepSeek Harness 的 agent 生命周期通知推送到 Bark、飞书、企业微信、钉钉、ntfy 或通用 webhook。

安装

从 npm 安装:

dsh plugin --profile web add dsh-push
dsh plugin --profile headless add dsh-push

从 GitHub 安装时使用提交固定的仓库地址:

dsh plugin --profile web add github:kiim-wong/dsh-push#<sha>

Git 安装会执行包的 prepare 构建脚本。首次安装前,在目标 profile 的 pnpm-workspace.yaml 中允许该包构建:

allowBuilds:
  dsh-push: true

包会通过 cordis.patch.yml 挂载为 dsh-push,不需要修改 dsh monorepo,也不写入 profile 的 patch 配置。

配置

配置文件默认位于 $DSH_HOME/dsh-push/config.json;也可以用 DSH_PUSH_CONFIG 指定路径。可从 config.example.json 开始。环境变量引用支持 $VAR${VAR},日志写入配置文件同目录的 push.log

每个 channel 至少需要自己的类型和目标地址。敏感值只放配置文件或环境变量,不要放进 cordis.patch.yml

支持的事件为 idleinterruptedneedInputexitidle 可通过 minDurationSec 过滤;interrupted 不受该过滤影响。默认不推送 subagent,设置 includeSubagents: true 才会包含会话头部 originsubagent 的 agent。

/push 命令

挂载命令服务时提供 /push statuslistgetsetenabledisabletesteventsonoff。没有命令服务的 headless 组合仍会加载推送事件监听器。

限制

通知发送不重试;每个请求有独立超时和进程退出时的有界 flush。dsh 没有 pi 的会话 quit 事件,因此 exit 表示插件树拆卸,不表示某个 Web 会话关闭。推送正文不包含对话正文,只包含生命周期摘要。

渠道实现沿用 pi-agent-push 的协议与签名算法;本项目仅将事件和命令层适配为 Cordis。