快速了解
它能做什么
将 DeepSeek Harness 智能体接入 Telegram,并可选向 Discord 和 Slack 外发消息。
本站提供的是中文说明,不代表该项目或 Plugin 自身提供中文界面;语言支持请以上游文档为准。
Web Profile
Not declared in supplied evidence
证据已验证
核对日期 2026/9/13 UTC 14:06
选择前先看
此 DSH 插件将 Telegram 聊天转换为智能体会话,支持文本、语音、照片、文档、内联提问、会话控制、命名通知主页和可选语音回复。文档还说明了 Discord、Slack 外发通道、Web 端点及插件页设置卡。
适合谁
希望通过 Telegram 与 DeepSeek Harness 智能体交互,或将智能体通知发送到聊天服务的用户。
常见任务
- 按 Telegram 用户、聊天或论坛主题启动和管理独立智能体会话。
- 通过 messenger_ask 智能体工具使用内联按钮提问。
- 导出、分叉、回退或切换 Telegram 驱动的会话。
- 向命名的 Telegram 主页发送通知,或向 Discord、Slack 外发消息。
- 配合另行安装的插件处理入站语音和照片,或通过 TTS 朗读回复。
权限与数据
该网关会处理聊天内容,并可能连接 Harness 工作区和外部消息服务。
权限- Telegram 消息功能需要机器人令牌。
- Discord 或 Slack 外发功能可选使用 Webhook URL 或机器人令牌。
- 需要配置允许的 Telegram 用户 ID 或配对方式。
- 使用相关功能时,会接收 Telegram 文本、语音、照片、文档、按钮选择和会话命令。
- 可将对话历史导出为 Markdown。
- 可通过 Telegram 命令列出和下载工作区文件。
- 启用 notifyBridge 后,可将非消息网关的 Web 会话事件转发到配置的主页。
- Telegram Bot API。
- 可选的 Discord Webhook 或 Bot API。
- 可选的 Slack Webhook 或 Bot API。
- 可选的 DSH 语音、TTS 和视觉配套插件。
- 启用 Telegram 需要 Telegram BotFather 令牌。
- 只有配置相应外发通道时才需要 Discord 或 Slack 凭据。
局限
- 提供的证据未声明 DeepSeek Harness 的兼容版本范围。
- 本次未执行或审计实际安装、消息投递、Webhook 行为和凭据处理。
- 非 Opus 的 TTS 语音要转换为语音便笺,需要主机 PATH 中存在 ffmpeg;否则会作为普通音频文件发送。
- 入站语音、照片理解和语音回复需要另行安装配套插件。
DSHub 已核对
- 已验证固定 Git 源及插件包补丁结构。
- 已确认 npm 包标识、0.3.21 版本和 MIT 许可证的证据。
- 插件包声明了 web 客户端平台和 Messenger gateway 补丁条目。
DSHub 未核对
- 未审计已发布 npm tarball 的内容。
- 未在 Harness profile 中测试实际安装和运行。
- 未独立验证 Telegram、Discord、Slack、TTS、视觉及文件命令行为。
固定版本安装
安装 DSH Messenger Gateway
这个Plugin Bundle没有 DSH Plugin 安装操作,请根据源码文档使用真实交付方式。
维护者原文
项目 README
📦 @goodandready/dsh-messenger-gateway
<div align="center"><h3>Telegram Messenger Bridge with Interactive Buttons, Forum Topics & Voice Notes for DeepSeek Harness</h3><p align="center"> <a href="https://www.npmjs.com/package/@goodandready/dsh-messenger-gateway"><img src="https://img.shields.io/npm/v/@goodandready/dsh-messenger-gateway.svg?style=for-the-badge&color=6366f1&labelColor=1e1b4b" alt="npm version"></a> <a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-10b981.svg?style=for-the-badge&color=10b981&labelColor=064e3b" alt="license"></a> <a href="https://github.com/topics/dsh-plugin"><img src="https://img.shields.io/badge/DSH-Plugin-8b5cf6.svg?style=for-the-badge&labelColor=2e1065" alt="DSH Plugin"></a> <a href="https://nodejs.org"><img src="https://img.shields.io/badge/Node-20%2B-f59e0b.svg?style=for-the-badge&labelColor=451a03" alt="Node version"></a> </p><p align="center"> <a href="https://goodandready.app/"><img src="https://img.shields.io/badge/All_Author_Projects-goodandready.app-ff4500.svg?style=for-the-badge&logo=rocket&logoColor=white&labelColor=1a1a2e" alt="All Author Projects"></a> </p><p align="center"> <a href="README.md"><b>🇬🇧 English</b></a> • <a href="README.ru.md"><b>🇷🇺 Русский</b></a> • <a href="README.zh.md"><b>🇨🇳 中文说明</b></a> </p><table align="center"> <tr> <td align="center"> ⭐ <strong>If you like this plugin, please star it on GitHub</strong> — it shows me that the plugin is useful to you and motivates me to keep developing it. <br><br> 🐛 <strong>If you find a bug or would like to request a feature</strong>, open a GitHub issue in any language — I will review your proposal and implement useful suggestions in a future plugin version. </td> </tr> </table></div>⚡ Overview
dsh-messenger-gateway provides an enterprise-grade, multi-transport messaging gateway for DeepSeek Harness agents.
Talk to your Harness agent directly from Telegram: interactive keyboard buttons, forum topic sessions, private user workspaces, pairing codes, and optional spoken voice replies.
Talk to your Harness agent from Telegram: text, voice, photos, documents, inline buttons, named homes, and optional spoken replies.
Features
- Long-poll or webhook Telegram bot
- Multi-transport support: Telegram, Discord (Webhooks & Bot API), and Slack (Webhooks & Bot API)
- Allowlist + pairing codes
- Per-user or per-chat sessions (
sessionScope) - Forum topics as separate sessions
- Quick actions reply keyboard (
/keyboard on|off) - Multi-select interactive ask forms with checkboxes and pagination (
messenger_ask) - Artifact & Mermaid diagram rendering (SVG cards) and monospace table formatting
- Agent roles & personas (
/role coder,/role architect,@roletags in group chats) - Agent tools & skills inspection (
/skills,/tools) - Session management: dialogue history export to Markdown (
/export), turn rewind (/rewind), session branching (/fork) - Workspace file manager (
/files [dir]) and file download (/get <path>) with directory traversal protection - Admin alert channel for pairing requests, model errors and monitoring (
/setalert,/alert) - Persistent scheduled reminders (
/remind <time> <text>,/remind list,/remind cancel) - Inbound webhook event dispatcher (
POST /dsh-messenger-gateway/events) for CI/CD and external alerts - Steer: follow-up messages while the agent is busy (instead of aborting)
/stop,/new,/model,/status,/voice,/sethome,/home- Agent tool
messenger_ask(inline keyboard answers return to the agent) - Named homes for outbound notify /
messenger.send - Optional notify bridge: web session events → Telegram home (excludes messenger sessions)
- Inbound voice → STT (
dsh-voice), photos → vision (dsh-vision-bridge) - Optional TTS replies (
dsh-tts); mp3 is converted to OGG/Opus viaffmpegfor Telegram voice notes
Discord and Slack adapters are available as outbound transports (Webhooks or Bot REST APIs).
Install
dsh plugin --profile web add @goodandready/dsh-messenger-gateway
Then open Settings → Plugins → Messenger gateway:
- Enable Telegram
- Paste the BotFather token (write-only; leave blank to keep the current token)
- Set allowed Telegram user IDs (or use pairing)
Optional companion plugins (same profile)
| Plugin | Role |
|---|---|
@goodandready/dsh-voice |
Transcribe inbound voice messages |
@goodandready/dsh-tts |
Speak agent replies |
@goodandready/dsh-vision-bridge |
Describe inbound photos |
They are not npm dependencies of this package — install them separately if you want those features.
Voice notes
Spoken replies use Telegram sendVoice. If TTS returns MP3 (or other non-Opus audio), the gateway runs ffmpeg (libopus) to produce OGG. If ffmpeg is missing or conversion fails, the audio is sent as a regular audio file instead of a voice note.
Commands (Telegram)
| Command | Description |
|---|---|
/start /help |
Help |
/whoami |
Your Telegram user id |
/new |
New agent session |
/stop |
Abort the current turn |
/model |
Interactive 2-step model picker (providers → models) or /model <prov> <mod> |
/status |
Gateway status and session counters |
/top |
Live server resources: RSS/Heap memory, uptime, active chats, reminders |
/topic <name> |
Create a new Telegram forum topic in supergroups and start an isolated session |
/role [name] |
Switch agent persona (coder, architect, reviewer, writer, translator, concise) |
/skills /tools |
List active agent tools and capabilities |
/fork |
Fork current session into a new independent session |
/export |
Export session dialogue history to Markdown |
/rewind [N] |
Rewind last N conversation turns |
/files [dir] |
Workspace file manager |
/get <path> |
Download file from workspace |
/remind <time> <text> |
Set a reminder (e.g. /remind 15m Call client) |
/setalert /alert |
Configure admin alert channel and send test alert |
/keyboard on|off |
Toggle quick actions reply keyboard |
/voice on|off |
Per-user spoken replies |
/tts on|off|status |
Per-chat spoken replies |
/sethome [name] |
Bind current chat/topic as a named home |
/home |
List homes |
Multi-Transport Support (Discord & Slack)
In addition to Telegram, outbound messages can be dispatched to Discord and Slack via Webhooks or Bot APIs:
- Discord: set
discord.enabled: true, provide eitherwebhookUrlorbotToken. Target channels viachatId: "<channel_id>". - Slack: set
slack.enabled: true, provide eitherwebhookUrlorbotToken. Target channels viachatId: "<channel_id>"or threads viathreadId: "<thread_ts>".
Agent tools & HTTP
- Tool:
messenger_ask— ask the user with inline buttons; choice is fed back into the turn - HTTP (when enabled):
/messenger/send,/messenger/ask,/messenger/progress - Cordis service:
ctx.messengerfor other plugins
Configuration notes
sessionScope:user(default) orchat— how group chats isolate sessionsvoiceMode:mirror/always/off— when to speak replies (also/voice)tts.enabled/tts.maxChars— TTS gate and length capnotifyBridge— forward non-messenger web session events to a home- Bot token is a DSH secret field — never commit it
Client UI & Settings Card
- Mounted into
settings.plugin.itemon the Plugins tab (key: dsh-messenger-gateway). - Configuration is managed reactively via
settingsScope.bind({ namespace: 'dsh-messenger-gateway' })with snapshot status checking (loading,unavailable,ready). - Protected dictionary registration: duplicate registration attempts on page reload are safely caught with non-fatal warnings, ensuring the settings card never fails to mount.
Requirements
- DeepSeek Harness web (or compatible) profile
- Node.js matching your Harness install
- For voice notes from non-Opus TTS:
ffmpegon the hostPATH
License
MIT
有意识地管理
安装与管理
前置条件与目标 Profile
目标: Web Profile
交付方式: Git Bundle — GooDAnDReaDY/dsh-messenger-gateway#c3a41e153a94e476b0ddf8175071580c10a5dd03。
验证、更新与移除
显示生命周期命令
dsh plugin --profile web list兼容性与访问范围
DeepSeek Harness web or compatible profile required: Not declared in supplied evidence。
风险事实
Requires a Telegram bot token when Telegram is enabled; the README says it is a secret field and must not be committed.
证据 ↗Can send outbound messages through Telegram, Discord, and Slack; webhook or bot credentials may be configured for Discord and Slack.
证据 ↗Documents workspace file listing and file download commands, so users should configure access with the workspace contents in mind.
证据 ↗证据与编辑审查Manifest、Bundle patch、分发与新鲜度
不可变证据
审查状态与源码活动
启用前请审查外部服务凭据,并考虑工作区文件可被访问的范围。
AI 审查于 2026/9/13 UTC 14:06。GitHub 事实核对日期: 2026/9/13 UTC 14:06。
自当前证据基线以来,没有记录到重要源码变化。