DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-im-gateway

j

dsh-im-gateway

Manifest valid★ 3

An IM gateway for the DeepSeek Harness: bridge messengers into harness agent sessions and control them with slash commands.

UI (client)hasBundlePatch

dsh-im-gateway

An IM gateway for the DeepSeek Harness: bridge messengers into harness agent sessions and control them with slash commands.

  • WeChat via Tencent's official iLink Bot transport (the same one OpenClaw's @tencent-weixin/openclaw-weixin uses) — QR login, long-poll, no public endpoint/ngrok required.
  • Slash commands modeled on Hermes Agent's messaging interface: /new, /sessions, /status, /model, …
  • One agent session per peer: every IM contact gets its own harness agent (same model, tools, workspace), so conversations have memory and stay isolated.

Architecture

IM (WeChat iLink)
      │  QR login + long-poll (native fetch)
      ▼
dsh-im-gateway (host plugin, one per process)
   ├── channel registry        lib/channels/wechat-ilink.js   ← transport adapters
   ├── peer → session map      lib/gateway.js                 ← agent lifecycle
   ├── slash commands          lib/commands.js
   └── HTTP bridge             lib/http.js                    ← browser panel
      │
      ▼
harness agents service → agent session → model/tools/workspace

Two halves, per the harness convention:

  • Host (index.js, lib/): the gateway. Runs once per process because the channel token and peer→session map must be shared, not per-session.
  • Client (client.js): an optional browser "IM 网关" settings section (QR login, status, test). Discovered automatically via the package's dsh.client declaration.

Commands

CommandAction
/helpList commands
/new (or /reset)Archive the current session and start a fresh one
/sessionsList current + archived sessions for this peer
/statusShow connection, model, and current session
/model [provider:model]Show current model, or switch (provider:model) into a new session

Roadmap: /retry, /undo, /compress, /usage, /personality, /stop (interrupt), and skill invocation.

Install

This is a Cordis plugin package that targets the harness host plane. It declares dsh.bundle, so the official dsh plugin command installs it and composes it automatically — no manual composition edit.

From GitHub (before/without npm publish)

dsh plugin --profile web add github:jelech/dsh-im-gateway

dsh plugin forwards to pnpm add, and github:user/repo is a native pnpm spec. The package's dsh.bundle declaration then joins it to the profile's bundle layers automatically (this package has no prepare/build script, so no allowBuilds step is needed).

From the npm registry (after publishing)

dsh plugin --profile web add dsh-im-gateway

From a local checkout

dsh plugin --profile web add file:/absolute/path/to/dsh-im-gateway

Restart the harness after installing (composition is read at boot). The gateway registers an imGateway service and, if the profile provides webServer, exposes /im-gateway/* plus the settings section.

For a manual install instead of dsh plugin, the equivalent is pnpm add dsh-im-gateway from the profile directory plus merging the insert row in cordis.patch.yml (see cordis.patch.yml in this repo).

Login

  1. Open 设置 → IM 网关 → 扫码登录微信 (browser), or call gateway.login() and scan the QR printed to the host console.
  2. Scan with WeChat and confirm. The token is held in memory for the process lifetime.
  3. Message the bot. Text messages are answered by the harness agent; /-prefixed messages are commands.

Notes & limitations

  • Text only for now. Media (image/voice/file) requires the iLink CDN AES-128-ECB path; it's isolated behind the channel interface and can be added without touching the gateway core.
  • iOS needs WeChat ≈ 8.0.70; Android may prompt for a WeChat update first (iLink requirement).
  • The browser panel renders the login QR locally on the host (via the qrcode npm package, served as SVG from /im-gateway/qrcode) — no third-party QR service and no external network round-trip for the login link.
  • The /im-gateway/* HTTP bridge registers raw routes on the harness web server; if your deployment enforces HTTP auth above the route layer, add it in lib/http.js.

License

MIT

Compatibility

DSH 0.2.1-alpha.4: failedDSH 0.1.7-rc.1: failedDSH 0.1.5-rc.2: failed

Versions

Latest versionPublishedSize
0.1.0——
0.2.1——
0.3.0——
0.3.1——
0.3.3——

Comments

Loading…

Similar plugins

dsh-im-connect

by MichengAI

DSH IM Connect — 将主流即时通讯平台接入本机 DeepSeek Harness · Connect major messaging platforms to local DeepSeek Harness agents

Notifications & IntegrationsManifest valid

★ 102

↓ 13.8k/wk

Apache-2.0

JavaScript

Oct 29, 2026

dsh plugin --profile web add @michengai/dsh-im-connect

by 173787247

DeepSeek Harness IM bridge for WSL: Feishu / WeCom aibot / DingTalk Stream / QQ Gateway into ctx.agents (plus im_status tool).

Tools & CapabilitiesManifest valid

★ 1

MIT

JavaScript

Oct 10, 2026

dsh plugin --profile web add dsh-wsl-im

by lijian-ui

为 DeepSeek Harness 提供多 IM 通道接入的网关插件:钉钉 / QQ / 个人微信,支持扫码绑定与流式回复。

Tools & CapabilitiesManifest valid

★ 6

↓ 111/wk

MIT

TypeScript

Sep 21, 2026

dsh plugin --profile web add @lijian-ui/dsh-im-gateway

by dsh-pulse

Task-queue execution endpoint for DSH: requires a separately self-deployed Hermes Agent gateway plus your own WeChat inbound script; verified on a single environment — expect to adapt it.

Tools & CapabilitiesNotifications & IntegrationsManifest valid

★ 0

↓ 93/wk

MIT

JavaScript

Aug 24, 2026

dsh plugin --profile web add @dsh-pulse/dsh-hermes-bridge

by shrekcg

将 DeepSeek Harness 接入飞书等即时通讯平台,提供持久会话、流式卡片与 40 个飞书 MCP 工具。

Notifications & IntegrationsManifest valid

★ 4

↓ 198/wk

MIT

JavaScript

Aug 20, 2026

dsh plugin --profile web add dsh-im-channel

by RyensX

Provides a secure reverse proxy, enabling DeepSeek Harness to be accessed remotely and to converse with AI anytime, anywhere.

Tools & CapabilitiesTerminal & ClientsManifest valid

★ 0

MIT

TypeScript

Aug 26, 2026

dsh plugin --profile web add dsh-remote-gateway