MichengAI/dsh-im-connect ↗★ 21

@michengai/dsh-im-connect

将主流即时通讯平台接入本机智能体 适合需要通过微信、飞书、Telegram等IM工具远程与本地智能体交互的用户。

包名
@michengai/dsh-im-connect
兼容性
待验证
Harness 依赖范围
0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2
Cordis 依赖范围
^4.0.2
版本
0.1.55
许可证
Apache-2.0
最近更新
2026年9月24日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:MichengAI/dsh-im-connect

Usage

Open Settings → IM Assistant, select Add account under the target channel, then choose that account's workspace, model, permission, and private-access mode.

GoalActionNotes
Add an accountSelect Add account under a channel, choose the account settings, then scan or enter credentialsThe same channel can contain multiple accounts; Feishu / Lark / WeChat are QR-only, while Telegram needs a Bot Token
Change account settingsExpand the channel, select an account, then edit its workspace, model, reasoning effort, permission, or private-access mode in its settings dialogChanges affect only that account and apply to its subsequent sessions immediately
Pause receivingTurn off Receive messages on the account rowCredentials and settings stay; only new inbound messages for that account pause
Send work from IMWeChat / Feishu / Lark / QQ QR scanners can DM immediately; DingTalk / WeCom scanners and other users need approval. Groups only need a mentionEach chat has its own channel session
Split inputEnd with .. to continue, !! to flush nowDefault merge window is about 5 seconds
Start a new sessionSend /new or /clearCreates and switches the current IM session; previous sessions stay in the Channels list without affecting web tasks
Status / helpSend /status or /helpCurrent session and dynamically discovered Chat commands
Agent presetChoose Agent preset when adding or editing an accountUses the Chat roster; changes apply to new sessions while previous sessions keep their preset
Command permissionsOpen Settings on the account row and toggle DM/group commandsAdmission is checked first; disabling commands keeps conversation and approval/question replies available
Sessions / workspaces/sessions, /session ; /workspaces, /workspace Resume ordinary Chat sessions; workspace selection creates a session without changing account defaults
Task controls/stop, /steer , /queueStop, provide instructions, or inspect the queue; stopping preserves Host queued messages
Session with a preset/presets, /preset , /preset --defaultStarts and connects a new session in the current workspace without changing account defaults
Model / reasoning/models, /model , /reasoning [effort or --default]Changes the current selection and updates the Host default for subsequent Chat sessions
Result recovery/delivery, /delivery retry Check recent deliveries and resend text from the original task
Session management/history, /rename , /forkRecent text history, rename, or fork and switch
Approve a stranger DMOpen Settings → IM Assistant and approve or deny the pending requestAffects DM access only
Answer an interactive questionReply with an option number or text; separate multiple choices with commas, or enter a custom answerMultiple questions arrive in order; only the initiating user can answer in a group
Approve a toolReply Approve / Deny or 批准 / 拒绝 in a DMAlso accepts yes / no / allow / reject; group replies cannot grant
Review on the webOpen the workspace Channels tabIM sessions never appear under Tasks

After /workspace, /new and continuing after archiving the current session keep the selected workspace and use the account model, Agent preset, and permission preset. /session and /fork preserve the original session configuration.

DingTalk replies prefer official AI Card streaming. If card creation fails, plain text preserves line breaks; code fences and list markers remain literal. Do not enable Webhook on the same Telegram bot.

Send commands as separate text messages; image captions remain ordinary input. Start with /help; individual replies also suggest related actions.

  • Sessions and workspaces: list numbers expire after 15 minutes. Archived sessions are marked; restore them on the web first. Finish running tasks and pending interactions before switching.
  • Models: as in Chat, /model and /reasoning also attempt to save the default for future sessions. Other existing sessions are not changed.
  • Stopping and queues: /stop submits a stop request and keeps queued messages. Pause an active goal separately with /goal pause. Use /queue to view and manage queued messages.
  • Forking: /fork requires at least one completed turn. If a fork was created but switching failed, follow the session ID and recovery instructions in the reply.
  • Permissions and export: /permission settings survive session restoration. /export follows private-chat admission and private/group command permissions. Completion is reported only after the ZIP file is sent.

Command replies support Chinese and English and follow the language explicitly saved in web settings. With no preference or an unavailable language service, they default to Chinese. Dynamic names, paths, user content, and extension results remain unchanged. Tool approvals, interactive questions, and some channel errors are not yet fully localized.