Blue-2571/dsh-telegram-bot0

@blue/dsh-telegram-bot

DeepSeek Harness plugin: connect a Telegram bot to your dsh agent via long polling. One agent per chat, multi-turn context, whitelist access, and agent-preset mounting so the bot gets the same tools as a Web GUI session.

AI Analysis

核心用途是通过 Telegram 客户端远程使用 DSH 的完整工具链。适合习惯使用 Telegram 进行移动端 AI 交互的用户。需配置 Bot Token。

Package
@blue/dsh-telegram-bot
Version
0.1.0
License
MIT
Last updated
Aug 25, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Blue-2571/dsh-telegram-bot

Configuration

KeyDefaultDescription
enabledtrueMaster switch.
telegram.token''Bot token from @BotFather.
telegram.allowedUserIds[]Numeric user ids allowed to talk to the bot; empty = everyone. Set it in production.
telegram.timeoutSeconds50getUpdates long-poll timeout.
telegram.pollIntervalMs500Gap after a poll timeout/error.
agent.cwd''Working directory for agent sessions (defaults to dsh's cwd).
agent.provider / agent.model''Override model; empty = deployment default.
agent.preset''Agent preset id to mount for bot sessions ('' = deployment default).
agent.maxMessageLength4000Max chars per outbound message.
agent.idleTimeoutMs1800000Idle time before a chat's agent is disposed (0 = never).
agent.instructionPrefix''Prefix prepended to every user message.