JxaMe/dsh-telegram-bridge ↗★ 0

dsh-telegram-bridge

连接 Telegram 私聊与 DSH 会话的桥接器 适合希望直接在 Telegram 中与 DSH Agent 进行对话和管理的用户。

包名
dsh-telegram-bridge
兼容性
待验证
版本
1.2.0
许可证
MIT
最近更新
2026年8月18日

同名包的其他仓库

安装

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

⚙️ 配置

配置文件位于 ~/.dsh/dsh-telegram-bridge/config.json(首次启动自动生成示例)。

注意:通过 Web 设置面板修改配置后,需要重启 dsh-telegram-bridge 插件才能生效。

{
  "botToken": "123456:ABC-YOUR-REAL-BOT-TOKEN",
  "ownerId": 123456789,
  "projectRoot": "/home/you"
}
字段说明默认
botTokenTelegram Bot Token—
ownerId允许使用的 Telegram 用户 ID—
projectRoot新会话工作目录process.cwd()
proxyEnabled / proxyUrl代理开关与地址false / http://127.0.0.1:7890
defaultProvider / defaultModel / defaultReasoningEffort默认模型设置''
defaultAgentPreset默认 Agent preset''
errorDisplayMode错误显示:raw / friendlyraw
htmlFormattingTelegram HTML 格式化true
typingIndicator打字指示器true
statusLine实时状态行true
queueLimit每个聊天最多排队消息数20
maxSessionsPerChat保留的最近会话数5
debugLogging调试日志false