
wz-heng/dsh-feishu-bridge
40最近提交 2026年8月14日
dsh-feishu-bridge DSH 插件
该插件提供飞书与 DeepSeek Harness 之间的桥接。用户可通过飞书机器人与 dsh 代理交互,支持 /new、/sessions、/switch、/current、/quiet、/verbose、/help 等命令。具备故障关闭安全机制,包含白名单、一次性 card nonce 和粘性会话。可作为 dsh 插件安装或独立运行。
如何安装 dsh-feishu-bridge DSH 插件
dsh plugin --profile <name> add /path/to/dsh-feishu-bridge来源命令需要人工核对。复制不会执行命令。
dsh-feishu-bridge DSH 插件数据来源
dsh-feishu-bridge DSH 插件快照日期:2026年8月16日
discovered
dsh-feishu-bridge DSH 插件能做什么
- 通过飞书聊天消息执行 dsh 代理轮次
- 使用 /new、/sessions、/switch、/current 等命令管理多个会话
- 选择详细或安静输出模式
- 支持 WebSocket 和 Webhook 两种传输方式
- 通过白名单和 nonce 实施故障关闭安全机制
- 作为 dsh 插件安装,自动管理进程
dsh-feishu-bridge DSH 插件适合哪些场景
- 在飞书内与 DeepSeek Harness 代理交互,无需离开应用
- 向机器人发送消息即可总结工作区中的文件
- 管理多个代理会话并在它们之间切换
- 让团队成员通过熟悉的聊天界面使用 dsh
dsh-feishu-bridge DSH 插件适合谁
- 希望使用聊天界面的 DeepSeek Harness 用户
- 使用飞书协作并需要便捷访问 dsh 代理的团队
- 无需终端即可运行 dsh 任务的开发者和运维人员
dsh-feishu-bridge DSH 插件的限制
- 无增量流式传输:机器人需等待完整轮次结束后才回复
- 无工具审批流程:捆绑的合成直接运行工具,无需交互式审批
- 会话绑定到创建它的聊天,其他聊天无法访问
dsh-feishu-bridge DSH 插件的仓库 README 摘录
以下文字摘自 dsh-feishu-bridge DSH 插件的上游仓库 wz-heng/dsh-feishu-bridge 的 README,版权归原作者,仅作引用。
English | [中文](README.zh.md) [](https://github.com/wz-heng/dsh-feishu-bridge/actions/workflows/ci.yml) [](https://github.com/wz-heng/dsh-feishu-bridge/actions/workflows/canary.yml) The SDK canary runs daily against the *latest* `deepseek-harness-sdk` and `lark-channel-sdk` releases (not the pinned versions this repo ships), so a breaking upstream change gets caught within a day instead of silently bit-rotting. A Feishu (Lark) channel bridge for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) (`dsh`): message a Feishu bot, it runs a `dsh` agent turn, the reply comes back to the chat. **This is an independent community project. It is not built, maintained, or endorsed by DeepSeek.** It drives `dsh` entirely through its public Python SDK (`deepseek-harness-sdk`) — a subprocess boundary, no forked/patched harness code. ## What this is - A production-grade Feishu bot bridge (fail-closed allowlist, one-time card nonces, per-chat verbosity, sticky sessions, both `ws` and `webhook` t
阅读完整 README仓库许可: MIT
dsh-feishu-bridge DSH 插件常见问题
如何将 dsh-feishu-bridge 安装为 dsh 插件?
首先克隆仓库并设置 Python 虚拟环境,安装依赖。然后设置所需的环境变量。最后运行 `dsh plugin --profile <名称> add /path/to/dsh-feishu-bridge`。插件将在下次启动 profile 时生效。
如何获取我的 open_id 以加入白名单?
向机器人发送一条消息。由于你的 open_id 不在白名单中,消息会被拒绝。检查服务器日志,找到类似 "Feishu: rejecting message from unauthorized open_id=ou_xxxxxxxxxxxxxxxx" 的行。将该 open_id 复制到 FEISHU_ALLOWED_OPEN_IDS 环境变量中并重启即可。
是否可以在没有公网 URL 的情况下使用此桥接?
可以,将 FEISHU_TRANSPORT 设置为 ws 使用 WebSocket 模式,无需公网 URL。Webhook 模式则需要公网 URL。
运行桥接需要哪些环境变量?
必须设置 DEEPSEEK_API_KEY、FEISHU_APP_ID、FEISHU_APP_SECRET 和 FEISHU_ALLOWED_OPEN_IDS。可选择设置 FEISHU_TRANSPORT(默认 ws)、DSH_PROVIDER、DSH_MODEL 等。详见 README 中的配置参考。
此桥接的安全性如何?
默认故障关闭:没有白名单则无人可以使用机器人。使用一次性 card nonce、webhook 模式下的签名验证以及每个聊天的会话所有权。使用最小权限运行,因为默认合成对 bash 和文件编辑有完全访问权限。