dsh-telegram-channel
Manifest validTelegram mobile remote for DeepSeek Harness sessions (Martty/ACP-compatible fork of hi-wenw/dsh-telegram-channel): bind a chat to a live session, plain text = followup, /model /last /sessions.
dsh-telegram-channel(martty 兼容 fork)
项目由来:本仓库 fork 自 hi-wenw/dsh-telegram-channel(MIT,版权归上游 contributors,见 LICENSE)。
fork 原因:原版在 Martty Host(
dsh --profile martty)上无法启动——它硬声明inject: ['agents', 'apiProxy'],而apiProxy只有 web profile(dsh-host-apiproxy)提供;Cordis 的 inject 全为必选,fiber 永久 pending,启动报1 entry did not activate(openma-ai/Martty#46)。差异:不再 inject
apiProxy(改运行时探测);/model无 apiProxy 时回退到ctx.llm+installModelSelection本地路径;依赖对齐 rc.8。web profile 行为与上游一致。上游修复后本 fork 可同步或退役。
Telegram 手机遥控器 for DeepSeek Harness:附着本机会话,手机 ↔ 电脑同轨迹、双向可见。
安装
# web profile(完整会话目录,走 apiProxy,同上游)
dsh plugin --profile web add github:zhang0098/dsh-telegram-channel
# martty profile(列运行中的本机会话,/model 走本地)
dsh plugin --profile martty add github:zhang0098/dsh-telegram-channel
环境变量(或 config):DSH_TELEGRAM_TOKEN、DSH_TELEGRAM_ALLOWED_USER_IDS(数字白名单,可逗号分隔)。
使用
/sessions→ 选工作区 → 选会话 → 附着;之后手机发文字即进入该会话(与电脑同轨迹)- 宿主询问(ask_user_question / plan review)双渠道镜像:绑定后问题同时出现在 Telegram 与电脑 TUI/Web,任一渠道回答即生效(先答者胜)
/last查看上次问答;/model切换模型(下一回合生效);/status查看绑定;/unbind断开(不关电脑会话);/help帮助- martty 下
/sessions只列运行中的会话;冷会话需先在 TUI 打开 - 一键管理脚本:
scripts/install.ps1(Windows)/scripts/install.sh(Unix),-ProfileName martty指定 profile
配置
| 键 / 环境变量 | 含义 |
|---|---|
token / DSH_TELEGRAM_TOKEN | Bot token |
allowedUserIds / DSH_TELEGRAM_ALLOWED_USER_IDS | 白名单;都空 = 谁都不能用 |
allowAllUsers | true 仅调试 |
maxMessageLength | 默认 4096 |
pollingTimeoutSec | 默认 30 |
rendering | rich(默认)或 html |
开发
pnpm install
pnpm test
pnpm run build
License
MIT(上游 hi-wenw 及 fork 贡献者)
English (summary)
Fork of hi-wenw/dsh-telegram-channel (MIT) to run on the Martty / ACP host (dsh --profile martty): the upstream hard-injects apiProxy, a web-profile-only service, which parks the Cordis fiber forever (1 entry did not activate, see openma-ai/Martty#46). This fork probes apiProxy at runtime, adds a local /model fallback over ctx.llm, and keeps web-profile behavior identical.
dsh plugin --profile web add github:zhang0098/dsh-telegram-channel
dsh plugin --profile martty add github:zhang0098/dsh-telegram-channel
Bot commands: /sessions (workspace → session → bind), plain text = followup, /last, /model, /status, /unbind, /help. Env: DSH_TELEGRAM_TOKEN, DSH_TELEGRAM_ALLOWED_USER_IDS.
Comments
Loading…
From the same category
DeepSeek Harness plugin for Reactive Resume: bridges your resumes and job applications into a Harness session over MCP.
★ 41.7k
↓ 223/wk
MIT
Aug 24, 2026
dsh plugin --profile web add dsh-plugin-reactive-resumeby Tencent
Let AI agents use your real, logged-in browser without interrupting your work. CLI + extension for browser automation across any shell-capable AI agent.
★ 8.4k
↓ 7.5k/wk
MIT
TypeScript
Oct 8, 2026
dsh plugin --profile terminal add @wxg-prc-cpg/browser-skill-dsh-pluginby yjh051108
dsh-routing-suite — injector + router-standard kit: install the runtime injector first, then the task-aware reasoning-mode router preset (measured P1-P23).
★ 7k
MIT
JavaScript
Sep 18, 2026
dsh plugin --profile web add @dsh-external/dsh-super-injectorby Q00
Agent OS: the agent gets smarter on its own. We just hold the line: Interview-gated, staged evaluation, budgeted evolution loop. MCP server, 14 runtimes: Claude Code, Codex CLI, Gemini CLI, OpenCode,
★ 6.2k
MIT
Python
Oct 7, 2026
by dsh-market
The plugin market inside DeepSeek Harness — browse, search, one-click install · DSH 可视化插件市场
★ 5.9k
↓ 156.3k/wk
MIT
TypeScript
Oct 8, 2026
dsh plugin --profile web add dshmarketby superdesigndev
OpenRouter for agent tools. Join community here: https://discord.gg/6mQYYfFMAn
★ 4.8k
NOASSERTION
Python
Oct 8, 2026
dsh plugin --profile web add treg-dsh