WeChat (iLink) channel: chat with your DSH agent from the WeChat app, one persistent session per conversation, reusing DSH credentials.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:wendayuan/dsh-weixin
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
把微信变成 DeepSeek Harness(DSH)的入口:手机微信直接对话 DSH agent,干活、跑命令、读文件、查资料,和网页版同一套认知与规则。
WeChat channel plugin for DeepSeek Harness — chat with your DSH agent from the WeChat app.
特性
- 手机微信发消息 → DSH agent 干活 → 回复发回微信
- 上下文连续:每个微信对话一个持久 session
- 复用 DSH 现有模型凭据(
~/.dsh/.credentials.yaml),无需另配 - 自动加载
~/.dsh/AGENTS.md与 workspaceAGENTS.md(agent 具备与网页版一致的规则约束) - 随 DSH 进程常驻,无需独立守护进程
链路
手机微信 ── iLink 官方通道 ──> weixin-agent-sdk(长轮询)
│ Agent.chat()
▼
dsh-weixin 插件 ──> DSH agent(ctx.agents)
安装
dsh plugin --profile web add github:you/dsh-weixin
装完按下面「登录」扫码一次,之后随 DSH 自动运行。
登录(一次性)
插件复用微信官方 iLink 通道的扫码登录。任选一种:
方式一(推荐):用桥接器 CLI 预登录,凭证存 ~/.openclaw,插件直接复用:
npx weixin-acp login
终端打印二维码,手机微信扫码并确认,显示「✅ 与微信连接成功」即可。
方式二:装完插件后,首次启动 DSH 时日志会提示未登录,按提示登录。
登录凭证存于 ~/.openclaw/openclaw-weixin/accounts/(token,0600)。换号用 npx weixin-acp logout 再 login。
配置
在 profile 的 cordis.patch.yml 里覆盖(均为可选):
- id: weixin
name: dsh-weixin
config:
cwd: /path/to/workspace # agent 工作目录,默认 DSH 启动目录
provider: deepseek-official # 覆盖默认 provider 路由
model: deepseek-v4-pro # 覆盖默认模型
验证
微信里依次发:
- 「你是谁」→ 身份与工作目录正确
- 「记得刚才说了什么吗」→ 上下文连续
- 「用 bash 跑 pwd」→ 工具可用
- 一个只有 AGENTS.md 有答案的问题 → 规则注入生效
第一条消息可能慢 10~30 秒(agent 冷启动),属正常。
安全
- 消息走微信服务器,非端到端加密;别在微信里发密码/token。
- 插件无消息白名单,安全边界 = 你的微信账号;建议微信开双重验证/设备锁。
- API key 不落本插件任何文件,由 DSH 凭据服务解析。
说明
- 桥接底层用社区包
weixin-agent-sdk(走微信官方 iLink 通道,客户端代码非微信官方维护)。 - DSH 重启会清空微信对话记忆(文件改动不受影响)。
Links
More in this category
xmanrui/dsh-im★ 1548
Connect IM bots to DeepSeek Harness via QR codes or bot credentials (9 channels: Feishu, WeChat, DingTalk, WeCom, QQ, Slack, Telegram, Discord, and WhatsApp).
shaobeichen/dsh-pocket★ 1415
Remote phone access to the DSH Web UI: scan a QR code for LAN or public (cloudflared tunnel) access with real-time sync, a mobile-adaptive layout, and a settings tab.
inclusionAI/Avernet#deepseek-harness-channel-bcn★ 574
Connects DeepSeek Harness to Avernet's Bot Collaboration Network over WebSocket V2, with automatic onboarding, isolated agent sessions, tool-call events, and multi-bot routing tools.
omdsh-dev/dsh-notification★ 86
Desktop notifications for turn completions, with per-outcome controls and keyword rules.
whyihaveyou/dsh-suite#plugin-notify★ 57
IM webhook and local notifications on turn completion, errors, or approval (Feishu/WeCom/DingTalk/Slack/Discord/custom).
omdsh-dev/dsh-lark★ 55
Lark/Feishu bot channel for DeepSeek Harness: each chat drives its own agent, and tool approvals, model questions, and plan reviews return as cards answered by a button or a reply. Switch workspace and model from the chat (`/cd`, `/model`, `/new`), and run several bots that keep separate sessions and can hand turns to each other in one group.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.