dshbase

插件目录 / Automation / dsh-push

dsh-push

已验证 · 实测可装 kiim-wong

✓ 持续维护 基于 5 个官方 DSH 包 纯 TypeScript

查看 GitHub ↗ ← 返回插件目录

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

功能简介

dsh-push — DSH 插件(编排)

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

dsh-push — DSH 插件(编排) 实测能干净安装、正常启动。早期项目,但功能可用。

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

README

dsh-push

English | 简体中文

Push DeepSeek Harness agent lifecycle notifications to Bark, Feishu, WeCom, DingTalk, ntfy, or a generic webhook.

Installation

Install from npm:

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

To install from GitHub, pin the repository to a commit:

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

Git installations run the package's prepare script. Before the first installation, allow the package to build in the target profile's pnpm-workspace.yaml:

allowBuilds:
  dsh-push: true

The package mounts itself as dsh-push through cordis.patch.yml. It does not require changes to the dsh monorepo or write to the profile's patch configuration.

Configuration

The default configuration path is $DSH_HOME/dsh-push/config.json. Set DSH_PUSH_CONFIG to use another path. Start with config.example.json. Environment variable references support $VAR and ${VAR}. Logs are written to push.log in the configuration file's directory.

Each channel requires at least its type and destination. Keep secrets in the configuration file or environment variables, not in cordis.patch.yml.

Supported events are idle, interrupted, needInput, and exit. minDurationSec filters idle notifications but does not affect interrupted notifications. Subagents are excluded by default; set includeSubagents: true to include agents whose session header has origin: "subagent".

/push command

When the command service is mounted, dsh-push provides /push status, list, get, set, enable, disable, test, events, on, and off. Headless compositions without the command service still load the notification event listeners.

Limitations

Notification delivery is not retried. Each request has an independent timeout, and process teardown uses a bounded flush. dsh has no equivalent of pi's session quit event, so exit means the plugin tree is being disposed, not that an individual web session closed. Notification bodies contain lifecycle summaries, not conversation content.

Channel implementations retain the protocols and signing algorithms from pi-agent-push. This package adapts only the event and command layers to Cordis.

安装

🧩 让 Agent 自动装(推荐)

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

dsh plugin add dshbase-catalog

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

Web profile:

dsh plugin --profile web add dsh-push

Headless(CLI)profile:

dsh plugin --profile headless add dsh-push

包信息

npm:dsh-push · 版本 — · 实测环境 dsh 0.1.0-rc.6

实测报告

端到端验证通过:dsh 0.1.0-rc.6 上 L1 安装 + L2 加载 + L3 运行问答。

使用场景

自动化一项重复工作——调度、串联任务或响应事件——不用你亲手启动。

适合谁

有周期性工作、想 cron 式无人值守而非手动触发的人。

二次开发建议

触发器和任务模板是缝——加事件驱动或文件监听触发,以及更丰富的流程编排。

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

分享徽章

Automation 里更多

浏览全部 7797 个插件 →