shaobeichen/dsh-im-bridge 预览 preview

shaobeichen/dsh-im-bridge

No need to stay at the computer all the time. Remotely control Deepseek Harness and direct DeepSeek Harness from Feishu / WeChat Work / Telegram: remote task assignment · result notifications · approval for dangerous operations.

Project Overview项目介绍

dsh-im-bridge is a native plugin built exclusively for DeepSeek Harness (DSH), an AI assistant engine that runs locally on your machine to edit code, run commands, and execute long-running tasks. This plugin adds an IM gateway to DSH, letting you control DSH remotely from common instant messaging platforms including Feishu, WeChat Work, Telegram, and WeChat. You send a task instruction to a configured bot in your IM app, the plugin converts that message into a DSH task, then sends the execution result back to your chat window.

The plugin comes with a full set of useful features including sending tasks via chat, human approval for dangerous operations, automatic notification of task results, exporting full task logs, session management, and role-based access control. It is ideal for users who want to operate DSH remotely or add an extra layer of approval for risky local operations like file deletion and system command execution. By default, all dangerous operations are rejected unless explicitly approved by an admin, which keeps your local system and files secure.

To use this plugin, you must first have DSH installed locally on your machine. You can install all supported IM channels in one go with a single DSH plugin command, no need to clone the repository or write any custom code. After configuring your bot credentials for the IM platforms you want to use, just restart DSH and you are ready to go. Unconfigured channels are disabled automatically and will not interfere with working channels, and the entire project is open source under the MIT license.

这是专为 DeepSeek Harness (DSH) 打造的原生插件,为 DSH 新增了即时通讯(IM)网关,支持用户通过飞书、企业微信、Telegram 或微信远程控制 DSH。你给配置好的 IM 机器人发消息,内容会转成任务交给 DSH 执行,执行结果再原路发回你的聊天窗口,相当于把任意 IM 聊天窗口变成 DSH 的远程操作台。

它支持聊天派任务、危险操作审批、任务结果通知、完整日志导出、会话管理和权限控制等核心功能。对于需要远程操作 DSH 或者对危险操作做人工审批的场景非常实用,默认会拒绝所有未授权的危险操作,只有管理员审批后才会执行,能有效保障本地操作的安全性。

使用该插件需要先在本地安装好 DSH,再通过 DSH 的插件命令一键安装,无需克隆仓库或自行写代码。配置对应 IM 平台的机器人凭据后重启 DSH 即可使用,未配置的渠道不会影响其他已配置渠道的正常运行,项目采用 MIT 许可开源。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
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:shaobeichen/dsh-im-bridge

把 shaobeichen/dsh-im-bridge 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-im-bridge

dsh-im-bridge

GitHub stars GitHub forks CI License: MIT

在飞书 / 企业微信 / Telegram 里指挥 DeepSeek Harness:远程派活 · 结果通知 · 危险操作审批

English | 中文

dsh-im-bridge 是 DeepSeek Harness 的 IM 通道。 DeepSeek Harness(DSH)是一个本地运行的 AI 助手引擎——能在你的工作目录里读写代码、执行命令、 跑长任务,平时你用网页界面指挥它。dsh-im-bridge 给这个网页界面加了一个"远程遥控器": 你在飞书、企业微信或 Telegram 里给机器人发消息,消息变成指令交给 DSH 执行,结果再发回你的聊天里。

简单说:聊天窗口就是 DSH 的操作台。

✨ 支持平台

平台 状态 说明
飞书 ✅ 可用 官方长连接,审批是卡片按钮,已真实联调
企业微信 ✅ 可用 回调 + 消息加解密,审批走文本命令
Telegram ✅ 已实现 免公网轮询,审批是按钮(需自己申请 bot token)
钉钉 规划中 —

📦 里面有什么

  • 聊天派活:在 IM 里直接给 AI 发任务,像聊天一样自然
  • 危险操作审批:删文件、系统命令这类操作要你确认才执行,默认拒绝
  • 结果通知:任务完成或失败主动推送,附耗时和 token 用量
  • 完整结果导出:长输出截断时,用 /log 把全文导出成文件发回来
  • 会话管理:/new 建会话、/status 看状态、/mute 关通知等常用命令
  • 权限控制:配置哪些人能用、哪些人是管理员(只有管理员能审批和改配置)

🚀 怎么用

前提:电脑上已装好 DeepSeek Harness。如果终端里运行 dsh 提示 command not found,先安装:

npm install -g @deepseek-ai/dsh     # 全局安装;验证:dsh --version
# 不想全局装?每次命令前加 npx:npx @deepseek-ai/dsh <命令>

四个平台都是同一条路:装插件 → 配凭据 → 重启 → 在聊天里用。不用克隆本仓库、不用写代码。

想一次装齐全部渠道(或从 dshmarket 一键安装)?dsh plugin --profile web add github:shaobeichen/dsh-im-bridge 等价于同时安装核心 + 飞书 + 企微 + Telegram + 微信;没配凭据的渠道会自动显示"未连接",不影响其他渠道使用。

平台 一条命令安装 准备(拿什么) 开始用
飞书 dsh plugin --profile web add dsh-im dsh-im-feishu 网页扫码接入(推荐):设置 → 插件 → 飞书 → 点「扫码绑定」→ 手机飞书扫码(或终端 npx -y dsh-im-feishu-qr);手动建应用见图文指引 配好凭据重启 dsh web,在飞书私聊机器人:/new → 派活;危险操作弹审批卡片,点按钮放行
企业微信 dsh plugin --profile web add dsh-im dsh-im-wecom 在管理后台建自建应用,拿 CorpID / AgentId / Secret,并配置回调地址和可信 IP(指引) 配好凭据重启 dsh web,手机"工作台"打开应用:/new → 派活;审批回复 /approve <id> yes(企微无按钮)
Telegram dsh plugin --profile web add dsh-im dsh-im-telegram 用 @BotFather 建 bot,拿 token(图文指引) 配好凭据重启 dsh web,私聊 bot:/new → 派活;危险操作弹审批卡片,点按钮放行
微信 dsh plugin --profile web add dsh-im dsh-im-weixin 网页扫码绑定(推荐):设置 → 插件 → 微信 → 点「扫码绑定」→ 手机微信扫码(配对数字在网页输入);前提是账号有「我→设置→插件」的微信机器人入口(指引) 绑定后重启 dsh web,在微信里给机器人发消息:/new → 派活;审批为文本 /approve <id> yes(微信无按钮)

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-chatgpt-codex 下一个 Next dsh-filetree →