workany icon indicating copy to clipboard operation
workany copied to clipboard

feat: add Feishu (Lark) channel adapter

Open buuzzy opened this issue 7 months ago • 0 comments

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" } } }

buuzzy avatar Apr 17 '26 01:04 buuzzy