sliverp/DeepSeek-harness-wecom
WeCom AI 机器人文本与图像桥接,用于 DeepSeek Harness
Project Overview项目介绍
This is a native channel plugin built exclusively for DeepSeek Harness (DSH) that connects persistent DSH agents to WeCom (WeWork) AI bots using the official Tencent WebSocket long-connection SDK. It handles Bot ID and Secret authentication, maintains regular heartbeats to keep the connection alive, and automatically reconnects if the connection drops unexpectedly. It supports both single and group text messages, mixed text and image input, and can download and decrypt AES-encrypted inbound media files for DSH agents to access via absolute local paths.
The plugin supports configurable access policies for single and group chats, and can forward pre-configured DSH commands from WeCom conversations to the connected agent. It generates one-time six-digit approval codes for tool operations that require manual approval, letting users approve or reject requests directly in WeCom with /approve <code> or /reject <code>. If Bot ID and Secret are not configured at startup, the plugin starts in dormant mode instead of blocking DSH from launching, which simplifies initial installation and incremental setup.
To install the plugin, you can run the one-line command pnpm dsh plugin --profile web add github:sliverp/DeepSeek-harness-wecom directly from your terminal, or add a local cloned checkout for local development testing. Bot credentials are stored in the DSH credential service, not hardcoded in configuration files, which keeps sensitive bot authentication information secure. The plugin is distributed under the open-source MIT license, so it is free to use, modify, and redistribute without any additional licensing fees or restrictions.
这是专为DeepSeek Harness(DSH)开发的原生通道插件,可通过企业微信官方WebSocket长连接SDK,将DSH持久化Agent连接到企业微信AI机器人。它支持处理单聊和群聊的文本、图片、文件消息,完成身份验证、心跳保活和自动重连,还能将解密后的入站文件保存到本地供Agent工具调用。
它支持单聊和群聊的访问控制策略,可配置转发DSH代理预设注册的命令,默认开放/compact、/goal、/plan,还支持通过/approve <code>和/reject <code>完成一次性工具审批,内置了连通性测试命令,未配置凭证时会静默启动不阻塞DSH启动流程。
该插件依赖Node.js 22.19或更高版本、pnpm 10.33.4以上、DSH 0.1.0-rc.7或更新版本,还需要一个开启长连接功能的企业微信AI机器人,获取Bot ID和密钥。可通过pnpm命令一键从GitHub安装,凭证存储在DSH凭证服务中不硬编码,采用MIT许可协议,可免费使用修改。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:DeepSeek-harness-wecom(sliverp/DeepSeek-harness-wecom)
仓库:https://github.com/sliverp/DeepSeek-harness-wecom
本站详情页:https://www.yhbd.top/plugins/sliverp-deepseek-harness-wecom/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 5 · 最近提交 2026-08-19 · 主语言 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 github:sliverp/DeepSeek-harness-wecom
把 sliverp/DeepSeek-harness-wecom 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
DeepSeek Harness WeCom
中文 | English
An independent out-of-tree DeepSeek Harness channel plugin that connects a WeCom AI Bot to persistent Harness agents through the official WebSocket long-connection SDK.
Features
- Official
@wecom/aibot-node-sdklong connection - Bot ID + Secret authentication, heartbeat, and reconnect handling
- Single-chat and group text messages
- Mixed text/image input
- Official encrypted image, file, and video download with AES decryption
- Durable Harness image attachments
- Decrypted inbound files saved outside the workspace and exposed to Agent tools by absolute path
- Automatic text-only fallback when the selected model cannot accept images
- Text and inline image replies, plus uploaded active image sends for other image formats
- A WeCom-turn-scoped
wecom_send_filetool with workspace containment and file-size checks - WeCom Markdown replies through the official stream response fields
- One persistent Harness session per single or group conversation
- Harness agent-preset composition for the same tools, prompts, and skills as Web sessions
- Safe reuse of a live session already opened by Web, without a second session writer
- Same-conversation
/approve <code>and/reject <code>decisions for one-shot tool approvals /newand/resetrotation to a new durable session while retaining old history- Configurable forwarding of Harness commands registered by the current agent preset;
/compact,/goal, and/planare enabled by default - Per-conversation ordering, duplicate suppression, retries, and bounded timeouts
- Open, allowlist, or disabled access policies for single and group traffic
/bot-ping,/bot-image-test,/bot-file-test,/bot-help,/bot-status, and/bot-cancel- Optional welcome text for the WeCom
enter_chatevent - Secret resolution through the Harness credential service instead of plugin configuration
- Dormant startup when Bot ID or Secret is not configured, so installation alone never blocks DSH
Requirements
- Node.js 22.19 or later
- pnpm 10.33.4
- DeepSeek Harness 0.1.0-rc.7 or later
- A WeCom AI Bot with long connection enabled and a Bot ID/Secret
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
liustack/modlens
Clarklevis1995/dsh-mobile
ZSeven-W/dsh-crew
wsz987/dsh-channels
xiaoksio/dsh-solution-explorer
pan17/dsh-wechat
siegfly/dsh-deepseek-vision