dsh-chat-bridge
DiscoveredChat bridge that connects Telegram (WhatsApp, Zalo, Viber, ... ) to DeepSeek Harness via its headless CLI
dsh-chat-bridge
Self-hosted personal assistant on DeepSeek Harness: Telegram + optional Web UI, local notes/reports, search on request only.
The bot allowlists Telegram users, runs the agent in an isolated workspace/, and keeps chat history on disk. Headless mode boots dsh per message with a personal-assistant profile (no shell). SDK mode keeps a JSON-RPC runtime and resumes a real harness session.
Data stays local — telegram-bridge/data/, workspace/, and ~/.dsh/ are not pushed to GitHub.
Requirements
- Node.js 22.19+
DEEPSEEK_API_KEYin the repo-root.env- Telegram bot token from @BotFather
Quick start
./scripts/setup-dsh-profiles.sh # once: mount Cordis plugins into ~/.dsh
cd telegram-bridge
cp .env.example .env # TELEGRAM_BOT_TOKEN + TELEGRAM_ALLOWED_USER_IDS
pnpm install
pnpm test
pnpm start
Send /whoami, add your user id to TELEGRAM_ALLOWED_USER_IDS, restart.
Telegram commands
| Command | Effect |
|---|---|
/note, /notes, /remember | Personal notes and short memory (local files) |
/search, /report, /research, /slide | Skills — see /skills |
/task, /tasks, /cancel-task | Background tasks |
/export | Zip local data and send as a document |
/newchat, /cancel, /status | Session and turn control |
Send a text or PDF document to ingest into workspace/inbox/.
Web UI
./start.sh
Merge config/providers/openrouter-provider.yaml into ~/.dsh/settings.yaml for the model catalog.
Web search uses Tavily only when explicitly requested (tìm kiếm, /search, /report, …). Knowledge answers stay short; search/report replies cite sources.
Local data
| Data | Path |
|---|---|
| Telegram chat history | telegram-bridge/data/sessions.json |
| Short memory | telegram-bridge/data/memory.md |
| Notes | workspace/notes/ |
| Reports | workspace/reports/ |
| Deep research | workspace/research/<date>-<topic>/ |
| Slides | workspace/slides/*.html |
| Inbox uploads | workspace/inbox/ |
| Web UI sessions | ~/.dsh/sessions/ |
Daily briefing (optional)
cd telegram-bridge
TELEGRAM_BRIEFING_CHAT_ID=123456 node ../scripts/daily-briefing.mjs
Schedule with cron or macOS launchd (see telegram-bridge/deploy/).
Layout
telegram-bridge/ Grammy channel, notes, tasks, export
plugins/ Cordis: search-on-request, personal-notes, report-style, …
scripts/ setup-dsh-profiles.sh, daily-briefing.mjs
docs/ EXTENSION.md, SKILLS.md
workspace/ Agent cwd; notes, reports, inbox (gitignored)
SDK mode (optional)
Set DSH_MODE=sdk and DSH_SDK_LAUNCH in telegram-bridge/.env when you have @deepseek-ai/dsh-sdk-client and a JSON-RPC runtime. Gives persistent harness sessions per chat.
DeepSeek Harness is MIT-licensed by DeepSeek AI. This repository is MIT-licensed independently.
Extension guidelines: docs/EXTENSION.md.
Comments
Loading…
Similar plugins
by lanbaolu
DeepSeek Harness (DSH) 微信桥接插件:三端通用,host 工具 + Web 管理面板
★ 5
↓ 201/wk
MIT
TypeScript
Sep 29, 2026
dsh plugin --profile web add @lanbaolu/dsh-wechat-bridgeby baisama-cloud
DeepSeek Harness(DSH)多通道消息桥:将微信(ClawBot/iLink)、QQ和飞书(Lark)聊天消息路由给DSH代理,并将代理的回复反馈给发送方。
★ 4
MIT
JavaScript
Sep 4, 2026
dsh plugin --profile web add dsh-omni-bridgeby LosEcher
DSH bundle: thin Telegram bridge (long-poll Bot API, allowlist, per-chat agent sessions) for DeepSeek Harness
★ 0
↓ 201/wk
MIT
JavaScript
Aug 15, 2026
dsh plugin --profile web add dsh-channel-telegramby CMD128
微信桥接 DSH 插件:扫码绑定官方 ClawBot(iLink 协议),私聊驱动 DeepSeek Harness 会话 — WeChat bridge plugin for DSH
★ 0
MIT
JavaScript
Sep 2, 2026
dsh plugin --profile web add dsh-wx-bridgeby qschen86
DSH host plugin: Telegram notifications and reply-to-continue for sessions
★ 0
MIT
JavaScript
Sep 5, 2026
dsh plugin --profile web add dsh-telegram-bridgeby dAI-aigc
Bridge WeChat contacts to DeepSeek Harness sessions over Tencent's official iLink bot channel
★ 0
MIT
TypeScript
Sep 17, 2026
dsh plugin --profile web add dsh-wechat