kedoupi/xiaotaozi-dsh--plugins-im1

dsh-im

在侧边栏“新建会话”下方新增IM机器人入口,支持将本地DeepSeek Harness连接至飞书、微信、钉钉、企业微信、QQ、Slack、Telegram等主流即时通讯软件。

AI 分析

核心用于将本地AI能力接入各类社交与办公IM软件。适合需要通过聊天软件与DeepSeek交互的用户。安装后可在侧边栏直接配置和管理各平台机器人。

包名
dsh-im
版本
0.1.1
许可证
MIT
最近更新
2026年8月26日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:kedoupi/xiaotaozi-dsh#27564cbe6c5f08b7d77e783b6e1540bab0a80f94&path:plugins/im

English · 中文

dsh-im

dsh-im icon

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

MIT dsh-plugin

DeepSeek Harness 0.1.1-rc.2

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 /new first.
  • Per-bot role / scope. A short instruction on the bot card, applied on every inbound turn. Project AGENTS.md stays shared; Agent Preset still owns the toolset.
  • English bot copy. Host language: en or DSH_IM_LANGUAGE=en switches 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; agentPreset can 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

IM bot settings

Channels

ChannelSetup
FeishuQR or App ID + Secret; streaming cards; group @/all-message mode; session watches
WeChatQR via Tencent iLink
DingTalkQR or Client ID + Secret; AI Card stream
WeComQR or Bot ID + Secret
QQQR or AppID + AppSecret; Markdown replies, one progress bubble in DMs
SlackApp Manifest + Bot/App tokens
TelegramBotFather token; optional DM allowlist; native Rich Messages (draft in DMs, in-place in groups/topics)
DiscordBot 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.
WhatsAppLinked-device QR (unofficial WhatsApp Web; use a dedicated number). Default access is Only me; Selected contacts and Open responses are available per bot.
AI OfficeOutbound 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

DocRead it when
THIRD_PARTY_NOTICES.mdUpstream MIT attribution
WorkflowCreate, install, simplify, commit
ConventionsPackage identity and two homes
xiaotaozi-dshThe rest of the monorepo

License

MIT