deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
通过微信扫码,把腾讯微信机器人接入 DeepSeek Harness。插件运行在 dsh web 的 Host 进程内:设置页只负责显示一次性二维码和脱敏状态,扫码得到的 bot_token 直接写入 Harness 凭据服务,随后由 Host 通过腾讯 iLink Bot API 长轮询收消息并把回答发回微信。
0.1.0-rc.6,Node.js >=22.19;*.weixin.qq.com。npx -y github:xmanrui/dsh-weixin install
安装后重启 dsh web,然后:
扫码成功后必须同时满足以下条件,页面才会显示在线:
bot_token、机器人账号 ID、扫码用户 ID 和消息 API 地址;bot_token 已写入 Harness Host 凭据服务;notifystart 验证通过并启动 getupdates 长轮询;可以重复扫码添加多个微信账号。每个账号拥有独立凭据引用、长轮询、同步游标、消息去重记录和 Harness 会话映射;一个账号重连或移除不会影响其他账号。
/new 清除当前会话映射,/status 检查连接,/help 显示帮助;context_token。bot_token、二维码内部令牌、扫码用户 ID 或凭据引用;bot_token 只保存在 ctx.credentials,非敏感配置位于 $DSH_HOME/integrations/dsh-weixin/config.json;https://weixin.qq.com 或其子域,且只能使用默认 HTTPS 端口,防止授权令牌被发送到任意重定向主机;git clone https://github.com/xmanrui/dsh-weixin.git
cd dsh-weixin
npm install
npm run check
node bin/dsh-weixin.mjs install --source .
只验证腾讯扫码端点是否仍兼容,而不打印或保存二维码内容:
npm run verify:protocol
完整人工验收需要在 Harness 设置页完成一次手机扫码,再从微信发送一条测试消息并确认 Harness 回答返回。自动测试覆盖请求头与协议字段、二维码/配对码状态机、凭据回滚、长轮询生命周期、消息上下文、用户授权、RPC 脱敏、多账号删除隔离和客户端输入校验。
微信 iLink 请求格式基于腾讯官方 MIT 项目 Tencent/openclaw-weixin 2.4.6 适配;本项目移除了 OpenClaw 运行时依赖,改用 DeepSeek Harness 的 Host RPC、凭据服务和会话 API。具体来源版本见 THIRD_PARTY_NOTICES.md。本项目本身使用 MIT License。
Connect Tencent Weixin bots to DeepSeek Harness through QR-code authorization. The plugin runs inside the dsh web Host process. The browser receives only a one-time QR image and redacted status; the resulting bot_token is written directly to the Harness credential provider.
npx -y github:xmanrui/dsh-weixin install
Restart dsh web, open Settings → Plugins → Weixin, generate a QR code, scan it with Weixin, confirm on the phone, and enter the displayed pairing digits if requested. The account is ready when the page reports a healthy iLink long-poll connection.
The Weixin bot feature must already be available to the phone account. Tencent rolls out that feature independently; this plugin cannot enable it for an ineligible account.
The current release supports direct text messages and voice messages that already contain Weixin transcription. It isolates credentials, sync cursors, deduplication, and Harness sessions per account. See the Chinese section for the complete behavior, security model, and verification commands.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。