mirror of
https://github.com/qingchencloud/clawpanel.git
synced 2026-05-30 04:40:18 +08:00
feat(hermes): add bundled plugin channel configs
This commit is contained in:
@@ -923,11 +923,21 @@ export default {
|
||||
hermesChannelSlack: _('Slack', 'Slack', 'Slack'),
|
||||
hermesChannelFeishu: _('飞书 / Lark', 'Feishu / Lark', '飛書 / Lark'),
|
||||
hermesChannelDingTalk: _('钉钉', 'DingTalk', '釘釘'),
|
||||
hermesChannelTeams: _('Microsoft Teams', 'Microsoft Teams', 'Microsoft Teams'),
|
||||
hermesChannelGoogleChat: _('Google Chat', 'Google Chat', 'Google Chat'),
|
||||
hermesChannelIrc: _('IRC', 'IRC', 'IRC'),
|
||||
hermesChannelLine: _('LINE', 'LINE', 'LINE'),
|
||||
hermesChannelSimpleX: _('SimpleX', 'SimpleX', 'SimpleX'),
|
||||
hermesChannelTelegramDesc: _('通过 Telegram Bot 与 Hermes 对话,适合个人私聊和小群组。', 'Talk to Hermes through a Telegram bot for direct chats and small groups.', '透過 Telegram Bot 與 Hermes 對話,適合個人私聊和小群組。'),
|
||||
hermesChannelDiscordDesc: _('连接 Discord Bot,支持服务器频道和线程里的 Agent 会话。', 'Connect a Discord bot for server channels and threaded agent sessions.', '連接 Discord Bot,支援伺服器頻道和討論串裡的 Agent 會話。'),
|
||||
hermesChannelSlackDesc: _('连接 Slack Bot,可用于团队频道、私信和工作流通知。', 'Connect a Slack bot for team channels, direct messages, and workflow notifications.', '連接 Slack Bot,可用於團隊頻道、私訊和工作流通知。'),
|
||||
hermesChannelFeishuDesc: _('连接飞书或 Lark 应用,支持长连接和 Webhook 两种模式。', 'Connect a Feishu or Lark app with WebSocket or webhook mode.', '連接飛書或 Lark 應用,支援長連線和 Webhook 兩種模式。'),
|
||||
hermesChannelDingTalkDesc: _('连接钉钉机器人应用,支持群聊白名单、用户白名单和 @Bot 唤醒策略。', 'Connect a DingTalk robot app with group allowlists, user allowlists, and @mention wake rules.', '連接釘釘機器人應用,支援群聊白名單、使用者白名單和 @Bot 喚醒策略。'),
|
||||
hermesChannelTeamsDesc: _('连接 Microsoft Teams Bot,支持服务 URL、用户白名单和默认频道。', 'Connect a Microsoft Teams bot with service URL, user allowlists, and a home channel.', '連接 Microsoft Teams Bot,支援服務 URL、使用者白名單和預設頻道。'),
|
||||
hermesChannelGoogleChatDesc: _('连接 Google Chat Pub/Sub 应用,支持项目订阅、服务账号和空间白名单。', 'Connect a Google Chat Pub/Sub app with project subscriptions, service accounts, and space allowlists.', '連接 Google Chat Pub/Sub 應用,支援專案訂閱、服務帳號和空間白名單。'),
|
||||
hermesChannelIrcDesc: _('连接 IRC 网络,支持 TLS、NickServ 密码、频道和用户白名单。', 'Connect an IRC network with TLS, NickServ passwords, channels, and user allowlists.', '連接 IRC 網路,支援 TLS、NickServ 密碼、頻道和使用者白名單。'),
|
||||
hermesChannelLineDesc: _('连接 LINE Messaging API,支持 Webhook、用户、群组和聊天室白名单。', 'Connect LINE Messaging API with webhook, user, group, and room allowlists.', '連接 LINE Messaging API,支援 Webhook、使用者、群組和聊天室白名單。'),
|
||||
hermesChannelSimpleXDesc: _('连接 SimpleX WebSocket 网关,支持联系人白名单和默认会话。', 'Connect a SimpleX WebSocket gateway with contact allowlists and a home conversation.', '連接 SimpleX WebSocket 閘道,支援聯絡人白名單和預設會話。'),
|
||||
hermesChannelEnabled: _('已启用', 'Enabled', '已啟用'),
|
||||
hermesChannelDisabled: _('未启用', 'Disabled', '未啟用'),
|
||||
hermesChannelSave: _('保存渠道', 'Save Channel', '儲存頻道'),
|
||||
@@ -964,6 +974,40 @@ export default {
|
||||
hermesChannelFeishuAppSecret: _('App Secret', 'App Secret', 'App Secret'),
|
||||
hermesChannelDingTalkClientId: _('Client ID / App Key', 'Client ID / App Key', 'Client ID / App Key'),
|
||||
hermesChannelDingTalkClientSecret: _('Client Secret', 'Client Secret', 'Client Secret'),
|
||||
hermesChannelTeamsClientId: _('Client ID', 'Client ID', 'Client ID'),
|
||||
hermesChannelTeamsClientSecret: _('Client Secret', 'Client Secret', 'Client Secret'),
|
||||
hermesChannelTeamsTenantId: _('Tenant ID', 'Tenant ID', 'Tenant ID'),
|
||||
hermesChannelGoogleProjectId: _('Project ID', 'Project ID', 'Project ID'),
|
||||
hermesChannelGoogleSubscriptionName: _('订阅名称', 'Subscription Name', '訂閱名稱'),
|
||||
hermesChannelGoogleServiceAccount: _('服务账号 JSON / 文件路径', 'Service Account JSON / Path', '服務帳號 JSON / 檔案路徑'),
|
||||
hermesChannelGoogleServiceAccountPh: _('可填写 JSON 内容或凭证文件路径。', 'Enter JSON content or a credentials file path.', '可填寫 JSON 內容或憑證檔案路徑。'),
|
||||
hermesChannelIrcServer: _('服务器', 'Server', '伺服器'),
|
||||
hermesChannelIrcNickname: _('昵称', 'Nickname', '暱稱'),
|
||||
hermesChannelIrcChannel: _('频道', 'Channel', '頻道'),
|
||||
hermesChannelIrcServerPassword: _('服务器密码', 'Server Password', '伺服器密碼'),
|
||||
hermesChannelIrcNickservPassword: _('NickServ 密码', 'NickServ Password', 'NickServ 密碼'),
|
||||
hermesChannelIrcUseTls: _('启用 TLS', 'Use TLS', '啟用 TLS'),
|
||||
hermesChannelLineAccessToken: _('Channel Access Token', 'Channel Access Token', 'Channel Access Token'),
|
||||
hermesChannelLineSecret: _('Channel Secret', 'Channel Secret', 'Channel Secret'),
|
||||
hermesChannelLineAllowedGroups: _('允许群组', 'Allowed Groups', '允許群組'),
|
||||
hermesChannelLineAllowedRooms: _('允许聊天室', 'Allowed Rooms', '允許聊天室'),
|
||||
hermesChannelLineSlowResponse: _('慢响应阈值(秒)', 'Slow Response Threshold (seconds)', '慢回應閾值(秒)'),
|
||||
hermesChannelSimpleXWsUrl: _('WebSocket 地址', 'WebSocket URL', 'WebSocket 位址'),
|
||||
hermesChannelPort: _('端口', 'Port', '連接埠'),
|
||||
hermesChannelHost: _('监听地址', 'Host', '監聽位址'),
|
||||
hermesChannelPublicUrl: _('公开 URL', 'Public URL', '公開 URL'),
|
||||
hermesChannelServiceUrl: _('服务 URL', 'Service URL', '服務 URL'),
|
||||
hermesChannelAllowedUsers: _('允许用户', 'Allowed Users', '允許使用者'),
|
||||
hermesChannelAllowAllUsers: _('允许所有用户', 'Allow all users', '允許所有使用者'),
|
||||
hermesChannelHomeChannel: _('默认会话 / 频道', 'Home Conversation / Channel', '預設會話 / 頻道'),
|
||||
hermesChannelHomeChannelName: _('默认会话名称', 'Home Conversation Name', '預設會話名稱'),
|
||||
hermesChannelTeamsAllowedUsersPh: _('每行或逗号分隔一个 Microsoft Entra 用户 ID。', 'One Microsoft Entra user ID per line or comma-separated.', '每行或逗號分隔一個 Microsoft Entra 使用者 ID。'),
|
||||
hermesChannelGoogleAllowedUsersPh: _('每行或逗号分隔一个 Google Chat 用户或空间 ID。', 'One Google Chat user or space ID per line or comma-separated.', '每行或逗號分隔一個 Google Chat 使用者或空間 ID。'),
|
||||
hermesChannelIrcAllowedUsersPh: _('每行或逗号分隔一个 IRC nick。', 'One IRC nick per line or comma-separated.', '每行或逗號分隔一個 IRC nick。'),
|
||||
hermesChannelLineAllowedUsersPh: _('每行或逗号分隔一个 LINE 用户 ID。', 'One LINE user ID per line or comma-separated.', '每行或逗號分隔一個 LINE 使用者 ID。'),
|
||||
hermesChannelLineAllowedGroupsPh: _('每行或逗号分隔一个 LINE 群组 ID。', 'One LINE group ID per line or comma-separated.', '每行或逗號分隔一個 LINE 群組 ID。'),
|
||||
hermesChannelLineAllowedRoomsPh: _('每行或逗号分隔一个 LINE 聊天室 ID。', 'One LINE room ID per line or comma-separated.', '每行或逗號分隔一個 LINE 聊天室 ID。'),
|
||||
hermesChannelSimpleXAllowedUsersPh: _('每行或逗号分隔一个 SimpleX 联系人或群组标识。', 'One SimpleX contact or group identifier per line or comma-separated.', '每行或逗號分隔一個 SimpleX 聯絡人或群組識別。'),
|
||||
hermesChannelFeishuDomain: _('区域', 'Region', '區域'),
|
||||
hermesChannelFeishuDomainCn: _('中国大陆(feishu)', 'Mainland China (feishu)', '中國大陸(feishu)'),
|
||||
hermesChannelFeishuDomainIntl: _('国际版(lark)', 'International (lark)', '國際版(lark)'),
|
||||
|
||||
Reference in New Issue
Block a user