Feishu bridge for DeepSeek Harness (derived from dsh-im-bridge): WebSocket long connection, approval cards, group @-mention-only replies, streaming card updates, /stop command.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:caoxiaohu7745-bot/kongmu-im-bridge
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
让 DeepSeek Harness 通过飞书可指挥、可通知、可审批的 IM 桥插件家族(衍生自 dsh-im-bridge,MIT 许可,溯源见 UPSTREAM.md)。
packages/im/ 核心插件(ctx.im 服务、会话映射、命令、通知、审批、MockChannel)
packages/im-feishu/ 飞书适配器(官方 SDK 长连接、审批卡片、群聊 @ 过滤、流式卡片)
demo/ 终端演示与联调运行器(跨平台 shell)
docs/ 安装、飞书配置、适配器开发指南
特性(相对上游 v1.0.5 的增强)
- 流式打字机回显:飞书 interactive 卡片 +
im.message.patch原地更新(notifications.streamEdit) - 群聊仅回复 @ 机器人:
groupMentionOnly(默认开),@ 占位符自动清洗 /stop命令:IM 内随时中断运行中的任务- 首次接触不吞首条任务:自动信任后立即派发
- Windows 全兼容:跨平台 shell 执行器、CI 双平台矩阵、凭据/路径测试平台无关
- 完整命令集:
/start /new /status /log /help /mute /unmute /approve /stop /trust /revoke - 审批流:风险规则门 + 按钮/文本审批 + 超时可恢复拒绝 +
approvals.log审计 - 扫码接入:
npx -y kongmu-im-feishu-qr一键创建应用,凭据落本机文件(App Secret 不进浏览器)
快速开始
# 1) 装进 DSH web profile(需 pnpm;Windows 无 pnpm 先 npm install -g pnpm)
dsh plugin --profile web add kongmu-im kongmu-im-feishu -w
# 2) 配凭据(二选一)
# a. 扫码接入(推荐):npx -y kongmu-im-feishu-qr
# b. 环境变量:FEISHU_APP_ID / FEISHU_APP_SECRET(飞书开放平台自建应用)
# 3) 重启 dsh web,飞书里私聊机器人:
# /new → 派活 → /status → /log;危险操作弹审批卡片
配置与命令详解见 docs/install.md; 飞书应用四件事(凭证/权限/订阅/发布)见 docs/feishu-setup.md。
开发
npm install
npm test # 全套离线测试(无真实凭据/网络)
node demo/mock-demo.mjs --auto # 终端 E2E(MockChannel + 模拟 LLM)
许可
MIT。本仓库为 dsh-im-bridge 的衍生作品,保留其版权声明;改动与增强遵循同许可。
Links
More in this category
xmanrui/dsh-im★ 3574
Connect IM bots to DeepSeek Harness via QR codes or bot credentials (9 channels: Feishu, WeChat, DingTalk, WeCom, QQ, Slack, Telegram, Discord, and WhatsApp).
shaobeichen/dsh-pocket★ 2955
Remote phone access to the DSH Web UI: scan a QR code for LAN or public (cloudflared tunnel) access with real-time sync, a mobile-adaptive layout, and a settings tab.
OpenPetsHQ/openpets#dsh★ 1400
Bridges DeepSeek Harness lifecycle status, errors, and approval requests to a locally running OpenPets desktop companion.
c1overzz/dsh-bili-scroll★ 1393
Let your DSH agent browse Bilibili on its own, read subtitles, write a daily digest, and @ you when it finds something worth your attention.
inclusionAI/Avernet#deepseek-harness-channel-bcn★ 602
Connects DeepSeek Harness to Avernet's Bot Collaboration Network over WebSocket V2, with automatic onboarding, isolated agent sessions, tool-call events, and multi-bot routing tools.
zaofan-make/dsh-qqbot★ 251
QQ official bot channel (enhanced fork of tencent-connect/dsh-qqbot): full agent chat in groups and DMs, rich media, an auto-tagged sticker library with AI image replies, join approval, mute and broadcast, scheduled wakeups, remote approvals over QQ, interactive cards, multi-account instances, extensions, member profiles, and token-saving value-scored wakeups.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.