docs(worker): align guides with runtime behavior

Synchronize both language guides, API references and examples with
the implemented authorization, storage and delivery behavior.
Document migration requirements and accepted operational limits.
This commit is contained in:
翅膀 committed 2026-10-23 23:24:05 +08:00
1 parent a62044f359
commit 5fcb129170
47 files changed
+938 -660

No files matched your search

+6 -2
View File
@@ -15,15 +15,19 @@ DISCORD_APPLICATION_ID=your-application-id
# Telegram
TELEGRAM_TOKEN=your-bot-token
TELEGRAM_WEBHOOK_SECRET=your-webhook-secret
TELEGRAM_WEBHOOK_SECRET=your-webhook-secret # optional: derived from TELEGRAM_TOKEN when unset
# TELEGRAM_RICH_HEADER_HOST=https://your-domain
# Feishu (Lark / 飞书)
FEISHU_APP_ID=your-app-id
FEISHU_APP_SECRET=your-app-secret
# Inbound commands/buttons need at least one of these (Events & Callbacks → Encryption Strategy):
FEISHU_ENCRYPT_KEY=your-encrypt-key
FEISHU_VERIFICATION_TOKEN=your-verification-token
# Admin
ADMIN_USER_IDS=your-github-id,your-github-login
# Prefer numeric GitHub user ids: a login is bound to the first account that signs in with it
ADMIN_USER_IDS=your-github-id
# DEBUG_MODE=true # local development only: bypasses all admin authentication
# ALLOW_SELF_SIGNUP=1 # non-admin GitHub users get a personal group on first login (default off)
# AUDIT_RETENTION_DAYS=90 # audit log retention for the scheduled cleanup (default 90)