DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

dsh-weixin-ilink

Weixin Ilink

Weixin iLink channel for DeepSeek Harness — text, media, persona modes, companion pacing and proactive messages.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add dsh-weixin-ilink@0.10.0
READMECompatibilityVersions

Compatibility and provenance

Weixin Ilink is published as dsh-weixin-ilink and currently resolves to version 0.10.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
11/4/2026

Versions

0.10.0stable
11/4/2026
0.9.2stable
11/3/2026
0.9.1stable
10/29/2026
Show 12 more versionsCollapse versions
0.9.0stable
10/29/2026
0.8.1stable
10/29/2026
0.8.0stable
10/28/2026
0.7.9stable
10/28/2026
0.7.8stable
10/28/2026
0.7.6stable
10/28/2026
0.7.5stable
10/28/2026
0.7.4stable
10/28/2026
0.7.3stable
10/28/2026
0.7.2stable
10/28/2026
0.7.1stable
10/28/2026
0.7.0stable
10/28/2026

Related plugins

Loading related plugins…

Latest
0.10.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
290.4 kB
Files
32
Surface
web
License
MIT
Source
npm
Weekly downloads
2,690
Security scan
✓ v0.10.0 scan passed
View source ↗Project homepage ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in integrations-communication.

Remote Web Ui@linxin666/dsh-remote-web-uiScan-to-pair remote access for the dsh web GUI that shares one official interface: a QR beside the settings button pairs phones and PCs into the same Web GUI (a portrait-touch adaptation layer for phones, full desktop on PCs) through one-time tokens and rRemote Bridge@linxin666/dsh-remote-bridgeDSH remote bridge: the host half serves protocol v1 over one exact /ios/v1 WebSocket route — session roster, history baseline, prompting, live turn increments with tool activity, interrupt, and in-process agent approval — to a device paired by a one-shot Im@xmanrui/dsh-im把微信、飞书、企微、钉钉、QQ、Telegram、WhatsApp、Slack、Discord、Matrix接入DSH。 Connect Telegram, WhatsApp, Slack, Discord, Matrix, WeChat, Feishu, WeCom, DingTalk, and QQ to DSH.Ds Botds-botDS Bot: a team of long-lived Bots for DeepSeek Harness, with Main Bots, Bot-to-Bot messages and group chats

README

dsh-weixin-ilink

把个人微信接到 DeepSeek Harness 的通道插件:一条微信消息就能驱动 DSH 里的 agent,支持文字、图片、文件、语音、群聊、人格模式和主动消息。

风险提示:iLink 是逆向的个人微信协议,不是腾讯官方机器人接口。建议绑定小号,账号被限制/封禁的风险自行承担。

功能

  • 长轮询已绑定的微信账号,每个会话对应一个 DSH agent 会话;回复按长度分段并回传 context_token
  • 默认拒绝:白名单机制,首次接触需显式开启;群聊默认关闭,开启后只回复被 @ 的消息
  • 挂载 profile 的默认 agent 预设和完整工具集;需要审批的操作转发到微信,回复 y/n
  • 收发图片、文件、语音、视频:入站 CDN 下载 + AES-128-ECB 解密,出站 MEDIA: 上传
  • 斜杠命令本地应答;会话线(line)管理、自动归档、显式删除
  • 人格模式、生活状态、拟人节奏(分段、延迟)、可选主动消息
  • 可配置工作目录:agent 的 cwd,也是 workspace-write 的写入边界,并注册为 Web 侧边栏项目
  • 通过 weixinPush 服务供同一 DSH 内的其他插件推送提醒(例如抖音登录二维码)

环境要求

项要求
Node.js≥ 22.13
DSH>=0.2.1-alpha.4 <0.3.0(以 package.json 的 engines.dsh 为准)
系统macOS / Linux;Windows 未验证
账号建议使用个人微信小号,主号有被封风险

安装

从 npm 安装(推荐)

dsh plugin --profile web add dsh-weixin-ilink@0.9.3

安装后完全退出并重新打开 DSH。包自带 cordis.patch.yml,会自动插入 id: dsh-weixin-own 的插件行。

从源码安装

git clone https://github.com/asd45183/dsh-weixin-ilink.git
cd dsh-weixin-ilink
npm install
dsh plugin --profile web add .

设置页(推荐)

安装并重启 DSH 后,打开“设置 → 微信”,可以直接完成:

  • 扫码登录:点“扫码登录”显示二维码,手机微信扫码并在手机上确认;可刷新二维码或取消
  • 账号:列出已绑定账号的掩码 id、凭据是否有效、最近消息时间;可逐个“退出登录”
  • 授权:编辑 allowedSenders(允许驱动 agent 的微信 id)、开启首次接触、群聊开关与触发方式、允许的群聊;可从“最近发送者”一键加入白名单
  • 运行:媒体收发、图片发送方式、正在输入提示、主动消息、工作目录、权限预设

生效范围:白名单与各类开关保存后立即用于新消息;工作目录、权限预设、账号轮询范围和“启用通道”需要重启 DSH 生效。

设置页只在 DSH 宿主内可用,接口只接受本机同源请求和宿主所有者,不返回 token、消息正文或联系人昵称。

绑定微信账号

node bin/login.js

也可以用“设置 → 微信 → 扫码登录”在页面里扫码。凭据保存在 ~/.dsh/weixin-own/accounts/<id>.json(权限 0600),不要提交到仓库或发给别人。

  • 只绑一个账号时,配置里 accountId 留空即可
  • 绑定多个账号时,用 accountId 指定要服务的那一个

配置

在 profile 的 cordis.patch.yml(或插件配置层)中追加:

- id: dsh-weixin-own
  name: "dsh-weixin-ilink"
  config:
    enabled: true
    accountId: ""                 # 空 = 使用唯一已保存账号
    allowedSenders:               # 默认拒绝;填入允许驱动 agent 的微信 id
      - wxid_xxxxxxxx
    allowFirstContact: false      # 仅首次配置时临时开启
    workspace: "~/weixin-workspace"
    permissionPreset: workspace-write
    mediaEnabled: true
    imageAsFile: false            # false = 图片气泡;true = 文件附件
    groupChatEnabled: false
    groupReplyWhen: mention       # 群聊只在被 @ 时回复

常用配置项

键默认说明
enabledtrue插件加载后是否启动轮询
accountId""只服务指定账号;空 = 所有已保存账号
allowedSenders[]允许驱动 agent 的微信 id;为空时默认拒绝
allowFirstContactfalse首次配置用:临时允许第一个发送者,用于复制 id
workspace""agent 的 cwd 与写入边界;空 = ~/.dsh/weixin-own/sessions
permissionPresetworkspace-write改成 danger-full-access 会让微信消息可写整盘,仅限完全可信账号
turnTimeoutMs600000单轮超时(10 分钟)后取消
approvalTimeoutMs300000审批提示等待时间,超时按拒绝处理
mediaEnabledtrue入站媒体下载解密、出站媒体上传
imageAsFiletrue发送图片的方式;false 显示为图片气泡
groupChatEnabledfalse是否服务群聊
groupReplyWhenmention群聊触发方式:mention 仅 @,all 全部
typingIndicatortrue处理中显示“正在输入”
proactiveEnabledfalse人格模式是否允许 agent 先开口

完整配置项见仓库 src/index.js 的 Config schema 或 cordis.patch.yml 注释。

首次使用(白名单)

  1. 保持 allowedSenders: [],先把 allowFirstContact 设为 true
  2. 重启 DSH,用微信给绑定的账号发一条消息
  3. 查看 DSH 日志里的 warn 行,复制完整的 sender id
  4. 把该 id 填入 allowedSenders,并把 allowFirstContact 改回 false
  5. 重启 DSH

之后只有白名单内的发送者能驱动 agent,其他人发消息不会得到回复。

常用聊天命令

发送效果
/help列出所有命令
/status账号、模型、模式、会话 id、工作目录、白名单数量
/model列出模型;/model 2 或 /model provider/model 切换
/mode列人格模式;/mode 女友 切换并新开会话线
/new新开一条会话线
/list / /use <n> / /delete <n> confirm会话线管理
/compact / /clear压缩或清空当前上下文
/cancel中断当前轮次
/trust [10m|off]临时跳过审批提示(仅在内存中,最长 8 小时)
/proactive on|off开关主动消息
y / n批准或拒绝待处理的审批

数据目录

~/.dsh/weixin-own/
  accounts/<id>.json              账号凭据,0600
  accounts/accounts.json          已绑定账号索引
  accounts/<id>.sync.json         长轮询游标
  accounts/<id>.context-tokens.json
  sessions/                       微信会话的默认工作目录
  media/<conv>/<msg>/             入站附件解密结果
  session-lines.json              每个会话的当前会话线
  persona-modes.json              每个会话的人格模式
  proactive.json                  /proactive 的运行时覆盖

其他目录可用 DSH_WEIXIN_OWN_STATE_DIR 覆盖。

与其他 DSH 插件联动

插件向同一 DSH 提供 weixinPush 服务,只发给 allowedSenders 的第一个会话:

const push = ctx.get('weixinPush')
await push.toOwner({ text: '需要处理', imagePath: '/path/to/qr.png' })

抖音插件用它推送登录二维码/身份验证截图;如未配置白名单或媒体发送被关闭,会返回明确的 ok: false。

常见问题

微信发了消息没回复

  • 检查 enabled 是否为 true、DSH 是否在运行
  • 检查发送者是否在 allowedSenders 内;首次配置用 allowFirstContact
  • 检查账号凭据是否过期(重新执行 node bin/login.js)

群聊不回复

  • 需要 groupChatEnabled: true,并确保群在 allowedGroups(为空表示任意群)
  • 消息需要以 @机器人 开头(groupReplyWhen: mention)

图片在微信里显示“已过期或已清理”

  • 把 imageAsFile 设为 false,改用图片气泡发送

权限提示太多

  • 确认 permissionPreset 是 workspace-write,并让工作目录覆盖常用路径
  • 临时可用 /trust 10m 跳过提示,但不要长期开启

重启后没有恢复

  • DSH 需要保持运行;退出 DSH 后通道不会继续轮询
  • 检查 ~/.dsh/weixin-own/accounts/ 下的凭据是否还在

安全

  • 这是逆向协议,平台可能调整;账号存在被限制的风险,建议只用小号
  • 凭据文件权限为 0600,不要复制到其他机器或提交到仓库
  • danger-full-access 会让微信消息拥有整盘写入权限,只对完全可信的账号和会话开启
  • workspace 内的写入不需要审批,工作区外会转发审批提示

许可

MIT。第三方组件与来源见 NOTICE 与 LICENSE。