dsh-plugin-im-bridge: Connect QQ / WeChat to DSH, Assign Tasks via Mobile, Execute on Computer

Introduction

DeepSeek Harness (DSH) is a coding agent capable of reading and writing files, executing commands, and running long-running tasks on the local machine. The typical usage is sitting in front of a computer chatting with the client; once you step away from the keyboard, there is no handy, stable “entry point” for sending a message to the same agent.

The community plugin dsh-plugin-im-bridge (maintainer eighteentang) does exactly this: it connects IM bots such as QQ and WeChat as conversation entry points for DSH — send a message to the bot on your phone, the message is delivered to DSH on the computer, handled by the agent in a dedicated session, and the result is sent back to the phone. Below we describe what it is, which platforms it supports, how to install it, how to try your first message, and the permission and security considerations you need to know.

What This Is

dsh-plugin-im-bridge is a client-type plugin for DSH: it adds an IM transport layer and dedicated sessions within the DSH client; it does not replace DSH itself. Credentials are stored locally in ~/.dsh/.credentials.yaml (entry name im-bridge/bot); values such as the QQ AppSecret are not echoed back on the settings page.

Architecturally, the queue, dedicated sessions, session panel, permission presets, and reply dispatch form a platform-agnostic kernel; each platform — QQ (WebSocket long connection), WeChat (HTTP long polling), etc. — implements its own transport layer. The settings page marks the completeness of each platform, so features that are not yet done will not pretend to be available.

Supported Platforms and Capabilities

Platform Status Notes
QQ Fully functional Send/receive + agent; you need to apply for a QQ bot yourself
WeChat Fully functional Send/receive + agent; official iLink / ClawBot, scan a QR code to get started
WeCom Receive only Long-connection inbound is connected; the reply frame format is not officially public, so replies cannot be sent back
Feishu Receive only Inbound is connected; outbound is not implemented, and requires installing an additional ~30 MB official SDK
DingTalk Receive only Inbound is connected; the Stream channel itself cannot reply

What it can do (scenarios listed in the README): remotely dispatch tasks, quickly look up files/directories/code, start a long-running task and come back later to check on it, and engage in bidirectional conversation (follow-up questions and progress updates); QQ supports sending/receiving images/text/voice/files (single file ≤ 5 MB); WeChat supports receiving images (decrypted) and voice messages (using its built-in transcription), while outbound media is a work in progress. Attachments are stored in <desktop>/im-bridge-media/<platform>/<date>/, and the path is appended into the message sent to the agent. Each IM platform has its own independent dedicated session, isolated from other sessions on the computer.

Installation and Enablement

Prerequisites: DSH is installed and you can log in and chat normally.

  1. Open the sidebar Plugins page and click Add Plugin.
  2. In the “Package name or address” field, fill in the full GitHub address (you cannot just fill in dsh-plugin-im-bridge, because this plugin is not published to npm):
github:eighteentang/dsh-plugin-im-bridge#v1.2.7
  1. After confirming the installation, restart the DSH client.

The GitHub address is not installed via the npm registry, so your machine needs to be able to access github.com or have a proxy configured. Plugins installed via the UI do not yet support automatic updates; upgrading requires uninstalling and reinstalling with a new #vX.Y.Z tag.

Command-line installation

dsh plugin --profile <your-profile-name> add github:eighteentang/dsh-plugin-im-bridge#v1.2.7

<your-profile-name> corresponds to the directory name under ~/.dsh/profiles/; installing to the wrong profile means the plugin will not be visible in the current client. It is recommended to pin the tag #v1.2.7; without a tag, the latest commit on main is installed.

Verification: After restart, you should see Settings → Connect IM as well as a penguin icon in the sidebar (the QQ session panel). You can confirm the version via dsh plugin --profile <name> list or by checking the dsh-plugin-im-bridge field in ~/.dsh/profiles/<profile-name>/package.json.

Version note for WeChat users: Please use v1.2.2 or newer; v1.2.1 and earlier send WeChat replies without client_id, so often only the first message displays.

Credentials and Connection

Open Settings → Connect IM, expand “Configure/Test” for a platform, and after saving click “Save and test connection”.

Route A (WeChat): Mobile WeChat 8.0.70+, with WeChat ClawBot visible under “Me → Settings → Plugins”; scan a QR code when connecting, bot_token is stored locally, and restarting the client generally does not require rescanning.

Route B (QQ): Create a bot at https://q.qq.com and obtain the AppID and AppSecret from “Development Settings”; in “Sandbox Configuration → Message List Private Chat”, add your own QQ number to the whitelist (without this, messages will not be received and no error is reported). The plugin defaults to QQ sandbox (for home broadband without a fixed public IP, the production environment requires an IP whitelist, which is usually unavailable).

Connection status can be checked on the settings page or via the local interface (127.0.0.1 only):

curl http://127.0.0.1:8799/im-bridge/status

A return of "connected": true with "bot" being the bot name indicates everything is working normally.

Typical Usage

First message: For QQ, privately message the bot from a whitelisted number; for WeChat, just send a message to “WeChat ClawBot”. For example:

List the files on D drive

When working properly, it will list the directory and send the result back to the phone.

With attachments: Simply send images/voice messages/files directly in the chat; no special commands are needed. You can tell the agent “look at that image I just sent…”, and the agent reads it via a local path.

Model configuration: The dedicated session uses DSH’s default model by default; if replies indicate there is no API key, you can specify one for im-bridge in the profile’s cordis.patch.yml, e.g.:

- id: im-bridge
  name: dsh-plugin-im-bridge
  config:
    agentProvider: deepseek-account
    agentModel: deepseek-flash

Other optional configuration items include agentReasoningEffort, workspace, sandbox (QQ only), permissionPreset (default danger-full-access), and agentSessionId (should only be overridden in a personal patch to start a new session context). After making changes, you need to restart the client.

Use Cases and Notes

Who it is for: Developers who need to trigger the local DSH agent via IM while commuting or on the go, and who are willing to set up a QQ bot or WeChat ClawBot themselves.

Permissions and security (must read): The plugin runs locally with the permissions of the current DSH process; the default permissionPreset: danger-full-access means anyone who can privately message the bot can execute commands on the computer (when running unattended, the desktop approval prompt is not visible on the phone). Before installing, you should read the source code and the MIT license at the GitHub repository, tighten permissions for your own environment, or restrict who can send messages.

Troubleshooting no replies: For QQ, first check the sandbox whitelist and connection status; for WeChat, check that it is connected and the version is ≥ v1.2.2; if it reports no tool or no API key, refer to the README’s “Known Issues” and model configuration sections.

The DSH ecosystem emphasizes “everything is a plugin”; the SkillHub directory page is a community-curated site with no official affiliation to DeepSeek / High-Flyer.

Conclusion

dsh-plugin-im-bridge turns IM into a remote conversation entry point for DSH: the kernel is unified, and the transport layer is extended per platform; QQ and WeChat can already be fully integrated with the agent. When installing, use the address from the documentation github:eighteentang/dsh-plugin-im-bridge#v1.2.7, configure the credentials, and understand the default high-privilege behavior before using it for day-to-day task dispatch.

  • Directory page: https://www.skillhub.cn/plugins/eighteentang/dsh-plugin-im-bridge
  • Source code and documentation: https://github.com/eighteentang/dsh-plugin-im-bridge
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye