Files
cc-connect/platform
cg33andClaude Opus 4.6 411bf66163 fix(feishu): add Lark international webhook support to resolve domain issue (#182)
* fix(feishu): add Webhook mode for Lark international version

Lark international version does not support WebSocket long-connection mode
like Feishu domestic version. This commit adds Webhook HTTP server mode
for Lark platform to receive event callbacks.

Changes:
- Add Webhook mode fields to Platform struct (port, callbackPath, encryptKey, server)
- Split Start method into startWebSocketMode and startWebhookMode
- Lark platform now uses HTTP Webhook server instead of WebSocket
- Add webhookHandler to process HTTP callback requests
- Update Stop method to shutdown Webhook server
- Add Lark configuration example to config.example.toml

Fixes #63

Co-Authored-By: Claude <noreply@anthropic.com>

* fix(feishu): fix unused variable ctx in startWebhookMode

The ctx variable was declared but not used, causing build failure.
Changed to use blank identifier (_) to ignore the unused context.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-03-17 10:34:02 +08:00
..