新增: u-claw 集成
This commit is contained in:
@@ -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)',
|
||||
|
||||
@@ -9,6 +9,7 @@ export default {
|
||||
navKnowledge: '知识库',
|
||||
navPerformance: '性能',
|
||||
navSecurity: '安全',
|
||||
navIntegrations: '集成',
|
||||
navAdvanced: '高级',
|
||||
|
||||
// ===== 设置搜索(阶段4) =====
|
||||
@@ -253,6 +254,38 @@ export default {
|
||||
embeddingProviderNone: '未选择',
|
||||
phEmbeddingModel: 'embedding-3',
|
||||
|
||||
// ===== 集成:飞书(桌面端内置飞书渠道,WS 直连飞书开放平台) =====
|
||||
panelFeishu: '飞书集成',
|
||||
labelFeishuEnabled: '启用飞书集成',
|
||||
descFeishuEnabled: '开启后桌面端经 WebSocket 直连飞书开放平台收发消息',
|
||||
labelFeishuAppId: 'App ID',
|
||||
descFeishuAppId: '飞书开放平台应用的 App ID(开发者后台 → 凭证与基础信息)',
|
||||
phFeishuAppId: 'cli_xxx',
|
||||
labelFeishuAppSecret: 'App Secret',
|
||||
descFeishuAppSecret: '飞书开放平台应用的 App Secret,仅保存在本地数据库,随配置整体读写',
|
||||
labelFeishuWhitelist: 'open_id 白名单',
|
||||
descFeishuWhitelist: '逗号分隔的 open_id,留空表示放行所有用户',
|
||||
phFeishuWhitelist: 'ou_xxx, ou_yyy',
|
||||
feishuSave: '保存',
|
||||
feishuSaveOk: '飞书集成配置已保存',
|
||||
// 提交校验:enabled=true 时 id/secret 任一为空都拦在写库前
|
||||
feishuValidateIncomplete: '启用飞书集成需先填写 App ID 和 App Secret',
|
||||
|
||||
// ===== 集成:u-claw(ask_uclaw 工具,u-relay commander 协议) =====
|
||||
panelUclaw: 'u-claw 集成',
|
||||
labelUclawRelayUrl: 'Relay 地址',
|
||||
descUclawRelayUrl: 'u-relay 中继地址(wss:// 域名即可,自动补 /ws/commander)',
|
||||
phUclawRelayUrl: 'wss://relay.example.com',
|
||||
labelUclawChannel: 'Channel ID',
|
||||
descUclawChannel: '配对通道,须与 u-claw 配置 ws.channel_id 一致',
|
||||
phUclawChannel: 'u-ppt-dev-01',
|
||||
labelUclawToken: 'Token',
|
||||
descUclawToken: '中继鉴权令牌(与 u-relay 的 U_RELAY_TOKEN 同源)',
|
||||
descUclawHint: '配置后 AI 可用 ask_uclaw 工具把任务委托给 u-claw(常驻 Claude Code 网关)执行,进度实时回传。三项留空 = 未启用。',
|
||||
uclawSave: '保存',
|
||||
uclawSaveOk: 'u-claw 集成配置已保存',
|
||||
uclawValidateIncomplete: '三项(Relay 地址/Channel/Token)需完整填写,或全部留空',
|
||||
|
||||
// ===== Toast 提示 =====
|
||||
toastLoadProviderFail: '加载提供商失败',
|
||||
toastSaveIncomplete: '请填写完整(名称 / Base URL / API Key / 模型)',
|
||||
|
||||
Reference in New Issue
Block a user