JxaMe/dsh-telegram-bridge ↗★ 0
dsh-telegram-bridge
将 Telegram 私聊与 DeepSeek Harness(`dsh`)Agent 会话连接起来的桥接插件。在 Telegram 里直接和你的 dsh Agent 对话:发送消息、接收回复、切换模型与思考强度、选择 Agent preset、管理上下文与多会话。 适合希望直接在 Telegram 中与 DSH Agent 进行对话和管理的用户。
Other repositories with this package name
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:JxaMe/dsh-telegram-bridgeREADME
Read the full README ↗⚙️ 配置
配置文件位于 ~/.dsh/dsh-telegram-bridge/config.json(首次启动自动生成示例)。
注意:通过 Web 设置面板修改配置后,需要重启 dsh-telegram-bridge 插件才能生效。
{
"botToken": "123456:ABC-YOUR-REAL-BOT-TOKEN",
"ownerId": 123456789,
"projectRoot": "/home/you"
}
| 字段 | 说明 | 默认 |
|---|---|---|
botToken | Telegram 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 / friendly | raw |
htmlFormatting | Telegram HTML 格式化 | true |
typingIndicator | 打字指示器 | true |
statusLine | 实时状态行 | true |
queueLimit | 每个聊天最多排队消息数 | 20 |
maxSessionsPerChat | 保留的最近会话数 | 5 |
debugLogging | 调试日志 | false |