New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

dsh-connect-feishu

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dsh-connect-feishu

Feishu/Lark channel adapter for dsh-connect: long-connection event intake, message normalization, streaming replies, and work summary cards

latest
Source
npmnpm
Version
0.7.2
Version published
Maintainers
1
Created
Source

dsh-connect-feishu

English | 中文

The Feishu / Lark channel adapter for dsh-connect: receives messages over the Feishu Open Platform long connection (WebSocket) or a self-hosted webhook endpoint, forwards them to the DSH agent, and streams replies back to Feishu, with interactive menu cards.

Install

dsh plugin --profile web add dsh-connect dsh-connect-feishu

Configuration

In the DSH profile's cordis.patch.yml. The plugins register themselves via their bundle manifests, so only override their config — do not insert them again (duplicate ids crash dsh at boot):

- id: connect
  name: dsh-connect
- id: connect-feishu
  name: dsh-connect-feishu
  config:
    appId: cli_xxx
    appSecret: cli_secret_xxx
    transport: websocket
    requireMention: true
    dmMode: open
KeyDefaultDescription
appId / appSecretenv FEISHU_APP_ID / FEISHU_APP_SECRETFeishu custom app credentials
transportwebsocketLong connection (no public network needed); webhook runs the built-in HTTP server and needs public HTTPS
verificationTokenWebhook verification token (webhook transport only)
encryptKeyWebhook encrypt key (webhook transport only)
webhookPort9000HTTP port for the built-in webhook server when transport: "webhook"
webhookPath/URL path Feishu event callbacks post to (webhook transport)
requireMentiontrueGroups only respond when the bot is @mentioned
dmModeopenDM policy: open / allowlist / pair / disabled
languagezhUser-facing message language: zh / en

On the Feishu side you also need: bot capability enabled, im.message.receive_v1 and card.action.trigger events subscribed, and an app version published. See docs/feishu-setup.md in the repository.

Documentation

https://github.com/IvanWu2015/dsh-connect

License

MIT

Keywords

dsh

FAQs

Package last updated on 28 Aug 2026

Related posts