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.

包名
@blue/dsh-telegram-bot
版本
0.1.0
许可证
MIT
最近更新
2026年8月25日

安装

$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.