🤯 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(marketplace): manage GitHub and Linear from their connector pages (#23578)
AmAzing-ede931dba99c
diff --git a/docs/usage/integrations/github.mdx b/docs/usage/integrations/github.mdxindex de1d394544e..98037f42702 100644--- a/docs/usage/integrations/github.mdx+++ b/docs/usage/integrations/github.mdx@@ -21,18 +21,14 @@ tags:- **Failing checks** → the Agent that opened the pull request receives the failing checks, plus the job log when available, and can fix them.- **Review feedback** → requested changes and review comments reach that Agent in its conversation.-> \[!NOTE]->-> Integrations is an Alpha feature. Turn it on in **Settings → Labs → Integrations** first; **Integrations** then appears in Settings.-## Connect GitHub-1. Open **Settings → Integrations → GitHub**.-2. Click **Connect account**. GitHub opens the LobeHub app installation page.+1. Open **Marketplace → Connectors**, then open **GitHub**.+2. Under **Repository access**, click **Connect account**. GitHub opens the LobeHub app installation page.3. Choose the personal account or organization to install on, then choose **All repositories** or only the repositories you select.4. Confirm the installation. GitHub returns you to LobeHub, which shows **GitHub connected: \<account>**.-The connected account then appears under **Connections** with its status and repository scope. To add or remove repositories, or to uninstall, choose **Manage on GitHub** from the menu next to the account.+The connected account then appears under **Repository access** with its status and repository scope. To add or remove repositories, or to uninstall, choose **Manage on GitHub** from the menu next to the account.If you started the installation on github.com instead of from LobeHub, LobeHub asks you to confirm which account the installation belongs to. Click **Connect** to finish.diff --git a/docs/usage/integrations/github.zh-CN.mdx b/docs/usage/integrations/github.zh-CN.mdxindex 6b483d27a8b..2b7c2f37e4f 100644--- a/docs/usage/integrations/github.zh-CN.mdx+++ b/docs/usage/integrations/github.zh-CN.mdx@@ -20,18 +20,14 @@ tags:- **检查失败** → 发起这个 Pull Request 的 Agent 收到失败的检查(能获取时附带 job 日志),接着修复。- **评审反馈** → 要求修改和评审评论会送到该 Agent 的会话里。-> \[!NOTE]->-> 集成目前是 Alpha 功能。先在 **设置 → 实验室 → 集成** 中开启,设置里才会出现 **集成**。-## 连接 GitHub-1. 打开 **设置 → 集成 → GitHub**。-2. 点击 **连接账号**,GitHub 会打开 LobeHub 应用的安装页面。+1. 打开 **市场 → 连接器**,再打开 **GitHub**。+2. 在 **仓库访问** 中点击 **连接账号**,GitHub 会打开 LobeHub 应用的安装页面。3. 选择要安装到的个人账号或组织,再选择 **所有仓库** 或只选部分仓库。4. 确认安装。GitHub 会带你回到 LobeHub,页面提示 **GitHub 已连接:\<账号>**。-连接后的账号会出现在 **连接** 中,显示状态和仓库范围。要增减仓库或卸载,在账号右侧的菜单中选择 **在 GitHub 上管理**。+连接后的账号会出现在 **仓库访问** 中,显示状态和仓库范围。要增减仓库或卸载,在账号右侧的菜单中选择 **在 GitHub 上管理**。如果你是在 github.com 上直接安装的,而不是从 LobeHub 发起,LobeHub 会请你确认这个安装属于哪个账号,点击 **连接** 即可完成。diff --git a/docs/usage/integrations/linear.mdx b/docs/usage/integrations/linear.mdxindex 79444d807a8..dac42ee1cee 100644--- a/docs/usage/integrations/linear.mdx+++ b/docs/usage/integrations/linear.mdx@@ -17,13 +17,11 @@ LobeHub requests **read-only** access. It identifies your Linear workspace and t> \[!NOTE]>-> Integrations is an Alpha feature. Turn it on in **Settings → Labs → Integrations** first; **Integrations** then appears in Settings.->-> To let an Agent search and update Linear issues inside a conversation, use the Linear connector instead. See [Connectors](/docs/usage/agent/connectors).+> To let an Agent search and update Linear issues inside a conversation, also connect your Linear account at the top of the same page. See [Connectors](/docs/usage/agent/connectors).## Connect Linear-1. Open **Settings → Integrations → Linear**.+1. Open **Marketplace → Connectors**, then open **Linear**.2. Click **Connect workspace**. Linear opens its authorization page.3. Choose the Linear workspace to connect, then approve the request.4. Linear returns you to LobeHub, which shows **Linear connected: \<workspace>**.diff --git a/docs/usage/integrations/linear.zh-CN.mdx b/docs/usage/integrations/linear.zh-CN.mdxindex 51ebf0a3555..5bfb7b861bc 100644--- a/docs/usage/integrations/linear.zh-CN.mdx+++ b/docs/usage/integrations/linear.zh-CN.mdx@@ -16,13 +16,11 @@ LobeHub 只申请 **只读** 权限。这个连接用来识别你的 Linear 工> \[!NOTE]>-> 集成目前是 Alpha 功能。先在 **设置 → 实验室 → 集成** 中开启,设置里才会出现 **集成**。->-> 想让 Agent 在会话中查找和更新 Linear issue,请使用 Linear 连接器,见 [连接器](/docs/usage/agent/connectors)。+> 想让 Agent 在会话中查找和更新 Linear issue,还需要在同一页顶部连接你的 Linear 账号,见 [连接器](/docs/usage/agent/connectors)。## 连接 Linear-1. 打开 **设置 → 集成 → Linear**。+1. 打开 **市场 → 连接器**,再打开 **Linear**。2. 点击 **连接工作区**,Linear 会打开授权页面。3. 选择要连接的 Linear 工作区,然后批准授权。4. Linear 会带你回到 LobeHub,页面提示 **已连接 Linear:\<工作区>**。diff --git a/locales/ar/integration.json b/locales/ar/integration.jsonindex 7c7942893df..e3e723e6ef3 100644--- a/locales/ar/integration.json+++ b/locales/ar/integration.json@@ -25,7 +25,6 @@"github.connections.selectedRepositories": "{{count}} مستودعات","github.connections.status.connected": "متصل","github.connections.status.suspended": "معلق",- "github.connections.title": "الاتصالات","github.info.docsLink": "اقرأ الدليل","github.info.enabledBy": "تم التفعيل بواسطة","github.info.notConfigured": "غير مهيأ في هذا النشر",@@ -43,7 +42,6 @@"github.pending.content": "يبلغ GitHub أن تطبيق LobeHub تم تثبيته على {{account}}. هل تريد ربط هذا التثبيت بهذا الحساب؟ سيتم تتبع طلبات السحب الخاصة به هنا.","github.pending.failed": "تعذر ربط التثبيت. يرجى المحاولة مرة أخرى من ربط الحساب.","github.pending.title": "ربط تثبيت GitHub",- "github.tagline": "مزامنة طلبات السحب، نتائج CI والمراجعات مع وكلائك","linear.connections.connect": "اتصل بمساحة العمل","linear.connections.connectedAs": "متصل كـ {{name}} · {{date}}","linear.connections.empty": "لم يتم توصيل أي مساحة عمل Linear بعد.",@@ -172,24 +170,11 @@"linear.sync.viewerDisabled": "لا يمكن للمشاهدين استيراد القضايا إلى المهام","linear.sync.wizard.back": "رجوع","linear.sync.wizard.next": "التالي",- "linear.tagline": "قم بتوصيل مساحة عمل Linear الخاصة بك بـ LobeHub",- "overview.all": "جميع التكاملات",- "overview.comingSoon": "قريبًا",- "overview.description": "ربط المنصات التي تستخدمها بالفعل",- "overview.enabled": "مفعّل",- "overview.status.comingSoon": "قريبًا",- "overview.status.enabled": "مفعّل",- "overview.status.notConnected": "غير متصل",- "overview.title": "التكاملات","scmEvent.details": "التفاصيل","scmEvent.failedChecks": "{{count}} فحوصات فاشلة","scmEvent.hideLog": "إخفاء السجل","scmEvent.kind.ci_failed": "فشل CI","scmEvent.kind.review_changes_requested": "تم طلب تغييرات","scmEvent.kind.review_commented": "تعليق مراجعة",- "scmEvent.showLog": "عرض السجل",- "upcoming.cloudflare.tagline": "إخطار الوكيل عند فشل بناء Workers أو Pages",- "upcoming.notion.tagline": "مزامنة مستندات Notion تلقائيًا",- "upcoming.railway.tagline": "إخطار الوكيل عند فشل النشر أو تعطل الخدمة",- "upcoming.vercel.tagline": "إيقاظ الوكيل بسجل البناء عند فشل النشر"+ "scmEvent.showLog": "عرض السجل"}diff --git a/locales/ar/setting.json b/locales/ar/setting.jsonindex b3989165db6..4d5818f91b3 100644--- a/locales/ar/setting.json+++ b/locales/ar/setting.json@@ -1741,7 +1741,6 @@"settingsSearch.tabKeywords.creds": "بيانات الاعتماد، الأسرار، OAuth","settingsSearch.tabKeywords.devices": "الأجهزة، الجلسات، الأجهزة المسجلة الدخول","settingsSearch.tabKeywords.hotkey": "مفتاح الاختصار، اختصار، لوحة المفاتيح",- "settingsSearch.tabKeywords.integrations": "التكاملات، GitHub، طلب السحب، CI، مراجعة، دمج، مستودع","settingsSearch.tabKeywords.labels": "التسميات، العلامات، التجميع","settingsSearch.tabKeywords.labs": "مختبرات، تجربة، بيتا، معاينة، مطور","settingsSearch.tabKeywords.memory": "الذاكرة، الذكريات، التخصيص",@@ -2001,7 +2000,6 @@"tab.importFromGithub.desc": "استيراد من مستودع GitHub عام","tab.importFromUrl": "استيراد من رابط","tab.importFromUrl.desc": "استيراد عبر رابط مباشر إلى SKILL.md",- "tab.integrations": "التكاملات","tab.labels": "التسميات","tab.llm": "نموذج اللغة","tab.manualFill": "التعبئة اليدوية",diff --git a/locales/bg-BG/integration.json b/locales/bg-BG/integration.jsonindex 8e50215a91f..b16226cc867 100644--- a/locales/bg-BG/integration.json+++ b/locales/bg-BG/integration.json@@ -25,7 +25,6 @@"github.connections.selectedRepositories": "{{count}} хранилища","github.connections.status.connected": "Свързан","github.connections.status.suspended": "Спрян",- "github.connections.title": "Връзки","github.info.docsLink": "Прочетете ръководството","github.info.enabledBy": "Активирано от","github.info.notConfigured": "Не е конфигурирано в това внедряване",@@ -43,7 +42,6 @@"github.pending.content": "GitHub отчита, че приложението LobeHub е инсталирано на {{account}}. Да свържем тази инсталация с този акаунт? Неговите заявки за изтегляне ще бъдат проследявани тук.","github.pending.failed": "Не можа да се свърже инсталацията. Моля, опитайте отново от Свържете акаунт.","github.pending.title": "Свързване на GitHub инсталация",- "github.tagline": "Синхронизирайте заявки за изтегляне, CI резултати и рецензии с вашите агенти","linear.connections.connect": "Свържете работното пространство","linear.connections.connectedAs": "Свързан като {{name}} · {{date}}","linear.connections.empty": "Все още няма свързано Linear работно пространство.",@@ -172,24 +170,11 @@"linear.sync.viewerDisabled": "Наблюдателите не могат да импортират задачи в задачи","linear.sync.wizard.back": "Назад","linear.sync.wizard.next": "Напред",- "linear.tagline": "Свържете вашето Linear работно пространство с LobeHub",- "overview.all": "Всички интеграции",- "overview.comingSoon": "Очаквайте скоро",- "overview.description": "Свържете платформите, които вече използвате",- "overview.enabled": "Активирано",- "overview.status.comingSoon": "Очаквайте скоро",- "overview.status.enabled": "Активирано",- "overview.status.notConnected": "Не е свързан",- "overview.title": "Интеграции","scmEvent.details": "Детайли","scmEvent.failedChecks": "{{count}} проверки неуспешни","scmEvent.hideLog": "Скрий дневника","scmEvent.kind.ci_failed": "CI неуспешен","scmEvent.kind.review_changes_requested": "Изискани промени","scmEvent.kind.review_commented": "Коментар на рецензия",- "scmEvent.showLog": "Покажи дневника",- "upcoming.cloudflare.tagline": "Уведомете агента, когато компилация на Workers или Pages се провали",- "upcoming.notion.tagline": "Синхронизирайте Notion документи автоматично",- "upcoming.railway.tagline": "Уведомете агента, когато внедряването се провали или услуга се срине",- "upcoming.vercel.tagline": "Събудете агента с дневника на компилацията, когато внедряването се провали"+ "scmEvent.showLog": "Покажи дневника"}diff --git a/locales/bg-BG/setting.json b/locales/bg-BG/setting.jsonindex 124a9e33ff9..7dbf5bbc79e 100644--- a/locales/bg-BG/setting.json+++ b/locales/bg-BG/setting.json@@ -1741,7 +1741,6 @@"settingsSearch.tabKeywords.creds": "учредителни данни, тайни, oauth","settingsSearch.tabKeywords.devices": "устройства, сесии, влезли устройства","settingsSearch.tabKeywords.hotkey": "горещ клавиш, пряк път, клавиатура",- "settingsSearch.tabKeywords.integrations": "интеграции, github, pull request, ci, преглед, сливане, хранилище","settingsSearch.tabKeywords.labels": "етикети, тагове, групиране","settingsSearch.tabKeywords.labs": "лаборатории, експеримент, бета, предварителен преглед, разработчик","settingsSearch.tabKeywords.memory": "памет, спомени, персонализация",@@ -2001,7 +2000,6 @@"tab.importFromGithub.desc": "Импортиране от публично GitHub хранилище","tab.importFromUrl": "Импортиране от URL","tab.importFromUrl.desc": "Импортиране чрез директен линк към SKILL.md",- "tab.integrations": "Интеграции","tab.labels": "Етикети","tab.llm": "Езиков модел","tab.manualFill": "Ръчно попълване",diff --git a/locales/de-DE/integration.json b/locales/de-DE/integration.jsonindex 1908fd5f262..88eecb3212d 100644--- a/locales/de-DE/integration.json+++ b/locales/de-DE/integration.json@@ -25,7 +25,6 @@"github.connections.selectedRepositories": "{{count}} Repositories","github.connections.status.connected": "Verbunden","github.connections.status.suspended": "Ausgesetzt",- "github.connections.title": "Verbindungen","github.info.docsLink": "Anleitung lesen","github.info.enabledBy": "Aktiviert von","github.info.notConfigured": "Nicht in dieser Bereitstellung konfiguriert",@@ -43,7 +42,6 @@"github.pending.content": "GitHub meldet, dass die LobeHub-App auf {{account}} installiert wurde. Diese Installation mit diesem Konto verbinden? Ihre Pull-Anfragen werden hier verfolgt.","github.pending.failed": "Die Installation konnte nicht verbunden werden. Bitte versuche es erneut über Konto verbinden.","github.pending.title": "GitHub-Installation verbinden",- "github.tagline": "Synchronisiere Pull-Anfragen, CI-Ergebnisse und Reviews mit deinen Agenten","linear.connections.connect": "Arbeitsbereich verbinden","linear.connections.connectedAs": "Verbunden als {{name}} · {{date}}","linear.connections.empty": "Noch kein Linear-Arbeitsbereich verbunden.",@@ -172,24 +170,11 @@"linear.sync.viewerDisabled": "Betrachter können keine Probleme in Aufgaben importieren","linear.sync.wizard.back": "Zurück","linear.sync.wizard.next": "Weiter",- "linear.tagline": "Verbinden Sie Ihren Linear-Arbeitsbereich mit LobeHub",- "overview.all": "Alle Integrationen",- "overview.comingSoon": "Demnächst verfügbar",- "overview.description": "Verbinde die Plattformen, die du bereits nutzt",- "overview.enabled": "Aktiviert",- "overview.status.comingSoon": "Demnächst verfügbar",- "overview.status.enabled": "Aktiviert",- "overview.status.notConnected": "Nicht verbunden",- "overview.title": "Integrationen","scmEvent.details": "Details","scmEvent.failedChecks": "{{count}} Checks fehlgeschlagen","scmEvent.hideLog": "Protokoll ausblenden","scmEvent.kind.ci_failed": "CI fehlgeschlagen","scmEvent.kind.review_changes_requested": "Änderungen angefordert","scmEvent.kind.review_commented": "Review-Kommentar",- "scmEvent.showLog": "Protokoll anzeigen",- "upcoming.cloudflare.tagline": "Benachrichtige den Ajan, wenn ein Workers- oder Pages-Build fehlschlägt",- "upcoming.notion.tagline": "Synchronisiere Notion-Dokumente automatisch",- "upcoming.railway.tagline": "Benachrichtige den Ajan, wenn ein Deployment fehlschlägt oder ein Dienst abstürzt",- "upcoming.vercel.tagline": "Wecke den Ajan mit dem Build-Protokoll, wenn ein Deployment fehlschlägt"+ "scmEvent.showLog": "Protokoll anzeigen"}diff --git a/locales/de-DE/setting.json b/locales/de-DE/setting.jsonindex f16236bed63..cd9b60fae84 100644--- a/locales/de-DE/setting.json+++ b/locales/de-DE/setting.json@@ -1741,7 +1741,6 @@"settingsSearch.tabKeywords.creds": "Anmeldedaten, Geheimnisse, OAuth","settingsSearch.tabKeywords.devices": "Geräte, Sitzungen, angemeldete Geräte","settingsSearch.tabKeywords.hotkey": "Hotkey, Shortcut, Tastatur",- "settingsSearch.tabKeywords.integrations": "Integrationen, GitHub, Pull-Anfrage, CI, Überprüfung, Zusammenführen, Repository","settingsSearch.tabKeywords.labels": "Labels, Tags, Gruppierung","settingsSearch.tabKeywords.labs": "Labs, Experiment, Beta, Vorschau, Entwickler","settingsSearch.tabKeywords.memory": "Speicher, Erinnerungen, Personalisierung",@@ -2001,7 +2000,6 @@"tab.importFromGithub.desc": "Importieren aus einem öffentlichen GitHub-Repository","tab.importFromUrl": "Aus URL importieren","tab.importFromUrl.desc": "Importieren über einen direkten Link zu SKILL.md",- "tab.integrations": "Integrationen","tab.labels": "Labels","tab.llm": "Sprachmodell","tab.manualFill": "Manuell ausfüllen",diff --git a/locales/en-US/integration.json b/locales/en-US/integration.jsonindex 7ba9e549747..583397228d4 100644--- a/locales/en-US/integration.json+++ b/locales/en-US/integration.json@@ -25,7 +25,7 @@"github.connections.selectedRepositories": "{{count}} repositories","github.connections.status.connected": "Connected","github.connections.status.suspended": "Suspended",- "github.connections.title": "Connections",+ "github.connectorPage.description": "Connect your account to give agents GitHub tools. Install the app to sync pull requests, CI results and reviews.","github.info.docsLink": "Read the guide","github.info.enabledBy": "Enabled by","github.info.notConfigured": "Not configured on this deployment",@@ -43,7 +43,8 @@"github.pending.content": "GitHub reports that the LobeHub app was installed on {{account}}. Connect that installation to this account? Its pull requests will be tracked here.","github.pending.failed": "Could not connect the installation. Please try again from Connect account.","github.pending.title": "Connect GitHub installation",- "github.tagline": "Sync pull requests, CI results and reviews with your agents",+ "github.repositoryAccess.description": "Install the LobeHub app to sync pull request activity and use repositories in projects and environments.",+ "github.repositoryAccess.title": "Repository access","linear.connections.connect": "Connect workspace","linear.connections.connectedAs": "Connected as {{name}} · {{date}}","linear.connections.empty": "No Linear workspace connected yet.",@@ -52,6 +53,7 @@"linear.connections.openInLinear": "Open in Linear","linear.connections.status.connected": "Connected","linear.connections.title": "Connections",+ "linear.connectorPage.description": "Connect your account to give agents Linear tools. Connect a workspace to import its issues into projects.","linear.disconnect.confirm": "Disconnect","linear.disconnect.content": "Disconnect {{account}}? LobeHub will no longer have access to this Linear workspace.","linear.disconnect.failed": "Could not disconnect. Please try again.",@@ -172,7 +174,6 @@"linear.sync.viewerDisabled": "Viewers cannot import issues into tasks","linear.sync.wizard.back": "Back","linear.sync.wizard.next": "Next",- "linear.tagline": "Connect your Linear workspace to LobeHub","mcpEvent.eventCount_one": "{{count}} event","mcpEvent.eventCount_other": "{{count}} events","mcpEvent.hideData": "Hide data",@@ -185,14 +186,6 @@"mcpEvent.showData": "Show data","mcpEvent.truncated": "Possible gap","mcpEvent.truncatedDesc": "Some events before these may not have arrived.",- "overview.all": "All integrations",- "overview.comingSoon": "Coming soon",- "overview.description": "Connect the platforms you already use",- "overview.enabled": "Enabled",- "overview.status.comingSoon": "Coming soon",- "overview.status.enabled": "Enabled",- "overview.status.notConnected": "Not connected",- "overview.title": "Integrations","scmEvent.details": "Details","scmEvent.failedChecks": "{{count}} checks failed","scmEvent.hideLog": "Hide log",@@ -200,10 +193,6 @@"scmEvent.kind.review_changes_requested": "Changes requested","scmEvent.kind.review_commented": "Review comment","scmEvent.showLog": "Show log",- "upcoming.cloudflare.tagline": "Notify the agent when a Workers or Pages build fails",- "upcoming.notion.tagline": "Sync Notion documents automatically",- "upcoming.railway.tagline": "Notify the agent when a deploy fails or a service crashes",- "upcoming.vercel.tagline": "Wake the agent with the build log when a deployment fails","webhookEvent.callCount_one": "{{count}} call","webhookEvent.callCount_other": "{{count}} calls","webhookEvent.defaultName": "Webhook",diff --git a/locales/en-US/setting.json b/locales/en-US/setting.jsonindex 36a6f5d64ed..7d81b7d49c3 100644--- a/locales/en-US/setting.json+++ b/locales/en-US/setting.json@@ -2144,7 +2144,6 @@"settingsSearch.tabKeywords.creds": "credentials, secrets, oauth","settingsSearch.tabKeywords.devices": "devices, sessions, logged in devices","settingsSearch.tabKeywords.hotkey": "hotkey, shortcut, keyboard",- "settingsSearch.tabKeywords.integrations": "integrations, github, pull request, ci, review, merge, repository","settingsSearch.tabKeywords.labels": "labels, tags, grouping","settingsSearch.tabKeywords.labs": "labs, experiment, beta, preview, developer","settingsSearch.tabKeywords.memory": "memory, memories, personalization",@@ -2467,7 +2466,6 @@"tab.importFromGithub.desc": "Import from a GitHub repository","tab.importFromUrl": "Import from URL","tab.importFromUrl.desc": "Import via a direct link to SKILL.md",- "tab.integrations": "Integrations","tab.labels": "Labels","tab.llm": "Language Model","tab.manualFill": "Manually Fill In",diff --git a/locales/es-ES/integration.json b/locales/es-ES/integration.jsonindex 63e83c5f6ce..87b382fe216 100644--- a/locales/es-ES/integration.json+++ b/locales/es-ES/integration.json@@ -25,7 +25,6 @@"github.connections.selectedRepositories": "{{count}} repositorios","github.connections.status.connected": "Conectado","github.connections.status.suspended": "Suspendido",- "github.connections.title": "Conexiones","github.info.docsLink": "Leer la guía","github.info.enabledBy": "Habilitado por","github.info.notConfigured": "No configurado en esta implementación",@@ -43,7 +42,6 @@"github.pending.content": "GitHub informa que la aplicación de LobeHub fue instalada en {{account}}. ¿Conectar esa instalación a esta cuenta? Sus solicitudes de extracción serán rastreadas aquí.","github.pending.failed": "No se pudo conectar la instalación. Intenta de nuevo desde Conectar cuenta.","github.pending.title": "Conectar instalación de GitHub",- "github.tagline": "Sincroniza solicitudes de extracción, resultados de CI y revisiones con tus agentes","linear.connections.connect": "Conectar espacio de trabajo","linear.connections.connectedAs": "Conectado como {{name}} · {{date}}","linear.connections.empty": "Aún no hay ningún espacio de trabajo de Linear conectado.",@@ -172,24 +170,11 @@"linear.sync.viewerDisabled": "Los espectadores no pueden importar problemas en tareas","linear.sync.wizard.back": "Atrás","linear.sync.wizard.next": "Siguiente",- "linear.tagline": "Conecta tu espacio de trabajo de Linear a LobeHub",- "overview.all": "Todas las integraciones",- "overview.comingSoon": "Próximamente",- "overview.description": "Conecta las plataformas que ya usas",- "overview.enabled": "Habilitado",- "overview.status.comingSoon": "Próximamente",- "overview.status.enabled": "Habilitado",- "overview.status.notConnected": "No conectado",- "overview.title": "Integraciones","scmEvent.details": "Detalles","scmEvent.failedChecks": "{{count}} verificaciones fallidas","scmEvent.hideLog": "Ocultar registro","scmEvent.kind.ci_failed": "CI fallido","scmEvent.kind.review_changes_requested": "Cambios solicitados","scmEvent.kind.review_commented": "Comentario de revisión",- "scmEvent.showLog": "Mostrar registro",- "upcoming.cloudflare.tagline": "Notifica al agente cuando falle una compilación de Workers o Pages",- "upcoming.notion.tagline": "Sincroniza documentos de Notion automáticamente",- "upcoming.railway.tagline": "Notifica al agente cuando falle un despliegue o se caiga un servicio",- "upcoming.vercel.tagline": "Despierta al agente con el registro de compilación cuando falle un despliegue"+ "scmEvent.showLog": "Mostrar registro"}diff --git a/locales/es-ES/setting.json b/locales/es-ES/setting.jsonindex 33e77e6b950..5be0966bf90 100644--- a/locales/es-ES/setting.json+++ b/locales/es-ES/setting.json@@ -1741,7 +1741,6 @@"settingsSearch.tabKeywords.creds": "credenciales, secretos, oauth","settingsSearch.tabKeywords.devices": "dispositivos, sesiones, dispositivos conectados","settingsSearch.tabKeywords.hotkey": "tecla de acceso rápido, atajo, teclado",- "settingsSearch.tabKeywords.integrations": "integraciones, github, solicitud de extracción, ci, revisión, fusión, repositorio","settingsSearch.tabKeywords.labels": "etiquetas, etiquetas, agrupación","settingsSearch.tabKeywords.labs": "laboratorios, experimento, beta, vista previa, desarrollador","settingsSearch.tabKeywords.memory": "memoria, recuerdos, personalización",@@ -2001,7 +2000,6 @@"tab.importFromGithub.desc": "Importar desde un repositorio público de GitHub","tab.importFromUrl": "Importar desde URL","tab.importFromUrl.desc": "Importar mediante un enlace directo a SKILL.md",- "tab.integrations": "Integraciones","tab.labels": "Etiquetas","tab.llm": "Modelo de Lenguaje","tab.manualFill": "Rellenar Manualmente",diff --git a/locales/fa-IR/integration.json b/locales/fa-IR/integration.jsonindex c1f23150055..0d4cb7be6d3 100644--- a/locales/fa-IR/integration.json+++ b/locales/fa-IR/integration.json@@ -25,7 +25,6 @@"github.connections.selectedRepositories": "{{count}} مخازن","github.connections.status.connected": "متصل","github.connections.status.suspended": "معلق",- "github.connections.title": "اتصالات","github.info.docsLink": "راهنما را بخوانید","github.info.enabledBy": "فعال شده توسط","github.info.notConfigured": "در این استقرار پیکربندی نشده است",@@ -43,7 +42,6 @@"github.pending.content": "GitHub گزارش میدهد که برنامه LobeHub در {{account}} نصب شده است. آیا این نصب را به این حساب متصل کنید؟ درخواستهای کشش آن اینجا پیگیری خواهد شد.","github.pending.failed": "اتصال نصب امکانپذیر نبود. لطفاً دوباره از اتصال حساب تلاش کنید.","github.pending.title": "اتصال نصب GitHub",- "github.tagline": "درخواستهای کشش، نتایج CI و بازبینیها را با عوامل خود همگامسازی کنید","linear.connections.connect": "اتصال فضای کاری","linear.connections.connectedAs": "متصل شده به عنوان {{name}} · {{date}}","linear.connections.empty": "هنوز هیچ فضای کاری Linear متصل نشده است.",@@ -172,24 +170,11 @@"linear.sync.viewerDisabled": "بینندگان نمیتوانند مسائل را به وظایف وارد کنند","linear.sync.wizard.back": "بازگشت","linear.sync.wizard.next": "بعدی",- "linear.tagline": "فضای کاری Linear خود را به LobeHub متصل کنید",- "overview.all": "همه یکپارچهسازیها",- "overview.comingSoon": "به زودی",- "overview.description": "پلتفرمهایی که از قبل استفاده میکنید را متصل کنید",- "overview.enabled": "فعال",- "overview.status.comingSoon": "به زودی",- "overview.status.enabled": "فعال",- "overview.status.notConnected": "متصل نشده",- "overview.title": "یکپارچهسازیها","scmEvent.details": "جزئیات","scmEvent.failedChecks": "{{count}} بررسی شکست خورد","scmEvent.hideLog": "پنهان کردن گزارش","scmEvent.kind.ci_failed": "CI شکست خورد","scmEvent.kind.review_changes_requested": "تغییرات درخواست شده","scmEvent.kind.review_commented": "نظر بازبینی",- "scmEvent.showLog": "نمایش گزارش",- "upcoming.cloudflare.tagline": "هنگامی که یک ساخت Workers یا Pages شکست میخورد، به عامل اطلاع دهید",- "upcoming.notion.tagline": "اسناد Notion را به طور خودکار همگامسازی کنید",- "upcoming.railway.tagline": "هنگامی که یک استقرار شکست میخورد یا یک سرویس خراب میشود، به عامل اطلاع دهید",- "upcoming.vercel.tagline": "عامل را با گزارش ساخت بیدار کنید وقتی یک استقرار شکست میخورد"+ "scmEvent.showLog": "نمایش گزارش"}diff --git a/locales/fa-IR/setting.json b/locales/fa-IR/setting.jsonindex ac3282dd811..b171e510cd8 100644--- a/locales/fa-IR/setting.json+++ b/locales/fa-IR/setting.json@@ -1741,7 +1741,6 @@"settingsSearch.tabKeywords.creds": "اعتبارنامهها، رمزها، OAuth","settingsSearch.tabKeywords.devices": "دستگاهها، جلسات، دستگاههای وارد شده","settingsSearch.tabKeywords.hotkey": "کلید میانبر، میانبر، صفحهکلید",- "settingsSearch.tabKeywords.integrations": "یکپارچهسازیها، گیتهاب، درخواست کشیدن، CI، بازبینی، ادغام، مخزن","settingsSearch.tabKeywords.labels": "برچسبها، تگها، گروهبندی","settingsSearch.tabKeywords.labs": "آزمایشگاهها، آزمایش، نسخه بتا، پیشنمایش، توسعهدهنده","settingsSearch.tabKeywords.memory": "حافظه، خاطرات، شخصیسازی",@@ -2001,7 +2000,6 @@"tab.importFromGithub.desc": "وارد کردن از یک مخزن عمومی GitHub","tab.importFromUrl": "وارد کردن از URL","tab.importFromUrl.desc": "وارد کردن از طریق یک لینک مستقیم به SKILL.md",- "tab.integrations": "یکپارچهسازیها","tab.labels": "برچسبها","tab.llm": "مدل زبانی","tab.manualFill": "پر کردن دستی",diff --git a/locales/fr-FR/integration.json b/locales/fr-FR/integration.jsonindex 309e5af5762..cf8e23e47a8 100644--- a/locales/fr-FR/integration.json+++ b/locales/fr-FR/integration.json@@ -25,7 +25,6 @@"github.connections.selectedRepositories": "{{count}} dépôts","github.connections.status.connected": "Connecté","github.connections.status.suspended": "Suspendu",- "github.connections.title": "Connexions","github.info.docsLink": "Lire le guide","github.info.enabledBy": "Activé par","github.info.notConfigured": "Non configuré sur ce déploiement",@@ -43,7 +42,6 @@"github.pending.content": "GitHub signale que l'application LobeHub a été installée sur {{account}}. Connecter cette installation à ce compte ? Ses pull requests seront suivies ici.","github.pending.failed": "Impossible de connecter l'installation. Veuillez réessayer depuis Connecter le compte.","github.pending.title": "Connecter l'installation GitHub",- "github.tagline": "Synchronisez les pull requests, les résultats CI et les révisions avec vos agents","linear.connections.connect": "Connecter l'espace de travail","linear.connections.connectedAs": "Connecté en tant que {{name}} · {{date}}","linear.connections.empty": "Aucun espace de travail Linear connecté pour le moment.",@@ -172,24 +170,11 @@"linear.sync.viewerDisabled": "Les spectateurs ne peuvent pas importer des problèmes en tâches","linear.sync.wizard.back": "Retour","linear.sync.wizard.next": "Suivant",- "linear.tagline": "Connectez votre espace de travail Linear à LobeHub",- "overview.all": "Toutes les intégrations",- "overview.comingSoon": "Bientôt disponible",- "overview.description": "Connectez les plateformes que vous utilisez déjà",- "overview.enabled": "Activé",- "overview.status.comingSoon": "Bientôt disponible",- "overview.status.enabled": "Activé",- "overview.status.notConnected": "Non connecté",- "overview.title": "Intégrations","scmEvent.details": "Détails","scmEvent.failedChecks": "{{count}} contrôles échoués","scmEvent.hideLog": "Masquer le journal","scmEvent.kind.ci_failed": "Échec CI","scmEvent.kind.review_changes_requested": "Modifications demandées","scmEvent.kind.review_commented": "Commentaire de révision",- "scmEvent.showLog": "Afficher le journal",- "upcoming.cloudflare.tagline": "Notifier l'agent lorsqu'une construction Workers ou Pages échoue",- "upcoming.notion.tagline": "Synchronisez automatiquement les documents Notion",- "upcoming.railway.tagline": "Notifier l'agent lorsqu'un déploiement échoue ou qu'un service plante",- "upcoming.vercel.tagline": "Réveiller l'agent avec le journal de construction lorsqu'un déploiement échoue"+ "scmEvent.showLog": "Afficher le journal"}diff --git a/locales/fr-FR/setting.json b/locales/fr-FR/setting.jsonindex 88c5522a528..c5da536b590 100644--- a/locales/fr-FR/setting.json+++ b/locales/fr-FR/setting.json@@ -1741,7 +1741,6 @@"settingsSearch.tabKeywords.creds": "identifiants, secrets, oauth","settingsSearch.tabKeywords.devices": "appareils, sessions, appareils connectés","settingsSearch.tabKeywords.hotkey": "raccourci clavier, raccourci, clavier",- "settingsSearch.tabKeywords.integrations": "intégrations, github, pull request, ci, révision, fusion, dépôt","settingsSearch.tabKeywords.labels": "étiquettes, tags, regroupement","settingsSearch.tabKeywords.labs": "laboratoires, expérimentation, bêta, aperçu, développeur","settingsSearch.tabKeywords.memory": "mémoire, souvenirs, personnalisation",@@ -2001,7 +2000,6 @@"tab.importFromGithub.desc": "Importer depuis un dépôt GitHub public","tab.importFromUrl": "Importer depuis une URL","tab.importFromUrl.desc": "Importer via un lien direct vers SKILL.md",- "tab.integrations": "Intégrations","tab.labels": "Étiquettes","tab.llm": "Modèle de langage","tab.manualFill": "Remplir manuellement",diff --git a/locales/it-IT/integration.json b/locales/it-IT/integration.jsonindex fdd5f5dd5dc..4f348e60746 100644--- a/locales/it-IT/integration.json+++ b/locales/it-IT/integration.json@@ -25,7 +25,6 @@"github.connections.selectedRepositories": "{{count}} repository","github.connections.status.connected": "Connesso","github.connections.status.suspended": "Sospeso",- "github.connections.title": "Connessioni","github.info.docsLink": "Leggi la guida","github.info.enabledBy": "Abilitato da","github.info.notConfigured": "Non configurato in questa distribuzione",@@ -43,7 +42,6 @@"github.pending.content": "GitHub segnala che l'app LobeHub è stata installata su {{account}}. Connettere questa installazione a questo account? Le sue pull request saranno tracciate qui.","github.pending.failed": "Impossibile connettere l'installazione. Riprova da Collega account.","github.pending.title": "Connetti installazione GitHub",- "github.tagline": "Sincronizza pull request, risultati CI e revisioni con i tuoi agenti","linear.connections.connect": "Connetti spazio di lavoro","linear.connections.connectedAs": "Connesso come {{name}} · {{date}}","linear.connections.empty": "Nessuno spazio di lavoro Linear ancora connesso.",@@ -172,24 +170,11 @@"linear.sync.viewerDisabled": "I visualizzatori non possono importare problemi come attività","linear.sync.wizard.back": "Indietro","linear.sync.wizard.next": "Avanti",- "linear.tagline": "Connetti il tuo spazio di lavoro Linear a LobeHub",- "overview.all": "Tutte le integrazioni",- "overview.comingSoon": "In arrivo",- "overview.description": "Connetti le piattaforme che già utilizzi",- "overview.enabled": "Abilitato",- "overview.status.comingSoon": "In arrivo",- "overview.status.enabled": "Abilitato",- "overview.status.notConnected": "Non connesso",- "overview.title": "Integrazioni","scmEvent.details": "Dettagli","scmEvent.failedChecks": "{{count}} controlli falliti","scmEvent.hideLog": "Nascondi log","scmEvent.kind.ci_failed": "CI fallito","scmEvent.kind.review_changes_requested": "Modifiche richieste","scmEvent.kind.review_commented": "Commento sulla revisione",- "scmEvent.showLog": "Mostra log",- "upcoming.cloudflare.tagline": "Notifica l'agent quando un build di Workers o Pages fallisce",- "upcoming.notion.tagline": "Sincronizza automaticamente i documenti di Notion",- "upcoming.railway.tagline": "Notifica l'agent quando un deploy fallisce o un servizio si arresta",- "upcoming.vercel.tagline": "Sveglia l'agent con il log del build quando un deployment fallisce"+ "scmEvent.showLog": "Mostra log"}diff --git a/locales/it-IT/setting.json b/locales/it-IT/setting.jsonindex 4d857668824..b5d479a75e0 100644--- a/locales/it-IT/setting.json+++ b/locales/it-IT/setting.json@@ -1741,7 +1741,6 @@"settingsSearch.tabKeywords.creds": "credenziali, segreti, oauth","settingsSearch.tabKeywords.devices": "dispositivi, sessioni, dispositivi connessi","settingsSearch.tabKeywords.hotkey": "tasti rapidi, scorciatoia, tastiera",- "settingsSearch.tabKeywords.integrations": "integrazioni, github, pull request, ci, revisione, unione, repository","settingsSearch.tabKeywords.labels": "etichette, tag, raggruppamento","settingsSearch.tabKeywords.labs": "laboratori, esperimento, beta, anteprima, sviluppatore","settingsSearch.tabKeywords.memory": "memoria, ricordi, personalizzazione",@@ -2001,7 +2000,6 @@"tab.importFromGithub.desc": "Importa da un repository pubblico su GitHub","tab.importFromUrl": "Importa da URL","tab.importFromUrl.desc": "Importa tramite un link diretto a SKILL.md",- "tab.integrations": "Integrazioni","tab.labels": "Etichette","tab.llm": "Modello Linguistico","tab.manualFill": "Compila Manualmente",diff --git a/locales/ja-JP/integration.json b/locales/ja-JP/integration.jsonindex 186dcff17d3..a3f31723abd 100644--- a/locales/ja-JP/integration.json+++ b/locales/ja-JP/integration.json@@ -25,7 +25,6 @@"github.connections.selectedRepositories": "{{count}} リポジトリ","github.connections.status.connected": "接続済み","github.connections.status.suspended": "一時停止中",- "github.connections.title": "接続","github.info.docsLink": "ガイドを読む","github.info.enabledBy": "有効化者","github.info.notConfigured": "このデプロイメントで構成されていません",@@ -43,7 +42,6 @@"github.pending.content": "GitHubはLobeHubアプリが{{account}}にインストールされたと報告しています。このインストールをこのアカウントに接続しますか?そのプルリクエストはここで追跡されます。","github.pending.failed": "インストールを接続できませんでした。アカウントを接続から再試行してください。","github.pending.title": "GitHubインストールを接続",- "github.tagline": "プルリクエスト、CI結果、レビューをエージェントと同期","linear.connections.connect": "ワークスペースを接続","linear.connections.connectedAs": "{{name}} · {{date}} として接続済み","linear.connections.empty": "まだLinearワークスペースが接続されていません。",@@ -172,24 +170,11 @@"linear.sync.viewerDisabled": "閲覧者は課題をタスクにインポートできません","linear.sync.wizard.back": "戻る","linear.sync.wizard.next": "次へ",- "linear.tagline": "LinearワークスペースをLobeHubに接続",- "overview.all": "すべての統合",- "overview.comingSoon": "近日公開",- "overview.description": "すでに使用しているプラットフォームを接続",- "overview.enabled": "有効",- "overview.status.comingSoon": "近日公開",- "overview.status.enabled": "有効",- "overview.status.notConnected": "接続されていません",- "overview.title": "統合","scmEvent.details": "詳細","scmEvent.failedChecks": "{{count}} 件のチェックが失敗しました","scmEvent.hideLog": "ログを非表示","scmEvent.kind.ci_failed": "CI失敗","scmEvent.kind.review_changes_requested": "変更が要求されました","scmEvent.kind.review_commented": "レビューコメント",- "scmEvent.showLog": "ログを表示",- "upcoming.cloudflare.tagline": "WorkersまたはPagesのビルドが失敗した場合にエージェントに通知",- "upcoming.notion.tagline": "Notionドキュメントを自動的に同期",- "upcoming.railway.tagline": "デプロイが失敗したりサービスがクラッシュした場合にエージェントに通知",- "upcoming.vercel.tagline": "デプロイが失敗した場合にビルドログでエージェントを起こす"+ "scmEvent.showLog": "ログを表示"}diff --git a/locales/ja-JP/setting.json b/locales/ja-JP/setting.jsonindex ad01b9274d0..b0c75293465 100644--- a/locales/ja-JP/setting.json+++ b/locales/ja-JP/setting.json@@ -1741,7 +1741,6 @@"settingsSearch.tabKeywords.creds": "認証情報, シークレット, OAuth","settingsSearch.tabKeywords.devices": "デバイス, セッション, ログイン済みデバイス","settingsSearch.tabKeywords.hotkey": "ホットキー, ショートカット, キーボード",- "settingsSearch.tabKeywords.integrations": "統合, GitHub, プルリクエスト, CI, レビュー, マージ, リポジトリ","settingsSearch.tabKeywords.labels": "ラベル、タグ、グループ化","settingsSearch.tabKeywords.labs": "ラボ, 実験, ベータ, プレビュー, 開発者","settingsSearch.tabKeywords.memory": "メモリー, 記憶, パーソナライズ",@@ -2001,7 +2000,6 @@"tab.importFromGithub.desc": "公開GitHubリポジトリからインポート","tab.importFromUrl": "URLからインポート","tab.importFromUrl.desc": "SKILL.mdへの直接リンクを介してインポート",- "tab.integrations": "統合","tab.labels": "ラベル","tab.llm": "言語モデル","tab.manualFill": "手動入力",diff --git a/locales/ko-KR/integration.json b/locales/ko-KR/integration.jsonindex 704308e6be3..e5bf1888c0a 100644--- a/locales/ko-KR/integration.json+++ b/locales/ko-KR/integration.json@@ -25,7 +25,6 @@"github.connections.selectedRepositories": "{{count}}개의 리포지토리","github.connections.status.connected": "연결됨","github.connections.status.suspended": "중단됨",- "github.connections.title": "연결","github.info.docsLink": "가이드 읽기","github.info.enabledBy": "활성화한 사람","github.info.notConfigured": "이 배포에서 구성되지 않음",@@ -43,7 +42,6 @@"github.pending.content": "GitHub에서 LobeHub 앱이 {{account}}에 설치되었다고 보고합니다. 이 설치를 이 계정에 연결하시겠습니까? 해당 풀 리퀘스트가 여기에서 추적됩니다.","github.pending.failed": "설치를 연결할 수 없습니다. 계정 연결에서 다시 시도하세요.","github.pending.title": "GitHub 설치 연결",- "github.tagline": "풀 리퀘스트, CI 결과 및 리뷰를 에이전트와 동기화","linear.connections.connect": "작업 공간 연결","linear.connections.connectedAs": "{{name}} · {{date}}로 연결됨","linear.connections.empty": "아직 연결된 Linear 작업 공간이 없습니다.",@@ -172,24 +170,11 @@"linear.sync.viewerDisabled": "뷰어는 문제를 작업으로 가져올 수 없습니다","linear.sync.wizard.back": "뒤로","linear.sync.wizard.next": "다음",- "linear.tagline": "Linear 작업 공간을 LobeHub에 연결하세요",- "overview.all": "모든 통합",- "overview.comingSoon": "곧 제공 예정",- "overview.description": "이미 사용 중인 플랫폼을 연결하세요",- "overview.enabled": "활성화됨",- "overview.status.comingSoon": "곧 제공 예정",- "overview.status.enabled": "활성화됨",- "overview.status.notConnected": "연결되지 않음",- "overview.title": "통합","scmEvent.details": "세부정보","scmEvent.failedChecks": "{{count}}개의 체크 실패","scmEvent.hideLog": "로그 숨기기","scmEvent.kind.ci_failed": "CI 실패","scmEvent.kind.review_changes_requested": "변경 요청됨","scmEvent.kind.review_commented": "리뷰 댓글",- "scmEvent.showLog": "로그 보기",- "upcoming.cloudflare.tagline": "Workers 또는 Pages 빌드가 실패하면 에이전트에게 알림",- "upcoming.notion.tagline": "Notion 문서를 자동으로 동기화",- "upcoming.railway.tagline": "배포 실패 또는 서비스 충돌 시 에이전트에게 알림",- "upcoming.vercel.tagline": "배포 실패 시 빌드 로그와 함께 에이전트를 깨우기"+ "scmEvent.showLog": "로그 보기"}diff --git a/locales/ko-KR/setting.json b/locales/ko-KR/setting.jsonindex 4da321deba6..880faf72740 100644--- a/locales/ko-KR/setting.json+++ b/locales/ko-KR/setting.json@@ -1741,7 +1741,6 @@"settingsSearch.tabKeywords.creds": "자격 증명, 비밀, OAuth","settingsSearch.tabKeywords.devices": "기기, 세션, 로그인된 기기","settingsSearch.tabKeywords.hotkey": "핫키, 바로가기, 키보드",- "settingsSearch.tabKeywords.integrations": "통합, github, 풀 리퀘스트, ci, 리뷰, 병합, 리포지토리","settingsSearch.tabKeywords.labels": "레이블, 태그, 그룹화","settingsSearch.tabKeywords.labs": "실험실, 실험, 베타, 미리보기, 개발자","settingsSearch.tabKeywords.memory": "메모리, 기억, 개인화",@@ -2001,7 +2000,6 @@"tab.importFromGithub.desc": "공개 GitHub 저장소에서 가져오기","tab.importFromUrl": "URL에서 가져오기","tab.importFromUrl.desc": "SKILL.md의 직접 링크를 통해 가져오기",- "tab.integrations": "통합","tab.labels": "레이블","tab.llm": "언어 모델","tab.manualFill": "수동 입력",diff --git a/locales/nl-NL/integration.json b/locales/nl-NL/integration.jsonindex 6729ff09b3b..a00b304828b 100644--- a/locales/nl-NL/integration.json+++ b/locales/nl-NL/integration.json@@ -25,7 +25,6 @@"github.connections.selectedRepositories": "{{count}} repositories","github.connections.status.connected": "Verbonden","github.connections.status.suspended": "Opgeschort",- "github.connections.title": "Verbindingen","github.info.docsLink": "Lees de handleiding","github.info.enabledBy": "Ingeschakeld door","github.info.notConfigured": "Niet geconfigureerd in deze implementatie",@@ -43,7 +42,6 @@"github.pending.content": "GitHub meldt dat de LobeHub-app is geïnstalleerd op {{account}}. Wil je die installatie koppelen aan dit account? De pull requests worden hier gevolgd.","github.pending.failed": "Kon de installatie niet verbinden. Probeer het opnieuw via Account verbinden.","github.pending.title": "GitHub-installatie verbinden",- "github.tagline": "Synchroniseer pull requests, CI-resultaten en beoordelingen met je agents","linear.connections.connect": "Werkruimte verbinden","linear.connections.connectedAs": "Verbonden als {{name}} · {{date}}","linear.connections.empty": "Nog geen Linear-werkruimte verbonden.",@@ -172,24 +170,11 @@"linear.sync.viewerDisabled": "Kijkers kunnen geen problemen importeren in taken","linear.sync.wizard.back": "Terug","linear.sync.wizard.next": "Volgende",- "linear.tagline": "Verbind je Linear-werkruimte met LobeHub",- "overview.all": "Alle integraties",- "overview.comingSoon": "Binnenkort beschikbaar",- "overview.description": "Verbind de platforms die je al gebruikt",- "overview.enabled": "Ingeschakeld",- "overview.status.comingSoon": "Binnenkort beschikbaar",- "overview.status.enabled": "Ingeschakeld",- "overview.status.notConnected": "Niet verbonden",- "overview.title": "Integraties","scmEvent.details": "Details","scmEvent.failedChecks": "{{count}} controles mislukt","scmEvent.hideLog": "Log verbergen","scmEvent.kind.ci_failed": "CI mislukt","scmEvent.kind.review_changes_requested": "Wijzigingen aangevraagd","scmEvent.kind.review_commented": "Beoordelingsopmerking",- "scmEvent.showLog": "Log weergeven",- "upcoming.cloudflare.tagline": "Meld de agent wanneer een Workers- of Pages-build mislukt",- "upcoming.notion.tagline": "Synchroniseer Notion-documenten automatisch",- "upcoming.railway.tagline": "Meld de agent wanneer een implementatie mislukt of een service crasht",- "upcoming.vercel.tagline": "Activeer de agent met het buildlogboek wanneer een implementatie mislukt"+ "scmEvent.showLog": "Log weergeven"}diff --git a/locales/nl-NL/setting.json b/locales/nl-NL/setting.jsonindex f57a941b9b0..ea5a0a4351f 100644--- a/locales/nl-NL/setting.json+++ b/locales/nl-NL/setting.json@@ -1741,7 +1741,6 @@"settingsSearch.tabKeywords.creds": "referenties, geheimen, oauth","settingsSearch.tabKeywords.devices": "apparaten, sessies, ingelogde apparaten","settingsSearch.tabKeywords.hotkey": "sneltoets, snelkoppeling, toetsenbord",- "settingsSearch.tabKeywords.integrations": "integraties, github, pull request, ci, review, samenvoegen, repository","settingsSearch.tabKeywords.labels": "labels, tags, groeperen","settingsSearch.tabKeywords.labs": "labs, experiment, bèta, preview, ontwikkelaar","settingsSearch.tabKeywords.memory": "geheugen, herinneringen, personalisatie",@@ -2001,7 +2000,6 @@"tab.importFromGithub.desc": "Importeren vanuit een openbare GitHub-repository","tab.importFromUrl": "Importeren via URL","tab.importFromUrl.desc": "Importeren via een directe link naar SKILL.md",- "tab.integrations": "Integraties","tab.labels": "Labels","tab.llm": "Taalmodel","tab.manualFill": "Handmatig Invullen",diff --git a/locales/pl-PL/integration.json b/locales/pl-PL/integration.jsonindex 2fef2dc0b2e..8262d5b6d72 100644--- a/locales/pl-PL/integration.json+++ b/locales/pl-PL/integration.json@@ -25,7 +25,6 @@"github.connections.selectedRepositories": "{{count}} repozytoriów","github.connections.status.connected": "Połączono","github.connections.status.suspended": "Zawieszone",- "github.connections.title": "Połączenia","github.info.docsLink": "Przeczytaj przewodnik","github.info.enabledBy": "Włączone przez","github.info.notConfigured": "Nie skonfigurowano w tej instalacji",@@ -43,7 +42,6 @@"github.pending.content": "GitHub zgłasza, że aplikacja LobeHub została zainstalowana na {{account}}. Połączyć tę instalację z tym kontem? Jej pull requesty będą tutaj śledzone.","github.pending.failed": "Nie udało się połączyć instalacji. Spróbuj ponownie z opcji Połącz konto.","github.pending.title": "Połącz instalację GitHub",- "github.tagline": "Synchronizuj pull requesty, wyniki CI i recenzje z twoimi agentami","linear.connections.connect": "Połącz przestrzeń roboczą","linear.connections.connectedAs": "Połączono jako {{name}} · {{date}}","linear.connections.empty": "Nie połączono jeszcze żadnej przestrzeni roboczej Linear.",@@ -172,24 +170,11 @@"linear.sync.viewerDisabled": "Przeglądający nie mogą importować zadań do zadań","linear.sync.wizard.back": "Wstecz","linear.sync.wizard.next": "Dalej",- "linear.tagline": "Połącz swoją przestrzeń roboczą Linear z LobeHub",- "overview.all": "Wszystkie integracje",- "overview.comingSoon": "Wkrótce",- "overview.description": "Połącz platformy, których już używasz",- "overview.enabled": "Włączone",- "overview.status.comingSoon": "Wkrótce",- "overview.status.enabled": "Włączone",- "overview.status.notConnected": "Nie połączono",- "overview.title": "Integracje","scmEvent.details": "Szczegóły","scmEvent.failedChecks": "{{count}} kontroli nie powiodło się","scmEvent.hideLog": "Ukryj log","scmEvent.kind.ci_failed": "CI nie powiodło się","scmEvent.kind.review_changes_requested": "Zażądano zmian","scmEvent.kind.review_commented": "Komentarz do recenzji",- "scmEvent.showLog": "Pokaż log",- "upcoming.cloudflare.tagline": "Powiadom agenta, gdy budowa Workers lub Pages zakończy się niepowodzeniem",- "upcoming.notion.tagline": "Automatycznie synchronizuj dokumenty Notion",- "upcoming.railway.tagline": "Powiadom agenta, gdy wdrożenie zakończy się niepowodzeniem lub usługa ulegnie awarii",- "upcoming.vercel.tagline": "Obudź agenta z logiem budowy, gdy wdrożenie zakończy się niepowodzeniem"+ "scmEvent.showLog": "Pokaż log"}diff --git a/locales/pl-PL/setting.json b/locales/pl-PL/setting.jsonindex 9f18422013f..b303c0206b5 100644--- a/locales/pl-PL/setting.json+++ b/locales/pl-PL/setting.json@@ -1741,7 +1741,6 @@"settingsSearch.tabKeywords.creds": "poświadczenia, sekrety, oauth","settingsSearch.tabKeywords.devices": "urządzenia, sesje, zalogowane urządzenia","settingsSearch.tabKeywords.hotkey": "skrót klawiszowy, skrót, klawiatura",- "settingsSearch.tabKeywords.integrations": "integracje, github, pull request, ci, przegląd, scalanie, repozytorium","settingsSearch.tabKeywords.labels": "etykiety, tagi, grupowanie","settingsSearch.tabKeywords.labs": "laboratoria, eksperyment, beta, podgląd, deweloper","settingsSearch.tabKeywords.memory": "pamięć, wspomnienia, personalizacja",@@ -2001,7 +2000,6 @@"tab.importFromGithub.desc": "Importuj z publicznego repozytorium GitHub","tab.importFromUrl": "Importuj z URL","tab.importFromUrl.desc": "Importuj za pomocą bezpośredniego linku do SKILL.md",- "tab.integrations": "Integracje","tab.labels": "Etykiety","tab.llm": "Model językowy","tab.manualFill": "Wypełnij ręcznie",diff --git a/locales/pt-BR/integration.json b/locales/pt-BR/integration.jsonindex 1a22e546325..efd700a0046 100644--- a/locales/pt-BR/integration.json+++ b/locales/pt-BR/integration.json@@ -25,7 +25,6 @@"github.connections.selectedRepositories": "{{count}} repositórios","github.connections.status.connected": "Conectado","github.connections.status.suspended": "Suspenso",- "github.connections.title": "Conexões","github.info.docsLink": "Leia o guia","github.info.enabledBy": "Habilitado por","github.info.notConfigured": "Não configurado nesta implantação",@@ -43,7 +42,6 @@"github.pending.content": "O GitHub informa que o aplicativo LobeHub foi instalado em {{account}}. Conectar essa instalação a esta conta? Seus pull requests serão rastreados aqui.","github.pending.failed": "Não foi possível conectar a instalação. Tente novamente em Conectar conta.","github.pending.title": "Conectar instalação do GitHub",- "github.tagline": "Sincronize pull requests, resultados de CI e revisões com seus agentes","linear.connections.connect": "Conectar espaço de trabalho","linear.connections.connectedAs": "Conectado como {{name}} · {{date}}","linear.connections.empty": "Nenhum espaço de trabalho Linear conectado ainda.",@@ -172,24 +170,11 @@"linear.sync.viewerDisabled": "Visualizadores não podem importar tarefas para tarefas","linear.sync.wizard.back": "Voltar","linear.sync.wizard.next": "Avançar",- "linear.tagline": "Conecte seu espaço de trabalho Linear ao LobeHub",- "overview.all": "Todas as integrações",- "overview.comingSoon": "Em breve",- "overview.description": "Conecte as plataformas que você já usa",- "overview.enabled": "Habilitado",- "overview.status.comingSoon": "Em breve",- "overview.status.enabled": "Habilitado",- "overview.status.notConnected": "Não conectado",- "overview.title": "Integrações","scmEvent.details": "Detalhes","scmEvent.failedChecks": "{{count}} verificações falharam","scmEvent.hideLog": "Ocultar log","scmEvent.kind.ci_failed": "Falha no CI","scmEvent.kind.review_changes_requested": "Alterações solicitadas","scmEvent.kind.review_commented": "Comentário de revisão",- "scmEvent.showLog": "Mostrar log",- "upcoming.cloudflare.tagline": "Notifique o agente quando uma compilação do Workers ou Pages falhar",- "upcoming.notion.tagline": "Sincronize documentos do Notion automaticamente",- "upcoming.railway.tagline": "Notifique o agente quando uma implantação falhar ou um serviço travar",- "upcoming.vercel.tagline": "Acorde o agente com o log de compilação quando uma implantação falhar"+ "scmEvent.showLog": "Mostrar log"}diff --git a/locales/pt-BR/setting.json b/locales/pt-BR/setting.jsonindex f714e3e26b5..22dab4922a3 100644--- a/locales/pt-BR/setting.json+++ b/locales/pt-BR/setting.json@@ -1741,7 +1741,6 @@"settingsSearch.tabKeywords.creds": "credenciais, segredos, oauth","settingsSearch.tabKeywords.devices": "dispositivos, sessões, dispositivos conectados","settingsSearch.tabKeywords.hotkey": "atalho, tecla de atalho, teclado",- "settingsSearch.tabKeywords.integrations": "integrações, github, pull request, ci, revisão, mesclar, repositório","settingsSearch.tabKeywords.labels": "etiquetas, tags, agrupamento","settingsSearch.tabKeywords.labs": "labs, experimento, beta, prévia, desenvolvedor","settingsSearch.tabKeywords.memory": "memória, memórias, personalização",@@ -2001,7 +2000,6 @@"tab.importFromGithub.desc": "Importar de um repositório público do GitHub","tab.importFromUrl": "Importar de URL","tab.importFromUrl.desc": "Importar via um link direto para SKILL.md",- "tab.integrations": "Integrações","tab.labels": "Etiquetas","tab.llm": "Modelo de Linguagem","tab.manualFill": "Preencher Manualmente",diff --git a/locales/ru-RU/integration.json b/locales/ru-RU/integration.jsonindex 4926ff197a4..c1041b51784 100644--- a/locales/ru-RU/integration.json+++ b/locales/ru-RU/integration.json@@ -25,7 +25,6 @@"github.connections.selectedRepositories": "{{count}} репозиториев","github.connections.status.connected": "Подключено","github.connections.status.suspended": "Приостановлено",- "github.connections.title": "Подключения","github.info.docsLink": "Прочитать руководство","github.info.enabledBy": "Включено","github.info.notConfigured": "Не настроено в этом развертывании",@@ -43,7 +42,6 @@"github.pending.content": "GitHub сообщает, что приложение LobeHub было установлено на {{account}}. Подключить эту установку к этому аккаунту? Её запросы на слияние будут отслеживаться здесь.","github.pending.failed": "Не удалось подключить установку. Попробуйте снова через Подключить аккаунт.","github.pending.title": "Подключить установку GitHub",- "github.tagline": "Синхронизируйте запросы на слияние, результаты CI и рецензии с вашими агентами","linear.connections.connect": "Подключить рабочую область","linear.connections.connectedAs": "Подключено как {{name}} · {{date}}","linear.connections.empty": "Рабочая область Linear еще не подключена.",@@ -172,24 +170,11 @@"linear.sync.viewerDisabled": "Просмотрщики не могут импортировать задачи в задачи","linear.sync.wizard.back": "Назад","linear.sync.wizard.next": "Далее",- "linear.tagline": "Подключите свою рабочую область Linear к LobeHub",- "overview.all": "Все интеграции",- "overview.comingSoon": "Скоро",- "overview.description": "Подключите платформы, которые вы уже используете",- "overview.enabled": "Включено",- "overview.status.comingSoon": "Скоро",- "overview.status.enabled": "Включено",- "overview.status.notConnected": "Не подключено",- "overview.title": "Интеграции","scmEvent.details": "Детали","scmEvent.failedChecks": "{{count}} проверок завершились с ошибкой","scmEvent.hideLog": "Скрыть журнал","scmEvent.kind.ci_failed": "Сбой CI","scmEvent.kind.review_changes_requested": "Запрошены изменения","scmEvent.kind.review_commented": "Комментарий к рецензии",- "scmEvent.showLog": "Показать журнал",- "upcoming.cloudflare.tagline": "Уведомляйте агента, когда сборка Workers или Pages завершается сбоем",- "upcoming.notion.tagline": "Автоматически синхронизируйте документы Notion",- "upcoming.railway.tagline": "Уведомляйте агента, когда развертывание завершается сбоем или сервис падает",- "upcoming.vercel.tagline": "Разбудите агента с журналом сборки, когда развертывание завершается сбоем"+ "scmEvent.showLog": "Показать журнал"}diff --git a/locales/ru-RU/setting.json b/locales/ru-RU/setting.jsonindex a8a3930c5ee..f76661ded75 100644--- a/locales/ru-RU/setting.json+++ b/locales/ru-RU/setting.json@@ -1741,7 +1741,6 @@"settingsSearch.tabKeywords.creds": "учетные данные, секреты, oauth","settingsSearch.tabKeywords.devices": "устройства, сессии, вошедшие устройства","settingsSearch.tabKeywords.hotkey": "горячая клавиша, ярлык, клавиатура",- "settingsSearch.tabKeywords.integrations": "интеграции, github, pull request, ci, review, merge, repository","settingsSearch.tabKeywords.labels": "метки, теги, группировка","settingsSearch.tabKeywords.labs": "лаборатории, эксперимент, бета, предварительный просмотр, разработчик","settingsSearch.tabKeywords.memory": "память, воспоминания, персонализация",@@ -2001,7 +2000,6 @@"tab.importFromGithub.desc": "Импорт из публичного репозитория GitHub","tab.importFromUrl": "Импорт из URL","tab.importFromUrl.desc": "Импорт через прямую ссылку на SKILL.md",- "tab.integrations": "Интеграции","tab.labels": "Метки","tab.llm": "Языковая модель","tab.manualFill": "Заполнить вручную",diff --git a/locales/tr-TR/integration.json b/locales/tr-TR/integration.jsonindex 504adc48f6d..fbcf6fb55ec 100644--- a/locales/tr-TR/integration.json+++ b/locales/tr-TR/integration.json@@ -25,7 +25,6 @@"github.connections.selectedRepositories": "{{count}} depo","github.connections.status.connected": "Bağlı","github.connections.status.suspended": "Askıya alındı",- "github.connections.title": "Bağlantılar","github.info.docsLink": "Kılavuzu okuyun","github.info.enabledBy": "Tarafından etkinleştirildi","github.info.notConfigured": "Bu dağıtımda yapılandırılmamış",@@ -43,7 +42,6 @@"github.pending.content": "GitHub, LobeHub uygulamasının {{account}} üzerinde yüklendiğini bildiriyor. Bu yüklemeyi bu hesaba bağlayın mı? Çekme istekleri burada izlenecek.","github.pending.failed": "Yükleme bağlanamadı. Lütfen Hesabı bağla üzerinden tekrar deneyin.","github.pending.title": "GitHub yüklemesini bağla",- "github.tagline": "Çekme isteklerini, CI sonuçlarını ve incelemeleri ajanlarınızla senkronize edin","linear.connections.connect": "Çalışma alanını bağla","linear.connections.connectedAs": "{{name}} olarak bağlandı · {{date}}","linear.connections.empty": "Henüz bir Linear çalışma alanı bağlanmadı.",@@ -172,24 +170,11 @@"linear.sync.viewerDisabled": "Görüntüleyiciler sorunları görevlere içe aktaramaz","linear.sync.wizard.back": "Geri","linear.sync.wizard.next": "İleri",- "linear.tagline": "Linear çalışma alanınızı LobeHub'a bağlayın",- "overview.all": "Tüm entegrasyonlar",- "overview.comingSoon": "Yakında geliyor",- "overview.description": "Zaten kullandığınız platformları bağlayın",- "overview.enabled": "Etkin",- "overview.status.comingSoon": "Yakında geliyor",- "overview.status.enabled": "Etkin",- "overview.status.notConnected": "Bağlı değil",- "overview.title": "Entegrasyonlar","scmEvent.details": "Ayrıntılar","scmEvent.failedChecks": "{{count}} kontrol başarısız oldu","scmEvent.hideLog": "Günlüğü gizle","scmEvent.kind.ci_failed": "CI başarısız oldu","scmEvent.kind.review_changes_requested": "Değişiklikler talep edildi","scmEvent.kind.review_commented": "İnceleme yorumu",- "scmEvent.showLog": "Günlüğü göster",- "upcoming.cloudflare.tagline": "Bir Workers veya Pages derlemesi başarısız olduğunda ajana bildirim gönderin",- "upcoming.notion.tagline": "Notion belgelerini otomatik olarak senkronize edin",- "upcoming.railway.tagline": "Bir dağıtım başarısız olduğunda veya bir hizmet çöktüğünde ajana bildirim gönderin",- "upcoming.vercel.tagline": "Bir dağıtım başarısız olduğunda derleme günlüğüyle ajanı uyandırın"+ "scmEvent.showLog": "Günlüğü göster"}diff --git a/locales/tr-TR/setting.json b/locales/tr-TR/setting.jsonindex 18f448f8f19..4ce3809402c 100644--- a/locales/tr-TR/setting.json+++ b/locales/tr-TR/setting.json@@ -1741,7 +1741,6 @@"settingsSearch.tabKeywords.creds": "kimlik bilgileri, gizli bilgiler, oauth","settingsSearch.tabKeywords.devices": "cihazlar, oturumlar, giriş yapılan cihazlar","settingsSearch.tabKeywords.hotkey": "kısayol tuşu, kısayol, klavye",- "settingsSearch.tabKeywords.integrations": "entegrasyonlar, github, pull request, ci, inceleme, birleştirme, depo","settingsSearch.tabKeywords.labels": "etiketler, etiketleme, gruplama","settingsSearch.tabKeywords.labs": "laboratuvarlar, deney, beta, önizleme, geliştirici","settingsSearch.tabKeywords.memory": "hafıza, anılar, kişiselleştirme",@@ -2001,7 +2000,6 @@"tab.importFromGithub.desc": "Genel bir GitHub deposundan içe aktar","tab.importFromUrl": "URL'den İçe Aktar","tab.importFromUrl.desc": "SKILL.md'ye doğrudan bağlantı aracılığıyla içe aktar",- "tab.integrations": "Entegrasyonlar","tab.labels": "Etiketler","tab.llm": "Dil Modeli","tab.manualFill": "Manuel Doldur",diff --git a/locales/vi-VN/integration.json b/locales/vi-VN/integration.jsonindex 6a8cf67e2db..993f81fb9fc 100644--- a/locales/vi-VN/integration.json+++ b/locales/vi-VN/integration.json@@ -25,7 +25,6 @@"github.connections.selectedRepositories": "{{count}} kho lưu trữ","github.connections.status.connected": "Đã kết nối","github.connections.status.suspended": "Đã tạm ngưng",- "github.connections.title": "Kết nối","github.info.docsLink": "Đọc hướng dẫn","github.info.enabledBy": "Được kích hoạt bởi","github.info.notConfigured": "Chưa được cấu hình trên triển khai này",@@ -43,7 +42,6 @@"github.pending.content": "GitHub báo cáo rằng ứng dụng LobeHub đã được cài đặt trên {{account}}. Kết nối cài đặt đó với tài khoản này? Các pull request của nó sẽ được theo dõi tại đây.","github.pending.failed": "Không thể kết nối cài đặt. Vui lòng thử lại từ Kết nối tài khoản.","github.pending.title": "Kết nối cài đặt GitHub",- "github.tagline": "Đồng bộ pull request, kết quả CI và đánh giá với các agent của bạn","linear.connections.connect": "Kết nối không gian làm việc","linear.connections.connectedAs": "Đã kết nối dưới tên {{name}} · {{date}}","linear.connections.empty": "Chưa có không gian làm việc Linear nào được kết nối.",@@ -172,24 +170,11 @@"linear.sync.viewerDisabled": "Người xem không thể nhập vấn đề thành nhiệm vụ","linear.sync.wizard.back": "Quay lại","linear.sync.wizard.next": "Tiếp theo",- "linear.tagline": "Kết nối không gian làm việc Linear của bạn với LobeHub",- "overview.all": "Tất cả tích hợp",- "overview.comingSoon": "Sắp ra mắt",- "overview.description": "Kết nối các nền tảng bạn đã sử dụng",- "overview.enabled": "Đã kích hoạt",- "overview.status.comingSoon": "Sắp ra mắt",- "overview.status.enabled": "Đã kích hoạt",- "overview.status.notConnected": "Chưa được kết nối",- "overview.title": "Tích hợp","scmEvent.details": "Chi tiết","scmEvent.failedChecks": "{{count}} kiểm tra thất bại","scmEvent.hideLog": "Ẩn nhật ký","scmEvent.kind.ci_failed": "CI thất bại","scmEvent.kind.review_changes_requested": "Yêu cầu thay đổi","scmEvent.kind.review_commented": "Bình luận đánh giá",- "scmEvent.showLog": "Hiển thị nhật ký",- "upcoming.cloudflare.tagline": "Thông báo cho agent khi một bản dựng Workers hoặc Pages thất bại",- "upcoming.notion.tagline": "Đồng bộ tài liệu Notion tự động",- "upcoming.railway.tagline": "Thông báo cho agent khi một triển khai thất bại hoặc một dịch vụ bị sập",- "upcoming.vercel.tagline": "Đánh thức agent với nhật ký bản dựng khi một triển khai thất bại"+ "scmEvent.showLog": "Hiển thị nhật ký"}diff --git a/locales/vi-VN/setting.json b/locales/vi-VN/setting.jsonindex 0d4f52c1c32..b78157dd172 100644--- a/locales/vi-VN/setting.json+++ b/locales/vi-VN/setting.json@@ -1741,7 +1741,6 @@"settingsSearch.tabKeywords.creds": "thông tin xác thực, bí mật, oauth","settingsSearch.tabKeywords.devices": "thiết bị, phiên, thiết bị đã đăng nhập","settingsSearch.tabKeywords.hotkey": "phím tắt, phím nhanh, bàn phím",- "settingsSearch.tabKeywords.integrations": "tích hợp, github, yêu cầu kéo, ci, đánh giá, hợp nhất, kho lưu trữ","settingsSearch.tabKeywords.labels": "nhãn, thẻ, nhóm","settingsSearch.tabKeywords.labs": "phòng thí nghiệm, thử nghiệm, beta, xem trước, nhà phát triển","settingsSearch.tabKeywords.memory": "bộ nhớ, ký ức, cá nhân hóa",@@ -2001,7 +2000,6 @@"tab.importFromGithub.desc": "Nhập từ một kho GitHub công khai","tab.importFromUrl": "Nhập từ URL","tab.importFromUrl.desc": "Nhập qua liên kết trực tiếp đến SKILL.md",- "tab.integrations": "Tích hợp","tab.labels": "Nhãn","tab.llm": "Mô Hình Ngôn Ngữ","tab.manualFill": "Điền Thủ công",diff --git a/locales/zh-CN/integration.json b/locales/zh-CN/integration.jsonindex 23113d88165..80c21f4f50e 100644--- a/locales/zh-CN/integration.json+++ b/locales/zh-CN/integration.json@@ -25,7 +25,7 @@"github.connections.selectedRepositories": "{{count}} 个仓库","github.connections.status.connected": "已连接","github.connections.status.suspended": "已暂停",- "github.connections.title": "连接",+ "github.connectorPage.description": "连接账号后,智能体可以使用 GitHub 工具;安装应用后,可以同步 Pull Request、CI 结果和评审。","github.info.docsLink": "查看指南","github.info.enabledBy": "启用者","github.info.notConfigured": "当前部署未配置",@@ -43,7 +43,8 @@"github.pending.content": "GitHub 报告 LobeHub 应用已安装到 {{account}}。要把这个安装连接到当前账号吗?连接后它的 Pull Request 会在这里被跟踪。","github.pending.failed": "连接安装失败,请从「连接账号」重试。","github.pending.title": "连接 GitHub 安装",- "github.tagline": "把 Pull Request、CI 结果和评审同步给你的智能体",+ "github.repositoryAccess.description": "安装 LobeHub 应用后,可以同步 Pull Request 动态,并在项目和环境中使用这些仓库。",+ "github.repositoryAccess.title": "仓库访问","linear.connections.connect": "连接工作区","linear.connections.connectedAs": "以 {{name}} 身份连接 · {{date}}","linear.connections.empty": "尚未连接 Linear 工作区。",@@ -52,6 +53,7 @@"linear.connections.openInLinear": "在 Linear 中打开","linear.connections.status.connected": "已连接","linear.connections.title": "连接",+ "linear.connectorPage.description": "连接账号后,智能体可以使用 Linear 工具;连接工作区后,可以把 Issue 导入到项目。","linear.disconnect.confirm": "断开连接","linear.disconnect.content": "确定断开 {{account}} 吗?断开后 LobeHub 将不再能访问该 Linear 工作区。","linear.disconnect.failed": "断开连接失败,请重试。",@@ -172,7 +174,6 @@"linear.sync.viewerDisabled": "查看者不能把 Issue 导入为任务","linear.sync.wizard.back": "上一步","linear.sync.wizard.next": "下一步",- "linear.tagline": "将你的 Linear 工作区连接到 LobeHub","mcpEvent.eventCount_one": "{{count}} 个事件","mcpEvent.eventCount_other": "{{count}} 个事件","mcpEvent.hideData": "收起数据",@@ -185,14 +186,6 @@"mcpEvent.showData": "查看数据","mcpEvent.truncated": "可能有遗漏","mcpEvent.truncatedDesc": "在这之前可能有事件没有送达。",- "overview.all": "全部集成",- "overview.comingSoon": "即将支持",- "overview.description": "连接到你正在使用的平台",- "overview.enabled": "已启用",- "overview.status.comingSoon": "即将支持",- "overview.status.enabled": "已启用",- "overview.status.notConnected": "未连接",- "overview.title": "集成","scmEvent.details": "详情","scmEvent.failedChecks": "{{count}} 项检查未通过","scmEvent.hideLog": "收起日志",@@ -200,10 +193,6 @@"scmEvent.kind.review_changes_requested": "要求修改","scmEvent.kind.review_commented": "评审评论","scmEvent.showLog": "查看日志",- "upcoming.cloudflare.tagline": "Workers / Pages 构建失败时通知智能体",- "upcoming.notion.tagline": "自动同步 Notion 文档",- "upcoming.railway.tagline": "部署失败或服务崩溃时通知智能体",- "upcoming.vercel.tagline": "部署失败时把构建日志送给智能体","webhookEvent.callCount_one": "{{count}} 次调用","webhookEvent.callCount_other": "{{count}} 次调用","webhookEvent.defaultName": "Webhook",diff --git a/locales/zh-CN/setting.json b/locales/zh-CN/setting.jsonindex a1c87026697..ef59521c5ab 100644--- a/locales/zh-CN/setting.json+++ b/locales/zh-CN/setting.json@@ -2144,7 +2144,6 @@"settingsSearch.tabKeywords.creds": "凭证,密钥,授权","settingsSearch.tabKeywords.devices": "设备,会话,登录设备","settingsSearch.tabKeywords.hotkey": "快捷键,键盘,热键",- "settingsSearch.tabKeywords.integrations": "集成, integrations, github, pull request, ci, 评审, 合并, 仓库","settingsSearch.tabKeywords.labels": "标签, 分组, 标记","settingsSearch.tabKeywords.labs": "实验室,实验功能","settingsSearch.tabKeywords.memory": "记忆,个性化",@@ -2467,7 +2466,6 @@"tab.importFromGithub.desc": "从 GitHub 仓库导入","tab.importFromUrl": "从 URL 导入","tab.importFromUrl.desc": "通过 SKILL.md 的直接链接导入",- "tab.integrations": "集成","tab.labels": "标签","tab.llm": "语言模型","tab.manualFill": "自行填写内容",diff --git a/locales/zh-TW/integration.json b/locales/zh-TW/integration.jsonindex 3437e827324..bb405887355 100644--- a/locales/zh-TW/integration.json+++ b/locales/zh-TW/integration.json@@ -25,7 +25,6 @@"github.connections.selectedRepositories": "{{count}} 個倉庫","github.connections.status.connected": "已連接","github.connections.status.suspended": "已暫停",- "github.connections.title": "連接","github.info.docsLink": "閱讀指南","github.info.enabledBy": "啟用者","github.info.notConfigured": "此部署未配置",@@ -43,7 +42,6 @@"github.pending.content": "GitHub 報告 LobeHub 應用已安裝在 {{account}}。是否將該安裝連接到此帳戶?其拉取請求將在此處被跟蹤。","github.pending.failed": "無法連接安裝。請從“連接帳戶”重新嘗試。","github.pending.title": "連接 GitHub 安裝",- "github.tagline": "將拉取請求、CI 結果和審核與您的代理同步","linear.connections.connect": "連接工作區","linear.connections.connectedAs": "已連接為 {{name}} · {{date}}","linear.connections.empty": "尚未連接任何 Linear 工作區。",@@ -172,24 +170,11 @@"linear.sync.viewerDisabled": "檢視者無法將問題匯入任務","linear.sync.wizard.back": "返回","linear.sync.wizard.next": "下一步",- "linear.tagline": "將您的 Linear 工作區連接到 LobeHub",- "overview.all": "所有整合",- "overview.comingSoon": "即將推出",- "overview.description": "連接您已經使用的平台",- "overview.enabled": "已啟用",- "overview.status.comingSoon": "即將推出",- "overview.status.enabled": "已啟用",- "overview.status.notConnected": "未連接",- "overview.title": "整合","scmEvent.details": "詳情","scmEvent.failedChecks": "{{count}} 項檢查失敗","scmEvent.hideLog": "隱藏日誌","scmEvent.kind.ci_failed": "CI 失敗","scmEvent.kind.review_changes_requested": "要求更改","scmEvent.kind.review_commented": "審核評論",- "scmEvent.showLog": "顯示日誌",- "upcoming.cloudflare.tagline": "當 Workers 或 Pages 構建失敗時通知代理",- "upcoming.notion.tagline": "自動同步 Notion 文檔",- "upcoming.railway.tagline": "當部署失敗或服務崩潰時通知代理",- "upcoming.vercel.tagline": "當部署失敗時使用構建日誌喚醒代理"+ "scmEvent.showLog": "顯示日誌"}diff --git a/locales/zh-TW/setting.json b/locales/zh-TW/setting.jsonindex 05d78e0e6d0..89bb25c469b 100644--- a/locales/zh-TW/setting.json+++ b/locales/zh-TW/setting.json@@ -1741,7 +1741,6 @@"settingsSearch.tabKeywords.creds": "憑證, 密鑰, OAuth","settingsSearch.tabKeywords.devices": "裝置, 工作階段, 登入的裝置","settingsSearch.tabKeywords.hotkey": "快捷鍵, 快捷方式, 鍵盤",- "settingsSearch.tabKeywords.integrations": "整合, github, 拉取請求, ci, 審查, 合併, 儲存庫","settingsSearch.tabKeywords.labels": "標籤、標記、分組","settingsSearch.tabKeywords.labs": "實驗室, 實驗, 測試版, 預覽, 開發者","settingsSearch.tabKeywords.memory": "記憶, 記憶體, 個性化",@@ -2001,7 +2000,6 @@"tab.importFromGithub.desc": "從公開的 GitHub 儲存庫匯入","tab.importFromUrl": "從 URL 匯入","tab.importFromUrl.desc": "透過 SKILL.md 的直接連結匯入",- "tab.integrations": "整合","tab.labels": "標籤","tab.llm": "語言模型","tab.manualFill": "手動填寫",diff --git a/packages/locales/src/default/integration.ts b/packages/locales/src/default/integration.tsindex 89641c8d1bc..e876c1d3963 100644--- a/packages/locales/src/default/integration.ts+++ b/packages/locales/src/default/integration.ts@@ -33,7 +33,6 @@ export default {'github.connections.selectedRepositories': '{{count}} repositories','github.connections.status.connected': 'Connected','github.connections.status.suspended': 'Suspended',- 'github.connections.title': 'Connections','github.info.docsLink': 'Read the guide','github.info.enabledBy': 'Enabled by','github.info.notConfigured': 'Not configured on this deployment',@@ -57,7 +56,11 @@ export default {'github.pending.failed':'Could not connect the installation. Please try again from Connect account.','github.pending.title': 'Connect GitHub installation',- 'github.tagline': 'Sync pull requests, CI results and reviews with your agents',+ 'github.connectorPage.description':+ 'Connect your account to give agents GitHub tools. Install the app to sync pull requests, CI results and reviews.',+ 'github.repositoryAccess.description':+ 'Install the LobeHub app to sync pull request activity and use repositories in projects and environments.',+ 'github.repositoryAccess.title': 'Repository access','linear.connections.connect': 'Connect workspace','linear.connections.connectedAs': 'Connected as {{name}} · {{date}}','linear.connections.empty': 'No Linear workspace connected yet.',@@ -74,6 +77,8 @@ export default {'linear.disconnect.success': 'Linear disconnected','linear.disconnect.title': 'Disconnect Linear','linear.docsLink': 'Read the guide',+ 'linear.connectorPage.description':+ 'Connect your account to give agents Linear tools. Connect a workspace to import its issues into projects.','linear.installResult.error.access_denied': 'Authorization was cancelled on Linear.','linear.installResult.error.exchange_failed':'Linear did not accept the authorization. Please try connecting again.',@@ -212,15 +217,6 @@ export default {'linear.sync.viewerDisabled': 'Viewers cannot import issues into tasks','linear.sync.wizard.back': 'Back','linear.sync.wizard.next': 'Next',- 'linear.tagline': 'Connect your Linear workspace to LobeHub',- 'overview.all': 'All integrations',- 'overview.comingSoon': 'Coming soon',- 'overview.description': 'Connect the platforms you already use',- 'overview.enabled': 'Enabled',- 'overview.status.comingSoon': 'Coming soon',- 'overview.status.enabled': 'Enabled',- 'overview.status.notConnected': 'Not connected',- 'overview.title': 'Integrations','scmEvent.details': 'Details','scmEvent.failedChecks': '{{count}} checks failed','scmEvent.hideLog': 'Hide log',@@ -246,8 +242,4 @@ export default {'webhookEvent.defaultName': 'Webhook','webhookEvent.senderCaption': 'Webhook','webhookEvent.test': 'Test',- 'upcoming.cloudflare.tagline': 'Notify the agent when a Workers or Pages build fails',- 'upcoming.notion.tagline': 'Sync Notion documents automatically',- 'upcoming.railway.tagline': 'Notify the agent when a deploy fails or a service crashes',- 'upcoming.vercel.tagline': 'Wake the agent with the build log when a deployment fails',};diff --git a/packages/locales/src/default/setting.ts b/packages/locales/src/default/setting.tsindex c9004b1cbdd..6201a53cd88 100644--- a/packages/locales/src/default/setting.ts+++ b/packages/locales/src/default/setting.ts@@ -1877,8 +1877,6 @@ export default {'settingsSearch.tabKeywords.hotkey': 'hotkey, shortcut, keyboard','settingsSearch.tabKeywords.labels': 'labels, tags, grouping','settingsSearch.tabKeywords.labs': 'labs, experiment, beta, preview, developer',- 'settingsSearch.tabKeywords.integrations':- 'integrations, github, pull request, ci, review, merge, repository','settingsSearch.tabKeywords.memory': 'memory, memories, personalization','settingsSearch.tabKeywords.messenger':'messenger, chat platform, bot, telegram, slack, discord, wechat',@@ -2326,7 +2324,6 @@ When I am ___, I need ___'tab.llm': 'Language Model','tab.manualFill': 'Manually Fill In','tab.manualFill.desc': 'Configure a custom MCP skill manually',- 'tab.integrations': 'Integrations','tab.memory': 'Memory','tab.messenger': 'Messenger','tab.notification': 'Notifications',diff --git a/scripts/stylexMigration/legacyFiles.json b/scripts/stylexMigration/legacyFiles.jsonindex 142c0f57ea7..b8a0233f5b4 100644--- a/scripts/stylexMigration/legacyFiles.json+++ b/scripts/stylexMigration/legacyFiles.json@@ -370,12 +370,7 @@"src/features/HotkeyHelperPanel/HotkeyContent.tsx","src/features/Integrations/Github/Automation.tsx","src/features/Integrations/Github/Connections.tsx",- "src/features/Integrations/Github/index.tsx",- "src/features/Integrations/IntegrationCard.tsx",- "src/features/Integrations/Layout.tsx","src/features/Integrations/Linear/Connections.tsx",- "src/features/Integrations/Linear/index.tsx",- "src/features/Integrations/Overview.tsx","src/features/LibraryModal/AssignKnowledgeBase/Item/MasonryItem.tsx","src/features/LibraryModal/AssignKnowledgeBase/Item/index.tsx","src/features/LibraryModal/AssignKnowledgeBase/ViewSwitcher.tsx",diff --git a/src/components/Skeleton/Settings/tabs/Integrations.tsx b/src/components/Skeleton/Settings/tabs/Integrations.tsxdeleted file mode 100644index 813a2b40427..00000000000--- a/src/components/Skeleton/Settings/tabs/Integrations.tsx+++ /dev/null@@ -1,38 +0,0 @@-'use client';--import { Flexbox, Text } from '@lobehub/ui';-import { useTranslation } from 'react-i18next';--import {- IntegrationDetailSkeleton,- IntegrationsOverviewSkeleton,-} from '@/features/Integrations/Skeleton';--import SkeletonBar from '../../Bar';-import type { SettingsTabSkeleton, SettingsTabSkeletonProps } from './types';--/**- * The directory: the intro line (static copy) above the overview, 20px apart —- * the page body under the shared header, filling the settings column.- * An integration page (`:sub`) draws its own hero instead of the intro.- */-const Body = ({ sub }: SettingsTabSkeletonProps) => {- const { t, ready } = useTranslation('integration');-- if (sub) return <IntegrationDetailSkeleton />;-- return (- <Flexbox gap={20}>- {ready ? (- <Text type={'secondary'}>{t('overview.description')}</Text>- ) : (- <SkeletonBar height={14} width={360} />- )}- <IntegrationsOverviewSkeleton />- </Flexbox>- );-};--const IntegrationsSkeleton: SettingsTabSkeleton = { Body };--export default IntegrationsSkeleton;diff --git a/src/components/Skeleton/Settings/tabs/index.ts b/src/components/Skeleton/Settings/tabs/index.tsindex 29e2af0f1ee..2ab4e66712c 100644--- a/src/components/Skeleton/Settings/tabs/index.ts+++ b/src/components/Skeleton/Settings/tabs/index.ts@@ -11,7 +11,6 @@ import CredsSkeleton from './Creds';import DevicesSkeleton from './Devices';import EnvironmentsSkeleton from './Environments';import HotkeySkeleton from './Hotkey';-import IntegrationsSkeleton from './Integrations';import LabelsSkeleton from './Labels';import LabsSkeleton from './Labs';import MemorySkeleton from './Memory';@@ -50,7 +49,6 @@ export const SETTINGS_TAB_SKELETONS: Partial<Record<SettingsTabs, SettingsTabSke[SettingsTabs.Devices]: DevicesSkeleton,[SettingsTabs.Environments]: EnvironmentsSkeleton,[SettingsTabs.Hotkey]: HotkeySkeleton,- [SettingsTabs.Integrations]: IntegrationsSkeleton,[SettingsTabs.Labels]: LabelsSkeleton,[SettingsTabs.Labs]: LabsSkeleton,[SettingsTabs.Memory]: MemorySkeleton,diff --git a/src/features/EnvironmentManager/CreateEnvironmentModal.tsx b/src/features/EnvironmentManager/CreateEnvironmentModal.tsxindex b755de675fe..19f7c5cfcaf 100644--- a/src/features/EnvironmentManager/CreateEnvironmentModal.tsx+++ b/src/features/EnvironmentManager/CreateEnvironmentModal.tsx@@ -16,7 +16,7 @@ import { t as translate } from 'i18next';import { memo, useState } from 'react';import { useTranslation } from 'react-i18next';-import { GITHUB_RETURN_TO } from '@/features/Integrations/Github/installHref';+import { buildConnectorPagePath } from '@/features/Integrations/connectorPage';import { parseGithubRepository } from '@/features/Projects/CreateFromGithub/githubRepository';import RepositoryField, {AdvancedRepositories,@@ -62,7 +62,7 @@ const CreateEnvironmentContent = memo<CreateEnvironmentContentProps>(const navigate = useWorkspaceAwareNavigate();const connectGithub = () => {close();- navigate(GITHUB_RETURN_TO);+ navigate(buildConnectorPagePath('github'));};const [creating, setCreating] = useState(false);// The Enter that confirms an IME candidate reaches `keydown` as an Enter,diff --git a/src/features/EnvironmentManager/GithubRepositoryPicker.tsx b/src/features/EnvironmentManager/GithubRepositoryPicker.tsxindex eff4127697a..f9c9c4333f2 100644--- a/src/features/EnvironmentManager/GithubRepositoryPicker.tsx+++ b/src/features/EnvironmentManager/GithubRepositoryPicker.tsx@@ -6,7 +6,7 @@ import { ArrowRightIcon, LockIcon } from 'lucide-react';import { memo, useMemo, useState } from 'react';import { useTranslation } from 'react-i18next';-import { GITHUB_RETURN_TO } from '@/features/Integrations/Github/installHref';+import { buildConnectorPagePath } from '@/features/Integrations/connectorPage';import { useWorkspaceAwareNavigate } from '@/features/Workspace/useWorkspaceAwareNavigate';import { densityVars } from '@/styles/densityVars';@@ -107,7 +107,7 @@ const GithubRepositoryPicker = memo<GithubRepositoryPickerProps>(({ onChange, onconst connectGithub = () => {onLeave?.();- navigate(GITHUB_RETURN_TO);+ navigate(buildConnectorPagePath('github'));};const { data, isLoading, isValidating, retry, state } = useGithubRepositories();diff --git a/src/features/Integrations/ConnectorGate.tsx b/src/features/Integrations/ConnectorGate.tsxnew file mode 100644index 00000000000..f98bc68eba7--- /dev/null+++ b/src/features/Integrations/ConnectorGate.tsx@@ -0,0 +1,80 @@+'use client';++import { Flexbox } from '@lobehub/ui';+import * as stylex from '@stylexjs/stylex';+import { memo, type ReactNode } from 'react';+import { useTranslation } from 'react-i18next';++import AsyncError from '@/components/AsyncError';+import LobehubSkillItem from '@/features/Settings/skill/features/LobehubSkillItem';+import { SkillListVariantProvider } from '@/features/Settings/skill/features/SkillListRow';+import { densityTokens } from '@/styles/density.stylex';++import type { ConnectorPageId } from './connectorPage';+import ConnectorPageContent from './ConnectorPageContent';+import { resolveConnectorPageView } from './connectorPageView';+import { IntegrationConnectionsSkeleton } from './Skeleton';+import { useConnectorConnection } from './useConnectorConnection';++const styles = stylex.create({+ page: {+ height: '100%',+ minHeight: 0,+ overflowY: 'auto',+ paddingBlockEnd: '24px',+ paddingBlockStart: '8px',+ paddingInline: densityTokens['--lobe-density-card-padding'],+ },+});++const noop = () => {};++interface ConnectorGateProps {+ children: ReactNode;+ identifier: ConnectorPageId;+}++/**+ * A connector page. A connected account gets the regular connector detail+ * (`children`). Without one the page still has a job: the integration is a+ * separate authorization, so it stays here under the connect row.+ */+const ConnectorGate = memo<ConnectorGateProps>(({ children, identifier }) => {+ const { t } = useTranslation('integration');+ const { available, connected, error, isInitialLoading, provider, retry, server } =+ useConnectorConnection(identifier);+ const view = resolveConnectorPageView({+ available,+ error,+ hasProvider: !!provider,+ hasServer: !!server,+ isInitialLoading,+ });++ if (view === 'ready' && connected) return children;++ return (+ <div {...stylex.props(styles.page)}>+ <Flexbox gap={24}>+ {view === 'loading' && <IntegrationConnectionsSkeleton />}+ {view === 'error' && <AsyncError error={error} variant={'block'} onRetry={retry} />}+ {view === 'ready' && provider && (+ <SkillListVariantProvider value={'page'}>+ <LobehubSkillItem+ showConnectLabel+ provider={provider}+ server={server}+ summary={t(`${identifier}.connectorPage.description`)}+ onSelect={noop}+ />+ </SkillListVariantProvider>+ )}+ <ConnectorPageContent identifier={identifier} />+ </Flexbox>+ </div>+ );+});++ConnectorGate.displayName = 'ConnectorGate';++export default ConnectorGate;diff --git a/src/features/Integrations/ConnectorPageContent.tsx b/src/features/Integrations/ConnectorPageContent.tsxnew file mode 100644index 00000000000..ff58c0f60d2--- /dev/null+++ b/src/features/Integrations/ConnectorPageContent.tsx@@ -0,0 +1,58 @@+'use client';++import { Flexbox, Icon, Text } from '@lobehub/ui';+import { cssVar } from '@lobehub/ui/stylex/cssVar.stylex';+import * as stylex from '@stylexjs/stylex';+import { BookOpenIcon } from 'lucide-react';+import { type ComponentType, memo } from 'react';+import { useTranslation } from 'react-i18next';++import type { ConnectorPageId } from './connectorPage';+import RepositoryAccess from './Github/RepositoryAccess';+import WorkspaceAccess from './Linear/WorkspaceAccess';++const styles = stylex.create({+ docs: {+ alignItems: 'center',+ alignSelf: 'flex-start',+ color: { 'default': cssVar.colorTextSecondary, ':hover': cssVar.colorText },+ display: 'inline-flex',+ gap: '6px',+ },+});++const CONTENT: Record<+ ConnectorPageId,+ { Access: ComponentType; docsLabel: 'github.info.docsLink' | 'linear.docsLink'; docsUrl: string }+> = {+ github: {+ Access: RepositoryAccess,+ docsLabel: 'github.info.docsLink',+ docsUrl: 'https://lobehub.com/docs/usage/integrations/github',+ },+ linear: {+ Access: WorkspaceAccess,+ docsLabel: 'linear.docsLink',+ docsUrl: 'https://lobehub.com/docs/usage/integrations/linear',+ },+};++/** The integration half of a connector page, and its guide. */+const ConnectorPageContent = memo<{ identifier: ConnectorPageId }>(({ identifier }) => {+ const { t } = useTranslation('integration');+ const { Access, docsLabel, docsUrl } = CONTENT[identifier];++ return (+ <Flexbox gap={16}>+ <Access />+ <a href={docsUrl} rel="noreferrer" target="_blank" {...stylex.props(styles.docs)}>+ <Icon icon={BookOpenIcon} size="small" />+ <Text style={{ color: 'inherit', fontSize: 13 }}>{t(docsLabel)}</Text>+ </a>+ </Flexbox>+ );+});++ConnectorPageContent.displayName = 'ConnectorPageContent';++export default ConnectorPageContent;diff --git a/src/features/Integrations/Github/Connections.tsx b/src/features/Integrations/Github/Connections.tsxindex 8230fc55b49..6758254d317 100644--- a/src/features/Integrations/Github/Connections.tsx+++ b/src/features/Integrations/Github/Connections.tsx@@ -105,9 +105,14 @@ const Connections = memo<ConnectionsProps>(return (<Flexbox gap={10}><Flexbox horizontal align="center" gap={16} justify="space-between">- <Text strong style={{ fontSize: 16 }}>- {t('github.connections.title')}- </Text>+ <Flexbox gap={2} style={{ minWidth: 0 }}>+ <Text strong style={{ fontSize: 16 }}>+ {t('github.repositoryAccess.title')}+ </Text>+ <Text style={{ fontSize: 13 }} type="secondary">+ {t('github.repositoryAccess.description')}+ </Text>+ </Flexbox><Tooltip title={blockedReason}><span><Buttondiff --git a/src/features/Integrations/Github/RepositoryAccess.tsx b/src/features/Integrations/Github/RepositoryAccess.tsxnew file mode 100644index 00000000000..d1bcc109363--- /dev/null+++ b/src/features/Integrations/Github/RepositoryAccess.tsx@@ -0,0 +1,113 @@+'use client';++import { Avatar, Block, Flexbox, Text } from '@lobehub/ui';+import { cssVar } from '@lobehub/ui/stylex/cssVar.stylex';+import * as stylex from '@stylexjs/stylex';+import { memo } from 'react';+import { useTranslation } from 'react-i18next';++import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';+import { useActiveWorkspaceSlug } from '@/business/client/hooks/useActiveWorkspaceSlug';+import AsyncError from '@/components/AsyncError';+import { useAppOrigin } from '@/hooks/useAppOrigin';+import { usePermission } from '@/hooks/usePermission';+import { densityTokens } from '@/styles/density.stylex';++import { IntegrationConnectionsSkeleton } from '../Skeleton';+import { useGithubIntegration } from '../useGithubIntegration';+import Automation from './Automation';+import Connections from './Connections';+import { buildGithubInstallHref } from './installHref';+import { useGithubInstallResult } from './useGithubInstallResult';++const styles = stylex.create({+ infoBar: {+ borderRadius: cssVar.borderRadiusLG,+ paddingBlock: '10px',+ paddingInline: densityTokens['--lobe-density-card-padding'],+ },+ infoLabel: {+ color: cssVar.colorTextTertiary,+ fontSize: '11px',+ fontWeight: 500,+ },+});++/**+ * The GitHub App half of the GitHub connector page: who installed it, on which+ * accounts, and what LobeHub does with the events. A failed lookup costs only+ * this block, never the account connection beside it.+ */+const RepositoryAccess = memo(() => {+ const { t } = useTranslation('integration');+ const appOrigin = useAppOrigin();+ const workspaceSlug = useActiveWorkspaceSlug();+ const workspaceId = useActiveWorkspaceId();+ const scope = workspaceSlug ? 'workspace' : 'personal';+ // The server only lets members and up bind or remove a workspace connection.+ const { allowed: canWrite, reason: blockedReason } = usePermission('create_content');+ const data = useGithubIntegration();+ useGithubInstallResult(data.mutate);++ if (data.error && data.isInitialLoading)+ return <AsyncError error={data.error} variant={'block'} onRetry={data.mutate} />;++ const { config, identity, installations } = data;+ const installHref =+ canWrite && config?.enabled && config.installPath+ ? buildGithubInstallHref(config.installPath, { appOrigin, workspaceId, workspaceSlug })+ : undefined;+ const first = installations.at(-1);++ return (+ <Flexbox gap={24}>+ {scope === 'workspace' && !data.isInitialLoading ? (+ <Block {...stylex.props(styles.infoBar)} variant={'filled'}>+ <Flexbox horizontal align="center" gap={32} wrap="wrap">+ {first ? (+ <Flexbox horizontal align="center" gap={10}>+ <Avatar+ avatar={identity?.avatarUrl ?? first.metadata.accountAvatarUrl ?? undefined}+ size={24}+ title={first.installedByExternalLogin ?? first.accountLogin}+ />+ <Flexbox gap={1}>+ <span {...stylex.props(styles.infoLabel)}>{t('github.info.enabledBy')}</span>+ <Text style={{ fontSize: 13 }}>+ {first.installedByExternalLogin ?? first.accountLogin} ·{' '}+ {new Date(first.createdAt).toLocaleDateString()}+ </Text>+ </Flexbox>+ </Flexbox>+ ) : (+ <Flexbox gap={1}>+ <span {...stylex.props(styles.infoLabel)}>{t('github.info.status')}</span>+ <Text style={{ fontSize: 13 }}>+ {config?.enabled ? t('github.info.notConnected') : t('github.info.notConfigured')}+ </Text>+ </Flexbox>+ )}+ </Flexbox>+ </Block>+ ) : null}++ {data.isInitialLoading ? (+ <IntegrationConnectionsSkeleton title={t('github.repositoryAccess.title')} />+ ) : (+ <Connections+ blockedReason={blockedReason}+ configured={!!config?.enabled}+ installHref={installHref}+ installations={installations}+ scope={scope}+ />+ )}++ <Automation />+ </Flexbox>+ );+});++RepositoryAccess.displayName = 'GithubRepositoryAccess';++export default RepositoryAccess;diff --git a/src/features/Integrations/Github/definition.ts b/src/features/Integrations/Github/definition.tsdeleted file mode 100644index e2c3707dd48..00000000000--- a/src/features/Integrations/Github/definition.ts+++ /dev/null@@ -1,12 +0,0 @@-import { Github } from '@lobehub/icons';--import { type IntegrationDefinition, registerIntegration } from '../registry';--export const GITHUB_INTEGRATION: IntegrationDefinition = {- docsUrl: 'https://lobehub.com/docs/usage/integrations/github',- icon: Github,- id: 'github',- name: 'GitHub',-};--registerIntegration(GITHUB_INTEGRATION);diff --git a/src/features/Integrations/Github/index.tsx b/src/features/Integrations/Github/index.tsxdeleted file mode 100644index dd4b58b18e0..00000000000--- a/src/features/Integrations/Github/index.tsx+++ /dev/null@@ -1,245 +0,0 @@-'use client';--import {- Avatar,- Block,- confirmModal,- createStaticStyles,- Flexbox,- Icon,- Text,- toast,-} from '@lobehub/ui';-import { ArrowLeftIcon, BookOpenIcon } from 'lucide-react';-import { memo, useEffect } from 'react';-import { useTranslation } from 'react-i18next';--import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';-import { useActiveWorkspaceSlug } from '@/business/client/hooks/useActiveWorkspaceSlug';-import AsyncError from '@/components/AsyncError';-import { useAppOrigin } from '@/hooks/useAppOrigin';-import { usePermission } from '@/hooks/usePermission';-import { scmService } from '@/services/scm';-import { densityVars } from '@/styles/densityVars';--import { IntegrationConnectionsSkeleton } from '../Skeleton';-import { useGithubIntegration } from '../useGithubIntegration';-import Automation from './Automation';-import Connections from './Connections';-import { GITHUB_INTEGRATION } from './definition';-import { buildGithubInstallHref } from './installHref';--const styles = createStaticStyles(({ css, cssVar }) => ({- back: css`- cursor: pointer;-- display: inline-flex;- gap: 6px;- align-items: center;-- color: ${cssVar.colorTextSecondary};-- &:hover {- color: ${cssVar.colorText};- }- `,- docs: css`- display: inline-flex;- gap: 6px;- align-items: center;- color: ${cssVar.colorTextSecondary};-- &:hover {- color: ${cssVar.colorText};- }- `,- hero: css`- display: flex;- flex: none;- align-items: center;- justify-content: center;-- width: 56px;- height: 56px;- border-radius: ${cssVar.borderRadiusLG};-- color: ${cssVar.colorText};-- background: ${cssVar.colorFillTertiary};- `,- infoBar: css`- padding-block: 10px;- padding-inline: ${densityVars.cardPadding};- border-radius: ${cssVar.borderRadiusLG};- `,- infoLabel: css`- font-size: 11px;- font-weight: 500;- color: ${cssVar.colorTextTertiary};- `,-}));--const KNOWN_ERRORS = new Set([- 'exchange_failed',- 'identity_taken',- 'installation_fetch_failed',- 'missing_installation',- 'workspace_forbidden',-]);--interface GithubIntegrationProps {- onBack: () => void;-}--/**- * The GitHub integration page: what it does, the connected accounts and the- * automation switches. In a workspace an info bar also says who enabled it.- * Connecting hands off to the server route that owns the GitHub handshake;- * GitHub sends the user back here with the outcome in the query.- */-const GithubIntegration = memo<GithubIntegrationProps>(({ onBack }) => {- const { t, ready } = useTranslation('integration');- const appOrigin = useAppOrigin();- const workspaceSlug = useActiveWorkspaceSlug();- const workspaceId = useActiveWorkspaceId();- const scope = workspaceSlug ? 'workspace' : 'personal';- // The server only lets members and up bind or remove a workspace connection.- const { allowed: canWrite, reason: blockedReason } = usePermission('create_content');- const data = useGithubIntegration();-- useEffect(() => {- if (typeof window === 'undefined' || !ready) return;- const url = new URL(window.location.href);- const installed = url.searchParams.get('installed');- const error = url.searchParams.get('error');- const account = url.searchParams.get('account');- const pending = url.searchParams.get('pending');- if (!installed && !error && !pending) return;-- if (installed === 'ok') toast.success(t('github.installResult.success', { account }));- else if (installed === 'updated') toast.success(t('github.installResult.updated'));- else if (error && KNOWN_ERRORS.has(error)) {- toast.error(t(`github.installResult.error.${error}` as any));- } else if (error) toast.error(t('github.installResult.error.unknown', { code: error }));-- // An installation that reached the callback without our state (started- // on github.com) is not bound until the user confirms it here. `pending`- // is the single-use claim that callback minted, not an installation id;- // the server only issues one for an installation this user does not- // already have, so a connected account never reaches this dialog.- if (pending) {- confirmModal({- cancelText: t('cancel', { ns: 'common' }),- content: t('github.pending.content', { account: account ?? '' }),- okText: t('github.pending.confirm'),- onOk: async () => {- try {- const bound = await scmService.connectInstallation({ claim: pending });- toast.success(t('github.installResult.success', { account: bound.accountLogin }));- data.mutate();- } catch {- toast.error(t('github.pending.failed'));- }- },- title: t('github.pending.title'),- });- }-- for (const key of ['installed', 'error', 'account', 'pending']) url.searchParams.delete(key);- window.history.replaceState({}, '', url.pathname + (url.search ? `?${url.searchParams}` : ''));- // eslint-disable-next-line react-hooks/exhaustive-deps- }, [t, ready]);-- if (data.error && data.isInitialLoading) {- return <AsyncError error={data.error} variant={'block'} onRetry={data.mutate} />;- }-- const { config, identity, installations } = data;- const installHref =- canWrite && config?.enabled && config.installPath- ? buildGithubInstallHref(config.installPath, { appOrigin, workspaceId, workspaceSlug })- : undefined;-- const first = installations.at(-1);- const BrandIcon = GITHUB_INTEGRATION.icon;-- return (- <Flexbox gap={24}>- <span className={styles.back} onClick={onBack}>- <Icon icon={ArrowLeftIcon} size="small" />- <Text type="secondary">{t('overview.title')}</Text>- </span>-- <Flexbox horizontal align="center" gap={16}>- <span className={styles.hero}>- <BrandIcon size={32} />- </span>- <Flexbox flex={1} gap={2} style={{ minWidth: 0 }}>- <Text strong style={{ fontSize: 20 }}>- {GITHUB_INTEGRATION.name}- </Text>- <Text type="secondary">{t('github.tagline')}</Text>- </Flexbox>- <a- className={styles.docs}- href={GITHUB_INTEGRATION.docsUrl}- rel="noreferrer"- target="_blank"- >- <Icon icon={BookOpenIcon} size="small" />- <Text style={{ fontSize: 13 }} type="secondary">- {t('github.info.docsLink')}- </Text>- </a>- </Flexbox>-- {scope === 'workspace' && !data.isInitialLoading ? (- <Block className={styles.infoBar} variant={'filled'}>- <Flexbox horizontal align="center" gap={32} wrap="wrap">- {first ? (- <Flexbox horizontal align="center" gap={10}>- <Avatar- avatar={identity?.avatarUrl ?? first.metadata.accountAvatarUrl ?? undefined}- size={24}- title={first.installedByExternalLogin ?? first.accountLogin}- />- <Flexbox gap={1}>- <span className={styles.infoLabel}>{t('github.info.enabledBy')}</span>- <Text style={{ fontSize: 13 }}>- {first.installedByExternalLogin ?? first.accountLogin} ·{' '}- {new Date(first.createdAt).toLocaleDateString()}- </Text>- </Flexbox>- </Flexbox>- ) : (- <Flexbox gap={1}>- <span className={styles.infoLabel}>{t('github.info.status')}</span>- <Text style={{ fontSize: 13 }}>- {config?.enabled ? t('github.info.notConnected') : t('github.info.notConfigured')}- </Text>- </Flexbox>- )}- </Flexbox>- </Block>- ) : null}-- {data.isInitialLoading ? (- <IntegrationConnectionsSkeleton title={t('github.connections.title')} />- ) : (- <Connections- blockedReason={blockedReason}- configured={!!config?.enabled}- installHref={installHref}- installations={installations}- scope={scope}- />- )}-- <Automation />- </Flexbox>- );-});--GithubIntegration.displayName = 'GithubIntegration';--export default GithubIntegration;diff --git a/src/features/Integrations/Github/installHref.ts b/src/features/Integrations/Github/installHref.tsindex 29c1f5cae0d..f9a7b67a7f9 100644--- a/src/features/Integrations/Github/installHref.ts+++ b/src/features/Integrations/Github/installHref.ts@@ -2,7 +2,7 @@ import urlJoin from 'url-join';import { integrationInstallOrigin } from '@/utils/integrationInstallOrigin';-/** Where the install callback sends the user back to. */+/** Where the install callback returns; the route forwards it to the connector page. */export const GITHUB_RETURN_TO = '/settings/integrations/github';interface GithubInstallHrefParams {diff --git a/src/features/Integrations/Github/useGithubInstallResult.ts b/src/features/Integrations/Github/useGithubInstallResult.tsnew file mode 100644index 00000000000..5a6424662ce--- /dev/null+++ b/src/features/Integrations/Github/useGithubInstallResult.ts@@ -0,0 +1,50 @@+import { confirmModal, toast } from '@lobehub/ui';+import { useTranslation } from 'react-i18next';++import { scmService } from '@/services/scm';++import { useInstallResult } from '../useInstallResult';++const KNOWN_ERRORS = new Set([+ 'exchange_failed',+ 'identity_taken',+ 'installation_fetch_failed',+ 'missing_installation',+ 'workspace_forbidden',+]);++/** Reports what the GitHub App install callback put in the query. */+export const useGithubInstallResult = (onBound: () => void) => {+ const { t, ready } = useTranslation('integration');++ useInstallResult(ready, ({ account, error, installed, pending }) => {+ if (installed === 'ok') toast.success(t('github.installResult.success', { account }));+ else if (installed === 'updated') toast.success(t('github.installResult.updated'));+ else if (error && KNOWN_ERRORS.has(error)) {+ toast.error(t(`github.installResult.error.${error}` as any));+ } else if (error) toast.error(t('github.installResult.error.unknown', { code: error }));++ // An installation that reached the callback without our state (started+ // on github.com) is not bound until the user confirms it here. `pending`+ // is the single-use claim that callback minted, not an installation id;+ // the server only issues one for an installation this user does not+ // already have, so a connected account never reaches this dialog.+ if (pending) {+ confirmModal({+ cancelText: t('cancel', { ns: 'common' }),+ content: t('github.pending.content', { account: account ?? '' }),+ okText: t('github.pending.confirm'),+ onOk: async () => {+ try {+ const bound = await scmService.connectInstallation({ claim: pending });+ toast.success(t('github.installResult.success', { account: bound.accountLogin }));+ onBound();+ } catch {+ toast.error(t('github.pending.failed'));+ }+ },+ title: t('github.pending.title'),+ });+ }+ });+};diff --git a/src/features/Integrations/IntegrationCard.tsx b/src/features/Integrations/IntegrationCard.tsxdeleted file mode 100644index 0bf3a5b87e4..00000000000--- a/src/features/Integrations/IntegrationCard.tsx+++ /dev/null@@ -1,158 +0,0 @@-'use client';--import { Block, createStaticStyles, cx, Flexbox, Text } from '@lobehub/ui';-import { type KeyboardEvent, memo } from 'react';-import { useTranslation } from 'react-i18next';--import { densityVars } from '@/styles/densityVars';--import type { IntegrationDefinition, UpcomingIntegration } from './registry';--const styles = createStaticStyles(({ css, cssVar }) => ({- card: css`- padding-block: 14px;- padding-inline: ${densityVars.cardPadding};- border-radius: ${cssVar.borderRadiusLG};-- background: ${cssVar.colorFillQuaternary};-- transition:- background 0.2s ease,- border-color 0.2s ease;- `,- compact: css`- padding-block: ${densityVars.contentGap};- `,- dot: css`- display: inline-block;- flex: none;-- width: 6px;- height: 6px;- border-radius: 50%;-- background: ${cssVar.colorSuccess};- `,- icon: css`- display: flex;- flex: none;- align-items: center;- justify-content: center;-- width: 40px;- height: 40px;- border-radius: ${cssVar.borderRadius};-- color: ${cssVar.colorText};-- background: ${cssVar.colorFillTertiary};- `,- openable: css`- cursor: pointer;-- &:hover {- border-color: ${cssVar.colorBorder};- background: ${cssVar.colorFillSecondary};- }-- &:focus-visible {- outline: 2px solid ${cssVar.colorPrimaryBorderHover};- outline-offset: 2px;- }- `,- upcoming: css`- color: ${cssVar.colorTextTertiary};- background: ${cssVar.colorFillQuaternary};- `,- upcomingCard: css`- padding-block: 10px;- padding-inline: 14px;- `,-}));--type CardIntegration = IntegrationDefinition | UpcomingIntegration;--interface IntegrationCardProps {- /** Shorter card for the Enabled strip: name plus status, no description. */- compact?: boolean;- enabled?: boolean;- integration: CardIntegration;- /** Absent for an upcoming integration, which has no page to open. */- onOpen?: (id: IntegrationDefinition['id']) => void;- /** Roadmap hint: rendered muted, not openable, labelled "Coming soon". */- upcoming?: boolean;-}--const IntegrationCard = memo<IntegrationCardProps>(- ({ compact, enabled, integration, onOpen, upcoming }) => {- const { t } = useTranslation('integration');- const Icon = integration.icon;- const openable = !upcoming && !!onOpen;- const open = () => onOpen?.(integration.id as IntegrationDefinition['id']);-- const statusLabel = upcoming- ? t('overview.status.comingSoon')- : enabled- ? t('overview.status.enabled')- : t('overview.status.notConnected');-- const tagline = upcoming- ? t(`upcoming.${integration.id}.tagline` as any)- : t(`${integration.id}.tagline` as any);-- return (- <Block- role={openable ? 'button' : undefined}- // `role="button"` alone leaves the card unreachable: it has to take- // focus and answer Enter / Space the way a real button does.- tabIndex={openable ? 0 : undefined}- variant={'filled'}- className={cx(- styles.card,- compact && styles.compact,- upcoming && styles.upcomingCard,- openable && styles.openable,- )}- onClick={openable ? open : undefined}- onKeyDown={- openable- ? (event: KeyboardEvent<HTMLDivElement>) => {- if (event.key !== 'Enter' && event.key !== ' ') return;- event.preventDefault();- open();- }- : undefined- }- >- <Flexbox horizontal align="center" gap={14}>- <span- className={cx(styles.icon, upcoming && styles.upcoming)}- style={upcoming ? { height: 32, width: 32 } : undefined}- >- <Icon size={upcoming ? 18 : 24} />- </span>- <Flexbox flex={1} gap={2} style={{ minWidth: 0 }}>- <Text strong style={{ fontSize: 15 }} type={upcoming ? 'secondary' : undefined}>- {integration.name}- </Text>- {compact ? null : (- <Text style={{ fontSize: 13 }} type="secondary">- {tagline}- </Text>- )}- </Flexbox>- <Flexbox horizontal align="center" gap={6} style={{ flex: 'none' }}>- {enabled && !upcoming ? <span className={styles.dot} /> : null}- <Text style={{ fontSize: 13 }} type="secondary">- {statusLabel}- </Text>- </Flexbox>- </Flexbox>- </Block>- );- },-);--IntegrationCard.displayName = 'IntegrationCard';--export default IntegrationCard;diff --git a/src/features/Integrations/Layout.tsx b/src/features/Integrations/Layout.tsxdeleted file mode 100644index 212e86b73ec..00000000000--- a/src/features/Integrations/Layout.tsx+++ /dev/null@@ -1,20 +0,0 @@-'use client';--import { createStaticStyles } from '@lobehub/ui';-import { memo, type PropsWithChildren } from 'react';--const styles = createStaticStyles(({ css }) => ({- page: css`- overflow-y: auto;- flex: 1;- `,-}));--/** Fills the shared settings column, so switching tabs keeps the same content width. */-const IntegrationsLayout = memo<PropsWithChildren>(({ children }) => (- <div className={styles.page}>{children}</div>-));--IntegrationsLayout.displayName = 'IntegrationsLayout';--export default IntegrationsLayout;diff --git a/src/features/Integrations/Linear/WorkspaceAccess.tsx b/src/features/Integrations/Linear/WorkspaceAccess.tsxnew file mode 100644index 00000000000..154eb42055b--- /dev/null+++ b/src/features/Integrations/Linear/WorkspaceAccess.tsx@@ -0,0 +1,76 @@+'use client';++import { toast } from '@lobehub/ui';+import { memo } from 'react';+import { useTranslation } from 'react-i18next';++import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';+import { useActiveWorkspaceSlug } from '@/business/client/hooks/useActiveWorkspaceSlug';+import AsyncError from '@/components/AsyncError';+import { useAppOrigin } from '@/hooks/useAppOrigin';+import { usePermission } from '@/hooks/usePermission';++import { IntegrationConnectionsSkeleton } from '../Skeleton';+import { useInstallResult } from '../useInstallResult';+import { useLinearIntegration } from '../useLinearIntegration';+import Connections from './Connections';+import { buildLinearInstallHref } from './installHref';++const KNOWN_ERRORS = new Set([+ 'access_denied',+ 'exchange_failed',+ 'invalid_state',+ 'missing_code',+ 'save_failed',+ 'workspace_forbidden',+]);++/**+ * The connected Linear workspaces that projects import issues from. Connecting+ * hands off to the server route that owns the OAuth handshake; Linear sends the+ * user back with the outcome in the query.+ */+const WorkspaceAccess = memo(() => {+ const { t, ready } = useTranslation('integration');+ const appOrigin = useAppOrigin();+ const workspaceSlug = useActiveWorkspaceSlug();+ const workspaceId = useActiveWorkspaceId();+ const scope = workspaceSlug ? 'workspace' : 'personal';+ // The server only lets members and up bind or remove a workspace connection.+ const { allowed: canWrite, reason: blockedReason } = usePermission('create_content');+ const data = useLinearIntegration();++ useInstallResult(ready, ({ account, error, installed }) => {+ if (installed === 'ok') toast.success(t('linear.installResult.success', { account }));+ else if (error && KNOWN_ERRORS.has(error)) {+ toast.error(t(`linear.installResult.error.${error}` as any));+ } else if (error) toast.error(t('linear.installResult.error.unknown', { code: error }));+ });++ if (data.error && data.isInitialLoading)+ return <AsyncError error={data.error} variant={'block'} onRetry={data.mutate} />;++ if (data.isInitialLoading)+ return <IntegrationConnectionsSkeleton title={t('linear.connections.title')} />;++ const { config, connections } = data;+ const installHref =+ canWrite && config?.enabled && config.installPath+ ? buildLinearInstallHref(config.installPath, { appOrigin, workspaceId, workspaceSlug })+ : undefined;++ return (+ <Connections+ blockedReason={blockedReason}+ configured={!!config?.enabled}+ connections={connections}+ installHref={installHref}+ scope={scope}+ onChanged={data.mutate}+ />+ );+});++WorkspaceAccess.displayName = 'LinearWorkspaceAccess';++export default WorkspaceAccess;diff --git a/src/features/Integrations/Linear/definition.ts b/src/features/Integrations/Linear/definition.tsdeleted file mode 100644index 12f60fcb23b..00000000000--- a/src/features/Integrations/Linear/definition.ts+++ /dev/null@@ -1,11 +0,0 @@-import { type IntegrationDefinition, registerIntegration } from '../registry';-import LinearIcon from './LinearIcon';--export const LINEAR_INTEGRATION: IntegrationDefinition = {- docsUrl: 'https://lobehub.com/docs/usage/integrations/linear',- icon: LinearIcon,- id: 'linear',- name: 'Linear',-};--registerIntegration(LINEAR_INTEGRATION);diff --git a/src/features/Integrations/Linear/index.tsx b/src/features/Integrations/Linear/index.tsxdeleted file mode 100644index f9b38296328..00000000000--- a/src/features/Integrations/Linear/index.tsx+++ /dev/null@@ -1,164 +0,0 @@-'use client';--import { createStaticStyles, Flexbox, Icon, Text, toast } from '@lobehub/ui';-import { ArrowLeftIcon, BookOpenIcon } from 'lucide-react';-import { memo, useEffect } from 'react';-import { useTranslation } from 'react-i18next';--import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';-import { useActiveWorkspaceSlug } from '@/business/client/hooks/useActiveWorkspaceSlug';-import AsyncError from '@/components/AsyncError';-import { useAppOrigin } from '@/hooks/useAppOrigin';-import { usePermission } from '@/hooks/usePermission';--import { IntegrationConnectionsSkeleton } from '../Skeleton';-import { useLinearIntegration } from '../useLinearIntegration';-import Connections from './Connections';-import { LINEAR_INTEGRATION } from './definition';-import { buildLinearInstallHref } from './installHref';--const styles = createStaticStyles(({ css, cssVar }) => ({- back: css`- cursor: pointer;-- display: inline-flex;- gap: 6px;- align-items: center;-- color: ${cssVar.colorTextSecondary};-- &:hover {- color: ${cssVar.colorText};- }- `,- docs: css`- display: inline-flex;- gap: 6px;- align-items: center;- color: ${cssVar.colorTextSecondary};-- &:hover {- color: ${cssVar.colorText};- }- `,- hero: css`- display: flex;- flex: none;- align-items: center;- justify-content: center;-- width: 56px;- height: 56px;- border-radius: ${cssVar.borderRadiusLG};-- color: ${cssVar.colorText};-- background: ${cssVar.colorFillTertiary};- `,-}));--const KNOWN_ERRORS = new Set([- 'access_denied',- 'exchange_failed',- 'invalid_state',- 'missing_code',- 'save_failed',- 'workspace_forbidden',-]);--interface LinearIntegrationProps {- onBack: () => void;-}--/**- * The Linear integration page: the connected Linear workspaces. Connecting- * hands off to the server route that owns the OAuth handshake; Linear sends- * the user back here with the outcome in the query.- */-const LinearIntegration = memo<LinearIntegrationProps>(({ onBack }) => {- const { t, ready } = useTranslation('integration');- const appOrigin = useAppOrigin();- const workspaceSlug = useActiveWorkspaceSlug();- const workspaceId = useActiveWorkspaceId();- const scope = workspaceSlug ? 'workspace' : 'personal';- // The server only lets members and up bind or remove a workspace connection.- const { allowed: canWrite, reason: blockedReason } = usePermission('create_content');- const data = useLinearIntegration();-- useEffect(() => {- if (typeof window === 'undefined' || !ready) return;- const url = new URL(window.location.href);- const installed = url.searchParams.get('installed');- const error = url.searchParams.get('error');- const account = url.searchParams.get('account');- if (!installed && !error) return;-- if (installed === 'ok') toast.success(t('linear.installResult.success', { account }));- else if (error && KNOWN_ERRORS.has(error)) {- toast.error(t(`linear.installResult.error.${error}` as any));- } else if (error) toast.error(t('linear.installResult.error.unknown', { code: error }));-- for (const key of ['installed', 'error', 'account']) url.searchParams.delete(key);- window.history.replaceState({}, '', url.pathname + (url.search ? `?${url.searchParams}` : ''));- }, [t, ready]);-- if (data.error && data.isInitialLoading) {- return <AsyncError error={data.error} variant={'block'} onRetry={data.mutate} />;- }-- const { config, connections } = data;- const installHref =- canWrite && config?.enabled && config.installPath- ? buildLinearInstallHref(config.installPath, { appOrigin, workspaceId, workspaceSlug })- : undefined;- const BrandIcon = LINEAR_INTEGRATION.icon;-- return (- <Flexbox gap={24}>- <span className={styles.back} onClick={onBack}>- <Icon icon={ArrowLeftIcon} size="small" />- <Text type="secondary">{t('overview.title')}</Text>- </span>-- <Flexbox horizontal align="center" gap={16}>- <span className={styles.hero}>- <BrandIcon size={32} />- </span>- <Flexbox flex={1} gap={2} style={{ minWidth: 0 }}>- <Text strong style={{ fontSize: 20 }}>- {LINEAR_INTEGRATION.name}- </Text>- <Text type="secondary">{t('linear.tagline')}</Text>- </Flexbox>- <a- className={styles.docs}- href={LINEAR_INTEGRATION.docsUrl}- rel="noreferrer"- target="_blank"- >- <Icon icon={BookOpenIcon} size="small" />- <Text style={{ fontSize: 13 }} type="secondary">- {t('linear.docsLink')}- </Text>- </a>- </Flexbox>-- {data.isInitialLoading ? (- <IntegrationConnectionsSkeleton title={t('linear.connections.title')} />- ) : (- <Connections- blockedReason={blockedReason}- configured={!!config?.enabled}- connections={connections}- installHref={installHref}- scope={scope}- onChanged={data.mutate}- />- )}- </Flexbox>- );-});--LinearIntegration.displayName = 'LinearIntegration';--export default LinearIntegration;diff --git a/src/features/Integrations/Linear/installHref.ts b/src/features/Integrations/Linear/installHref.tsindex 118ebb3456e..73474a8518d 100644--- a/src/features/Integrations/Linear/installHref.ts+++ b/src/features/Integrations/Linear/installHref.ts@@ -2,7 +2,7 @@ import urlJoin from 'url-join';import { integrationInstallOrigin } from '@/utils/integrationInstallOrigin';-/** Where the OAuth callback sends the user back to. */+/** Where the OAuth callback returns; the route forwards it to the connector page. */export const LINEAR_RETURN_TO = '/settings/integrations/linear';interface LinearInstallHrefParams {diff --git a/src/features/Integrations/Overview.tsx b/src/features/Integrations/Overview.tsxdeleted file mode 100644index 0c4dfa101e3..00000000000--- a/src/features/Integrations/Overview.tsx+++ /dev/null@@ -1,117 +0,0 @@-'use client';--import { createStaticStyles, Flexbox } from '@lobehub/ui';-import { memo } from 'react';-import { useTranslation } from 'react-i18next';--import IntegrationCard from './IntegrationCard';-import { isDirectorySettling } from './loading';-import { type IntegrationId, INTEGRATIONS, UPCOMING_INTEGRATIONS } from './registry';-import { IntegrationsOverviewSkeleton } from './Skeleton';-import { useGithubIntegration } from './useGithubIntegration';-import { useLinearIntegration } from './useLinearIntegration';--const styles = createStaticStyles(({ css, cssVar }) => ({- list: css`- display: grid;- grid-template-columns: 1fr;- gap: 10px;- `,- sectionLabel: css`- font-size: 12px;- font-weight: 500;- color: ${cssVar.colorTextTertiary};- `,- strip: css`- display: grid;- grid-template-columns: repeat(3, 1fr);- gap: 10px;-- @media (width <= 720px) {- grid-template-columns: 1fr;- }- `,- upcoming: css`- display: grid;- grid-template-columns: repeat(2, 1fr);- gap: 8px;-- @media (width <= 720px) {- grid-template-columns: 1fr;- }- `,-}));--interface OverviewProps {- onOpen: (id: IntegrationId) => void;-}--/**- * The integrations directory: the integrations already connected in this- * scope, everything available, and what is on the roadmap. Connection state- * per integration comes from that integration's own hook so the list stays- * a static registry.- */-const Overview = memo<OverviewProps>(({ onOpen }) => {- const { t } = useTranslation('integration');- const github = useGithubIntegration();- const linear = useLinearIntegration();-- const enabledById: Record<IntegrationId, boolean> = {- github: github.enabled,- linear: linear.enabled,- };- const enabled = INTEGRATIONS.filter((item) => enabledById[item.id]);-- // Statuses and the Enabled strip depend on both connection lookups; swap the- // directory in once they settle instead of letting the strip pop in later.- if (isDirectorySettling([github, linear]))- return (- <IntegrationsOverviewSkeleton- available={INTEGRATIONS.length}- upcoming={UPCOMING_INTEGRATIONS.length}- />- );-- return (- <Flexbox gap={24}>- {enabled.length > 0 ? (- <Flexbox gap={10}>- <span className={styles.sectionLabel}>{t('overview.enabled')}</span>- <div className={styles.strip}>- {enabled.map((item) => (- <IntegrationCard compact enabled integration={item} key={item.id} onOpen={onOpen} />- ))}- </div>- </Flexbox>- ) : null}-- <Flexbox gap={10}>- <span className={styles.sectionLabel}>{t('overview.all')}</span>- <div className={styles.list}>- {INTEGRATIONS.map((item) => (- <IntegrationCard- enabled={enabledById[item.id]}- integration={item}- key={item.id}- onOpen={onOpen}- />- ))}- </div>- </Flexbox>-- <Flexbox gap={10}>- <span className={styles.sectionLabel}>{t('overview.comingSoon')}</span>- <div className={styles.upcoming}>- {UPCOMING_INTEGRATIONS.map((item) => (- <IntegrationCard upcoming integration={item} key={item.id} />- ))}- </div>- </Flexbox>- </Flexbox>- );-});--Overview.displayName = 'IntegrationsOverview';--export default Overview;diff --git a/src/features/Integrations/Skeleton.tsx b/src/features/Integrations/Skeleton.tsxindex 7cd2e8f88c8..9b5510c24be 100644--- a/src/features/Integrations/Skeleton.tsx+++ b/src/features/Integrations/Skeleton.tsx@@ -3,19 +3,11 @@import { Flexbox, Text } from '@lobehub/ui';import { cssVar } from '@lobehub/ui/stylex/cssVar.stylex';import * as stylex from '@stylexjs/stylex';-import { useTranslation } from 'react-i18next';import SkeletonBar from '@/components/Skeleton/Bar';import { densityTokens } from '@/styles/density.stylex';const styles = stylex.create({- // `IntegrationCard`: filled, 14px/16px padding, 40px icon tile.- card: {- paddingBlock: '14px',- paddingInline: densityTokens['--lobe-density-card-padding'],- borderRadius: cssVar.borderRadiusLG,- backgroundColor: cssVar.colorFillQuaternary,- },// `Connections` card: filled, rows 10px apart from its 2px inset.connections: {paddingBlock: '2px',@@ -23,30 +15,6 @@ const styles = stylex.create({borderRadius: cssVar.borderRadiusLG,backgroundColor: cssVar.colorFillQuaternary,},- list: {- display: 'grid',- gridTemplateColumns: '1fr',- gap: '10px',- },- sectionLabel: {- fontSize: '12px',- fontWeight: 500,- color: cssVar.colorTextTertiary,- },- upcoming: {- display: 'grid',- gridTemplateColumns: {- 'default': 'repeat(2, 1fr)',- '@media (width <= 720px)': '1fr',- },- gap: '8px',- },- upcomingCard: {- paddingBlock: '10px',- paddingInline: '14px',- borderRadius: cssVar.borderRadiusLG,- backgroundColor: cssVar.colorFillQuaternary,- },});const Line = ({ bar, height, width }: { bar: number; height: number; width: number | string }) => (@@ -55,75 +23,7 @@ const Line = ({ bar, height, width }: { bar: number; height: number; width: numb</Flexbox>);-/**- * The integrations directory until every integration's connection state has- * loaded: the "All" list and the "Coming soon" grid. Section labels are static- * copy; the Enabled strip only appears once a connection is known, so the- * directory swaps in once instead of statuses and the strip popping in apart.- */-export const IntegrationsOverviewSkeleton = ({- available = 2,- upcoming = 4,-}: {- available?: number;- upcoming?: number;-}) => {- const { t } = useTranslation('integration');-- return (- <Flexbox aria-busy data-testid={'integrations-overview-skeleton'} gap={24}>- <Flexbox gap={10}>- <span {...stylex.props(styles.sectionLabel)}>{t('overview.all')}</span>- <div {...stylex.props(styles.list)}>- {Array.from({ length: available }, (_, index) => (- <Flexbox- horizontal- align={'center'}- gap={14}- key={index}- {...stylex.props(styles.card)}- >- <SkeletonBar height={40} width={40} />- <Flexbox flex={1} gap={2} style={{ minWidth: 0 }}>- <Line bar={15} height={24} width={72 + (index % 2) * 16} />- <Line bar={12} height={22} width={'64%'} />- </Flexbox>- <Line bar={12} height={22} width={64} />- </Flexbox>- ))}- </div>- </Flexbox>- <Flexbox gap={10}>- <span {...stylex.props(styles.sectionLabel)}>{t('overview.comingSoon')}</span>- <div {...stylex.props(styles.upcoming)}>- {Array.from({ length: upcoming }, (_, index) => (- <Flexbox- horizontal- align={'center'}- gap={14}- key={index}- {...stylex.props(styles.upcomingCard)}- >- <SkeletonBar height={32} width={32} />- {/* Name over a one-line tagline, as `UpcomingCard` renders. */}- <Flexbox flex={1} style={{ minWidth: 0 }}>- <Line bar={14} height={24} width={64 + (index % 2) * 16} />- <Line bar={12} height={22} width={'72%'} />- </Flexbox>- <Line bar={12} height={22} width={56} />- </Flexbox>- ))}- </div>- </Flexbox>- </Flexbox>- );-};--/**- * An integration's Connections section while it loads: the title + small- * connect button row above one filled connection row (36px avatar, name and- * detail line, status).- */+/** A connection section before its lookup settles: heading, action and one row. */export const IntegrationConnectionsSkeleton = ({ title }: { title?: string }) => (<Flexbox aria-busy gap={10}><Flexbox horizontal align={'center'} gap={16} justify={'space-between'}>@@ -148,29 +48,3 @@ export const IntegrationConnectionsSkeleton = ({ title }: { title?: string }) =></div></Flexbox>);--/**- * `/settings/integrations/:id` before its chunk loads: the back link (static- * copy), the 56px hero with name + tagline, and the Connections section.- */-export const IntegrationDetailSkeleton = () => {- const { t } = useTranslation('integration');-- return (- <Flexbox aria-busy data-testid={'integration-detail-skeleton'} gap={24}>- <Flexbox horizontal align={'center'} gap={6}>- <SkeletonBar height={14} width={14} />- <Text type={'secondary'}>{t('overview.title')}</Text>- </Flexbox>- <Flexbox horizontal align={'center'} gap={16}>- <SkeletonBar height={56} radius={cssVar.borderRadiusLG} width={56} />- <Flexbox flex={1} gap={2}>- <Line bar={20} height={30} width={96} />- <Line bar={14} height={22} width={'56%'} />- </Flexbox>- <Line bar={13} height={22} width={88} />- </Flexbox>- <IntegrationConnectionsSkeleton />- </Flexbox>- );-};diff --git a/src/features/Integrations/connectorPage.test.ts b/src/features/Integrations/connectorPage.test.tsnew file mode 100644index 00000000000..6be550e8093--- /dev/null+++ b/src/features/Integrations/connectorPage.test.ts@@ -0,0 +1,64 @@+import { describe, expect, it } from 'vitest';++import { parseMobileSelection } from '@/features/Settings/skill/mobileSelection';++import {+ buildConnectorPagePath,+ buildLegacyIntegrationPath,+ hasConnectorPage,+} from './connectorPage';++const query = (path: string) => new URLSearchParams(path.split('?')[1]);++describe('buildConnectorPagePath', () => {+ it.each(['github', 'linear'] as const)('opens the %s connector in the Marketplace', (id) => {+ const path = buildConnectorPagePath(id);++ expect(path.startsWith('/marketplace/connector/installed?')).toBe(true);+ expect(parseMobileSelection(query(path).get('open'))).toEqual({+ identifier: id,+ type: 'lobehub-connector',+ });+ });++ it('carries the install result over', () => {+ const params = query(+ buildConnectorPagePath('github', '?installed=ok&account=octo&pending=claim-1'),+ );++ expect(params.get('installed')).toBe('ok');+ expect(params.get('account')).toBe('octo');+ expect(params.get('pending')).toBe('claim-1');+ });++ it('drops anything else in the old query', () => {+ const params = query(buildConnectorPagePath('linear', '?open=plugin:other&foo=1'));++ expect(params.get('foo')).toBeNull();+ expect(params.get('open')).toBe('lobehub-connector:linear');+ });+});++describe('buildLegacyIntegrationPath', () => {+ it('sends an integration page to its connector with the callback result', () => {+ const params = query(buildLegacyIntegrationPath('linear', '?error=access_denied'));++ expect(params.get('open')).toBe('lobehub-connector:linear');+ expect(params.get('error')).toBe('access_denied');+ });++ it('sends the directory and unknown pages to the installed connectors', () => {+ expect(buildLegacyIntegrationPath(undefined)).toBe('/marketplace/connector/installed');+ expect(buildLegacyIntegrationPath('vercel', '?installed=ok')).toBe(+ '/marketplace/connector/installed',+ );+ });+});++describe('hasConnectorPage', () => {+ it('matches only connectors with an integration behind them', () => {+ expect(hasConnectorPage('github')).toBe(true);+ expect(hasConnectorPage('linear')).toBe(true);+ expect(hasConnectorPage('notion')).toBe(false);+ });+});diff --git a/src/features/Integrations/connectorPage.ts b/src/features/Integrations/connectorPage.tsnew file mode 100644index 00000000000..5f5ea8b3c99--- /dev/null+++ b/src/features/Integrations/connectorPage.ts@@ -0,0 +1,42 @@+import { MARKETPLACE_INSTALLED_CONNECTORS_PATH } from '@/features/Marketplace/paths';+import {+ encodeMobileSelection,+ MOBILE_SELECTION_PARAM,+} from '@/features/Settings/skill/mobileSelection';++/**+ * Connectors whose Marketplace page also manages a LobeHub-owned integration+ * (the GitHub App, a Linear workspace), so the page has content before the+ * user's account is connected.+ */+export const CONNECTOR_PAGE_IDS = ['github', 'linear'] as const;++export type ConnectorPageId = (typeof CONNECTOR_PAGE_IDS)[number];++/** What an integration's install callback reports back in the query. */+export const INSTALL_RESULT_PARAMS = ['installed', 'error', 'account', 'pending'] as const;++export const hasConnectorPage = (identifier: string): identifier is ConnectorPageId =>+ (CONNECTOR_PAGE_IDS as readonly string[]).includes(identifier);++/** The connector's Marketplace page, carrying an install result over from `search`. */+export const buildConnectorPagePath = (identifier: ConnectorPageId, search = ''): string => {+ const source = new URLSearchParams(search);+ const params = new URLSearchParams({+ [MOBILE_SELECTION_PARAM]: encodeMobileSelection({ identifier, type: 'lobehub-connector' }),+ });+ for (const key of INSTALL_RESULT_PARAMS) {+ const value = source.get(key);+ if (value) params.set(key, value);+ }+ return `${MARKETPLACE_INSTALLED_CONNECTORS_PATH}?${params}`;+};++/**+ * Where a retired `/settings/integrations[/:sub]` URL goes. The install+ * callbacks still return to those paths, so their result must survive this.+ */+export const buildLegacyIntegrationPath = (sub: string | undefined, search = ''): string =>+ sub && hasConnectorPage(sub)+ ? buildConnectorPagePath(sub, search)+ : MARKETPLACE_INSTALLED_CONNECTORS_PATH;diff --git a/src/features/Integrations/connectorPageView.test.ts b/src/features/Integrations/connectorPageView.test.tsnew file mode 100644index 00000000000..535e647ad13--- /dev/null+++ b/src/features/Integrations/connectorPageView.test.ts@@ -0,0 +1,27 @@+import { describe, expect, it } from 'vitest';++import { resolveConnectorPageView } from './connectorPageView';++const ready = { available: true, hasProvider: true, hasServer: false, isInitialLoading: false };++describe('resolveConnectorPageView', () => {+ it('hides the account on a deployment without LobeHub connectors', () => {+ expect(resolveConnectorPageView({ ...ready, available: false })).toBe('hidden');+ expect(resolveConnectorPageView({ ...ready, hasProvider: false })).toBe('hidden');+ });++ it('shows loading before the first answer', () => {+ expect(resolveConnectorPageView({ ...ready, isInitialLoading: true })).toBe('loading');+ });++ it('offers a retry only when a failure leaves nothing to show', () => {+ expect(resolveConnectorPageView({ ...ready, error: new Error('down') })).toBe('error');+ expect(resolveConnectorPageView({ ...ready, error: new Error('down'), hasServer: true })).toBe(+ 'ready',+ );+ });++ it('shows the connect row when no connection exists yet', () => {+ expect(resolveConnectorPageView(ready)).toBe('ready');+ });+});diff --git a/src/features/Integrations/connectorPageView.ts b/src/features/Integrations/connectorPageView.tsnew file mode 100644index 00000000000..33c0f3ea51a--- /dev/null+++ b/src/features/Integrations/connectorPageView.ts@@ -0,0 +1,25 @@+interface ConnectorPageState {+ available: boolean;+ error?: unknown;+ hasProvider: boolean;+ hasServer: boolean;+ isInitialLoading: boolean;+}++export type ConnectorPageView = 'error' | 'hidden' | 'loading' | 'ready';++/**+ * What a connector page shows for the user's account. A failed refresh keeps a known connection+ * on screen; only a failure with nothing to show becomes the error state.+ */+export const resolveConnectorPageView = ({+ available,+ error,+ hasProvider,+ hasServer,+ isInitialLoading,+}: ConnectorPageState): ConnectorPageView => {+ if (!available || !hasProvider) return 'hidden';+ if (isInitialLoading) return 'loading';+ return error && !hasServer ? 'error' : 'ready';+};diff --git a/src/features/Integrations/index.tsx b/src/features/Integrations/index.tsxdeleted file mode 100644index f1a76039e53..00000000000--- a/src/features/Integrations/index.tsx+++ /dev/null@@ -1,51 +0,0 @@-'use client';--import './Github/definition';-import './Linear/definition';--import { memo, useEffect } from 'react';-import { useParams } from 'react-router';--import { useWorkspaceAwareNavigate } from '@/features/Workspace/useWorkspaceAwareNavigate';--import GithubIntegration from './Github';-import IntegrationsLayout from './Layout';-import LinearIntegration from './Linear';-import Overview from './Overview';-import { type IntegrationId, isIntegrationId } from './registry';--const BASE_PATH = '/settings/integrations';--/**- * Settings → Integrations. The bare path is the directory; a known- * sub-segment opens that integration's page, an unknown one is replaced by- * the directory so stale deep links degrade gracefully.- */-const IntegrationsSettings = memo(() => {- const navigate = useWorkspaceAwareNavigate();- const params = useParams<{ sub?: string }>();- const selected: IntegrationId | null = isIntegrationId(params.sub) ? params.sub : null;-- useEffect(() => {- if (params.sub && !selected) navigate(BASE_PATH, { replace: true });- }, [navigate, params.sub, selected]);-- const open = (id: IntegrationId) => navigate(`${BASE_PATH}/${id}`);- const back = () => navigate(BASE_PATH);-- return (- <IntegrationsLayout>- {selected === 'github' ? (- <GithubIntegration onBack={back} />- ) : selected === 'linear' ? (- <LinearIntegration onBack={back} />- ) : (- <Overview onOpen={open} />- )}- </IntegrationsLayout>- );-});--IntegrationsSettings.displayName = 'IntegrationsSettings';--export default IntegrationsSettings;diff --git a/src/features/Integrations/loading.test.ts b/src/features/Integrations/loading.test.tsdeleted file mode 100644index 2fc20c46687..00000000000--- a/src/features/Integrations/loading.test.ts+++ /dev/null@@ -1,26 +0,0 @@-import { describe, expect, it } from 'vitest';--import { isDirectorySettling } from './loading';--describe('isDirectorySettling', () => {- it('waits while any lookup is still loading', () => {- expect(isDirectorySettling([{ isInitialLoading: false }, { isInitialLoading: true }])).toBe(- true,- );- });-- it('settles once every lookup has data', () => {- expect(isDirectorySettling([{ isInitialLoading: false }, { isInitialLoading: false }])).toBe(- false,- );- });-- it('treats a failed lookup as settled so the directory still renders', () => {- expect(- isDirectorySettling([- { error: new Error('boom'), isInitialLoading: true },- { isInitialLoading: false },- ]),- ).toBe(false);- });-});diff --git a/src/features/Integrations/loading.ts b/src/features/Integrations/loading.tsdeleted file mode 100644index b794c7fbe85..00000000000--- a/src/features/Integrations/loading.ts+++ /dev/null@@ -1,12 +0,0 @@-interface ConnectionLookup {- error?: unknown;- isInitialLoading: boolean;-}--/**- * Whether the integrations directory should still show its skeleton. A failed- * lookup counts as settled (the integration reads as not enabled), so one- * integration's error never hides the whole directory behind the skeleton.- */-export const isDirectorySettling = (lookups: ConnectionLookup[]) =>- lookups.some((lookup) => lookup.isInitialLoading && !lookup.error);diff --git a/src/features/Integrations/registry.test.ts b/src/features/Integrations/registry.test.tsdeleted file mode 100644index ebdda33cdc6..00000000000--- a/src/features/Integrations/registry.test.ts+++ /dev/null@@ -1,28 +0,0 @@-import './Github/definition';-import './Linear/definition';--import { describe, expect, it } from 'vitest';--import { findIntegration, INTEGRATIONS, isIntegrationId, UPCOMING_INTEGRATIONS } from './registry';--describe('integrations registry', () => {- it('registers GitHub once, even when the definition module is evaluated again', async () => {- await import('./Github/definition');- expect(INTEGRATIONS.filter((item) => item.id === 'github')).toHaveLength(1);- });-- it('resolves ids used as settings sub-routes', () => {- expect(isIntegrationId('github')).toBe(true);- expect(isIntegrationId('slack')).toBe(false);- expect(isIntegrationId(undefined)).toBe(false);- expect(findIntegration('github')?.name).toBe('GitHub');- expect(isIntegrationId('linear')).toBe(true);- expect(findIntegration('linear')?.name).toBe('Linear');- });-- it('keeps upcoming integrations out of the routable set', () => {- for (const item of UPCOMING_INTEGRATIONS) {- expect(isIntegrationId(item.id)).toBe(false);- }- });-});diff --git a/src/features/Integrations/registry.ts b/src/features/Integrations/registry.tsdeleted file mode 100644index 94223ecf5bc..00000000000--- a/src/features/Integrations/registry.ts+++ /dev/null@@ -1,53 +0,0 @@-import { Cloudflare, Notion, Railway, Vercel } from '@lobehub/icons';-import type { ComponentType } from 'react';--/** Stable id of an integration; doubles as its settings sub-route (`/settings/integrations/<id>`). */-export type IntegrationId = 'github' | 'linear';--export interface IntegrationDefinition {- /** Documentation page for the integration. */- docsUrl: string;- /** Brand mark, rendered at the size the host passes. */- icon: ComponentType<{ size?: number; style?: React.CSSProperties }>;- id: IntegrationId;- /** Display name — brand names are not translated. */- name: string;-}--/**- * Every integration the settings page knows about, in display order. The- * page reads connection state per integration through its own hook; this- * list only says what exists and how to find it.- */-export const INTEGRATIONS: IntegrationDefinition[] = [];--export const registerIntegration = (definition: IntegrationDefinition) => {- if (!INTEGRATIONS.some((item) => item.id === definition.id)) INTEGRATIONS.push(definition);-};--export const findIntegration = (id: string | undefined): IntegrationDefinition | undefined =>- INTEGRATIONS.find((item) => item.id === id);--export const isIntegrationId = (value: string | undefined): value is IntegrationId =>- !!value && INTEGRATIONS.some((item) => item.id === value);--/**- * Integrations on the roadmap: shown in the directory as a hint, not- * openable. Chosen for the same reason GitHub came first — each is a- * platform that reports back on an agent's work (a failed deployment, a- * build error, a comment on a document) and can wake the agent with it.- */-export type UpcomingIntegrationId = 'cloudflare' | 'notion' | 'railway' | 'vercel';--export interface UpcomingIntegration {- icon: IntegrationDefinition['icon'];- id: UpcomingIntegrationId;- name: string;-}--export const UPCOMING_INTEGRATIONS: UpcomingIntegration[] = [- { icon: Vercel, id: 'vercel', name: 'Vercel' },- { icon: Railway, id: 'railway', name: 'Railway' },- { icon: Cloudflare, id: 'cloudflare', name: 'Cloudflare' },- { icon: Notion, id: 'notion', name: 'Notion' },-];diff --git a/src/features/Integrations/useConnectorConnection.ts b/src/features/Integrations/useConnectorConnection.tsnew file mode 100644index 00000000000..a61cec694f8--- /dev/null+++ b/src/features/Integrations/useConnectorConnection.ts@@ -0,0 +1,31 @@+import { getLobehubSkillProviderById } from '@lobechat/const';++import { serverConfigSelectors, useServerConfigStore } from '@/store/serverConfig';+import { useToolStore } from '@/store/tool';+import { lobehubSkillStoreSelectors } from '@/store/tool/selectors';+import { LobehubSkillStatus } from '@/store/tool/slices/lobehubSkillStore/types';++import type { ConnectorPageId } from './connectorPage';++/**+ * The user's own connector account on a connector page. It is a separate+ * authorization from the integration on the same page: this one lets agents+ * call the provider's tools. `available` is false on a deployment without+ * LobeHub connectors, where only the integration half applies.+ */+export const useConnectorConnection = (identifier: ConnectorPageId) => {+ const available = useServerConfigStore(serverConfigSelectors.enableLobehubSkill);+ const useFetchConnections = useToolStore((s) => s.useFetchLobehubSkillConnections);+ const { error, isLoading, mutate } = useFetchConnections(available);+ const server = useToolStore(lobehubSkillStoreSelectors.getServerByIdentifier(identifier));++ return {+ available,+ connected: available && server?.status === LobehubSkillStatus.CONNECTED,+ error: available ? error : undefined,+ isInitialLoading: available && isLoading,+ provider: getLobehubSkillProviderById(identifier),+ retry: () => void mutate(),+ server,+ };+};diff --git a/src/features/Integrations/useInstallResult.ts b/src/features/Integrations/useInstallResult.tsnew file mode 100644index 00000000000..4e201b71584--- /dev/null+++ b/src/features/Integrations/useInstallResult.ts@@ -0,0 +1,50 @@+import { useEffect, useRef } from 'react';+import { useLocation, useSearchParams } from 'react-router';++import { INSTALL_RESULT_PARAMS } from './connectorPage';++export interface InstallResult {+ account: string | null;+ error: string | null;+ installed: string | null;+ pending: string | null;+}++/**+ * Hands an install callback's result to `report`, once, and clears it. Goes+ * through the router so the page's own params (the open Marketplace detail)+ * and history state survive.+ */+export const useInstallResult = (ready: boolean, report: (result: InstallResult) => void) => {+ const [searchParams, setSearchParams] = useSearchParams();+ const { state } = useLocation();+ const handled = useRef<string>(undefined);++ const installed = searchParams.get('installed');+ const error = searchParams.get('error');+ const account = searchParams.get('account');+ const pending = searchParams.get('pending');++ useEffect(() => {+ if (!installed && !error && !pending) {+ // Cleared: the same outcome from a later install is a new report.+ handled.current = undefined;+ return;+ }+ if (!ready) return;+ const result = JSON.stringify([installed, error, account, pending]);+ if (handled.current === result) return;+ handled.current = result;++ report({ account, error, installed, pending });++ setSearchParams(+ (previous) => {+ const next = new URLSearchParams(previous);+ for (const key of INSTALL_RESULT_PARAMS) next.delete(key);+ return next;+ },+ { replace: true, state },+ );+ }, [account, error, installed, pending, ready, report, setSearchParams, state]);+};diff --git a/src/features/Marketplace/Catalog/useCatalogIntegrations.tsx b/src/features/Marketplace/Catalog/useCatalogIntegrations.tsxindex 354f57a4e73..76d1e4454cb 100644--- a/src/features/Marketplace/Catalog/useCatalogIntegrations.tsx+++ b/src/features/Marketplace/Catalog/useCatalogIntegrations.tsx@@ -4,6 +4,7 @@ import isEqual from 'fast-deep-equal';import { useTranslation } from 'react-i18next';import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';+import { CONNECTOR_PAGE_IDS, hasConnectorPage } from '@/features/Integrations/connectorPage';import ComposioSkillItem from '@/features/Settings/skill/features/ComposioSkillItem';import {buildIntegrationItems,@@ -42,6 +43,7 @@ export const useCatalogIntegrations = (keyword?: string) => {connectorAvailability: { composio, lobehub },isComposioActive: (id) => composioById.get(id)?.status === ComposioServerStatus.ACTIVE,isLobehubConnected: (id) => lobehubById.get(id)?.status === LobehubSkillStatus.CONNECTED,+ pageOnlyProviderIds: CONNECTOR_PAGE_IDS,}).filter((item) => {if (!matchesIntegrationKeyword(item, keyword, t)) return false;if (item.type === 'lobehub')@@ -61,7 +63,9 @@ export const useCatalogIntegrations = (keyword?: string) => {const id = item.provider.id;return (<LobehubSkillItem+ connectable={lobehub}key={id}+ openWhenDisconnected={hasConnectorPage(id)}provider={item.provider}server={lobehubById.get(id)}onSelect={() =>diff --git a/src/features/Projects/CreateFromGithub/Content.tsx b/src/features/Projects/CreateFromGithub/Content.tsxindex a9e10594006..567a1560ff0 100644--- a/src/features/Projects/CreateFromGithub/Content.tsx+++ b/src/features/Projects/CreateFromGithub/Content.tsx@@ -11,7 +11,7 @@ import {import { useState } from 'react';import { useTranslation } from 'react-i18next';-import { GITHUB_RETURN_TO } from '@/features/Integrations/Github/installHref';+import { buildConnectorPagePath } from '@/features/Integrations/connectorPage';import { useWorkspaceAwareNavigate } from '@/features/Workspace/useWorkspaceAwareNavigate';import { useHomeStore } from '@/store/home';import { useProjectStore } from '@/store/project';@@ -101,7 +101,7 @@ const CreateFromGithubContent = () => {const connectGithub = () => {close();- navigate(GITHUB_RETURN_TO);+ navigate(buildConnectorPagePath('github'));};const handleCreate = async () => {diff --git a/src/features/Projects/LinearSync/useProjectLinearSync.tsx b/src/features/Projects/LinearSync/useProjectLinearSync.tsxindex 432b402069a..1f85d365006 100644--- a/src/features/Projects/LinearSync/useProjectLinearSync.tsx+++ b/src/features/Projects/LinearSync/useProjectLinearSync.tsx@@ -8,6 +8,7 @@ import { useTranslation } from 'react-i18next';import { useIsWorkspaceViewer } from '@/business/client/hooks/useIsWorkspaceViewer';import AsyncError from '@/components/AsyncError';+import { buildConnectorPagePath } from '@/features/Integrations/connectorPage';import { useLinearIntegration } from '@/features/Integrations/useLinearIntegration';import { useWorkspaceAwareNavigate } from '@/features/Workspace/useWorkspaceAwareNavigate';@@ -16,13 +17,11 @@ import SyncJobs from './SyncJobs';import SyncRules, { useLinearSyncRules } from './SyncRules';import { useLinearSyncJobNotifier, useLinearSyncJobs } from './useLinearSyncJobs';-const LINEAR_SETTINGS_PATH = '/settings/integrations/linear';-/*** Project settings → Advanced → "Sync from Linear": a settings row that* imports Linear issues as this project's tasks, plus the project's saved* sync rules and recent background syncs below the settings form. Syncing is one way; Linear is only- * read. Connecting a Linear workspace stays in Settings → Integrations,+ * read. Connecting a Linear workspace stays on its Marketplace connector,* shared by every project in the scope. A deployment without a Linear app,* and no connection left, contributes nothing.*/@@ -62,7 +61,10 @@ export const useProjectLinearSync = (onSynced={refresh}/>) : (- <Button icon={<Icon icon={LinkIcon} />} onClick={() => navigate(LINEAR_SETTINGS_PATH)}>+ <Button+ icon={<Icon icon={LinkIcon} />}+ onClick={() => navigate(buildConnectorPagePath('linear'))}+ >{t('linear.sync.project.connect')}</Button>),diff --git a/src/features/Settings/features/componentMap.desktop.ts b/src/features/Settings/features/componentMap.desktop.tsindex d35be6187b0..ea4ec930e24 100644--- a/src/features/Settings/features/componentMap.desktop.ts+++ b/src/features/Settings/features/componentMap.desktop.ts@@ -14,7 +14,6 @@ import Creds from '../creds';import Devices from '../devices';import Environments from '../environments';import Hotkey from '../hotkey';-import Integrations from '../integrations';import Labels from '../labels';import Labs from '../labs';import Memory from '../memory';@@ -42,7 +41,6 @@ export const componentMap = {[SettingsTabs.ServiceModel]: ServiceModel,[SettingsTabs.Memory]: Memory,[SettingsTabs.Messenger]: Messenger,- [SettingsTabs.Integrations]: Integrations,[SettingsTabs.Notification]: DesktopNotificationSettings,[SettingsTabs.About]: About,[SettingsTabs.Hotkey]: Hotkey,diff --git a/src/features/Settings/features/componentMap.ts b/src/features/Settings/features/componentMap.tsindex 6cc809ae333..ee04e6e219b 100644--- a/src/features/Settings/features/componentMap.ts+++ b/src/features/Settings/features/componentMap.ts@@ -28,9 +28,6 @@ export const componentMap = {[SettingsTabs.Messenger]: dynamic(() => import('../messenger'), {loading: loading('Settings > Messenger'),}),- [SettingsTabs.Integrations]: dynamic(() => import('../integrations'), {- loading: loading('Settings > Integrations'),- }),[SettingsTabs.Notification]: dynamic(() => import('@/business/client/BusinessSettingPages/Notification'),{diff --git a/src/features/Settings/features/tabTitles.ts b/src/features/Settings/features/tabTitles.tsindex a1cbc5bf859..acc474e03bf 100644--- a/src/features/Settings/features/tabTitles.ts+++ b/src/features/Settings/features/tabTitles.ts@@ -23,7 +23,6 @@ export const SETTINGS_TAB_TITLE_KEYS: Partial<Record<SettingsTabs, TitleKey>> =[SettingsTabs.Environments]: ['setting', 'tab.environmentsAndCreds'],[SettingsTabs.SubscriptionAccounts]: ['setting', 'tab.subscriptionAccounts'],[SettingsTabs.Hotkey]: ['setting', 'tab.hotkey'],- [SettingsTabs.Integrations]: ['setting', 'tab.integrations'],[SettingsTabs.Labels]: ['setting', 'tab.labels'],// Labs has no `setting:tab.*` entry — the nav label comes from the labs namespace.[SettingsTabs.Labs]: ['labs', 'title'],diff --git a/src/features/Settings/hooks/useCategory.test.tsx b/src/features/Settings/hooks/useCategory.test.tsxindex ffd50495d44..41edc02af74 100644--- a/src/features/Settings/hooks/useCategory.test.tsx+++ b/src/features/Settings/hooks/useCategory.test.tsx@@ -83,11 +83,8 @@ describe('settings useCategory', () => {SettingsTabs.Stats,]);- expect(groupKeys(SettingsGroupKey.Connection)).toEqual([- SettingsTabs.Messenger,- SettingsTabs.Integrations,- ]);- // Skills and connectors moved to the Marketplace.+ expect(groupKeys(SettingsGroupKey.Connection)).toEqual([SettingsTabs.Messenger]);+ // Skills, connectors and integrations moved to the Marketplace.expect(getItemKeys()).not.toContain(SettingsTabs.Skill);expect(getItemKeys()).not.toContain(SettingsTabs.Connector);@@ -188,15 +185,14 @@ describe('settings useCategory automations', () => {// Unreleased: the tab follows the `webhook` flag (LOBE-UX-015).it('hides Automations while MCP Events is off', () => {- expect(connectionKeys(false)).not.toContain(SettingsTabs.Automations);+ expect(connectionKeys(false) ?? []).not.toContain(SettingsTabs.Automations);});- it('lists Automations right after Integrations now that connectors live in the Marketplace', () => {+ it('keeps Automations and Webhooks now that connectors live in the Marketplace', () => {const keys = connectionKeys(true) ?? [];expect(keys).not.toContain(SettingsTabs.Connector);- expect(keys.indexOf(SettingsTabs.Automations)).toBe(- keys.indexOf(SettingsTabs.Integrations) + 1,- );+ expect(keys).not.toContain('integrations');+ expect(keys.indexOf(SettingsTabs.Webhooks)).toBe(keys.indexOf(SettingsTabs.Automations) + 1);});});diff --git a/src/features/Settings/hooks/useCategory.tsx b/src/features/Settings/hooks/useCategory.tsxindex c022d4a122d..c307bfb927f 100644--- a/src/features/Settings/hooks/useCategory.tsx+++ b/src/features/Settings/hooks/useCategory.tsx@@ -23,7 +23,6 @@ import {MessageCircleIcon,MonitorSmartphoneIcon,PaletteIcon,- PlugIcon,Sparkles,TagIcon,TerminalSquare,@@ -204,11 +203,6 @@ export const useCategory = () => {key: SettingsTabs.Messenger,label: t('tab.messenger'),},- {- icon: PlugIcon,- key: SettingsTabs.Integrations,- label: t('tab.integrations'),- },// What connectors fire on their own: the event subscriptions agents made// through them. Connectors themselves are managed in the Marketplace.enableWebhook && {@@ -224,11 +218,13 @@ export const useCategory = () => {},].filter(Boolean) as CategoryItem[];- groups.push({- items: connectionItems,- key: SettingsGroupKey.Connection,- title: t('group.connection'),- });+ // Every entry is conditional, so a self-hosted deployment may have none.+ if (connectionItems.length > 0)+ groups.push({+ items: connectionItems,+ key: SettingsGroupKey.Connection,+ title: t('group.connection'),+ });// Resource group — where agents run.const resourceItems: CategoryItem[] = [diff --git a/src/features/Settings/integrations/index.tsx b/src/features/Settings/integrations/index.tsxdeleted file mode 100644index c941e4f76de..00000000000--- a/src/features/Settings/integrations/index.tsx+++ /dev/null@@ -1,38 +0,0 @@-import { Flexbox, Text } from '@lobehub/ui';-import { useTranslation } from 'react-i18next';-import { useParams } from 'react-router';--import IntegrationsSettings from '@/features/Integrations';-import SettingHeader from '@/features/Settings/features/SettingHeader';--interface PageProps {- showSettingHeader?: boolean;-}--const Page = ({ showSettingHeader = true }: PageProps) => {- const { t } = useTranslation('integration');- const params = useParams<{ sub?: string }>();- // The directory carries the page intro; an integration page draws its own hero.- // Under the shared settings header only the description stays in the body.- const showIntro = !params.sub;-- if (showSettingHeader)- return (- <>- {showIntro && (- <SettingHeader description={t('overview.description')} title={t('overview.title')} />- )}- <IntegrationsSettings />- </>- );-- // Intro line and directory read as one block, like the messenger list.- return (- <Flexbox gap={20}>- {showIntro && <Text type={'secondary'}>{t('overview.description')}</Text>}- <IntegrationsSettings />- </Flexbox>- );-};--export default Page;diff --git a/src/features/Settings/skill/features/LobehubSkillItem.tsx b/src/features/Settings/skill/features/LobehubSkillItem.tsxindex 0a0d93b4cd4..025ae32fa0e 100644--- a/src/features/Settings/skill/features/LobehubSkillItem.tsx+++ b/src/features/Settings/skill/features/LobehubSkillItem.tsx@@ -35,16 +35,34 @@ const POLL_INTERVAL_MS = 1000;const POLL_TIMEOUT_MS = 15_000;interface LobehubSkillItemProps {+ /** False where LobeHub connectors are off: the row only opens its page. Defaults to true. */+ connectable?: boolean;hideConnectedStatus?: boolean;isSelected?: boolean;onDelete?: () => void;onSelect?: () => void;+ /** The row opens `onSelect` before connecting too: it leads to a page, not an empty detail. */+ openWhenDisconnected?: boolean;provider: LobehubSkillProviderType;server?: LobehubSkillServer;+ showConnectLabel?: boolean;+ /** Replaces the provider's generic description on the row. */+ summary?: string;}const LobehubSkillItem = memo<LobehubSkillItemProps>(- ({ hideConnectedStatus, provider, server, isSelected, onSelect, onDelete }) => {+ ({+ connectable = true,+ hideConnectedStatus,+ provider,+ server,+ isSelected,+ onSelect,+ onDelete,+ openWhenDisconnected,+ showConnectLabel,+ summary,+ }) => {const { t } = useTranslation('setting');const isPage = useSkillListVariant() === 'page';const { allowed: canCreate, reason: createReason } = usePermission('create_content');@@ -322,6 +340,7 @@ const LobehubSkillItem = memo<LobehubSkillItemProps>(// button that opens the OAuth flow inline, so users can tell what is connected// and aren't left staring at a blank detail panel wondering if it's a bug.const renderPageExtra = () => {+ if (!isConnected && !connectable) return null;const needsAuth = server?.status === LobehubSkillStatus.ERROR;if (isConnected)return (@@ -346,6 +365,7 @@ const LobehubSkillItem = memo<LobehubSkillItemProps>(icon={needsAuth ? RotateCcw : undefined}label={t(needsAuth ? 'tools.composio.reauthorize' : 'connectorMarket.action.connect')}loading={isConnecting || isWaitingAuth}+ showLabel={showConnectLabel}onClick={handleConnect}/>);@@ -353,6 +373,7 @@ const LobehubSkillItem = memo<LobehubSkillItemProps>(const renderNavExtra = () => {if (isPage) return renderPageExtra();+ if (!isConnected && !connectable) return null;if (isConnecting || isWaitingAuth) {return <Button disabled loading size="small" type="text" />;}@@ -397,10 +418,14 @@ const LobehubSkillItem = memo<LobehubSkillItemProps>(// Only connected connectors open the detail panel. When disconnected,// the row is inert and the only affordance is the inline Connect button —// otherwise clicking opens a blank detail panel that reads as a bug.- summary={t(`tools.lobehubSkill.providers.${provider.id}.description`, {- defaultValue: provider.description,- })}- onClick={isConnected ? onSelect : undefined}+ // `openWhenDisconnected` is for a connector whose detail has content anyway.+ summary={+ summary ??+ t(`tools.lobehubSkill.providers.${provider.id}.description`, {+ defaultValue: provider.description,+ })+ }+ onClick={isConnected || openWhenDisconnected ? onSelect : undefined}/>);}diff --git a/src/features/Settings/skill/features/RowActions.tsx b/src/features/Settings/skill/features/RowActions.tsxindex a882b602183..03eb9fedac5 100644--- a/src/features/Settings/skill/features/RowActions.tsx+++ b/src/features/Settings/skill/features/RowActions.tsx@@ -3,6 +3,7 @@import {ActionIcon,type ActionIconProps,+ Button,type DropdownItem,DropdownMenu,Icon,@@ -20,6 +21,7 @@ interface RowAddActionProps {label: string;loading?: boolean;onClick: () => void;+ showLabel?: boolean;}/**@@ -27,12 +29,26 @@ interface RowAddActionProps {* that connects or installs in place. Once added it becomes {@link RowMoreMenu}.*/export const RowAddAction = memo<RowAddActionProps>(- ({ disabled, disabledReason, icon = Plus, label, loading, onClick }) => {+ ({ disabled, disabledReason, icon = Plus, label, loading, onClick, showLabel }) => {const handleClick = (event: React.MouseEvent) => {event.stopPropagation();onClick();};+ if (showLabel)+ return (+ <Button+ disabled={disabled || loading}+ icon={icon}+ loading={loading}+ size="small"+ title={disabled ? disabledReason : undefined}+ onClick={handleClick}+ >+ {label}+ </Button>+ );+return (<ActionIconaria-label={label}diff --git a/src/features/Settings/skill/features/SkillDetail/index.tsx b/src/features/Settings/skill/features/SkillDetail/index.tsxindex d6cbeb0a758..aa13cfb2c20 100644--- a/src/features/Settings/skill/features/SkillDetail/index.tsx+++ b/src/features/Settings/skill/features/SkillDetail/index.tsx@@ -14,6 +14,7 @@ import useSWR from 'swr';import AsyncBoundary from '@/components/AsyncBoundary';import { ConnectorDetail, CustomConnectorModal } from '@/features/Connectors';+import { type ConnectorPageId, hasConnectorPage } from '@/features/Integrations/connectorPage';import { useSkillConnect } from '@/features/SkillStore/SkillList/LobeHub/useSkillConnect';import { usePermission } from '@/hooks/usePermission';import { useResourceManageable } from '@/hooks/useResourceManageable';@@ -30,6 +31,8 @@ const AgentSkillDetail = lazy(() => import('@/features/AgentSkillDetail'));// Lazy so `SkillDetail`'s static import graph stays free of the agent-navigation// chain (`useNavigateToAgent` → chat store); only agent connectors need it.const AgentConnectorUsage = lazy(() => import('../AgentConnectorUsage'));+const ConnectorGate = lazy(() => import('@/features/Integrations/ConnectorGate'));+const ConnectorPageContent = lazy(() => import('@/features/Integrations/ConnectorPageContent'));export type ToolDetailType =| 'agent-connector'@@ -270,6 +273,9 @@ const SkillDetail = memo<SkillDetailProps>(({ identifier, type, onDelete, visibi{ revalidateOnFocus: false },);+ const connectorPageId: ConnectorPageId | undefined =+ type === 'lobehub-connector' && hasConnectorPage(identifier) ? identifier : undefined;+const isConnectorType =type === 'builtin' ||type === 'plugin' ||@@ -501,6 +507,13 @@ const SkillDetail = memo<SkillDetailProps>(({ identifier, type, onDelete, visibi{canMigrateLegacy? ts('tools.legacyConnector.upgradeDesc'): ts('tools.noConfigurablePermissions')}+ {connectorPageId && (+ <div style={{ marginBlockStart: 24 }}>+ <Suspense fallback={null}>+ <ConnectorPageContent identifier={connectorPageId} />+ </Suspense>+ </div>+ )}{canMigrateLegacy && legacyPlugin && (<CustomConnectorModallegacyPlugin={legacyPlugin}@@ -520,6 +533,13 @@ const SkillDetail = memo<SkillDetailProps>(({ identifier, type, onDelete, visibi<ConnectorDetailconnectorId={connector.id}lifecycleActions={renderLobehubConnectorAction(() => setNoManifest(true))}+ middleSlot={+ connectorPageId ? (+ <Suspense fallback={null}>+ <ConnectorPageContent identifier={connectorPageId} />+ </Suspense>+ ) : undefined+ }onDelete={onDelete}/>);@@ -527,4 +547,25 @@ const SkillDetail = memo<SkillDetailProps>(({ identifier, type, onDelete, visibiSkillDetail.displayName = 'SkillDetail';-export default SkillDetail;+/** These pages also manage an integration, so they have content before an account connects. */+const SkillDetailEntry = memo<SkillDetailProps>((props) =>+ props.type === 'lobehub-connector' && hasConnectorPage(props.identifier) ? (+ <Suspense+ fallback={+ <div style={{ padding: 24 }}>+ <Skeleton.Text rows={6} />+ </div>+ }+ >+ <ConnectorGate identifier={props.identifier}>+ <SkillDetail {...props} />+ </ConnectorGate>+ </Suspense>+ ) : (+ <SkillDetail {...props} />+ ),+);++SkillDetailEntry.displayName = 'SkillDetailEntry';++export default SkillDetailEntry;diff --git a/src/features/Settings/skill/features/SkillList.tsx b/src/features/Settings/skill/features/SkillList.tsxindex e79e18249df..b4f01d151eb 100644--- a/src/features/Settings/skill/features/SkillList.tsx+++ b/src/features/Settings/skill/features/SkillList.tsx@@ -14,6 +14,7 @@ import { useTranslation } from 'react-i18next';import AsyncError from '@/components/AsyncError';import { SkeletonList } from '@/components/Skeleton/NavPanel/List';+import { CONNECTOR_PAGE_IDS, hasConnectorPage } from '@/features/Integrations/connectorPage';import { useFetchInstalledPlugins } from '@/hooks/useFetchInstalledPlugins';import {featureFlagsSelectors,@@ -236,6 +237,7 @@ const SkillList = memo<SkillListProps>(const allIntegrations = buildIntegrationItems({...connectionState,connectorAvailability: { composio: isComposioEnabled, lobehub: isLobehubSkillEnabled },+ pageOnlyProviderIds: CONNECTOR_PAGE_IDS,});// Each workspace tab lists its own pool. Built-in tools, plugins and agent@@ -405,9 +407,11 @@ const SkillList = memo<SkillListProps>(case 'lobehub': {return (<LobehubSkillItem+ connectable={isLobehubSkillEnabled}hideConnectedStatus={installedOnly}isSelected={selectedIdentifier === item.provider.id}key={item.provider.id}+ openWhenDisconnected={hasConnectorPage(item.provider.id)}provider={item.provider}server={getLobehubSkillServerByProvider(item.provider.id)}onDelete={onDeleteSelected}diff --git a/src/features/Settings/skill/features/connectorSections.test.ts b/src/features/Settings/skill/features/connectorSections.test.tsindex 162cc75325a..d70370bdf4c 100644--- a/src/features/Settings/skill/features/connectorSections.test.ts+++ b/src/features/Settings/skill/features/connectorSections.test.ts@@ -29,6 +29,31 @@ describe('countConnectorTabItems', () => {});describe('buildIntegrationItems', () => {+ const pageOnly = {+ connectorAvailability: noConnectors,+ isComposioActive: () => false,+ isLobehubConnected: () => false,+ pageOnlyProviderIds: ['github', 'linear'],+ };+ const ids = (items: ReturnType<typeof buildIntegrationItems>) =>+ items.map((item) => (item.type === 'lobehub' ? item.provider.id : item.serverType.identifier));++ it('keeps pages for integrations on a deployment without LobeHub connectors', () => {+ expect(ids(buildIntegrationItems(pageOnly))).toEqual(['github', 'linear']);+ });++ it('does not list a page twice when LobeHub connectors are on', () => {+ const listed = ids(+ buildIntegrationItems({+ ...pageOnly,+ connectorAvailability: { composio: false, lobehub: true },+ }),+ );++ expect(listed.filter((id) => id === 'github')).toHaveLength(1);+ expect(listed.filter((id) => id === 'linear')).toHaveLength(1);+ });+it('omits builtin recommendations from the connector catalog', () => {const fixtures = {connectorAvailability: noConnectors,diff --git a/src/features/Settings/skill/features/connectorSections.ts b/src/features/Settings/skill/features/connectorSections.tsindex 613acccad4c..24f81ee8970 100644--- a/src/features/Settings/skill/features/connectorSections.ts+++ b/src/features/Settings/skill/features/connectorSections.ts@@ -1,5 +1,10 @@import type { ComposioAppType, LobehubSkillProviderType } from '@lobechat/const';-import { getConnectorCatalog, RECOMMENDED_SKILLS, RecommendedSkillType } from '@lobechat/const';+import {+ getConnectorCatalog,+ getLobehubSkillProviderById,+ RECOMMENDED_SKILLS,+ RecommendedSkillType,+} from '@lobechat/const';import type { TFunction } from 'i18next';export type IntegrationItem =@@ -20,6 +25,11 @@ export interface BuildIntegrationItemsParams {connectorAvailability: { composio: boolean; lobehub: boolean };isComposioActive: (identifier: string) => boolean;isLobehubConnected: (providerId: string) => boolean;+ /**+ * Providers listed even where LobeHub connectors are off, because their page+ * also manages an integration the deployment may have configured on its own.+ */+ pageOnlyProviderIds?: readonly string[];/** Defaults to the app's `RECOMMENDED_SKILLS`; injectable for tests. */recommendedSkills?: typeof RECOMMENDED_SKILLS;}@@ -43,6 +53,7 @@ export const buildIntegrationItems = (params: BuildIntegrationItemsParams): Inteconst {connectorAvailability,isComposioActive,+ pageOnlyProviderIds = [],recommendedSkills = RECOMMENDED_SKILLS,} = params;const recommended = recommendedSkills@@ -53,7 +64,13 @@ export const buildIntegrationItems = (params: BuildIntegrationItemsParams): Inteconst index = recommended.indexOf(id);return index < 0 ? recommended.length : index;};- return getConnectorCatalog(connectorAvailability)+ const pageOnlyItems: IntegrationItem[] = connectorAvailability.lobehub+ ? []+ : pageOnlyProviderIds.flatMap((id) => {+ const provider = getLobehubSkillProviderById(id);+ return provider ? [{ provider, type: 'lobehub' as const }] : [];+ });+ return [...getConnectorCatalog(connectorAvailability), ...pageOnlyItems].filter((item) =>recommendedSkills.length > 0 ||diff --git a/src/features/SettingsSearch/items.ts b/src/features/SettingsSearch/items.tsindex 57c72c99cc0..8c33bac538d 100644--- a/src/features/SettingsSearch/items.ts+++ b/src/features/SettingsSearch/items.ts@@ -114,7 +114,6 @@ export const TAB_SEARCH_EN_KEYWORDS: Partial<Record<string, string[]>> = {'discord','wechat',],- [SettingsTabs.Integrations]: ['integrations', 'github', 'pull request', 'ci', 'review', 'merge'],[SettingsTabs.Notification]: ['notification','email',@@ -225,7 +224,6 @@ export const TAB_SEARCH_KEYWORDS_KEYS: Partial<Record<string, string>> = {[SettingsTabs.Labs]: 'settingsSearch.tabKeywords.labs',[SettingsTabs.Memory]: 'settingsSearch.tabKeywords.memory',[SettingsTabs.Messenger]: 'settingsSearch.tabKeywords.messenger',- [SettingsTabs.Integrations]: 'settingsSearch.tabKeywords.integrations',[SettingsTabs.Notification]: 'settingsSearch.tabKeywords.notification',[SettingsTabs.OAuthApps]: 'settingsSearch.tabKeywords.oauthApps',[SettingsTabs.Plans]: 'settingsSearch.tabKeywords.plans',diff --git a/src/features/Workspace/workspaceAwarePath.ts b/src/features/Workspace/workspaceAwarePath.tsindex 58567bbf232..aa690ce1211 100644--- a/src/features/Workspace/workspaceAwarePath.ts+++ b/src/features/Workspace/workspaceAwarePath.ts@@ -61,7 +61,8 @@ export const WORKSPACE_SETTINGS_TABS: ReadonlySet<string> = new Set(['environments','general','hotkey',- // Third-party integrations bind to the workspace that connected them.+ // Legacy alias: integrations moved to `/marketplace/connector`; the routers+ // keep a redirect, and the install callbacks still return here.'integrations','labels','labs',diff --git a/src/features/WorkspaceSetting/Layout.tsx b/src/features/WorkspaceSetting/Layout.tsxindex 0fed318903e..7dfaa60d1bb 100644--- a/src/features/WorkspaceSetting/Layout.tsx+++ b/src/features/WorkspaceSetting/Layout.tsx@@ -29,7 +29,6 @@ const COMPACT_HEADER_TABS = new Set<string>([WorkspaceSettingsTabs.Environments,WorkspaceSettingsTabs.General,WorkspaceSettingsTabs.Hotkey,- WorkspaceSettingsTabs.Integrations,WorkspaceSettingsTabs.Labels,WorkspaceSettingsTabs.Labs,WorkspaceSettingsTabs.Members,diff --git a/src/features/WorkspaceSetting/hooks/useCategory.test.tsx b/src/features/WorkspaceSetting/hooks/useCategory.test.tsxindex 064efbfe5a1..273135a58b9 100644--- a/src/features/WorkspaceSetting/hooks/useCategory.test.tsx+++ b/src/features/WorkspaceSetting/hooks/useCategory.test.tsx@@ -124,8 +124,12 @@ describe('workspace settings useCategory', () => {expect(keys.indexOf(WorkspaceSettingsGroupKey.Subscription)).toBe(keys.indexOf(WorkspaceSettingsGroupKey.General) + 1,);- expect(keys.indexOf(WorkspaceSettingsGroupKey.Resource)).toBe(- keys.indexOf(WorkspaceSettingsGroupKey.Connection) + 1,+ const { result: withConnection } = renderHook(() => useWorkspaceSettingCategory(), {+ wrapper: wrapperWithMcpEvents,+ });+ const orderedKeys = withConnection.current.map((group) => group.key);+ expect(orderedKeys.indexOf(WorkspaceSettingsGroupKey.Resource)).toBe(+ orderedKeys.indexOf(WorkspaceSettingsGroupKey.Connection) + 1,);expect(resourceGroup?.items.map((item) => item.key)).toEqual([WorkspaceSettingsTabs.Devices,@@ -156,13 +160,11 @@ describe('workspace settings useCategory', () => {expect(itemKeys).toContain(WorkspaceSettingsTabs.Credits);expect(itemKeys).toContain(WorkspaceSettingsTabs.Billing);- const connectionGroup = result.current.find(+ const connectionGroup = withConnection.current.find((group) => group.key === WorkspaceSettingsGroupKey.Connection,);- expect(connectionGroup?.items.map((item) => item.key)).toContain(- WorkspaceSettingsTabs.Integrations,- );+ expect(connectionGroup?.items.map((item) => item.key)).not.toContain('integrations');expect(connectionGroup?.items.map((item) => item.key)).not.toContain(WorkspaceSettingsTabs.Creds,);@@ -278,12 +280,12 @@ describe('workspace settings useCategory automations', () => {};// Unreleased: the tab follows the `webhook` flag (LOBE-UX-015).- it('hides Automations while MCP Events is off', () => {- expect(connectionKeys(false)).not.toContain(WorkspaceSettingsTabs.Automations);+ it('hides Automations, and the then-empty group, while MCP Events is off', () => {+ expect(connectionKeys(false)).toBeUndefined();});// Every role sees it: the list is how members learn what fires shared agents.- it('lists Automations after Integrations for every role', () => {+ it('lists Automations before Webhooks for every role', () => {mocks.canCreateContent = false;mocks.canManageWorkspace = false;mocks.canViewBilling = false;@@ -291,8 +293,9 @@ describe('workspace settings useCategory automations', () => {// Connectors moved to the Marketplace (`/:slug/marketplace/connector`).expect(keys).not.toContain(WorkspaceSettingsTabs.Connector);- expect(keys.indexOf(WorkspaceSettingsTabs.Automations)).toBe(- keys.indexOf(WorkspaceSettingsTabs.Integrations) + 1,+ expect(keys).not.toContain('integrations');+ expect(keys.indexOf(WorkspaceSettingsTabs.Webhooks)).toBe(+ keys.indexOf(WorkspaceSettingsTabs.Automations) + 1,);});});diff --git a/src/features/WorkspaceSetting/hooks/useCategory.tsx b/src/features/WorkspaceSetting/hooks/useCategory.tsxindex d4d5729f767..093e307ebfa 100644--- a/src/features/WorkspaceSetting/hooks/useCategory.tsx+++ b/src/features/WorkspaceSetting/hooks/useCategory.tsx@@ -23,7 +23,6 @@ import {MessagesSquareIcon,MonitorSmartphoneIcon,PaletteIcon,- PlugIcon,ScrollText,Sparkles,TagIcon,@@ -245,29 +244,22 @@ export const useWorkspaceSettingCategory = (): WorkspaceSettingCategoryGroup[] =// Outside services the workspace's agents can reach. These bindings// belong to the workspace; Messenger stays in Account because it is a// per-user binding.- {+ enableWebhook && {items: [- // An installation connected here belongs to the workspace, so- // every member sees the same one.- {- icon: PlugIcon,- key: WorkspaceSettingsTabs.Integrations,- label: t('tab.integrations'),- },// Every member sees the workspace's event subscriptions, so it is// clear what fires the shared agents; managing one is per row.- enableWebhook && {+ {icon: ZapIcon,key: WorkspaceSettingsTabs.Automations,label: t('tab.automations'),},// The workspace's agents' webhooks; made on each agent's page, managed here too.- enableWebhook && {+ {icon: WebhookIcon,key: WorkspaceSettingsTabs.Webhooks,label: t('tab.webhooks'),},- ].filter(Boolean) as WorkspaceSettingCategoryItem[],+ ] as WorkspaceSettingCategoryItem[],key: WorkspaceSettingsGroupKey.Connection,title: t('group.connection'),},diff --git a/src/routes/(main)/[workspaceSlug]/settings/integrations/index.tsx b/src/routes/(main)/[workspaceSlug]/settings/integrations/index.tsxdeleted file mode 100644index f4165adaf49..00000000000--- a/src/routes/(main)/[workspaceSlug]/settings/integrations/index.tsx+++ /dev/null@@ -1,17 +0,0 @@-'use client';--import IntegrationsSetting from '@/features/Settings/integrations';--/**- * Third-party integrations mirrored under- * `/:workspaceSlug/settings/integrations[/:sub]`. An installation connected- * here binds to the workspace, so members share it; the workspace shell- * renders the compact header, so the page header is hidden. The integration- * detail level reads `sub` via `useParams` inside the feature, exactly as- * the personal route does.- */-const WorkspaceIntegrationsSetting = () => <IntegrationsSetting showSettingHeader={false} />;--WorkspaceIntegrationsSetting.displayName = 'WorkspaceIntegrationsSetting';--export default WorkspaceIntegrationsSetting;diff --git a/src/spa/router/legacyPathRedirect.tsx b/src/spa/router/legacyPathRedirect.tsxindex 572e2d05a62..e8d7d6b61d9 100644--- a/src/spa/router/legacyPathRedirect.tsx+++ b/src/spa/router/legacyPathRedirect.tsx@@ -3,6 +3,7 @@import { memo } from 'react';import { Navigate, useLocation, useParams } from 'react-router';+import { buildLegacyIntegrationPath } from '@/features/Integrations/connectorPage';import { LEGACY_COMMUNITY_SEGMENT, MARKETPLACE_PATH } from '@/features/Marketplace/paths';interface RedirectTargetOptions {@@ -52,6 +53,24 @@ export const LegacyPathRedirect = memo<{ to: string }>(({ to }) => {LegacyPathRedirect.displayName = 'LegacyPathRedirect';+/**+ * The retired Integrations settings. GitHub and Linear moved onto their+ * Marketplace connectors; their install callbacks still return to these paths.+ */+export const LegacyIntegrationRedirect = memo(() => {+ const { hash, search } = useLocation();+ const { sub, workspaceSlug } = useParams();++ return (+ <Navigate+ replace+ to={buildLegacyRedirectPath(buildLegacyIntegrationPath(sub, search), { hash, workspaceSlug })}+ />+ );+});++LegacyIntegrationRedirect.displayName = 'LegacyIntegrationRedirect';+/** Mounted on the old `community/…` routes: forwards them to the Marketplace. */export const LegacyCommunityRedirect = memo(() => {const { hash, pathname, search } = useLocation();diff --git a/src/spa/router/marketplaceRoutes.tsx b/src/spa/router/marketplaceRoutes.tsxindex fdfd868cb40..35e64fb6a6a 100644--- a/src/spa/router/marketplaceRoutes.tsx+++ b/src/spa/router/marketplaceRoutes.tsx@@ -19,7 +19,11 @@ import {marketplaceInstalledSkillsRouteMeta,} from '@/features/Marketplace/routeMeta';import { communityDetailRouteMeta } from '@/features/RouteMeta/communityRouteMeta';-import { LegacyCommunityRedirect, LegacyPathRedirect } from '@/spa/router/legacyPathRedirect';+import {+ LegacyCommunityRedirect,+ LegacyIntegrationRedirect,+ LegacyPathRedirect,+} from '@/spa/router/legacyPathRedirect';import { routeMeta } from '@/spa/router/routeMeta';import { useServerConfigStore } from '@/store/serverConfig';import { dynamicElement, ErrorBoundary } from '@/utils/router';@@ -320,18 +324,26 @@ export const legacyCommunityRoutes: RouteObject[] = [];/**- * `settings/skill` and `settings/connector` (plus their `/:sub` forms) moved to+ * `settings/skill`, `settings/connector` and `settings/integrations` (plus their+ * `/:sub` forms) moved to* the Marketplace. Mounted under both the personal `/settings` and the* workspace `/:workspaceSlug/settings` routes (desktop and mobile); the redirect* re-applies the slug and keeps `?open=` / `?skill=` deep links.*/export const legacySettingsMarketplaceRedirects: RouteObject[] = [- ['skill', MARKETPLACE_INSTALLED_SKILLS_PATH],- ['skill/:sub', MARKETPLACE_INSTALLED_SKILLS_PATH],- ['connector', MARKETPLACE_INSTALLED_CONNECTORS_PATH],- ['connector/:sub', MARKETPLACE_INSTALLED_CONNECTORS_PATH],-].map(([path, to]) => ({- element: <LegacyPathRedirect to={to} />,- handle: LEGACY_REDIRECT_HANDLE,- path,-}));+ ...[+ ['skill', MARKETPLACE_INSTALLED_SKILLS_PATH],+ ['skill/:sub', MARKETPLACE_INSTALLED_SKILLS_PATH],+ ['connector', MARKETPLACE_INSTALLED_CONNECTORS_PATH],+ ['connector/:sub', MARKETPLACE_INSTALLED_CONNECTORS_PATH],+ ].map(([path, to]) => ({+ element: <LegacyPathRedirect to={to} />,+ handle: LEGACY_REDIRECT_HANDLE,+ path,+ })),+ ...['integrations', 'integrations/:sub'].map((path) => ({+ element: <LegacyIntegrationRedirect />,+ handle: LEGACY_REDIRECT_HANDLE,+ path,+ })),+];diff --git a/src/spa/router/workspaceSettingsRoutes.tsx b/src/spa/router/workspaceSettingsRoutes.tsxindex 10a8c6b14f8..4a039ab207b 100644--- a/src/spa/router/workspaceSettingsRoutes.tsx+++ b/src/spa/router/workspaceSettingsRoutes.tsx@@ -482,33 +482,6 @@ export const workspaceSettingsContentRoute: RouteObject = {},path: 'messenger/:sub',},- {- element: dynamicElement(- () => import('@/routes/(main)/[workspaceSlug]/settings/integrations'),- 'Desktop > Workspace > Settings > Integrations',- ),- handle: {- meta: createWorkspaceSettingsRouteMeta(- WorkspaceSettingsTabs.Integrations,- createSurfaceSkeleton('list'),- ),- },- path: 'integrations',- },- // Integration detail level — the page reads the integration from `sub`.- {- element: dynamicElement(- () => import('@/routes/(main)/[workspaceSlug]/settings/integrations'),- 'Desktop > Workspace > Settings > Integrations > Detail',- ),- handle: {- meta: createWorkspaceSettingsRouteMeta(- WorkspaceSettingsTabs.Integrations,- createSurfaceSkeleton('list'),- ),- },- path: 'integrations/:sub',- },// Developer tools mirrored inside the workspace (user preferences).{element: dynamicElement(diff --git a/src/store/global/initialState.ts b/src/store/global/initialState.tsindex 77d6ff3f775..70568bb7a77 100644--- a/src/store/global/initialState.ts+++ b/src/store/global/initialState.ts@@ -90,7 +90,6 @@ export enum SettingsTabs {Hotkey = 'hotkey',/** @deprecated Use ServiceModel instead */Image = 'image',- Integrations = 'integrations',Labels = 'labels',Labs = 'labs',LLM = 'llm',diff --git a/src/types/workspaceSettings.ts b/src/types/workspaceSettings.tsindex 809209473c9..0ca47473c23 100644--- a/src/types/workspaceSettings.ts+++ b/src/types/workspaceSettings.ts@@ -22,7 +22,6 @@ export enum WorkspaceSettingsTabs {Environments = 'environments',General = 'general',Hotkey = 'hotkey',- Integrations = 'integrations',Labels = 'labels',Labs = 'labs',Members = 'members',