DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

Huangzihengcmd /

Huangzihengcmd/dsh-wechat-assistant

Verified

DSH plugin: drive DeepSeek Harness from WeChat — scan a QR code, send instructions from WeChat, get results back in the same chat.

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHubProject homepage
READMESource: main@c53335e6

dsh-wechat-assistant

在微信里直接指挥 DeepSeek Harness。 扫码登录一次,之后在微信聊天窗口发指令,DSH 在这台电脑上执行,结果实时回传到同一个聊天窗口。

A DeepSeek Harness (DSH) plugin that bridges your WeChat account to the agent running on your PC. Scan a QR code once, then send instructions from WeChat and get results back in the same chat.


这是什么

微信官方为 Agent 生态提供的 微信 ClawBot 通道(Tencent 官方发布的 @tencent-weixin/openclaw-weixin)。本插件是 DSH 侧的接入实现:

  • 扫码登录 —— 微信扫码授权,无需公网服务器、无需手动复制 token
  • 长轮询收消息 —— 通道在 DSH 进程内长轮询微信服务端,不占用端口
  • 执行与回传 —— 微信消息进入一个 DSH Session,跑完一轮把正文发回微信

基于腾讯官方 iLink Bot 协议实现(get_bot_qrcode / get_qrcode_status / getupdates / sendmessage),二维码在浏览器本地渲染,不引入任何外部资源。

安装

从 GitHub 安装(推荐)

dsh plugin add Huangzihengcmd/dsh-wechat-assistant

在 DSH 界面里

Plugins 页面 → 添加插件 → 填入仓库地址 Huangzihengcmd/dsh-wechat-assistant。

使用

  1. 打开 设置 → 微信助理。页面打开时会自动生成登录二维码。
  2. 用手机微信扫描二维码,在手机上确认授权。
    • 若手机提示输入数字配对码,把它填进页面上的输入框。
  3. 卡片显示「已连接」后,在微信里直接发指令即可。

指令

普通自然语言即可,例如:

帮我看一下这个项目有哪些测试没跑
把这个目录里的 CSV 汇总成一张表

/new(或 /新会话)会结束当前对话、开启一个新的 DSH Session。

二维码过期

二维码有时效。过期后页面会提示,点「刷新二维码」换一张新的即可。Host 侧也会自动换发(最多 3 次)。

工作方式

微信 App  ⇄  微信 ClawBot 服务  ⇄  本插件(长轮询)⇄  DSH Agent

每个微信用户对应一个 DSH Session,会话在插件自己的状态目录里持久化:

路径 内容
<DSH_HOME>/wechat-assistant/accounts/<id>.json 账号凭据(token,权限 0600)
<DSH_HOME>/wechat-assistant/accounts/<id>.sync.json 长轮询续传游标
<DSH_HOME>/wechat-assistant/accounts/<id>.context-tokens.json 各用户的 context_token

默认 <DSH_HOME> 为 ~/.dsh。

配置

插件行配置(Plugins 页面或 profile 的 cordis.patch.yml):

字段 默认 说明
autoConnect true 启动时自动接上上次登录的账号
cwd 空 新会话的工作目录;留空则用 DSH 默认目录

隐私与安全

  • 微信凭据只存在你的机器上,不会发给浏览器,也不会发给 DSH 之外的任何地方。
  • HTTP 路由只接受本机(loopback)请求。
  • 消息内容会进入 DSH 的会话日志——它和网页端对话一样,是可追溯的。

兼容性

需要 DSH >=0.2.1-rc.5(ctx.agents.create/resume、agent.followup()、agent.whenIdle()、settings.section 槽位)。

许可证

MIT

—/ 5

No ratings yet

Verified DSH bundle

Commit c53335e64ad8

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout