shrekcg/dsh-im-channel

将DeepSeek Harness接入飞书/Lark的双向通道:持久会话、群聊、流式卡片、40个飞书MCP工具。

Project Overview项目介绍

dsh-im-channel is a native plugin built exclusively for DeepSeek Harness (DSH) that creates a unified bidirectional channel connecting DSH AI agents to popular instant messaging platforms. It lets users interact with their DSH agents directly from their preferred IM app, eliminating the need to switch to a separate interface to access DSH capabilities. Currently, Feishu (Lark) and Telegram are fully supported and stable, while DingTalk, Slack, and Discord are in experimental semi-working status, with QQ, WeChat, and WhatsApp not yet implemented. The plugin specifically delivers a near-native experience on Feishu, with features like persistent conversation context and streaming output.

To install the plugin, you first need to meet the dependency requirements: you must have a working DeepSeek Harness runtime, Node.js version 18 or higher, and the official Feishu lark-cli installed. The installation process is straightforward: clone the repository to your local machine, run npm install to pull all required dependencies, then execute npm run setup to walk through the 6-step initialization wizard. After that, run npm run install-bridge to install the plugin as a persistent service, then verify your installation with npm run doctor to run 21 diagnostic checks and npm run features to check your configured capabilities.

The plugin is released under the open source MIT license, so it is free to use, modify, and distribute according to the license terms. It is built as a pluggable module that does not modify or intrude on the DSH core codebase, so it can be installed or removed with one command without breaking your existing DSH setup. It includes 40 Feishu-specific MCP tools that let DSH agents natively interact with Feishu features like documents, calendars, tasks, messages, and cloud drives. It also includes built-in tools for diagnostics, automatic fixes, permission management, and health status checking, making it easy to maintain your setup and resolve common issues.

dsh-im-channel 是专为 DeepSeek Harness (DSH) 开发的原生插件,作用是打通 DSH AI 智能体与飞书、Telegram、钉钉、Slack、Discord 等多个即时通讯(IM)渠道,提供统一双向交互通道,让用户可以直接在常用 IM 应用中调用和交互 DSH 智能体,尤其在飞书平台能提供接近原生应用的流畅交互体验,支持持久会话和流式输出效果。

目前飞书和 Telegram 已经实现完整支持,钉钉、Slack、Discord 处于实验性半可用状态,QQ、微信、WhatsApp 暂未适配。它支持持久对话上下文记忆、话题隔离、群聊私聊兼容,能实现流式输出带来的平滑打字机效果,还开放了 40 个飞书平台原生工具,基于 MCP 协议供 DSH 智能体直接调用操作文档、日历、任务等。

安装依赖 DSH 运行环境、Node.js 18 以上版本和飞书官方 CLI,安装流程清晰,通过克隆仓库、安装依赖、运行初始化向导、安装桥接插件、运行诊断验证即可完成,采用 MIT 许可开源,不侵入 DSH 核心,支持一键安装卸载,内置诊断自修复和权限管理功能。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 4 stars - very few users, little community feedback星标只有 4,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:shrekcg/dsh-im-channel

把 shrekcg/dsh-im-channel 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

DSH ↔ IM Channel

将 DeepSeek Harness 接入飞书、钉钉、Telegram、Slack、Discord、QQ 等 IM 渠道的统一通道

CI License: MIT Node Tools Market

English 中文


项目简介

DSH ↔ IM Channel 是一个把 DeepSeek Harness(DSH,AI Agent 运行时)接入多个 IM 渠道(飞书/钉钉/Telegram/Slack/Discord/QQ 等)的统一双向通道插件。它在飞书里为你的 AI 助手提供「原生应用」般的完整体验:

  • 💬 持久对话:跨消息上下文记忆,话题隔离,群聊/私聊
  • ⌨️ 真流式输出:边生成边显示,平滑打字机效果
  • 🛠️ 40 个飞书对象工具:agent 可直接操作文档、表格、日历、任务、邮件等
  • 🧩 可插拔插件形态:不侵入 DSH 核心,一键安装/卸载

对齐 OpenClaw 飞书官方插件 的能力与体验,但基于 DSH 生态构建。


✨ 功能特性

🌐 支持渠道

⚠️ 诚实标注:当前稳定可用的是飞书与 Telegram(完整收发)。钉钉/Slack/Discord 为实验性/半可用(见下方状态),QQ/微信/WhatsApp 未提供适配器(不在本版本范围)。

渠道 状态 接入方式
飞书 📘 ✅ 完整支持(主力) WebSocket 长连接(开放平台建应用)
Telegram ✈️ ✅ 完整支持 BotFather 聊天内创建(最简单)
Slack 🟣 🟡 半可用(接收需 @slack/socket-mode 依赖) Socket Mode
Discord 🎮 🟡 半可用(接收需 discord.js 依赖) Gateway(bot token)
钉钉 📱 🟡 实验(Stream 接入未完整实现) 需 @alicloud/dingtalk-stream

在飞书里发 /channels 查看全部渠道及接入步骤,或 /channels add <渠道> 获取引导。

💬 对话体验

特性 说明
持久会话 跨消息上下文记忆(DSH agents.resume)
话题隔离 每个话题独立上下文,如从主线 fork
群聊支持 不 @ 也响应,或按群细粒度策略(白名单/仅@)
思考表情 收到消息显示 THINKING,回复后自动移除
真流式输出 边生成边显示,平滑打字机(自适应节奏)
底部耗时 回复底部小字「已完成 · 耗时 xx」,对齐 OpenClaw
@ 用户渲染 回复中可 @ 用户/所有人(原生 mention)
Bot 互 @ 支持 bot 间对话(可配置)

📎 消息能力

特性 说明
多媒体收发 图片/文件/音频/视频下载与发送
合并转发 合并转发消息识别与展开
表情反馈 👍/❤️ 等表情反馈给 agent
文档评论@ 文档评论中 @ 机器人触发对话

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-tool-lens 下一个 Next dsh-law →