Skip to content

dsh-messenger-gateway

Verified

@goodandready/dsh-messenger-gateway · v0.4.14 · MIT · Web UI

Telegram messenger bridge for DeepSeek Harness: sessions, steer, homes, inline asks, notify bridge, and optional TTS voice notes.

Install

dsh plugin add @goodandready/dsh-messenger-gateway

Confirm the layer applied with dsh --profile default --dump-config — see the install guide.

Source

Tags

Readme

📦 @goodandready/dsh-messenger-gateway

DeepSeek Harness Telegram 专属网关(支持交互按钮调度、论坛话题隔离与语音条回复)

npm version license DSH Plugin Node version

作者全部项目

🇬🇧 English • 🇷🇺 Русский • 🇨🇳 中文说明

⭐ 如果您喜欢这个插件,请在 GitHub 上为它点亮 Star — 这能让我知道插件对您有用,并鼓励我继续开发和维护它。

🐛 如果您发现 Bug 或希望增加功能,请使用任意语言在 GitHub 上提交 Issue — 我会评估您的建议,并在后续版本中实现有价值的改进。

⚡ 插件概览

dsh-messenger-gateway 为 DeepSeek Harness 智能体提供企业级 Telegram 接入桥梁。

除常规对话转发外,本插件全面打通了智能体深度交互能力:问答交互式内联按钮 (Inline Keyboard)、Telegram 论坛话题 (Forum Topics) 独立会话隔离、单用户工作区目录安全隔离、6 位配对码鉴权防护以及语音条朗读回复 (TTS)。

graph LR
    subgraph TelegramClient [Telegram 客户端 / 群组 / 话题]
        User[👤 用户 / 论坛话题] --> TG[Telegram Bot API 轮询 / Webhook]
    end

    subgraph GatewayCore [网关调度核心]
        TG --> Auth{配对码与权限校验}
        Auth -->|已配对用户| Router{话题与目录路由器}
        Router --> Home[独立工作目录: /homes/user_id]
        Home --> Thread[DSH 隔离会话上下文]
    end

    subgraph AgentLoop [DSH 智能体执行流]
        Thread --> Agent[智能体逻辑流]
        Agent -->|ask_question 工具调用| Ask[Telegram 原生内联交互按钮]
        Agent -->|语音回复合成| TTS[TTS 语音条消息下发]
    end

    subgraph Feedback [交互下发]
        Ask --> TG
        TTS --> TG
    end

    style TelegramClient fill:#1e1e2e,stroke:#89b4fa,stroke-width:2px,color:#cdd6f4
    style GatewayCore fill:#181825,stroke:#cba6f7,stroke-width:2px,color:#cdd6f4
    style AgentLoop fill:#11111b,stroke:#a6e3a1,stroke-width:2px,color:#cdd6f4
    style Feedback fill:#181825,stroke:#f38ba8,stroke-width:2px,color:#cdd6f4

📦 安装指南

dsh plugin --profile web add @goodandready/dsh-messenger-gateway

📄 开源协议

MIT © GooDAnDReaDY