DeepSeekDSH
Independent community guideNot affiliated with DeepSeek.Official source snapshot

Connect DeepSeek Harness to WeChat: dsh-im tutorial

Follow the dsh-im README to connect DeepSeek Harness to WeChat: install the plugin, bind the platform, send a first read-only task and fix common connection problems.

On this page

Quick start

If DSH is already installed, start at step 1. The end result is a message entering local DSH, a completed DSH task, and a reply returning to the same platform.

  1. Install dsh-im.
  2. Restart dsh web and open Settings → IM Bot.
  3. Choose WeChat and complete QR or credential binding.
  4. Send /status, then send a read-only task.

Step 1 — install dsh-im

Run this on the same computer where DSH is installed. The author recommends the published npm release.

dsh plugin --profile web add -w @xmanrui/dsh-im

After it finishes, restart the Web Profile:

dsh web

If the terminal cannot find dsh, prefix the command with npx @deepseek-ai/dsh. Do not use the GitHub-source install by default; use it only for unreleased code:

npx -y github:xmanrui/dsh-im install

Refresh the browser and open Settings → IM Bot. Full instructions: dsh-im README.

Step 2 — connect WeChat

WeChat uses dsh-im's built-in iLink QR binding. This is not an Official Account or a WeCom application.

  1. Open DSH Settings → IM Bot → WeChat and display the QR code.
  2. Scan it with the WeChat account you want to bind and complete the authorization on the phone.
  3. Return to DSH, confirm that the WeChat card is online, and send the first test message.

Do not enter Official Account AppID/AppSecret, WeCom credentials or a group webhook here.

Step 3 — send the first task

In the WeChat conversation with the Bot, send these three messages in order. The first checks the connection, the second clears the old session, and the third runs a read-only task.

Send to the Bot
/status
/new
只读任务:列出当前工作区根目录的文件名,不要修改任何文件。
  1. `/status` should return the connection status between the Bot and DSH.
  2. The third message should receive a final reply and create a new Session in DSH Web.
  3. Repeat once with an unauthorized account and confirm that it does not trigger a task.

WeChat troubleshooting

The IM Bot page is missing

Confirm the plugin was installed into the web Profile, restart dsh web, and refresh the browser.

The card stays offline

Check whether the credential or QR code expired, click reconnect, and inspect the terminal that runs DSH.

The platform receives a message but no reply

Send /status, then confirm directly in DSH Web that the model, workspace and Agent Preset work.

二维码无法完成授权

刷新二维码并换一个测试账号重试。不要把公众号或企业微信的凭据填进微信 iLink 页面。

Security

  • Tokens, App Secrets, QR sessions and the WhatsApp auth directory are credentials. Never commit or publish them.
  • Start with a workspace that has no production secrets and keep access minimal. An IM message can trigger local files, commands and tools.
  • dsh-im is a community plugin. Re-read its README and changelog before upgrades; it is not an official platform integration.
Sources

dsh-im author README · WeChat channel source · WeChat platform documentation

dsh-im reference: 32a62a63. Steps may change with the plugin; check the author's README before installing.