Introduction

If you are already using DeepSeek Harness (DSH) locally, but tasks often require leaving the web interface to be processed, dsh-im-bridge provides an IM entry point: assign tasks to DSH in Feishu, WeCom, or Telegram, receive task results, and approve dangerous operations.

What is this

dsh-im-bridge is an IM channel plugin for DSH, maintained by shaobeichen, licensed under MIT. It connects IM chat messages to DSH, sends task results back to the chat window, with core capabilities including remote task dispatch, result notifications, and dangerous operation approval.

Core Features

  • Chat-based Task Dispatch: Send tasks directly to AI in the IM.
  • Dangerous Operation Approval: Dangerous operations require confirmation before execution, defaulting to rejection.
  • Result Notifications: Actively push result notifications upon task completion or failure, including duration and token usage.
  • Long Output Export: When long output is truncated, use /log to export the full text to a file and send it back.
  • Session Management: Supports session management commands like /new, /status, and /mute.
  • Permission Control: Supports configuring available users and administrators; only administrators can approve and modify configurations.
  • Channel Support: Supports Feishu, WeCom, and Telegram; the README labels these three channels as available or implemented, with DingTalk as planned.
  • WeChat Adapter: The README installation commands and package structure mention the WeChat adapter; its status is not annotated in the supported platforms table.

Installation and Enablement

Prerequisites: DSH (dsh) is already installed on the computer.

One-click Install:

dsh plugin --profile web add github:shaobeichen/dsh-im-bridge

For platform-specific installation, you can use the following commands separately.

Feishu:

dsh plugin --profile web add dsh-im dsh-im-feishu

WeCom (Enterprise WeChat):

dsh plugin --profile web add dsh-im dsh-im-wecom

Telegram:

dsh plugin --profile web add dsh-im dsh-im-telegram

WeChat:

dsh plugin --profile web add dsh-im dsh-im-weixin

Credentials are configured via environment variables, for example:

FEISHU_APP_ID
WECOM_CORP_ID
TELEGRAM_BOT_TOKEN

After configuring credentials, restart dsh web:

dsh web

Typical Usage

  1. Send /new in the chat to establish a session.

  2. Send a task description to assign the task to DSH for execution.

  3. If the task triggers a dangerous operation, handle approval according to the channel:

  • Feishu, Telegram: You can click the approval button to approve.
  • WeCom, WeChat: Reply with text approval commands.

WeCom and WeChat approval example:

/approve <id> yes
  1. After the task completes or fails, you will receive a result notification, which includes the duration and token usage.

  2. If the output is truncated, use /log to export the full text to a file and send it back.

  3. Use /status to check status, and use commands like /mute to manage sessions.

  4. Regarding permissions, ordinary users are denied by default; the first message from a stranger triggers a trust confirmation. Administrators can approve, or you can reply with /trust. Administrators need to configure the security.admins user key, and only administrators can approve and modify configurations.

Developer Integration

Developers running the integration script directly need Node.js 22+. Integration command:

node demo/mock-demo.mjs

Applicable Scenarios and Notes

Suitable for those already using DSH and wishing to dispatch tasks remotely, receive notifications, and approve dangerous operations via Feishu, WeCom, or Telegram.

Notes:

  • DSH must be installed on the computer.
  • This plugin executes remote commands and operates on real files; dangerous operations are rejected by default and must be confirmed before execution.
  • The plugin runs with the permissions of the current dsh process; you should check the source code and license before installing.
  • Only administrators can approve and modify configurations; ordinary users are denied by default.
  • The DingTalk channel is planned.
  • The WeChat adapter appears in the installation commands and package structure, but its status is not annotated in the supported platforms table.
  • Credentials must be configured via environment variables, such as FEISHU_APP_ID, WECOM_CORP_ID, TELEGRAM_BOT_TOKEN, etc.

Conclusion

The value of dsh-im-bridge is to connect DSH’s task entry point, result notifications, and dangerous operation approval to the IM. If you need to assign tasks, view results, and approve critical operations even after leaving the web interface, you can install the plugin first and then configure credentials according to the channel.

Plugin Directory Page: https://www.skillhub.cn/plugins/shaobeichen/dsh-im-bridge

GitHub Repository: https://github.com/shaobeichen/dsh-im-bridge