🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
✨ feat: optimize line bot (#14448)
Rdmclin27697399da887
diff --git a/locales/ar/agent.json b/locales/ar/agent.jsonindex 81a2cd06346..9fe6bdd47ec 100644--- a/locales/ar/agent.json+++ b/locales/ar/agent.json@@ -169,6 +169,7 @@"channel.userIdHint": "معرف المستخدم الخاص بك على هذه المنصة. يمكن للذكاء الاصطناعي استخدامه لإرسال رسائل مباشرة إليك.","channel.userIdHint.discord": "فعّل وضع المطوّر (الإعدادات → متقدم)، ثم انقر بزر الفأرة الأيمن على صورتك الشخصية → انسخ معرّف المستخدم.","channel.userIdHint.feishu": "افتح تطبيقك على منصة Feishu / Lark Open Platform → الأذونات، ثم ابحث عن المعرّف المفتوح الخاص بك.",+ "channel.userIdHint.line": "افتح وحدة تحكم مطوري LINE → قناتك → علامة تبويب الإعدادات الأساسية، ونسخ \"معرّف المستخدم الخاص بك\" (يبدأ بحرف U، 33 حرفًا).","channel.userIdHint.qq": "رقم QQ الخاص بك، يظهر في صفحة ملفك الشخصي.","channel.userIdHint.slack": "افتح ملفك الشخصي في Slack → ⋮ المزيد → انسخ معرّف العضو (يبدأ بـ U).","channel.userIdHint.telegram": "أرسل أي رسالة إلى @userinfobot على تيليغرام — سيرد عليك بمعرّف المستخدم الرقمي الخاص بك.",diff --git a/locales/bg-BG/agent.json b/locales/bg-BG/agent.jsonindex fa133920a05..539fb12ed26 100644--- a/locales/bg-BG/agent.json+++ b/locales/bg-BG/agent.json@@ -169,6 +169,7 @@"channel.userIdHint": "Вашият потребителски ID на тази платформа. AI може да го използва, за да ви изпраща директни съобщения.","channel.userIdHint.discord": "Включете Developer Mode (Settings → Advanced), след това кликнете с десен бутон върху своя аватар → Copy User ID.","channel.userIdHint.feishu": "Отворете вашето приложение в Feishu / Lark Open Platform → Permissions и намерете своя Open ID.",+ "channel.userIdHint.line": "Отворете LINE Developers Console → вашия канал → раздел Основни настройки и копирайте „Вашето потребителско ID“ (започва с U, 33 символа).","channel.userIdHint.qq": "Вашият QQ номер, показан на страницата на вашия QQ профил.","channel.userIdHint.slack": "Отворете своя Slack профил → ⋮ More → Copy member ID (започва с U).","channel.userIdHint.telegram": "Изпратете произволно съобщение на @userinfobot в Telegram — той ще ви отговори с вашия числов User ID.",diff --git a/locales/de-DE/agent.json b/locales/de-DE/agent.jsonindex 6ab2ac0817a..233d922f12c 100644--- a/locales/de-DE/agent.json+++ b/locales/de-DE/agent.json@@ -169,6 +169,7 @@"channel.userIdHint": "Ihre Benutzer-ID auf dieser Plattform. Die KI kann sie verwenden, um Ihnen Direktnachrichten zu senden.","channel.userIdHint.discord": "Entwicklermodus aktivieren (Einstellungen → Erweitert), dann Rechtsklick auf Ihr Profilbild → Benutzer-ID kopieren.","channel.userIdHint.feishu": "Öffnen Sie Ihre App auf der Feishu / Lark Open Platform → Berechtigungen und suchen Sie dort Ihre Open ID.",+ "channel.userIdHint.line": "Öffnen Sie die LINE Developers Console → Ihr Kanal → Registerkarte Grundeinstellungen, und kopieren Sie \"Ihre Benutzer-ID\" (beginnt mit U, 33 Zeichen).","channel.userIdHint.qq": "Ihre QQ-Nummer, auf Ihrer QQ-Profilseite angezeigt.","channel.userIdHint.slack": "Öffnen Sie Ihr Slack-Profil → ⋮ Mehr → Mitglieds-ID kopieren (beginnt mit U).","channel.userIdHint.telegram": "Senden Sie irgendeine Nachricht an @userinfobot in Telegram — er antwortet mit Ihrer numerischen Benutzer-ID.",diff --git a/locales/en-US/agent.json b/locales/en-US/agent.jsonindex 76ee5402da5..427b007dcc7 100644--- a/locales/en-US/agent.json+++ b/locales/en-US/agent.json@@ -108,7 +108,7 @@"channel.line.channelSecretHint": "From the Basic settings tab. Required — used to verify X-Line-Signature on every inbound webhook.","channel.line.description": "Connect this assistant to LINE Messaging API for direct and group chats.","channel.line.destinationUserId": "Destination User ID",- "channel.line.destinationUserIdHint": "The bot's destination user ID (starts with `U`, 33 chars total). The LINE Developers Console does NOT display this value. Issue a Channel Access Token below first, then click \"Fetch from LINE\" to auto-fill this field. Note: \"Your user ID\" in Basic settings is your personal LINE user ID, not the bot's.",+ "channel.line.destinationUserIdHint": "The bot's own user ID (`U` + 32 chars) — click \"Fetch from LINE\" below to auto-fill. Not the personal \"Your user ID\" shown in LINE's Basic settings.","channel.line.destinationUserIdPlaceholder": "e.g. U1234567890abcdef1234567890abcdef","channel.line.fetchBotInfo": "Fetch from LINE","channel.line.fetchBotInfoFailed": "Failed to fetch bot info",@@ -169,6 +169,7 @@"channel.userIdHint": "Lets AI tools reach you proactively (e.g. reminders); auto-trusted by the global allowlist","channel.userIdHint.discord": "Enable Developer Mode (Settings → Advanced), then right-click your avatar → Copy User ID.","channel.userIdHint.feishu": "Open your app on the Feishu / Lark Open Platform → Permissions, then look up your Open ID.",+ "channel.userIdHint.line": "Open the LINE Developers Console → your channel → Basic settings tab, and copy \"Your user ID\" (starts with U, 33 chars).","channel.userIdHint.qq": "Your QQ number, shown on your QQ profile page.","channel.userIdHint.slack": "Open your Slack profile → ⋮ More → Copy member ID (starts with U).","channel.userIdHint.telegram": "Send any message to @userinfobot in Telegram — it replies with your numeric User ID.",diff --git a/locales/es-ES/agent.json b/locales/es-ES/agent.jsonindex a4407d2a3c2..a20f07dee2a 100644--- a/locales/es-ES/agent.json+++ b/locales/es-ES/agent.json@@ -169,6 +169,7 @@"channel.userIdHint": "Tu ID de usuario en esta plataforma. La IA puede usarlo para enviarte mensajes directos.","channel.userIdHint.discord": "Activa el modo desarrollador (Configuración → Avanzado), luego haz clic derecho en tu avatar → Copiar ID de usuario.","channel.userIdHint.feishu": "Abre tu app en la plataforma abierta de Feishu / Lark → Permisos, luego busca tu Open ID.",+ "channel.userIdHint.line": "Abre la Consola de Desarrolladores de LINE → tu canal → pestaña de configuración básica, y copia \"Tu ID de usuario\" (comienza con U, 33 caracteres).","channel.userIdHint.qq": "Tu número de QQ, visible en la página de tu perfil de QQ.","channel.userIdHint.slack": "Abre tu perfil de Slack → ⋮ Más → Copiar ID de miembro (empieza con U).","channel.userIdHint.telegram": "Envía cualquier mensaje a @userinfobot en Telegram — te responderá con tu ID de usuario numérico.",diff --git a/locales/fa-IR/agent.json b/locales/fa-IR/agent.jsonindex ba45b9ce83c..5137bf7f564 100644--- a/locales/fa-IR/agent.json+++ b/locales/fa-IR/agent.json@@ -169,6 +169,7 @@"channel.userIdHint": "شناسه کاربری شما در این پلتفرم. هوش مصنوعی میتواند از آن برای ارسال پیامهای مستقیم به شما استفاده کند.","channel.userIdHint.discord": "حالت توسعهدهنده را فعال کنید (Settings → Advanced)، سپس روی تصویر پروفایل خود راستکلیک کنید → Copy User ID.","channel.userIdHint.feishu": "در پلتفرم توسعه Feishu / Lark برنامه خود را باز کنید → Permissions، سپس Open ID خود را پیدا کنید.",+ "channel.userIdHint.line": "کنسول توسعهدهندگان LINE را باز کنید → کانال خود → تب تنظیمات پایه، و \"شناسه کاربری شما\" (شروع با U، 33 کاراکتر) را کپی کنید.","channel.userIdHint.qq": "شماره QQ شما، که در صفحه پروفایل QQ نمایش داده میشود.","channel.userIdHint.slack": "پروفایل Slack خود را باز کنید → ⋮ More → Copy member ID (با U آغاز میشود).","channel.userIdHint.telegram": "در تلگرام هر پیامی به @userinfobot ارسال کنید — شناسه عددی کاربری شما را برمیگرداند.",diff --git a/locales/fr-FR/agent.json b/locales/fr-FR/agent.jsonindex d61a658608d..d3aa7ad3eda 100644--- a/locales/fr-FR/agent.json+++ b/locales/fr-FR/agent.json@@ -169,6 +169,7 @@"channel.userIdHint": "Votre ID utilisateur sur cette plateforme. L'IA peut l'utiliser pour vous envoyer des messages directs.","channel.userIdHint.discord": "Activez le mode développeur (Paramètres → Avancé), puis faites un clic droit sur votre avatar → Copier l’ID utilisateur.","channel.userIdHint.feishu": "Ouvrez votre application sur la plateforme Open Feishu / Lark → Permissions, puis recherchez votre Open ID.",+ "channel.userIdHint.line": "Ouvrez la console des développeurs LINE → votre canal → onglet Paramètres de base, et copiez \"Votre ID utilisateur\" (commence par U, 33 caractères).","channel.userIdHint.qq": "Votre numéro QQ, affiché sur la page de votre profil QQ.","channel.userIdHint.slack": "Ouvrez votre profil Slack → ⋮ Plus → Copier l’ID membre (commence par U).","channel.userIdHint.telegram": "Envoyez un message à @userinfobot sur Telegram — il vous répondra avec votre ID utilisateur numérique.",diff --git a/locales/it-IT/agent.json b/locales/it-IT/agent.jsonindex 30d830f42ce..7940e0d99ff 100644--- a/locales/it-IT/agent.json+++ b/locales/it-IT/agent.json@@ -169,6 +169,7 @@"channel.userIdHint": "Il tuo ID utente su questa piattaforma. L'IA può utilizzarlo per inviarti messaggi diretti.","channel.userIdHint.discord": "Abilita la modalità sviluppatore (Impostazioni → Avanzate), poi fai clic destro sul tuo avatar → Copia ID utente.","channel.userIdHint.feishu": "Apri l’app sulla Feishu / Lark Open Platform → Permissions, quindi cerca il tuo Open ID.",+ "channel.userIdHint.line": "Apri la Console degli Sviluppatori LINE → il tuo canale → scheda Impostazioni di base, e copia \"Il tuo ID utente\" (inizia con U, 33 caratteri).","channel.userIdHint.qq": "Il tuo numero QQ, mostrato nella pagina del tuo profilo QQ.","channel.userIdHint.slack": "Apri il tuo profilo Slack → ⋮ Altro → Copia member ID (inizia con U).","channel.userIdHint.telegram": "Invia un messaggio a @userinfobot su Telegram — risponderà con il tuo ID utente numerico.",diff --git a/locales/ja-JP/agent.json b/locales/ja-JP/agent.jsonindex 0ccdc4507bd..d893c6e1363 100644--- a/locales/ja-JP/agent.json+++ b/locales/ja-JP/agent.json@@ -169,6 +169,7 @@"channel.userIdHint": "このプラットフォーム上のあなたのユーザーIDです。AIはこれを使用して、あなたに直接メッセージを送ることができます。","channel.userIdHint.discord": "「開発者モード」(設定 → 詳細設定)を有効にし、アバターを右クリック →「ユーザーIDをコピー」。","channel.userIdHint.feishu": "Feishu/Lark Open Platform アプリを開き → 権限 → Open ID を確認します。",+ "channel.userIdHint.line": "LINE Developersコンソールを開き、チャンネル → 基本設定タブに移動し、「ユーザーID」(Uで始まり、33文字)をコピーしてください。","channel.userIdHint.qq": "QQプロフィールページに表示されるQQ番号です。","channel.userIdHint.slack": "Slackプロフィールを開く → ⋮ その他 →「メンバーIDをコピー」(Uで始まる)。","channel.userIdHint.telegram": "Telegramで @userinfobot にメッセージを送ると、数値のユーザーIDが返信されます。",diff --git a/locales/ko-KR/agent.json b/locales/ko-KR/agent.jsonindex fbe5c1d3f85..ac01cd77d5c 100644--- a/locales/ko-KR/agent.json+++ b/locales/ko-KR/agent.json@@ -169,6 +169,7 @@"channel.userIdHint": "이 플랫폼에서의 사용자 ID입니다. AI는 이를 사용하여 직접 메시지를 보낼 수 있습니다.","channel.userIdHint.discord": "개발자 모드(설정 → 고급)를 활성화한 뒤 아바타를 우클릭 → 사용자 ID 복사.","channel.userIdHint.feishu": "Feishu / Lark 오픈 플랫폼 앱을 열고 → 권한에서 Open ID를 확인하세요.",+ "channel.userIdHint.line": "LINE 개발자 콘솔 → 채널 → 기본 설정 탭으로 이동하여 \"사용자 ID\"를 복사하세요 (U로 시작하며, 33자 길이).","channel.userIdHint.qq": "QQ 프로필 페이지에 표시된 QQ 번호입니다.","channel.userIdHint.slack": "Slack 프로필 열기 → ⋮ 더보기 → 구성원 ID 복사(U로 시작).","channel.userIdHint.telegram": "Telegram에서 @userinfobot 에 아무 메시지나 보내면 숫자 사용자 ID를 알려줍니다.",diff --git a/locales/nl-NL/agent.json b/locales/nl-NL/agent.jsonindex 05a41382517..a425a8ebfa1 100644--- a/locales/nl-NL/agent.json+++ b/locales/nl-NL/agent.json@@ -169,6 +169,7 @@"channel.userIdHint": "Je gebruikers-ID op dit platform. De AI kan dit gebruiken om je directe berichten te sturen.","channel.userIdHint.discord": "Schakel Ontwikkelaarsmodus in (Instellingen → Geavanceerd) en klik met rechts op je avatar → Gebruikers-ID kopiëren.","channel.userIdHint.feishu": "Open je app op het Feishu / Lark Open Platform → Machtigingen en zoek daar je Open ID op.",+ "channel.userIdHint.line": "Open de LINE Developers Console → jouw kanaal → Tabblad Basisinstellingen, en kopieer \"Jouw gebruikers-ID\" (begint met U, 33 tekens).","channel.userIdHint.qq": "Je QQ-nummer, weergegeven op je QQ-profielpagina.","channel.userIdHint.slack": "Open je Slack-profiel → ⋮ Meer → Lid-ID kopiëren (begint met U).","channel.userIdHint.telegram": "Stuur een bericht naar @userinfobot in Telegram — die antwoordt met je numerieke gebruikers-ID.",diff --git a/locales/pl-PL/agent.json b/locales/pl-PL/agent.jsonindex 1f6757e80a7..8f47b86d958 100644--- a/locales/pl-PL/agent.json+++ b/locales/pl-PL/agent.json@@ -169,6 +169,7 @@"channel.userIdHint": "Twój ID użytkownika na tej platformie. AI może go używać do wysyłania Ci wiadomości bezpośrednich.","channel.userIdHint.discord": "Włącz tryb deweloperski (Ustawienia → Zaawansowane), następnie kliknij prawym przyciskiem swój awatar → Kopiuj ID użytkownika.","channel.userIdHint.feishu": "Otwórz aplikację na platformie Feishu / Lark Open Platform → Uprawnienia, a następnie znajdź swój Open ID.",+ "channel.userIdHint.line": "Otwórz Konsolę Deweloperów LINE → Twój kanał → zakładka Ustawienia podstawowe, i skopiuj „Twój identyfikator użytkownika” (zaczyna się od U, 33 znaki).","channel.userIdHint.qq": "Twój numer QQ, dostępny na stronie profilu QQ.","channel.userIdHint.slack": "Otwórz swój profil Slack → ⋮ Więcej → Kopiuj ID użytkownika (zaczyna się od U).","channel.userIdHint.telegram": "Wyślij dowolną wiadomość do @userinfobot na Telegramie — odpowie Twoim numerycznym ID użytkownika.",diff --git a/locales/pt-BR/agent.json b/locales/pt-BR/agent.jsonindex d89942f0cd8..612d9b68296 100644--- a/locales/pt-BR/agent.json+++ b/locales/pt-BR/agent.json@@ -169,6 +169,7 @@"channel.userIdHint": "Seu ID de usuário nesta plataforma. A IA pode usá-lo para enviar mensagens diretas para você.","channel.userIdHint.discord": "Ative o Modo Desenvolvedor (Configurações → Avançado), depois clique com o botão direito no seu avatar → Copiar ID do Usuário.","channel.userIdHint.feishu": "Abra seu app na Plataforma Open Feishu / Lark → Permissões, depois procure seu Open ID.",+ "channel.userIdHint.line": "Abra o Console de Desenvolvedores do LINE → seu canal → aba de Configurações Básicas, e copie \"Seu ID de usuário\" (começa com U, 33 caracteres).","channel.userIdHint.qq": "Seu número QQ, exibido na página do seu perfil.","channel.userIdHint.slack": "Abra seu perfil no Slack → ⋮ Mais → Copiar ID de membro (começa com U).","channel.userIdHint.telegram": "Envie qualquer mensagem para @userinfobot no Telegram — ele responderá com seu ID numérico de usuário.",diff --git a/locales/ru-RU/agent.json b/locales/ru-RU/agent.jsonindex a706d361f48..36df4dbba6b 100644--- a/locales/ru-RU/agent.json+++ b/locales/ru-RU/agent.json@@ -169,6 +169,7 @@"channel.userIdHint": "Ваш ID пользователя на этой платформе. ИИ может использовать его для отправки вам личных сообщений.","channel.userIdHint.discord": "Включите режим разработчика (Настройки → Дополнительно), затем нажмите правой кнопкой на свой аватар → Копировать ID пользователя.","channel.userIdHint.feishu": "Откройте приложение на платформе Feishu / Lark Open Platform → Разрешения, затем найдите свой Open ID.",+ "channel.userIdHint.line": "Откройте LINE Developers Console → ваш канал → вкладка Основные настройки, и скопируйте \"Ваш пользовательский ID\" (начинается с U, 33 символа).","channel.userIdHint.qq": "Ваш номер QQ, отображается на странице профиля QQ.","channel.userIdHint.slack": "Откройте свой профиль Slack → ⋮ Ещё → Копировать ID участника (начинается с U).","channel.userIdHint.telegram": "Отправьте любое сообщение боту @userinfobot в Telegram — он ответит вашим числовым ID пользователя.",diff --git a/locales/tr-TR/agent.json b/locales/tr-TR/agent.jsonindex c22ea6bc9e8..dcbfa0d5cfe 100644--- a/locales/tr-TR/agent.json+++ b/locales/tr-TR/agent.json@@ -169,6 +169,7 @@"channel.userIdHint": "Bu platformdaki kullanıcı kimliğiniz. Yapay zeka, size doğrudan mesaj göndermek için bunu kullanabilir.","channel.userIdHint.discord": "Geliştirici Modunu etkinleştirin (Ayarlar → Gelişmiş), ardından avatarınıza sağ tıklayın → Kullanıcı ID'sini Kopyala.","channel.userIdHint.feishu": "Feishu / Lark Açık Platform uygulamanızı açın → İzinler, ardından Open ID'nizi bulun.",+ "channel.userIdHint.line": "LINE Geliştirici Konsolu'nu açın → kanalınız → Temel ayarlar sekmesi ve \"Kullanıcı Kimliğiniz\"i kopyalayın (U ile başlar, 33 karakter).","channel.userIdHint.qq": "QQ profil sayfanızda gösterilen QQ numaranız.","channel.userIdHint.slack": "Slack profilinizi açın → ⋮ Diğer → Üye ID'sini kopyala (U ile başlar).","channel.userIdHint.telegram": "Telegram’da @userinfobot’a herhangi bir mesaj gönderin — size sayısal Kullanıcı ID’nizle yanıt verir.",diff --git a/locales/vi-VN/agent.json b/locales/vi-VN/agent.jsonindex 9fe8ebad68f..9625fcd4f2f 100644--- a/locales/vi-VN/agent.json+++ b/locales/vi-VN/agent.json@@ -169,6 +169,7 @@"channel.userIdHint": "ID người dùng của bạn trên nền tảng này. AI có thể sử dụng nó để gửi tin nhắn trực tiếp cho bạn.","channel.userIdHint.discord": "Bật Chế độ Nhà phát triển (Cài đặt → Nâng cao), sau đó nhấp chuột phải vào ảnh đại diện của bạn → Sao chép ID Người dùng.","channel.userIdHint.feishu": "Mở ứng dụng của bạn trên Feishu / Lark Open Platform → Permissions, sau đó tra Open ID của bạn.",+ "channel.userIdHint.line": "Mở LINE Developers Console → kênh của bạn → tab Cài đặt cơ bản, và sao chép \"ID người dùng của bạn\" (bắt đầu bằng U, 33 ký tự).","channel.userIdHint.qq": "Số QQ của bạn, hiển thị trên trang hồ sơ QQ.","channel.userIdHint.slack": "Mở hồ sơ Slack của bạn → ⋮ More → Copy member ID (bắt đầu bằng U).","channel.userIdHint.telegram": "Gửi bất kỳ tin nhắn nào đến @userinfobot trên Telegram — bot sẽ trả lời bằng ID Người dùng dạng số của bạn.",diff --git a/locales/zh-CN/agent.json b/locales/zh-CN/agent.jsonindex 1ecca54fe1d..2705aa400ad 100644--- a/locales/zh-CN/agent.json+++ b/locales/zh-CN/agent.json@@ -108,7 +108,7 @@"channel.line.channelSecretHint": "Basic settings 选项卡中的密钥。必填 —— 用于校验每条入站 Webhook 的 X-Line-Signature。","channel.line.description": "通过 LINE Messaging API 将助手接入 LINE,支持私聊和群组对话。","channel.line.destinationUserId": "Destination User ID",- "channel.line.destinationUserIdHint": "机器人的 Destination User ID(以 U 开头,共 33 位)。LINE Developers Console 界面不展示此值。请先在下方填写 Channel Access Token,然后点击「从 LINE 获取」按钮自动填入。注意:Basic settings 中的 \"Your user ID\" 是你账号自己的 LINE user ID,不是 bot 的。",+ "channel.line.destinationUserIdHint": "Bot 自身的 user ID(U 开头共 33 位)—— 点击下方「从 LINE 获取」自动填入。不是 Basic settings 里的「Your user ID」(那是你的个人账号)。","channel.line.destinationUserIdPlaceholder": "例如 U1234567890abcdef1234567890abcdef","channel.line.fetchBotInfo": "从 LINE 获取","channel.line.fetchBotInfoFailed": "获取 Bot 信息失败",@@ -169,6 +169,7 @@"channel.userIdHint": "供 AI 工具主动联系你(如提醒、通知),并自动加入全局白名单","channel.userIdHint.discord": "在 Discord 设置 → 高级中开启开发者模式,然后右键你的头像 → 复制用户 ID。","channel.userIdHint.feishu": "在飞书 / Lark 开放平台打开你的应用 → 权限管理,查看你的 Open ID。",+ "channel.userIdHint.line": "打开 LINE Developers Console → 你的 channel → Basic settings 选项卡,复制 \"Your user ID\"(以 U 开头共 33 位)。","channel.userIdHint.qq": "你的 QQ 号,在 QQ 资料页可见。","channel.userIdHint.slack": "打开 Slack 个人资料 → ⋮ 更多 → 复制 Member ID(以 U 开头)。","channel.userIdHint.telegram": "在 Telegram 中给 @userinfobot 发送任意消息,它会回复你的数字 User ID。",diff --git a/locales/zh-TW/agent.json b/locales/zh-TW/agent.jsonindex e053d1db149..5b016765863 100644--- a/locales/zh-TW/agent.json+++ b/locales/zh-TW/agent.json@@ -169,6 +169,7 @@"channel.userIdHint": "您在此平台上的使用者 ID。AI 可以使用它向您發送直接訊息。","channel.userIdHint.discord": "啟用開發者模式(設定 → 進階),然後右鍵點擊你的頭像 → 複製使用者 ID。","channel.userIdHint.feishu": "前往飛書/Lark 開放平台的應用程式 → 權限,查看你的 Open ID。",+ "channel.userIdHint.line": "開啟 LINE Developers Console → 您的頻道 → 基本設定頁籤,複製「您的使用者 ID」(以 U 開頭,共 33 個字元)。","channel.userIdHint.qq": "你的 QQ 號碼,顯示在 QQ 個人資料頁面。","channel.userIdHint.slack": "開啟你的 Slack 個人檔案 → ⋮ More → Copy member ID(以 U 開頭)。","channel.userIdHint.telegram": "在 Telegram 傳送任何訊息給 @userinfobot — 它會回覆你的數字使用者 ID。",diff --git a/src/locales/default/agent.ts b/src/locales/default/agent.tsindex 041a597bb80..5847af0ad99 100644--- a/src/locales/default/agent.ts+++ b/src/locales/default/agent.ts@@ -54,7 +54,7 @@ export default {'Connect this assistant to LINE Messaging API for direct and group chats.','channel.line.destinationUserId': 'Destination User ID','channel.line.destinationUserIdHint':- 'The bot\'s destination user ID (starts with `U`, 33 chars total). The LINE Developers Console does NOT display this value. Issue a Channel Access Token below first, then click "Fetch from LINE" to auto-fill this field. Note: "Your user ID" in Basic settings is your personal LINE user ID, not the bot\'s.',+ 'The bot\'s own user ID (`U` + 32 chars) — click "Fetch from LINE" below to auto-fill. Not the personal "Your user ID" shown in LINE\'s Basic settings.','channel.line.fetchBotInfo': 'Fetch from LINE','channel.line.fetchBotInfoSuccess': 'Destination User ID fetched','channel.line.fetchBotInfoFailed': 'Failed to fetch bot info',@@ -215,6 +215,8 @@ export default {'Enable Developer Mode (Settings → Advanced), then right-click your avatar → Copy User ID.','channel.userIdHint.feishu':'Open your app on the Feishu / Lark Open Platform → Permissions, then look up your Open ID.',+ 'channel.userIdHint.line':+ 'Open the LINE Developers Console → your channel → Basic settings tab, and copy "Your user ID" (starts with U, 33 chars).','channel.userIdHint.qq': 'Your QQ number, shown on your QQ profile page.','channel.userIdHint.slack': 'Open your Slack profile → ⋮ More → Copy member ID (starts with U).','channel.userIdHint.telegram':diff --git a/src/routes/(main)/agent/channel/detail/Body.tsx b/src/routes/(main)/agent/channel/detail/Body.tsxindex e6fdbac7094..ac100a94e21 100644--- a/src/routes/(main)/agent/channel/detail/Body.tsx+++ b/src/routes/(main)/agent/channel/detail/Body.tsx@@ -12,7 +12,7 @@ import {} from 'antd';import { createStaticStyles } from 'antd-style';import { Plus, RotateCcw, Trash2 } from 'lucide-react';-import { memo, useCallback, useMemo, useState } from 'react';+import { Fragment, memo, useCallback, useMemo, useState } from 'react';import { useTranslation } from 'react-i18next';import { FormInput, FormPassword } from '@/components/FormInput';@@ -112,7 +112,12 @@ const SchemaField = memo<SchemaFieldProps>(({ field, parentKey, divider }) => {let children: React.ReactNode;switch (field.type) {case 'password': {- children = <FormPassword autoComplete="new-password" placeholder={field.placeholder} />;+ children = (+ <FormPassword+ autoComplete="new-password"+ placeholder={field.placeholder ? t(field.placeholder) : undefined}+ />+ );break;}case 'boolean': {@@ -125,7 +130,7 @@ const SchemaField = memo<SchemaFieldProps>(({ field, parentKey, divider }) => {<InputNumbermax={field.maximum}min={field.minimum}- placeholder={field.placeholder}+ placeholder={field.placeholder ? t(field.placeholder) : undefined}style={{ width: '100%' }}/>);@@ -136,7 +141,7 @@ const SchemaField = memo<SchemaFieldProps>(({ field, parentKey, divider }) => {const hasDescriptions = field.enumDescriptions?.some(Boolean);children = (<Select- placeholder={field.placeholder}+ placeholder={field.placeholder ? t(field.placeholder) : undefined}optionRender={hasDescriptions? (item) => (@@ -159,12 +164,16 @@ const SchemaField = memo<SchemaFieldProps>(({ field, parentKey, divider }) => {/>);} else {- children = <FormInput placeholder={field.placeholder || t(field.label)} />;+ children = (+ <FormInput placeholder={field.placeholder ? t(field.placeholder) : t(field.label)} />+ );}break;}default: {- children = <FormInput placeholder={field.placeholder || t(field.label)} />;+ children = (+ <FormInput placeholder={field.placeholder ? t(field.placeholder) : t(field.label)} />+ );}}@@ -282,13 +291,14 @@ const ObjectListField = memo<ObjectListFieldProps>(({ field, parentKey, divider,// --------------- ApplicationId field (standalone, not nested) ----------------const ApplicationIdField = memo<{ field: FieldSchema }>(({ field }) => {+const ApplicationIdField = memo<{ divider?: boolean; field: FieldSchema }>(({ field, divider }) => {const { t: _t } = useTranslation('agent');const t = _t as (key: string) => string;return (<FormItemdesc={field.description ? t(field.description) : undefined}+ divider={divider}initialValue={field.default}label={t(field.label)}minWidth={'max(50%, 400px)'}@@ -297,7 +307,7 @@ const ApplicationIdField = memo<{ field: FieldSchema }>(({ field }) => {tag={isDev ? 'applicationId' : undefined}variant="borderless">- <FormInput placeholder={field.placeholder || t(field.label)} />+ <FormInput placeholder={field.placeholder ? t(field.placeholder) : t(field.label)} /></FormItem>);});@@ -353,11 +363,6 @@ const Body = memo<BodyProps>(({ platformDef, form, hasConfig, currentConfig, onAconst CustomCredentialBody = platformCredentialBodyMap[platformDef.id];const CredentialExtras = platformCredentialExtrasMap[platformDef.id];- const applicationIdField = useMemo(- () => platformDef.schema.find((f) => f.key === 'applicationId'),- [platformDef.schema],- );-const credentialFields = useMemo(() => getFields(platformDef.schema, 'credentials'),[platformDef.schema],@@ -407,15 +412,37 @@ const Body = memo<BodyProps>(({ platformDef, form, hasConfig, currentConfig, onA/>) : (<>- {applicationIdField && <ApplicationIdField field={applicationIdField} />}- {credentialFields.map((field, i) => (- <SchemaField- divider={applicationIdField ? true : i !== 0}- field={field}- key={field.key}- parentKey="credentials"- />- ))}+ {/* Render top-level sections in schema order so each platform controls+ its own field ordering. LINE places `credentials` before `applicationId`+ because the operator must enter the channel access token before the+ "Fetch from LINE" button (rendered after applicationId) can auto-fill+ the destination user ID; Discord/Slack/QQ/Feishu place `applicationId`+ first as a primary identifier. */}+ {platformDef.schema+ .filter((section) => section.key === 'applicationId' || section.key === 'credentials')+ .map((section, sectionIndex) => {+ const needsDivider = sectionIndex > 0;+ if (section.key === 'applicationId') {+ return (+ <ApplicationIdField divider={needsDivider} field={section} key="applicationId" />+ );+ }+ return (+ <Fragment key="credentials">+ {credentialFields.map((field, i) => (+ <SchemaField+ divider={needsDivider || i !== 0}+ field={field}+ key={field.key}+ parentKey="credentials"+ />+ ))}+ </Fragment>+ );+ })}+ {/* Platform-specific helpers (e.g. LINE's "Fetch from LINE" button)+ render after the credential + applicationId block so the button+ sits next to the field it acts on. */}{CredentialExtras && <CredentialExtras />}</>)}diff --git a/src/server/services/bot/platforms/const.ts b/src/server/services/bot/platforms/const.tsindex 7c237634ea7..41da4007def 100644--- a/src/server/services/bot/platforms/const.ts+++ b/src/server/services/bot/platforms/const.ts@@ -26,6 +26,7 @@ const USER_ID_TOOLTIP_BY_PLATFORM: Record<string, string> = {// Feishu and Lark share `sharedSchema`, which always passes 'feishu' — the// tooltip copy mentions both products so it reads naturally for either.feishu: 'channel.userIdHint.feishu',+ line: 'channel.userIdHint.line',qq: 'channel.userIdHint.qq',slack: 'channel.userIdHint.slack',telegram: 'channel.userIdHint.telegram',diff --git a/src/server/services/bot/platforms/line/schema.ts b/src/server/services/bot/platforms/line/schema.tsindex 186dbad5ee8..d7c80657702 100644--- a/src/server/services/bot/platforms/line/schema.ts+++ b/src/server/services/bot/platforms/line/schema.ts@@ -4,14 +4,6 @@ import { displayToolCallsField, makeUserIdField } from '../const';import type { FieldSchema } from '../types';export const schema: FieldSchema[] = [- {- key: 'applicationId',- description: 'channel.line.destinationUserIdHint',- label: 'channel.line.destinationUserId',- placeholder: 'channel.line.destinationUserIdPlaceholder',- required: true,- type: 'string',- },{key: 'credentials',label: 'channel.credentials',@@ -33,10 +25,19 @@ export const schema: FieldSchema[] = [],type: 'object',},+ {+ key: 'applicationId',+ description: 'channel.line.destinationUserIdHint',+ label: 'channel.line.destinationUserId',+ placeholder: 'channel.line.destinationUserIdPlaceholder',+ required: true,+ type: 'string',+ },{key: 'settings',label: 'channel.settings',properties: [+ makeUserIdField('line'),{key: 'charLimit',default: 5000,@@ -52,6 +53,7 @@ export const schema: FieldSchema[] = [default: 'queue',description: 'channel.concurrencyHint',enum: ['queue', 'debounce'],+ enumDescriptions: ['channel.concurrencyQueueHint', 'channel.concurrencyDebounceHint'],enumLabels: ['channel.concurrencyQueue', 'channel.concurrencyDebounce'],label: 'channel.concurrency',type: 'string',@@ -74,7 +76,6 @@ export const schema: FieldSchema[] = [type: 'boolean',},displayToolCallsField,- makeUserIdField('line'),],type: 'object',},