dsh-feishu-bridge: A Feishu Channel Bridge Plugin for DeepSeek Harness

wz-heng/dsh-feishu-bridge

Integrations & ConnectionsVerified
Listed on 2026-08-22
Page last updated 2026-09-16

A Feishu (Lark) channel bridge for DeepSeek Harness (dsh), enabling chat with a bot, session management, human-in-the-loop approval, and security checks. Community plugin.

dsh-feishu-bridge is a Feishu (Lark) channel bridge plugin for DeepSeek Harness, letting you chat with a DSH bot directly in Feishu; the bot runs an agent turn and sends the reply back to the chat. It features a fail-closed security design where the bot answers no one without an allowlist, plus one-time pairing codes, webhook signature/timestamp/replay verification, and a daily canary against the latest SDK. This community plugin is not DeepSeek-official; it drives dsh entirely through the public Python SDK via a subprocess boundary, with no forked or patched harness code.

How to Install

install
dsh plugin --profile web add github:wz-heng/dsh-feishu-bridge
Category
Integrations & Connections
Platform
DSH Plugin
Author
wz-heng
Distribution
Plugin

dsh-feishu-bridge Key Features

Feishu bot chatSession commandsApproval cardsSecurity & pairing
Listed on dsh-plugin.org

dsh-feishu-bridge Repo Summary

What Does It Do?

dsh-feishu-bridge is a DSH plugin for DeepSeek Harness that bridges Feishu (Lark) chat with the harness, letting you message a bot and get agent turns back in the chat. It solves the problem of securely driving DSH from Feishu, with fail-closed allowlists, one-time pairing codes, webhook signature/timestamp/replay verification, and a daily canary against the latest SDK. This community plugin is not DeepSeek-official; it drives dsh entirely through its public Python SDK via a subprocess boundary, with no forked or patched harness code.

Core Features

  • Feishu bot bridge: supports both ws and webhook transports; messages to the bot trigger a dsh agent turn and replies come back to the chat.
  • Fail-closed security: with no allowlist configured, the bot answers no one; every message is rejected by design, with per-open_id and per-chat allowlists.
  • One-time pairing code (/pair): a code printed at startup lets you add your open_id to the allowlist by sending /pair in a private chat, no restart needed, and the pairing persists to a local file.
  • Strict webhook verification: validates signature, timestamp, and replay to prevent forged requests.
  • Daily canary: runs daily against the latest SDK releases to catch breaking upstream changes within a day.

How to Use This Plugin?

After enabling it in DSH, set environment variables (such as Feishu app credentials and allowlist), then run the bridge. At startup, a one-time pairing code is printed to the console; send /pair <code> in a private Feishu chat to pair, and you can then chat with the bot. To adjust behavior, change environment variables for transport, allowlist, pairing timeout, and more.

This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: wz-heng/dsh-feishu-bridge. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.

Install, update, and uninstall this plugin in the Plugin Market of DeepSeek Harness's DSH Plugin Hub

DSH Plugin FAQ