kedoupi/xiaotaozi-dsh--plugins-im ↗★ 1
dsh-im
在侧边栏“新建会话”下方新增IM机器人入口,支持将本地DeepSeek Harness连接至飞书、微信、钉钉、企业微信、QQ、Slack、Telegram等主流即时通讯软件。
AI 分析
核心用于将本地AI能力接入各类社交与办公IM软件。适合需要通过聊天软件与DeepSeek交互的用户。安装后可在侧边栏直接配置和管理各平台机器人。
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:kedoupi/xiaotaozi-dsh#27564cbe6c5f08b7d77e783b6e1540bab0a80f94&path:plugins/im说明文档
阅读完整 README ↗English · 中文
dsh-im

Sidebar below New Session → IM bots: connect the local Harness to chat apps.
Feishu · WeChat · DingTalk · WeCom · QQ · Slack · Telegram · Discord · WhatsApp · AI Office
English · 中文 · xiaotaozi-dsh · THIRD_PARTY_NOTICES.md
A DeepSeek Harness plugin. Scan a QR code, paste an App Manifest, or enter bot credentials. Each channel can hold several bots. Credentials stay in the Host credential store.
Runtime logic lives under src/channels/; Cordis RPC wiring is under src/host/; the Web UI is src/client/.
Part of the xiaotaozi-dsh monorepo. User-facing copy follows the Harness language (Chinese / English). Channel adapters come from xmanrui/dsh-im (MIT). See THIRD_PARTY_NOTICES.md. Do not dsh plugin add the repository root.
Features
- Nine chat channels plus experimental AI Office. QR, App Manifest, or existing secrets, depending on the product.
- Several bots per channel. Secrets never go in the client bundle.
- Files in both directions. Ordinary chat files go into the current Harness session; result files and images come back as native attachments (
dsh_im_return_file). - Bot commands in the chat.
/help/new/status/models/model/presetlist/preset/stop/steer/compact/workspace/workspacelist/sessionlist/session - Per-bot Agent Preset. Pick a preset in the IM hub or with
/preset; new sessions follow it, existing chats need/newfirst. - Per-bot role / scope. A short instruction on the bot card, applied on every inbound turn. Project
AGENTS.mdstays shared; Agent Preset still owns the toolset. - English bot copy. Host
language: enorDSH_IM_LANGUAGE=enswitches prompts and command help. Untranslated strings stay Chinese. - Resilience and authority. Config defaults to loopback RPC, isolated channel failures, a 600000ms reply timeout, and a 20000ms connect timeout. QQ, WhatsApp, and Office are loaded on demand;
agentPresetcan provide the default preset.
Install
dsh plugin --profile web add github:kedoupi/xiaotaozi-dsh#path:plugins/im
dsh web
Then open IM bots in the sidebar, directly below New Session (and below Xiaotaozi Market if that plugin is installed). Leave sandbox pnpm dev running while you edit; host restarts itself when lib/index.js changes.
Screenshots

Channels
| Channel | Setup |
|---|---|
| Feishu | QR or App ID + Secret; streaming cards; group @/all-message mode; session watches |
| QR via Tencent iLink | |
| DingTalk | QR or Client ID + Secret; AI Card stream |
| WeCom | QR or Bot ID + Secret |
| QR or AppID + AppSecret; Markdown replies, one progress bubble in DMs | |
| Slack | App Manifest + Bot/App tokens |
| Telegram | BotFather token; optional DM allowlist; native Rich Messages (draft in DMs, in-place in groups/topics) |
| Discord | Bot token. Enable Message Content Intent. Server text/announcement mentions open a Public Thread; grant Create Public Threads, Send Messages in Threads, Send Messages, and Read Message History. Result files also need Attach Files. |
| Linked-device QR (unofficial WhatsApp Web; use a dedicated number). Default access is Only me; Selected contacts and Open responses are available per bot. | |
| AI Office | Outbound heartbeat + SSE; experimental, off unless officeEnabled: true |
Chat files (not just images) are staged into the current session workspace. Harness can send a result file back with the dsh_im_return_file tool. Slack apps need files:write as well as files:read.
Develop
AI Office is disabled by default. Enable it per profile with officeEnabled: true in Config (or office.enabled: true); the channel then also needs its own connector credentials.
From the monorepo root:
pnpm --filter dsh-im test
pnpm --filter dsh-im build
node scripts/link-plugin.mjs --profile web im
pnpm dev
Documentation
| Doc | Read it when |
|---|---|
| THIRD_PARTY_NOTICES.md | Upstream MIT attribution |
| Workflow | Create, install, simplify, commit |
| Conventions | Package identity and two homes |
| xiaotaozi-dsh | The rest of the monorepo |