dsh-telegram-notify

DSH PLUGIN通知与集成

仓库 RGarrido03/dsh-telegram-notify

通知与集成 L4 · 沙盒安装通过 安全审查:低风险 可信度:银 可安装插件
安装这个插件

dsh-telegram-notify 是 RGarrido03 维护的 通知与集成 类 DSH 可安装插件, 仓库为 RGarrido03/dsh-telegram-notify,许可证 MIT。 下面按「装什么、怎么装、验没验过、跑起来要注意什么」逐项列出。

一句话选型结论

按资料字段整理

dsh-telegram-notify 是通知与集成类的 DSH 可安装插件,验证等级 L4 · 沙盒安装通过,安全审查为低风险,有可直接复制的安装命令。验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么;涉及密钥或系统权限的,建议先在隔离环境试装。

分类通知与集成 收录类型可安装插件 验证等级L4 · 沙盒安装通过 安全审查低风险
验证等级 L4 L4 · 沙盒安装通过
GitHub 星标 1 复刻 0 · 未关闭 issue 0
最近更新 2026-10-20 创建于 2026-10-20
README 6.3 KB 正文体量,越大说明说明书写得越细

安装

可安装插件
在 DSH 里执行,装完用 dsh plugin list 确认已挂上;标了 L4 / L5 的命令已在沙盒里真实跑通
dsh plugin --profile web add github:RGarrido03/dsh-telegram-notify
  1. 1
    确认版本与运行环境

    仓库没有标注兼容版本与 Node.js 要求,先确认你的 DSH 版本能装,再继续。

  2. 2
    执行安装命令

    在 DSH 里执行上面的命令;多包仓库要注意区分具体子包名,别装错包。

  3. 3
    确认已挂载

    用 dsh plugin list 查看列表里是否出现这个插件,出现即挂载成功。

  4. 4
    试跑并检查权限

    加载后跑一个最小用例,确认它能正常工作;同时看它申请了哪些文件、命令或网络权限。

兼容 DSH 版本未标注版本不匹配时安装会报错
Node.js 要求未标注来自仓库 package.json 的 engines 字段
前置依赖无需要同时安装的同级依赖
npm 包名未发布到 npm可用 npm view 查看包信息

能做什么

通知与集成
字段来自项目仓库与公开索引,中文说明由本站标注

适用场景

通知

上游标签

deepseek-harnessdsh-pluginnotificationstelegram

验证等级与安全审查

L4 · 沙盒安装通过
自动化流程结论,不是人工审核
验证等级L4 · 沙盒安装通过安装命令在隔离沙盒内真实执行成功,无依赖错误
安全审查低风险静态分析结论,未标注不代表已通过审查
仓库健康度活跃按仓库活跃度与最近更新时间给出
可信度银综合仓库活跃度与验证结果

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 验证等级 L4:在沙盒里真实装过,依赖能装上,不是纸面声明。
  • 静态安全审查为低风险,没有发现明显可疑行为。
  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有声明 Node.js 版本要求,版本不匹配可能装不上。
  • 验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么。

更适合

  • 需要在通知与集成场景里给 DSH 补能力的人。
  • 想装完就能用、不想自己排依赖的人。
  • 能接受在本地装依赖、愿意自己确认权限的人。

不太适合

  • 只使用 DSH 官方内置能力、不接受第三方插件的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
插件验证等级安全审查星标兼容版本安装命令
dsh-telegram-notify当前 L4 · 沙盒安装通过 低风险 1 未标注 有
treg L3 · 安装规范通过 低风险 4,976 未标注 无
dsh-purge 未做沙盒验证 未标注 3,412 未标注 有
dsh-im L5 · 运行验证通过 低风险 1,837 0.1.7-rc.2 等 10 个 有
dsh-aurabot-qq 未做沙盒验证 未标注 633 未标注 有
dsh-dafeiyu L5 · 运行验证通过 低风险 425 0.1.7-rc.2 等 10 个 有

仓库档案

通知与集成
字段来自项目仓库与公开索引,中文说明由本站标注
作者 / 维护方RGarrido03仓库 dsh-telegram-notify · 默认分支 main
分类通知与集成notify
收录类型可安装插件声明了 dsh.bundle、可用 dsh plugin add 安装的条目
开发语言未标注仓库主语言
许可证MIT商用或二次分发前请确认条款原文
星标 / 复刻 / issue1 / 0 / 0收录时的数值,非实时
创建 / 更新2026-10-20 · 2026-10-20最后推送 2026-10-20
本站收录2026-10-30首次进入本站目录的时间

README 全文

6.3 KB
作者原文,中文版优先;只做安全转义,不改内容

dsh-telegram-notify


One-way Telegram notifications for DeepSeek Harness.
When you are away from the DSH UI, the bot tells you that a turn finished,
failed, is waiting for an answer, has a plan ready for review, or needs a tool
approval. It never reads Telegram updates, so the bot stays send-only.

The plugin ships its own Settings → Telegram page: paste the bot token,
enter the chat id, and pick which events notify you. No YAML editing needed.

Events

Event Message Toggle
A turn completes ✅ Turn complete notifyTurnComplete
A turn fails, is blocked, or hits the token limit ❌ / ⚠️ notifyTurnError
A turn is cancelled ⏹ Turn cancelled notifyTurnAborted (off by default)
ask_user_question waits for an answer ❓ Waiting for your input notifyQuestions
A plan is presented for approval (exit_plan_mode / plan-review question) 📋 Plan ready for approval notifyPlanReviews
A tool approval waits for a human 🔐 Approval needed notifyApprovals

Subagent sessions are ignored. Approval and question notifications wait 400 ms
and are cancelled if the corresponding decision/tool result arrives first, so
instantly rejected approvals and instantly failing tool calls stay quiet.

Messages are fire-and-forget. A Telegram outage is logged as a warning and
never fails, blocks, or delays an agent turn.

Install

dsh plugin --profile web add dsh-telegram-notify

If your app runs the desktop profile, use --profile desktop. From a local
checkout (before the npm release), use dsh plugin --profile web add link:$PWD.

Enable the bundle by adding "dsh-telegram-notify" to dsh.profile.bundles in
~/.dsh/profiles/web/package.json (or enable it from the DSH Plugin Manager).
The bundle patch mounts the telegram-notify row.

Restart DSH, open Settings → Telegram, and:

  1. Paste the bot token and press Save token. It is stored in the DSH
    credential store under the reference shown on the page
    (TELEGRAM_BOT_TOKEN by default), never in the plugin configuration.
  2. Enter the chat id and press Save settings.
  3. Pick the events you want and save again.

Getting a bot and chat id

Create a bot with @BotFather and copy its token.
Send the bot a message first, then ask a helper bot such as
@userinfobot for your numeric id. For a group, add
the bot to the group and use the group's negative id (for example
-1001234567890); @channelusername also works for public channels.

The plugin only calls sendMessage. It never calls getUpdates, so it cannot
consume messages meant for another Telegram integration.

Configuration reference

The Settings page writes the profile patch for the telegram-notify row. The
same fields remain editable in ~/.dsh/profiles/web/cordis.patch.yml:

- id: telegram-notify
config:
chatId: "123456789"
tokenRef: TELEGRAM_BOT_TOKEN
notifyTurnComplete: true
notifyTurnError: true
notifyTurnAborted: false
notifyQuestions: true
notifyPlanReviews: true
notifyApprovals: true
silent: false
Field Default Meaning
chatId "" (disabled) Target chat id, or @channelusername.
tokenRef TELEGRAM_BOT_TOKEN Credential reference holding the bot token.
token unset Literal token for headless/one-off runs. The Settings page never writes this; prefer tokenRef.
apiBase https://api.telegram.org Bot API base URL; only change for a local Bot API server.
silent false Send without a notification sound.
notifyTurnComplete true Completed turns.
notifyTurnError true Failed, blocked, and max-token turns.
notifyTurnAborted false Cancelled turns.
notifyQuestions true Pending user questions.
notifyPlanReviews true Plans waiting for approval.
notifyApprovals true Pending tool approvals.

The Settings page is keyed to the loader row id telegram-notify; mounting the
plugin under a different id makes the page report the namespace as unavailable.
The editable page fields are schemastery volatile config, so saves apply to
the running plugin without a restart. Messages are plain text (no parse mode),
so model output cannot break formatting or inject markup; text is clipped to
Telegram's 4096-character limit.

If you also run a two-way Telegram bridge such as dsh-im, sessions handled by
that bridge produce their own replies, and this plugin will additionally send
turn notifications for them. Disable the bridge or turn off the turn toggles
if that is noisy.

How it works

The Host half subscribes to session/event. It formats messages from
turn/end, tool/call (ask_user_question, exit_plan_mode),
approval/asked/approval/decided, assistant/message, user/message, and
session/title, and posts them with fetch. The browser half registers a
settings.section slot and reads/writes the telegram-notify namespace through
ctx.configForms; the token goes through the credentials remote. The Host
plugin disables the auto-generated config form so the secret token field is
never exposed by a generic page.

Development

pnpm install
pnpm check        # typecheck, build, node:test

Source layout: src/index.ts (Host), src/client.ts (browser settings page,
compiled as a classic module-loader script), test/ (Host event pipeline,
client registration, and server-rendered settings page). No test touches
Telegram; the transport tests use a local HTTP stub.

The first npm publish must authenticate with a token (trusted publishing can
only be configured after the package exists):

npm login
npm publish --access public

Then add this repository as a trusted publisher for dsh-telegram-notify on
npm (package settings → Trusted publishing → GitHub Actions, workflow
publish.yml). Subsequent releases publish through OIDC from
.github/workflows/publish.yml when a GitHub release is published.

License

MIT

常见问题

6 问
答案由本站依据条目字段整理,不引用上游原文
dsh-telegram-notify 怎么安装?

在 DSH 里执行 `dsh plugin --profile web add github:RGarrido03/dsh-telegram-notify` 即可。

dsh-telegram-notify 的验证等级是什么意思?

L4 · 沙盒安装通过。安装命令在隔离沙盒内真实执行成功,无依赖错误

dsh-telegram-notify 安全吗?

低风险。

dsh-telegram-notify 装之前要先确认什么?

先看它会读写哪些文件、执行哪些命令、连接哪些网络地址;验证等级只说明装得上、跑得起来,不等于安全。涉及密钥或系统权限的,建议先在隔离环境试装。

dsh-telegram-notify 用的是什么许可证?

上游标注为 MIT。商用或二次分发前请到仓库确认许可证原文。

这条记录的数据可靠吗?

本站按仓库名去重后合并整理,字段以作者仓库与 npm 元数据为准;安装命令、仓库地址与 README 保持原文,带 L4 / L5 标记的安装命令已在隔离沙盒里真实跑通。

同名或近似条目

2 条
不同作者的仓库分开列,请确认你要装的是哪一个
通知与集成
按星标排序,可作替代方案

treg

treg

Treg 是面向 Agent 工具的 OpenRouter,聚合 60 个提供商的 2896 个端点,按调用计费,统一令牌访问,无需注册各供

L3 · 安装规范通过 4,976 星

dsh-purge

dsh-purge

dsh-purge Community · DeepSeek Harness 社区维护版:宿主兼容、状态诊断、提示词管理、更新与本机备份回滚

未标注验证等级 3,412 星

dsh-im

dsh-im

将IM机器人接入DeepSeek Harness,支持飞书、微信、钉钉等九种渠道,通过扫码或凭据配置,统一管理多机器人连接。

L5 · 运行验证通过 1,837 星

dsh-aurabot-qq

dsh-aurabot-qq

让 DeepSeek Harness 里的 AI 以「大肥鱼」人格住进 QQ,通过 OneBot v11 网关聊天、发表情语音、写空间日记并

未标注验证等级 633 星

dsh-dafeiyu

dsh-dafeiyu

DSH 大肥鱼是一款由 DeepSeek Harness 真实工作状态驱动的桌面伴侣插件,以始终置顶的透明窗口实时展示 Agent 的思考、

L5 · 运行验证通过 425 星

dsh-trading

dsh-trading

L3 · 安装规范通过 235 星

RGarrido03 的其它插件

2 个

插件的元信息来自作者仓库;分类、验证等级与安全结论的中文说明为中文整理,最近核验 —。