yuko0331/DSH-telegram
通过 Telegram 私聊远程使用和查看 DeepSeek Harness
Project Overview项目介绍
DSH-telegram is a plugin built exclusively for DeepSeek Harness (DSH), designed to let users remotely access and control their local DSH Web instance via a private Telegram chat. It can be installed either directly from this GitHub repository using the DSH CLI command dsh plugin --profile web add git+ssh://git@github.com/yuko0331/DSH-telegram.git or from a local clone of the repository stored on your own machine. After installation completes, you can confirm the plugin is correctly added to your DSH profile by running dsh --profile web --dump-config and checking for telegram-bot in the command output.
Before you can use the plugin, you need to complete a quick setup process. First, create a new Telegram bot via the official @BotFather account to receive a bot token, then get your numeric Telegram user ID via a utility bot like @userinfobot. Once you have both values, you can enter them in the DSH Web settings page under the Telegram section, enable the bot, save your configuration, and you are ready to start controlling DSH via Telegram. It is ideal for users who need to interact with their DSH instance when away from their main machine.
This project is released under the permissive MIT open source license, so it is completely free to use, modify, and distribute, and it requires pnpm for local development and build tasks. Currently, the plugin only supports text messages and long polling, with no support for group chats, voice messages, files, or interactive UI buttons. After the plugin restarts, you will need to reselect your active DSH session, and for security, it only allows access from your single pre-configured Telegram user ID.
这是一个专为 DeepSeek Harness (DSH) 开发的原生插件,可让用户通过 Telegram 私聊远程访问和控制本地运行的 DSH 实例。它支持通过命令查看 DSH 工作区、实时会话和运行中任务,也能创建会话、取消当前任务,普通文本消息会直接转发到当前激活的 DSH 会话。该插件可通过 DSH CLI 命令从 GitHub 仓库或本地路径安装到 DSH Web 配置文件。
该插件适合需要远程访问本地 DSH 实例的用户使用。配置时需要先通过 @BotFather 创建 Telegram Bot 获取 Token,再查询自己的 Telegram 数字 User ID,接着在 DSH Web 的设置页面填写信息启用插件。完成配置后,用户就可以随时通过 Telegram 私聊发送命令控制 DSH,首次使用可先查看工作区再创建新会话开始交互。
该插件采用 MIT 许可开源免费使用,本地开发需要依赖 pnpm 进行构建和类型检查。当前仅支持文字消息和长轮询,不支持群聊、语音、文件和交互按钮,插件重启后需要重新选择会话。安全上仅允许配置的单个 Telegram 用户操作,Bot Token 存储在 DSH 凭据系统中不会明文泄露。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:DSH-telegram(yuko0331/DSH-telegram)
仓库:https://github.com/yuko0331/DSH-telegram
本站详情页:https://www.yhbd.top/plugins/yuko0331-dsh-telegram/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 4 · 最近提交 2026-08-16 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 4 stars - very few users, little community feedback星标只有 4,几乎没人在用,遇到问题缺少社区反馈
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 git+ssh://git@github.com/yuko0331/DSH-telegram.git
把 yuko0331/DSH-telegram 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
DSH Telegram Bot
通过 Telegram 私聊远程使用和查看 DeepSeek Harness。
功能
- 与 DSH 对话并接收回复
- 查看工作区和实时会话
- 在指定工作区创建会话
- 查看正在运行的任务
- 取消当前任务
- 仅允许一个指定的 Telegram 用户操作
安全说明
- 只接受配置的 Telegram 数字 User ID。
- 只接受私聊,不支持群聊控制。
- Bot Token 通过 DSH 凭据系统读取,不写入插件配置。
- Telegram 不能代替你批准敏感工具操作。
- 插件只能切换和控制自己创建的会话。
安装
从 GitHub 安装到 DSH Web profile:
dsh plugin --profile web add git+ssh://git@github.com/yuko0331/DSH-telegram.git
也可以安装本地仓库:
dsh plugin --profile web add /Users/yuko/xxcode/dsh-telegram-bot
确认插件已经加入配置:
dsh --profile web --dump-config
输出中应包含 telegram-bot。
配置
1. 创建 Telegram Bot
在 Telegram 中联系 @BotFather,执行 /newbot 并取得 Bot Token。
不要把 Token 发到聊天中,也不要提交到 Git。
2. 获取 Telegram User ID
通过 @userinfobot 等机器人查询自己的数字 User ID,例如:
123456789
3. 在设置中启用
安装插件后重启一次 DSH Web,然后打开:
设置 → Telegram
填写 Bot Token 和管理员数字 User ID,打开“启用 Telegram 机器人”,再点击“保存并应用”。页面提供连接状态和“测试连接”。
Bot Token 只写入 DSH 凭据系统,页面和接口不会读取或返回 Token 明文。启用状态和管理员 User ID 存入 DSH 设置。之后修改、停用或重新连接都会立即生效,不需要重启 DSH。
未配置或未启用 Telegram 时,DSH Web 会正常启动。
使用
向 Telegram Bot 私聊发送:
| 命令 | 用途 |
|---|---|
/help |
查看帮助 |
/workspaces |
查看工作区 |
/new <工作区ID> |
创建并选择会话 |
/sessions |
查看实时会话 |
/use <会话ID> |
切换机器人创建的会话 |
/status |
查看运行状态 |
/tasks |
查看正在运行的任务 |
/stop |
取消当前任务 |
发送其他普通文本,会进入当前 DSH 会话。
首次使用:
/workspaces
/new <工作区ID>
你好,请检查当前项目状态
开发验证
pnpm install
pnpm run check
pnpm run check 会执行类型检查、测试和构建。
当前限制
- 只支持文字消息和长轮询。
- 不支持群聊、语音、文件和按钮操作。
/tasks显示正在运行的 DSH 会话,不读取浏览器任务看板。- 插件重启后需要重新选择会话。
xmanrui/dsh-im
tencent-connect/dsh-qqbot
flymysql/dsh-remote
whiteguo233/dsh-openbiliclaw
omdsh-dev/dsh-lark
hanshanyike/dsh-yolo
THEWOLFWALKER/dsh-notifier