mirror of
https://github.com/RightNow-AI/openfang.git
synced 2026-07-30 06:32:17 +00:00
Add WebSocket long-connection receive mode for the Feishu/Lark adapter as an alternative to webhook callbacks. WebSocket mode is enabled by default, requiring no public IP or domain. - FeishuConnectionMode enum (Webhook/WebSocket) with mode dispatch - Protobuf binary frame parsing (prost) based on Feishu pbbp2 protocol - Auto-reconnect, ping/pong heartbeat, ACK, multi-part payload combine - handle_data_frame reuses parse_event() pipeline (dedup, group filter) - FeishuMode config enum with bridge-layer adapter creation per mode