mirror of
https://github.com/lobehub/lobehub.git
synced 2026-03-26 13:19:34 +07:00
✨ feat: support lark and feishu bot (#12712)
* feat: support lark and feishu * chore: change integration to channel * chore: rename from integration to channel * fix: channel router * feat: add topic list channel provider icon * chore: update webhook url * chore: channel form refact * chore: update i18n keys to channel * chore: update form item description * style: hide required mark * feat: add lark chat adapter * chore: clean speaker tag & add username api adapter * chore: adjust topic channel icon * chore: move developer mode to advanced setting * chore: add lark icon * fix: detail style * fix: token check logic * fix: encrpted risk * fix: vercel function appId * chore: remove webhook mode for discord * chore: add doc link * chore: add channel docs * chore: remove unused import * fix: create bot with wrong platform * chore: update intergration to channel * fix: udpate variable import * fix: tsgo error * chore: optimize webhook url trim * chore: update copy text * fix: telegram webhook not set * chore: add persist logic * docs: update feishu doc * chore: update feishu and lark tenant * chore: update docs * chore: make verfication code required * chore: update feishu docs * chore: update verfication comment * chore: update docs permission list * chore: verificationToken optional * chore: update feishu and lark color * chore: use test id
This commit is contained in:
@@ -1,39 +1,50 @@
|
||||
{
|
||||
"integration.applicationId": "Application ID / Bot Username",
|
||||
"integration.applicationIdPlaceholder": "e.g. 1234567890",
|
||||
"integration.botToken": "Bot Token / API Key",
|
||||
"integration.botTokenEncryptedHint": "Token will be encrypted and stored securely.",
|
||||
"integration.botTokenHowToGet": "How to get?",
|
||||
"integration.botTokenPlaceholderExisting": "Token is hidden for security",
|
||||
"integration.botTokenPlaceholderNew": "Paste your bot token here",
|
||||
"integration.connectionConfig": "Connection Configuration",
|
||||
"integration.copied": "Copied to clipboard",
|
||||
"integration.copy": "Copy",
|
||||
"integration.deleteConfirm": "Are you sure you want to remove this integration?",
|
||||
"integration.devWebhookProxyUrl": "HTTPS Tunnel URL",
|
||||
"integration.devWebhookProxyUrlHint": "Telegram requires HTTPS for webhooks. Paste your tunnel URL (e.g. from cloudflared or ngrok) to forward webhook requests to your local dev server.",
|
||||
"integration.disabled": "Disabled",
|
||||
"integration.discord.description": "Connect this assistant to Discord server for channel chat and direct messages.",
|
||||
"integration.documentation": "Documentation",
|
||||
"integration.enabled": "Enabled",
|
||||
"integration.endpointUrl": "Interaction Endpoint URL",
|
||||
"integration.endpointUrlHint": "Please copy this URL and paste it into the <bold>\"Interactions Endpoint URL\"</bold> field in the {{name}} Developer Portal.",
|
||||
"integration.platforms": "Platforms",
|
||||
"integration.publicKey": "Public Key",
|
||||
"integration.publicKeyPlaceholder": "Required for interaction verification",
|
||||
"integration.removeFailed": "Failed to remove integration",
|
||||
"integration.removeIntegration": "Remove Integration",
|
||||
"integration.removed": "Integration removed",
|
||||
"integration.save": "Save Configuration",
|
||||
"integration.saveFailed": "Failed to save configuration",
|
||||
"integration.saveFirstWarning": "Please save configuration first",
|
||||
"integration.saved": "Configuration saved successfully",
|
||||
"integration.secretToken": "Webhook Secret Token",
|
||||
"integration.secretTokenHint": "Optional. Used to verify webhook requests from Telegram.",
|
||||
"integration.secretTokenPlaceholder": "Optional secret for webhook verification",
|
||||
"integration.testConnection": "Test Connection",
|
||||
"integration.testFailed": "Connection test failed",
|
||||
"integration.testSuccess": "Connection test passed",
|
||||
"integration.updateFailed": "Failed to update status",
|
||||
"integration.validationError": "Please fill in Application ID and Token"
|
||||
"channel.appSecret": "App Secret",
|
||||
"channel.appSecretPlaceholder": "Paste your app secret here",
|
||||
"channel.applicationId": "Application ID / Bot Username",
|
||||
"channel.applicationIdPlaceholder": "e.g. 1234567890",
|
||||
"channel.botToken": "Bot Token / API Key",
|
||||
"channel.botTokenEncryptedHint": "Token will be encrypted and stored securely.",
|
||||
"channel.botTokenHowToGet": "How to get?",
|
||||
"channel.botTokenPlaceholderExisting": "Token is hidden for security",
|
||||
"channel.botTokenPlaceholderNew": "Paste your bot token here",
|
||||
"channel.connectionConfig": "Connection Configuration",
|
||||
"channel.copied": "Copied to clipboard",
|
||||
"channel.copy": "Copy",
|
||||
"channel.deleteConfirm": "Are you sure you want to remove this channel?",
|
||||
"channel.devWebhookProxyUrl": "HTTPS Tunnel URL",
|
||||
"channel.devWebhookProxyUrlHint": "Telegram requires HTTPS for webhooks. Paste your tunnel URL (e.g. from cloudflared or ngrok) to forward webhook requests to your local dev server.",
|
||||
"channel.disabled": "Disabled",
|
||||
"channel.discord.description": "Connect this assistant to Discord server for channel chat and direct messages.",
|
||||
"channel.documentation": "Documentation",
|
||||
"channel.enabled": "Enabled",
|
||||
"channel.encryptKey": "Encrypt Key",
|
||||
"channel.encryptKeyHint": "Optional. Used to decrypt encrypted event payloads.",
|
||||
"channel.encryptKeyPlaceholder": "Optional encryption key",
|
||||
"channel.endpointUrl": "Webhook URL",
|
||||
"channel.endpointUrlHint": "Please copy this URL and paste it into the <bold>{{fieldName}}</bold> field in the {{name}} Developer Portal.",
|
||||
"channel.feishu.description": "Connect this assistant to Feishu for private and group chats.",
|
||||
"channel.lark.description": "Connect this assistant to Lark for private and group chats.",
|
||||
"channel.platforms": "Platforms",
|
||||
"channel.publicKey": "Public Key",
|
||||
"channel.publicKeyPlaceholder": "Required for interaction verification",
|
||||
"channel.removeChannel": "Remove Channel",
|
||||
"channel.removeFailed": "Failed to remove channel",
|
||||
"channel.removed": "Channel removed",
|
||||
"channel.save": "Save Configuration",
|
||||
"channel.saveFailed": "Failed to save configuration",
|
||||
"channel.saveFirstWarning": "Please save configuration first",
|
||||
"channel.saved": "Configuration saved successfully",
|
||||
"channel.secretToken": "Webhook Secret Token",
|
||||
"channel.secretTokenHint": "Optional. Used to verify webhook requests from Telegram.",
|
||||
"channel.secretTokenPlaceholder": "Optional secret for webhook verification",
|
||||
"channel.telegram.description": "Connect this assistant to Telegram for private and group chats.",
|
||||
"channel.testConnection": "Test Connection",
|
||||
"channel.testFailed": "Connection test failed",
|
||||
"channel.testSuccess": "Connection test passed",
|
||||
"channel.updateFailed": "Failed to update status",
|
||||
"channel.validationError": "Please fill in Application ID and Token",
|
||||
"channel.verificationToken": "Verification Token",
|
||||
"channel.verificationTokenHint": "Optional. Used to verify webhook event source.",
|
||||
"channel.verificationTokenPlaceholder": "Paste your verification token here"
|
||||
}
|
||||
|
||||
@@ -349,7 +349,7 @@
|
||||
"supervisor.todoList.allComplete": "All tasks completed",
|
||||
"supervisor.todoList.title": "Tasks Completed",
|
||||
"tab.groupProfile": "Group Profile",
|
||||
"tab.integration": "Integration",
|
||||
"tab.integration": "Channels",
|
||||
"tab.profile": "Agent Profile",
|
||||
"tab.search": "Search",
|
||||
"task.activity.calling": "Calling Skill...",
|
||||
|
||||
@@ -692,6 +692,7 @@
|
||||
"tab.addCustomMcp": "Add Custom MCP Skill",
|
||||
"tab.addCustomMcp.desc": "Manually configure a custom MCP server",
|
||||
"tab.addCustomSkill": "Add",
|
||||
"tab.advanced": "Advanced",
|
||||
"tab.agent": "Agent Service",
|
||||
"tab.all": "All",
|
||||
"tab.apikey": "API Key Management",
|
||||
|
||||
@@ -6,11 +6,13 @@
|
||||
"actions.confirmRemoveUnstarred": "You are about to delete unstarred topics. This action cannot be undone.",
|
||||
"actions.duplicate": "Duplicate",
|
||||
"actions.export": "Export Topics",
|
||||
"actions.favorite": "Favorite",
|
||||
"actions.import": "Import Conversation",
|
||||
"actions.openInNewTab": "Open in New Tab",
|
||||
"actions.openInNewWindow": "Open in a new window",
|
||||
"actions.removeAll": "Delete All Topics",
|
||||
"actions.removeUnstarred": "Delete Unstarred Topics",
|
||||
"actions.unfavorite": "Unfavorite",
|
||||
"defaultTitle": "Default Topic",
|
||||
"displayItems": "Display Items",
|
||||
"duplicateLoading": "Copying Topic...",
|
||||
|
||||
@@ -1,39 +1,52 @@
|
||||
{
|
||||
"integration.applicationId": "应用 ID / Bot 用户名",
|
||||
"integration.applicationIdPlaceholder": "例如 1234567890",
|
||||
"integration.botToken": "Bot Token / API Key",
|
||||
"integration.botTokenEncryptedHint": "Token 将被加密安全存储。",
|
||||
"integration.botTokenHowToGet": "如何获取?",
|
||||
"integration.botTokenPlaceholderExisting": "出于安全考虑,Token 已隐藏",
|
||||
"integration.botTokenPlaceholderNew": "在此粘贴你的 Bot Token",
|
||||
"integration.connectionConfig": "连接配置",
|
||||
"integration.copied": "已复制到剪贴板",
|
||||
"integration.copy": "复制",
|
||||
"integration.deleteConfirm": "确定要移除此集成吗?",
|
||||
"integration.devWebhookProxyUrl": "HTTPS 隧道地址",
|
||||
"integration.devWebhookProxyUrlHint": "Telegram Webhook 需要 HTTPS。请粘贴隧道地址(如 cloudflared 或 ngrok 生成的 URL),将 Webhook 请求转发到本地开发服务器。",
|
||||
"integration.disabled": "已禁用",
|
||||
"integration.discord.description": "将助手连接到 Discord 服务器,支持频道聊天和私信。",
|
||||
"integration.documentation": "文档",
|
||||
"integration.enabled": "已启用",
|
||||
"integration.endpointUrl": "交互端点 URL",
|
||||
"integration.endpointUrlHint": "请复制此 URL 并粘贴到 {{name}} 开发者门户的 <bold>\"Interactions Endpoint URL\"</bold> 字段中。",
|
||||
"integration.platforms": "平台",
|
||||
"integration.publicKey": "公钥",
|
||||
"integration.publicKeyPlaceholder": "用于交互验证",
|
||||
"integration.removeFailed": "移除集成失败",
|
||||
"integration.removeIntegration": "移除集成",
|
||||
"integration.removed": "集成已移除",
|
||||
"integration.save": "保存配置",
|
||||
"integration.saveFailed": "保存配置失败",
|
||||
"integration.saveFirstWarning": "请先保存配置",
|
||||
"integration.saved": "配置保存成功",
|
||||
"integration.secretToken": "Webhook 密钥",
|
||||
"integration.secretTokenHint": "可选。用于验证来自 Telegram 的 Webhook 请求。",
|
||||
"integration.secretTokenPlaceholder": "可选的 Webhook 验证密钥",
|
||||
"integration.testConnection": "测试连接",
|
||||
"integration.testFailed": "连接测试失败",
|
||||
"integration.testSuccess": "连接测试通过",
|
||||
"integration.updateFailed": "更新状态失败",
|
||||
"integration.validationError": "请填写应用 ID 和 Token"
|
||||
"channel.appSecret": "App Secret",
|
||||
"channel.appSecretPlaceholder": "在此粘贴你的 App Secret",
|
||||
"channel.applicationId": "应用 ID / Bot 用户名",
|
||||
"channel.applicationIdHint": "Bot 应用的唯一标识符。",
|
||||
"channel.applicationIdPlaceholder": "例如 1234567890",
|
||||
"channel.botToken": "Bot Token / API Key",
|
||||
"channel.botTokenEncryptedHint": "Token 将被加密安全存储。",
|
||||
"channel.botTokenHowToGet": "如何获取?",
|
||||
"channel.botTokenPlaceholderExisting": "出于安全考虑,Token 已隐藏",
|
||||
"channel.botTokenPlaceholderNew": "在此粘贴你的 Bot Token",
|
||||
"channel.connectionConfig": "连接配置",
|
||||
"channel.copied": "已复制到剪贴板",
|
||||
"channel.copy": "复制",
|
||||
"channel.deleteConfirm": "确定要移除此集成吗?",
|
||||
"channel.devWebhookProxyUrl": "HTTPS 隧道地址",
|
||||
"channel.devWebhookProxyUrlHint": "可选。用于将 Webhook 请求转发到本地开发服务器的 HTTPS 隧道地址。",
|
||||
"channel.disabled": "已禁用",
|
||||
"channel.discord.description": "将助手连接到 Discord 服务器,支持频道聊天和私信。",
|
||||
"channel.documentation": "文档",
|
||||
"channel.enabled": "已启用",
|
||||
"channel.encryptKey": "Encrypt Key",
|
||||
"channel.encryptKeyHint": "可选。用于解密加密的事件推送。",
|
||||
"channel.encryptKeyPlaceholder": "可选的加密密钥",
|
||||
"channel.endpointUrl": "Webhook URL",
|
||||
"channel.endpointUrlHint": "请复制此 URL 并粘贴到 {{name}} 开发者门户的 <bold>{{fieldName}}</bold> 字段中。",
|
||||
"channel.feishu.description": "将助手连接到飞书,支持私聊和群聊。",
|
||||
"channel.lark.description": "将助手连接到 Lark,支持私聊和群聊。",
|
||||
"channel.platforms": "平台",
|
||||
"channel.publicKey": "公钥",
|
||||
"channel.publicKeyHint": "可选。用于验证来自 Discord 的交互请求。",
|
||||
"channel.publicKeyPlaceholder": "用于交互验证",
|
||||
"channel.removeChannel": "移除频道",
|
||||
"channel.removeFailed": "移除频道失败",
|
||||
"channel.removed": "频道已移除",
|
||||
"channel.save": "保存配置",
|
||||
"channel.saveFailed": "保存配置失败",
|
||||
"channel.saveFirstWarning": "请先保存配置",
|
||||
"channel.saved": "配置保存成功",
|
||||
"channel.secretToken": "Webhook 密钥",
|
||||
"channel.secretTokenHint": "可选。用于验证来自 Telegram 的 Webhook 请求。",
|
||||
"channel.secretTokenPlaceholder": "可选的 Webhook 验证密钥",
|
||||
"channel.telegram.description": "将助手连接到 Telegram,支持私聊和群聊。",
|
||||
"channel.testConnection": "测试连接",
|
||||
"channel.testFailed": "连接测试失败",
|
||||
"channel.testSuccess": "连接测试通过",
|
||||
"channel.updateFailed": "更新状态失败",
|
||||
"channel.validationError": "请填写应用 ID 和 Token",
|
||||
"channel.verificationToken": "Verification Token",
|
||||
"channel.verificationTokenHint": "可选。用于验证事件推送来源。",
|
||||
"channel.verificationTokenPlaceholder": "在此粘贴你的 Verification Token"
|
||||
}
|
||||
|
||||
@@ -349,7 +349,7 @@
|
||||
"supervisor.todoList.allComplete": "所有任务已完成",
|
||||
"supervisor.todoList.title": "任务完成",
|
||||
"tab.groupProfile": "群组档案",
|
||||
"tab.integration": "集成",
|
||||
"tab.integration": "消息频道",
|
||||
"tab.profile": "助理档案",
|
||||
"tab.search": "搜索",
|
||||
"task.activity.calling": "正在调用技能…",
|
||||
|
||||
@@ -692,6 +692,7 @@
|
||||
"tab.addCustomMcp": "添加自定义 MCP 技能",
|
||||
"tab.addCustomMcp.desc": "手动配置自定义 MCP 服务器",
|
||||
"tab.addCustomSkill": "添加",
|
||||
"tab.advanced": "高级设置",
|
||||
"tab.agent": "助理服务",
|
||||
"tab.all": "全部",
|
||||
"tab.apikey": "API Key 管理",
|
||||
|
||||
@@ -6,11 +6,13 @@
|
||||
"actions.confirmRemoveUnstarred": "您即将删除未加星标的话题,此操作无法撤销。",
|
||||
"actions.duplicate": "复制",
|
||||
"actions.export": "导出话题",
|
||||
"actions.favorite": "收藏",
|
||||
"actions.import": "导入对话",
|
||||
"actions.openInNewTab": "在新标签页中打开",
|
||||
"actions.openInNewWindow": "打开独立窗口",
|
||||
"actions.removeAll": "删除全部话题",
|
||||
"actions.removeUnstarred": "删除未收藏话题",
|
||||
"actions.unfavorite": "取消收藏",
|
||||
"defaultTitle": "默认话题",
|
||||
"displayItems": "显示条目",
|
||||
"duplicateLoading": "话题复制中…",
|
||||
|
||||
Reference in New Issue
Block a user