workany
workany copied to clipboard
feat: add Feishu (Lark) channel adapter
Feishu/Lark adapter implementing the ChannelAdapter interface:
- WebSocket mode via
@larksuiteoapi/node-sdkWSClient (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" } } }