534119219/chicheng-push 预览 preview

534119219/chicheng-push

DSH(DeepSeek Harness)Web 消息推送插件:多渠道推送(Server酱/PushPlus/Bark/钉钉/企微/Telegram/飞书/Webhook等),设置界面提供「推送插件」入口,可被其他插件调用(pushNotifier 服务 / /push/api 接口)

Project Overview项目介绍

This is a native message push plugin built exclusively for DeepSeek Harness (DSH). After installation, it adds a new "Push Plugin" entry in the left sidebar of the DSH web settings interface, where users can configure and manage multiple push channels across 14 supported types, including popular services like Server酱, PushPlus, Bark, DingTalk, WeCom, Telegram, Feishu, and SMTP email. It exposes push capability two ways: as an in-process pushNotifier cordis service for other DSH plugins, and as an HTTP API endpoint for out-of-process calls. The easiest installation method is via npm, which provides a pre-built package that skips pnpm’s allowBuilds authorization step with a single command.

This plugin is designed for DSH plugin developers and end users who need notification functionality for DSH-based tasks and events. After installation, users must manually restart the DSH web service to activate the plugin, then navigate to the settings page to add and configure their preferred push channels. Each channel can be tested, enabled or disabled, edited, or deleted directly from the settings UI. For example, a DSH scheduled task plugin can call the pushNotifier service to send task completion notifications to all configured channels right after a task finishes executing.

The plugin is released under the permissive MIT open source license. Most of the host-side functionality has no third-party dependencies, as it uses Node.js’s built-in fetch API for all HTTP-based push channels. Only the SMTP email channel requires an extra dynamic dependency on nodemailer, which is loaded only when an email channel is configured. Security notes include that channel credentials are stored in plaintext in the DSH home directory, so users must ensure proper directory permissions, and all API endpoints are restricted to same-origin and loopback requests to reduce exposure.

这是一款专为 DeepSeek Harness (DSH) 开发的原生消息推送插件。它会在DSH Web版设置界面的左侧栏新增「推送插件」入口,支持配置管理多个不同类型的推送渠道。同时,该插件将推送能力以 host 侧的 pushNotifier 服务和 /push/api/send HTTP 接口的形式暴露给其他插件调用,比如定时任务插件可以在任务完成后调用该推送能力。插件界面支持中英双语,会跟随浏览器语言自动切换。

该插件适合所有需要在DSH中获取任务执行通知、事件提醒的开发者用户。完成插件安装并重启DSH Web服务后,用户即可打开设置界面进入推送插件页面,添加任意多个不同类型的推送渠道,对已添加的渠道可以进行启用停用、测试推送、编辑删除等管理操作。其他插件开发者可以选择进程内服务调用或者HTTP接口两种方式接入该推送能力,满足不同开发场景的需求。

该插件采用MIT许可协议开源,host侧大部分功能无额外第三方依赖,仅邮件推送渠道需要动态加载nodemailer。推送渠道配置明文存储在DSH_HOME目录下,用户需要确保该目录权限仅对当前用户开放。接口也做了同源/回环地址访问保护,降低安全风险。安装可通过npm一键安装,也支持本地路径打包安装,安装后需手动确认配置并重启服务生效。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 7 stars - very few users, little community feedback星标只有 7,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add chicheng-push

把 534119219/chicheng-push 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

chicheng-push

License: MIT dsh-plugin

dsh 消息推送插件:在 Web 设置界面左侧栏新增 「推送插件」 入口,可配置管理多个推送渠道;同时把推送能力以 pushNotifier 服务(host 侧)和 /push/api/send HTTP 接口暴露给其他插件,例如定时执行插件在任务完成后调用推送。

界面语言:中文 / English UI 均支持(locale 字典随浏览器语言切换)。

截图

设置入口 渠道列表 添加渠道
设置入口 — 设置界面左侧栏的「推送插件」入口 渠道列表 — 启用/停用、测试、编辑、删除 添加 / 编辑渠道 — 按类型动态表单,必填项标 *

目录

渠道实现参考 whyour/qinglong 的 notify 目录,默认支持:

渠道 类型 id 说明
Server酱 serverChan sctapi / sctp 多通道
PushPlus pushPlus 支持群组与渠道
Bark bark iOS 推送
钉钉机器人 dingtalkBot 支持加签
企业微信群机器人 weWorkBot 群 Webhook
企业微信应用消息 weWorkApp corpid,corpsecret,touser,agentid
Telegram Bot telegramBot 支持自建 API 域名
飞书 / Lark 机器人 lark 支持加签
ntfy ntfy 支持自建实例与鉴权
iGot iGot 聚合推送
PushDeer pushDeer 支持自建
Gotify gotify 自部署
自定义 Webhook webhook $title / $content 变量
邮件(SMTP) email 需要环境可动态加载 nodemailer

结构

chicheng-push/
├── package.json          # dsh.bundle / dsh.client 声明
├── cordis.patch.yml      # 插入 profile 层
├── lib/
│   ├── index.js          # host 半:渠道存储 + 推送实现 + /push/api/* + pushNotifier 服务
│   └── client.js         # client 半:设置界面「推送插件」页
├── assets/               # 界面截图
├── docs/                 # 补充文档(面板图标补丁等)
├── examples/             # 集成示例(定时任务插件)
├── smoke.mjs             # 集成测试
└── README.md

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev querit-plugins 下一个 Next dsh-skin-universe →