新增: u-claw 集成

This commit is contained in:
lxy
2026-10-05 14:59:11 +08:00
parent d4d3a8deaf
commit 7c76ee6a60
21 changed files with 835 additions and 4 deletions
+33
View File
@@ -9,6 +9,7 @@ export default {
navKnowledge: 'Knowledge',
navPerformance: 'Performance',
navSecurity: 'Security',
navIntegrations: 'Integrations',
navAdvanced: 'Advanced',
// ===== Settings search (phase 4) =====
@@ -254,6 +255,38 @@ export default {
embeddingProviderNone: 'Not selected',
phEmbeddingModel: 'embedding-3',
// ===== Integrations: Feishu (built-in Feishu channel, WebSocket to the Feishu Open Platform) =====
panelFeishu: 'Feishu Integration',
labelFeishuEnabled: 'Enable Feishu integration',
descFeishuEnabled: 'Connect to the Feishu Open Platform over WebSocket to send and receive messages',
labelFeishuAppId: 'App ID',
descFeishuAppId: 'App ID of your Feishu app (Developer Console → Credentials & Basic Info)',
phFeishuAppId: 'cli_xxx',
labelFeishuAppSecret: 'App Secret',
descFeishuAppSecret: 'App Secret of your Feishu app, stored only in the local database and read/written with the config as a whole',
labelFeishuWhitelist: 'open_id whitelist',
descFeishuWhitelist: 'Comma-separated open_id list; leave empty to allow all users',
phFeishuWhitelist: 'ou_xxx, ou_yyy',
feishuSave: 'Save',
feishuSaveOk: 'Feishu integration settings saved',
// Submit guard: when enabled=true, either of id/secret empty blocks the write
feishuValidateIncomplete: 'Fill in App ID and App Secret to enable the Feishu integration',
// ===== Integrations: u-claw (ask_uclaw tool, u-relay commander protocol) =====
panelUclaw: 'u-claw Integration',
labelUclawRelayUrl: 'Relay URL',
descUclawRelayUrl: 'u-relay address (wss:// host is enough, /ws/commander auto-appended)',
phUclawRelayUrl: 'wss://relay.example.com',
labelUclawChannel: 'Channel ID',
descUclawChannel: 'Pairing channel, must match u-claw ws.channel_id',
phUclawChannel: 'u-ppt-dev-01',
labelUclawToken: 'Token',
descUclawToken: 'Relay auth token (same as u-relay U_RELAY_TOKEN)',
descUclawHint: 'Once configured, the AI can delegate tasks to u-claw (resident Claude Code gateway) via the ask_uclaw tool, with progress streamed back in real time. Leave all three empty to disable.',
uclawSave: 'Save',
uclawSaveOk: 'u-claw integration settings saved',
uclawValidateIncomplete: 'Fill in all three fields (Relay URL / Channel / Token), or leave all empty',
// ===== Toast =====
toastLoadProviderFail: 'Failed to load providers',
toastSaveIncomplete: 'Please fill in all fields (Name / Base URL / API Key / Model)',