lanbaolu/dsh-wechat-bridge
DeepSeek Harness (DSH) 微信桥接插件:三端通用,host 工具 + Web 管理面板
Project Overview项目介绍
This is a native plugin built specifically for DeepSeek Harness (DSH) that connects DSH agents with WeChat. It is based on the iLink Bot protocol from wechat-claude-code, and runs on Windows, macOS, and Linux via pure Node.js process management, no system services required. There are three supported installation methods: npm one-click install, local source install, and source run, with npm install being the recommended option for most users. To install via npm, you run npm install @lanbaolu/dsh-wechat-bridge then add it to your DSH profile with dsh plugin --profile web add @lanbaolu/dsh-wechat-bridge before launching DSH web.
After installation, users bind their personal WeChat account by scanning a QR code in the DSH web settings panel, then start the bridge directly from the panel or via DSH model commands. Once bound, users can chat with the local DSH agent directly in WeChat, and agents can push notifications, permission approval requests, and task status updates back to WeChat. The plugin supports multiple trusted users with isolated sessions and independent message queues, so one user’s long-running task will not block another user’s requests. It also supports automatic recovery of session context after DSH restarts, so conversations do not break unexpectedly.
The plugin is released under the open-source MIT license, and requires Node.js 18 or higher to run. Building the web client component requires Node.js 22.18+ or 24.11+, but the runtime only needs Node 18+. Because this project uses an unofficial WeChat protocol, there is a risk of WeChat account banning, so it is only intended for personal learning and automation use. Users must evaluate and accept all risks before using this plugin. All account credentials and session data are stored locally on your machine with proper permission settings to protect privacy.
这是一款专为 DeepSeek Harness (DSH) 开发的原生微信桥接插件,基于 wechat-claude-code 的 iLink Bot 微信协议层开发,支持Windows、macOS、Linux全平台运行。采用纯 Node.js 进程管理,不依赖系统服务,同时提供 DSH 模型调用工具和 Web 管理面板,由 DSH 插件统一管理守护进程启停。用户绑定个人微信账号后,可直接在微信中与本地 DSH Agent 对话,支持文字、图片、语音、文件、视频的双向收发。
核心功能包括 DSH 流式回复聚合推送、任务超时自动安抚、Agent 主动推送任务通知(内置风控限流)、微信端权限审批、多用户会话隔离与独立排队、双向文件传输等。还支持防系统休眠,方便挂机运行长任务,支持多款斜杠命令,可快速清除会话、切换工作目录/模型、管理信任用户等,支持DSH 重启后自动恢复会话上下文。
本插件遵循 MIT 许可开源,使用非官方微信协议存在账号封禁风险,仅可用于个人学习与自动化开发,使用需自行评估风险。安装方式支持 npm 一键安装、本地源码安装,运行需要 Node.js 18 及以上版本,提供了详细的文档和安全说明,所有账号数据都存储在本地。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-wechat-bridge(lanbaolu/dsh-wechat-bridge)
仓库:https://github.com/lanbaolu/dsh-wechat-bridge
本站详情页:https://www.yhbd.top/plugins/lanbaolu-dsh-wechat-bridge/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 5 · 最近提交 2026-09-29 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【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 5 stars - very few users, little community feedback星标只有 5,几乎没人在用,遇到问题缺少社区反馈
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 @lanbaolu/dsh-wechat-bridge
把 lanbaolu/dsh-wechat-bridge 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
@lanbaolu/dsh-wechat-bridge
基于 Wechat-ggGitHub/wechat-claude-code 开发的 DeepSeek Harness (DSH) 微信桥接插件。
⚠️ 免责声明:本项目仅用于个人学习与自动化。使用非官方微信协议存在账号风险,请自行评估并承担后果。
三端通用:Windows / macOS / Linux 均使用纯 Node.js 进程管理,不依赖 launchd / systemd / Windows Service;同时提供 DSH 模型工具(CLI/Headless 可用)和 Web 管理面板(Web/桌面可用)。
功能
- 微信扫码绑定个人微信后,在微信里直接与 DSH 本机 Agent 对话。
- 复用 wechat-claude-code 的 iLink Bot 微信协议层:文字、图片、语音转文字、文件收发。
- 守护进程由 DSH 插件管理:启动 / 停止 / 重启 / 状态 / 日志,全部走模型工具或 Web 面板。
- 每个微信账号对应一个 DSH 会话,DSH Host 重启后会自动
resume原持久化会话,对话上下文不断档;/clear、/new、/stop、/cwd、/model、/prompt等斜杠命令可用。 - 回复回传:DSH Agent 的回复经本地 SSE 推送到微信(批量发送,不刷屏)。会话格式 v3+ 起宿主不再下发
assistant/chunk增量,现为整轮结束时回传本轮最后一条 assistant 消息正文——有工具调用的多步轮次只回传最后一步文本,逐段流式待恢复(见docs/future-plan.md)。 - 超时安抚:DSH 超过 5 分钟无输出时自动发一条“还在处理”的消息。
- 主动通知:agent 可通过
wechat_notify工具在任务完成 / 失败 / 需要确认时主动推送微信,内置节流(每小时 ≤6 条、每日 ≤50 条,超限排队延迟发送),规避个人号风控。 - 微信内审批:agent 请求权限时推送审批消息到微信,回复
/yes批准、/no拒绝;超时自动拒绝(fail-closed),仅绑定账号本人可裁决,不影响桌面 GUI 会话。 - 防卡死:微信会话自动注入通道约束提示词,禁用浏览器端交互式选项工具(手机看不到会永久阻塞),改用纯文本编号选项。
- 文件双向:微信发图片/文件给 DSH;DSH 回复中提到的本地文件会自动推回微信。
- 消息队列:处理中收到的普通消息会排队,等当前任务结束后继续处理(多用户下按用户独立排队,A 的长任务不阻塞 B)。
- 多用户支持:信任集 + per-user 会话。可让多个微信用户与同一 bot 对话,每人独立会话/上下文/队列/审批归属,互不可见;信任集可控、可吊销(详见下方「安全模型」)。
媒体能力矩阵(2026-08-21 代码核实 + 真机抽验;2026-08-29 视频收发补齐)
| 方向 | 文本 | 图片 | 语音 | 文件 | 视频 |
|---|---|---|---|---|---|
| 微信 → DSH | ✅ | ✅ CDN 下载+解密落盘 | ✅ iLink 端转写为文本 | ✅ 下载落盘交 agent | ✅ CDN 下载落盘交 agent(存 .mp4) |
| DSH → 微信 | ✅ 攒批聚合发送 | ✅ 按扩展名路由直发 | — | ✅ 回复提及自动推送 | ✅ 按扩展名路由直发(mp4/mov/webm/mkv/avi) |
语音出站(DSH → 微信)仍未支持:协议无公开实现参考,需真机实测后补齐。视频收发为 2026-08-29 按 iLink/ClawBot 协议源码补齐,真机收发已抽验通过(2026-08-30)。
方向对照与后续可行性方案见 docs/feasibility-plan.md。
架构
微信 App ←→ iLink Bot API ←→ bridge daemon (Node.js)
│ HTTP + SSE (127.0.0.1, token 鉴权)
▼
DSH Host Plugin
│ ctx.agents.create/resume + followup
▼
DSH Agent (本机 LLM + 工具)
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
biociao/dsh-science
amlyczz/dsh-lark-link
Walvez/dsh-codex-sync
ryubyte/dsh-a2a
aiworkskills/dsh-wechat-article
LAN-TINA-WS/dsh-windows-shell-policy