feat(feishu): add Feishu inbound webhook, /gh commands and card actions

- add feishu_links D1 table and link store helpers
- implement X-Lark-Signature verification, url_verification, /gh login|logout|comment|merge|close and card.action.trigger Merge/Close
- render interactive cards with clickable title link, inline links and callback buttons (no whole-card card_link)
- bind Feishu account in OAuth callback
- document event subscription and required scopes
This commit is contained in:
RhenCloud committed 2026-08-27 00:07:05 +08:00
1 parent 3437ac5513
commit 4b99f6d33d
38 files changed
+2449 -1412

No files matched your search

+4
View File
@@ -18,6 +18,10 @@ TELEGRAM_TOKEN=your-bot-token
TELEGRAM_WEBHOOK_SECRET=your-webhook-secret
# TELEGRAM_RICH_HEADER_HOST=https://your-domain
# Feishu (Lark / 飞书)
FEISHU_APP_ID=your-app-id
FEISHU_APP_SECRET=your-app-secret
# Admin
ADMIN_USER_IDS=your-github-id,your-github-login
# ALLOW_SELF_SIGNUP=1 # non-admin GitHub users get a personal group on first login (default off)