hi-wenw/dsh-telegram-channel 预览 preview

hi-wenw/dsh-telegram-channel

DeepSeek Harness 的 Telegram 移动端远程控制:绑定实时 Web 会话(Codex 风格)。安装方式:dsh plugin add github:hi-wenw/dsh-telegram-channel

Project Overview项目介绍

This is a native plugin built exclusively for DeepSeek Harness (DSH) that adds a Telegram mobile remote control feature to DSH web sessions. It lets a mobile Telegram client attach to an existing running DSH web session on your local desktop, keeping the entire conversation trajectory bidirectionally synced between mobile and desktop clients. Users can install it via a platform-specific one-click shell script for Windows, macOS, or Linux, or manually run the standard dsh plugin --profile web add github:hi-wenw/dsh-telegram-channel command in a local terminal after preparing credentials.

After installation and configuration, keep your local dsh web process running on the desktop, then open Telegram on your mobile device. Send the /sessions command to your bot, then select your target workspace and an unarchived session to complete attachment. You can use the /model command to switch the model for the next turn, check session status, compress conversation history, or unbind the current session from your mobile device. This tool is designed for DSH users who need to handle development tasks on the go or prefer mobile input for quick questions.

Prerequisites for this plugin include a working dsh web instance, Node.js version 22 or newer, a Telegram bot token from @BotFather, and your numeric Telegram user ID from @userinfobot. If you cannot connect directly to the Telegram API, you will need to have an HTTP proxy configured on your local machine, which the plugin will automatically use. Currently, only text and image messages are supported; voice, video, and other file types are not supported. The project is released under the open source MIT license, and no Python dependency is required to run it.

这是一个专为 DeepSeek Harness (DSH) 开发的原生插件,为 DSH Web 会话提供 Telegram 手机远程控制能力。它允许手机附着到本机已在运行的 DSH Web 会话上,双向同步桌面端和移动端的完整对话轨迹,保持会话上下文一致。支持通过 Windows、macOS 和 Linux 对应的一键安装脚本自动部署,也可以手动通过 dsh plugin --profile web add 命令安装。

完成安装配置后,用户只需保持桌面端 dsh web 正常运行,就可以在手机 Telegram 中对 Bot 发送 /sessions 指令,依次选择工作区和未归档会话完成附着。支持通过 /model 切换绑定会话的模型,还可以查询会话状态、压缩对话历史、解绑当前会话。它适合需要随时在外处理开发任务,或习惯用手机补充输入提问的 DSH 开发者使用。

需要的前置依赖包括可正常运行的 dsh web 环境、Node.js 版本 ≥22,以及从 Telegram BotFather 获取的 Bot Token 和你的 Telegram 数字用户 ID,若无法直连 Telegram API 还需要配置本机 HTTP 代理。目前仅支持文本和图片消息,语音、视频和其他文件暂不支持。项目采用 MIT 许可证开源分发,不需要 Python 依赖。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 note1 项提示
  • 11 stars - an early-stage project星标 11,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:hi-wenw/dsh-telegram-channel

把 hi-wenw/dsh-telegram-channel 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-telegram-channel

English · 中文

dsh-telegram-channel flow: Desktop → Phone attach → Same trajectory

Telegram 手机遥控器 for DeepSeek Harness:附着本机正在跑的 Web 会话,与电脑 同轨迹、双向可见(Codex-style)。

发现: dsh-plugin topic · 安装:dsh plugin --profile web add github:hi-wenw/dsh-telegram-channel

Keywords: Telegram · Bot · Mobile · Remote · DSH · Cordis · dsh-plugin · sessions · bind


中文

使用前需要什么

需要 说明
DeepSeek Harness(dsh) 本机已能跑通 dsh web
Node.js 跟 Harness 走,建议 ≥22
Telegram Bot Token @BotFather → /newbot
数字 User ID @userinfobot
代理(可选) 若直连不上 api.telegram.org,需本机 HTTP(S)_PROXY

不需要 Python。


30 秒理解

  1. 电脑 dsh web 开着(会话列表与 Web 对齐,已归档除外)
  2. 手机 Bot:/sessions → 工作区 → 会话 → 附着
  3. 之后手机 ↔ Web 走同一条轨迹;可用 /model 切换模型(下一回合生效)

支持的消息:文本、图片(照片或以文件形式发送的 png/jpeg/webp/gif,可带文字说明;多张相册照片合并为一条消息进入会话)。语音/视频/其他文件暂不支持(会收到提示)。图片经宿主附件服务持久化,与 Web 端上传走同一通道;当前模型不支持图像输入时会收到明确提示。

效果截图

手机选择会话并发问:

手机 Telegram:选择会话并对话

电脑 Web 同步收到同一条消息与回复:

电脑 DSH Web:同轨迹同步


一键管理菜单(推荐)

先准备两样东西:

准备 怎么拿
Bot Token Telegram 搜 @BotFather → /newbot → 复制 token
数字 User ID 搜 @userinfobot → Start → 复制纯数字

Token 不要发到公开群;泄露了去 BotFather /revoke。

Windows

请在 PowerShell 执行。若当前是 CMD,用下面「CMD 一键」那行。

irm https://raw.githubusercontent.com/hi-wenw/dsh-telegram-channel/master/scripts/install.ps1 | iex

脚本已兼容 irm | iex(菜单逻辑包在 scriptblock 里)。CMD 请用下面整行。

CMD 一键:

powershell -NoProfile -ExecutionPolicy Bypass -Command "irm https://raw.githubusercontent.com/hi-wenw/dsh-telegram-channel/master/scripts/install.ps1 | iex"

备用(先下载再执行):

powershell -NoProfile -ExecutionPolicy Bypass -Command "iwr -UseBasicParsing https://raw.githubusercontent.com/hi-wenw/dsh-telegram-channel/master/scripts/install.ps1 -OutFile $env:TEMP\dsh-tg.ps1; & $env:TEMP\dsh-tg.ps1"

启动后用数字选择:

1) 安装 / 重装插件(写入 Token + 白名单)
2) 启动 dsh web(新窗口)
3) 停止 dsh web
4) 查看状态
5) 打开浏览器
0) 退出

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-skill-manager 下一个 Next dsh-self-improved →