Skip to content

feat: add Feishu (Lark) channel adapter#58

Open
buuzzy wants to merge 1 commit into
workany-ai:devfrom
buuzzy:feat/feishu-channel-adapter
Open

feat: add Feishu (Lark) channel adapter#58
buuzzy wants to merge 1 commit into
workany-ai:devfrom
buuzzy:feat/feishu-channel-adapter

Conversation

@buuzzy
Copy link
Copy Markdown

@buuzzy buuzzy commented Apr 17, 2026

Feishu/Lark adapter implementing the ChannelAdapter interface:

  • WebSocket mode via @larksuiteoapi/node-sdk WSClient (no public URL needed)
  • Webhook mode with HMAC signature verification
  • Multi-type message parsing (text, post, image, file, audio, video, sticker, merge_forward)
  • Interactive card formatting with Markdown
  • Streaming cards for real-time response updates
  • Message deduplication + heartbeat watchdog + auto-reconnect

Depends on: Channel adapter framework PR

New dependency: @larksuiteoapi/node-sdk

Config:

{ "channels": { "feishu": { "enabled": true, "connectionMode": "websocket", "appId": "cli_xxx", "appSecret": "xxx" } } }

Feishu/Lark messaging platform adapter implementing ChannelAdapter:
- WebSocket mode via @larksuiteoapi/node-sdk WSClient
- Webhook mode with HMAC signature verification
- Multi-type message parsing (text, post, image, file, audio, video)
- Interactive card formatting with Markdown
- Streaming cards for real-time response updates
- Message deduplication and heartbeat watchdog
- Auto-reconnect on connection loss

Requires the channel adapter framework (separate PR).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant