RGarrido03/dsh-telegram-notify ↗★ 1

dsh-telegram-notify

Push DSH turn, error, question, plan-review and approval events to a Telegram chat, with a Settings page for the bot token, chat id and event toggles. 适合需要远程接收DSH运行状态、错误或审批通知的用户。

Package
dsh-telegram-notify
Compatibility
Unverified
Version
0.2.3
License
MIT
Last updated
Oct 20, 2026

Other repositories with this package name

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:RGarrido03/dsh-telegram-notify

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
FieldDefaultMeaning
chatId"" (disabled)Target chat id, or @channelusername.
tokenRefTELEGRAM_BOT_TOKENCredential reference holding the bot token.
tokenunsetLiteral token for headless/one-off runs. The Settings page never writes this; prefer tokenRef.
apiBasehttps://api.telegram.orgBot API base URL; only change for a local Bot API server.
silentfalseSend without a notification sound.
notifyTurnCompletetrueCompleted turns.
notifyTurnErrortrueFailed, blocked, and max-token turns.
notifyTurnAbortedfalseCancelled turns.
notifyQuestionstruePending user questions.
notifyPlanReviewstruePlans waiting for approval.
notifyApprovalstruePending 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.