DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-wsl-im

1

dsh-wsl-im

Manifest valid★ 1

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

hasBundlePatch

dsh-wsl-im

DeepSeek Harness plugin: chat with dsh from Feishu / WeCom / DingTalk / QQ / Slack / Discord / Telegram.

中文说明 → README.zh.md

Messages go: IM → this plugin → ctx.agents → reply.


Compatibility

FieldValue
Plugindsh-wsl-im 0.3.2
Minimum dsh≥ 0.1.2
Latest verifiedSee dsh-wsl-kit Compatibility
Kit setnot in install.sh (optional)
Cloud Flashdeepseek-flash — not configured here

Architecture

Not in install.sh. Wire behavior follows vendor docs.

flowchart TB
  chats["Feishu / WeCom / DingTalk / QQ / Slack / Discord / Telegram"] --> im["dsh-wsl-im"]
  im --> ws["one workspace per IM"]
  im --> agents["ctx.agents"]
  agents --> reply["reply text back to that chat"]

Each IM gets ~/.dsh/im-workspace/{feishu,wecom,dingtalk,qq,slack,discord,telegram}, registered on plugin start. One session per chat, not one session for the whole platform. Suite diagram: dsh-wsl-kit. This plugin is 0.3.2 (optional, not in install.sh).

Adapters

AdapterModeCreds
feishuLong connectionFEISHU_APP_ID / FEISHU_APP_SECRET
wecom智能机器人 WSSWECOM_BOT_ID / WECOM_BOT_SECRET
dingtalkStreamDINGTALK_CLIENT_ID / DINGTALK_CLIENT_SECRET
qqOfficial GatewayQQ_APP_ID / QQ_APP_SECRET
slackSocket ModeSLACK_BOT_TOKEN (xoxb-) / SLACK_APP_TOKEN (xapp-)
discordGateway WSSDISCORD_BOT_TOKEN (+ optional DISCORD_APPLICATION_ID)
telegramLong-poll getUpdatesTELEGRAM_BOT_TOKEN (+ optional TELEGRAM_BOT_USERNAME)
mockLocal HTTPDSH_IM_MOCK=1 → POST http://127.0.0.1:18999/mock

Enable with DSH_IM_FEISHU=1 / DSH_IM_SLACK=1 / DSH_IM_DISCORD=1 / DSH_IM_TELEGRAM=1 (etc.) or adapters.*.enabled: true in patch config.

Feishu peer dependency

# inside the dsh profile / plugin install tree
npm i @larksuiteoapi/node-sdk

WeCom proxy

openws.work.weixin.qq.com often needs HTTPS_PROXY/HTTP_PROXY. The adapter uses https-proxy-agent (ws ignores NODE_USE_ENV_PROXY). One Bot = one live WS — stop any other client on the same Bot while testing.

Discord / Telegram notes

  • Discord: enable Message Content Intent; guild messages require @bot (set DISCORD_APPLICATION_ID or wait for READY). CDN downloads honor HTTPS_PROXY.
  • Telegram: outbound long-poll only (no webhook). Groups need @bot when TELEGRAM_BOT_USERNAME is set.

Install

# track default branch; do not pin 0.2.0
dsh plugin --profile web add github:173787247/dsh-wsl-im

Awesome: entry draft in docs/awesome-entry.yml — submit to awesome-dsh-plugin after the repo is ≥1 day old (CI gate).

Source env (see examples/dsh-wsl-im.env.example), restart web, new session. Tool: im_status.

Mock smoke (no real bot)

export DSH_IM_MOCK=1
# restart dsh web, then:
curl -s http://127.0.0.1:18999/mock -H 'content-type: application/json' \
  -d '{"text":"/status","chatId":"t1"}'

Security

Empty allowedUserIds = everyone. Set a whitelist before exposing bots. IM input can drive tools on the host.

License

MIT

Comments

Loading…

Similar plugins

dsh-im-hub

by ThreeBody6666

Multi-platform IM gateway for DeepSeek Harness: Feishu (Lark), WeCom (WeChat Work), and Telegram. One agent per chat, whitelist access, no public endpoint needed (Feishu long connection / Telegram lon

Notifications & IntegrationsManifest valid

★ 3

MIT

JavaScript

Aug 21, 2026

dsh plugin --profile web add dsh-im-hub

by 988hj7tczd-oss

QQ official bot (q.qq.com) integration for DeepSeek Harness: chat with the full agent from private chats, groups and channels — WS long connection (heartbeat / reconnect / RESUME), per-chat session is

Notifications & IntegrationsTerminal & ClientsSecurity & AuditManifest valid

★ 2

↓ 67/wk

MIT

JavaScript

Aug 22, 2026

dsh plugin --profile web add dsh-im-qq

by AbcdefgXW

dsh IM 渠道桥:微信/QQ/飞书接入 + 主动推送 | IM channel bridge for dsh: WeChat/QQ/Feishu with proactive push

Notifications & IntegrationsTools & CapabilitiesTerminal & ClientsManifest valid

★ 4

↓ 349/wk

MIT

JavaScript

Sep 18, 2026

dsh plugin --profile web add dsh-msg-hub

by jelech

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

Manifest valid

★ 3

↓ 108/wk

MIT

JavaScript

Aug 14, 2026

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

by JMOKSZ

Feishu (Lark) entry point for DeepSeek Harness: drive dsh agents from a Feishu bot with streaming cards, ask/approval buttons and attachments.

Notifications & IntegrationsManifest valid

★ 4

↓ 18/wk

MIT

JavaScript

Aug 17, 2026

dsh plugin --profile web add @jmoksz/lark-bridge

by caoxiaohu7745-bot

Feishu bridge for DeepSeek Harness (derived from dsh-im-bridge): WebSocket long connection, approval cards, group @-mention-only replies, streaming card updates, /stop command.

Notifications & IntegrationsManifest valid

★ 0

JavaScript

Aug 15, 2026

dsh plugin --profile web add kongmu-im-bridge