refactor(channels): make built-in channels self-contained (#4908)

* refactor(channels): own setup and instance contracts

* refactor(channels): isolate management contracts

* refactor(channels): normalize activation contracts

* fix(channels): enforce management contracts

* refactor(channels): finish setup ownership migration

* fix(channels): harden management contracts

* fix(channels): enforce lazy loading and runtime ownership

* fix(feishu): make multi-instance startup idempotent

* fix(webui): render channel setup contracts cleanly

* fix(feishu): stop websocket clients cleanly

* fix(channels): enforce persistence and activation gates

* fix(channels): preserve global feature action scope

* fix(channels): apply defaults for single plugins

* fix(channels): enforce management contract boundaries

* refactor(feishu): remove identity helper indirection

* fix(channels): preserve management setup contracts

* refactor(channels): generalize instance settings UI

* refactor(channels): package channel plugins with web UI metadata

* refactor(channels): make built-ins self-contained packages

* test(channels): colocate tests with channel packages

* fix(dingtalk): use official brand icon

* feat(channels): colocate webui translations

* docs(channels): clarify plugin ownership

* test(exec): remove output wait race

* refactor(channels): unify plugin descriptors

* fix(channels): enforce descriptor-owned contracts

* refactor(channels): finish package-owned plugin setup

* refactor(channels): use repository-owned packages only

* fix(channels): self-describe dependencies and runtime state

* fix(channels): warn about legacy entry points
This commit is contained in:
chengyongru
2026-07-19 23:30:49 +08:00
committed by GitHub
parent 7aaac37bca
commit 462a0dfb0f
388 changed files with 17093 additions and 5110 deletions
+45 -7
View File
@@ -513,13 +513,51 @@
"needsConfig": "需要設定",
"connect": "連線",
"reconnect": "重新連線",
"feishuQrAlt": "飛書連線 QR Code",
"feishuScanTitle": "使用飛書掃描",
"feishuScanDescription": "請使用手機上的飛書或 Lark 掃描此 QR Code。完成授權後,nanobot 會自動完成設定。",
"feishuWaiting": "正在等待授權…",
"feishuConnected": "飛書已連線。",
"feishuConnectStopped": "連線已停止。",
"feishuConnecting": "正在連線…"
"advanced": "進階",
"checkAndEnable": "檢查並啟用",
"checkConnection": "檢查連線",
"checkedAndEnabled": "已檢查並啟用。",
"checking": "正在檢查...",
"checkOnly": "僅檢查",
"commandCopied": "指令已複製。",
"commandCopyFailed": "無法複製指令。",
"configuredInstances": "已設定 {{count}} 個執行個體",
"connectPreview": "下一步將在瀏覽器內連線。目前請先執行下方指令。",
"copyCommand": "複製指令",
"filterAll": "全部",
"filterOff": "關閉",
"filterOn": "開啟",
"helperCopied": "已複製 {{name}}。",
"helperCopyFailed": "無法複製 {{name}}。",
"hideSecret": "隱藏密鑰",
"instanceConfigured": "已設定",
"instanceNeedsSetup": "需要設定",
"runtimeFailed": "啟動失敗",
"runtimeStarting": "正在啟動",
"runtimeStopped": "未執行",
"managedByWebui": "由 WebUI 管理",
"officialGuide": "官方指南",
"optional": "選填",
"providerPreset": "服務供應商",
"requiredSetup": "必要設定",
"savedSecret": "已儲存",
"savedSecretPlaceholder": "已儲存的密鑰",
"savedSettings": "設定已儲存。",
"saveSettings": "儲存設定",
"selectChannel": "檢視 {{name}} 設定",
"setupSteps": "後續步驟",
"showSecret": "顯示密鑰",
"toggleChannel": "{{name}} 渠道",
"toggleInstance": "{{name}} 執行個體",
"tryIt": "試試看",
"validationFailed": "啟用前請檢查必要設定。",
"validation": {
"connected": "已連線",
"configured": "手動設定",
"needs_setup": "需要設定",
"invalid": "無效",
"unsupported": "手動設定"
}
},
"nanobotFeatures": {
"enabled": "已啟用",