Skip to content

🤯 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.

✨ feat: show 404 fallback when public agent or file turns private (#17110)

Rdmclin21c896571dcc7
diff --git a/apps/server/src/services/task/index.ts b/apps/server/src/services/task/index.ts
index 1e090a62470..25eed726907 100644
--- a/apps/server/src/services/task/index.ts
+++ b/apps/server/src/services/task/index.ts
@@ -682,6 +682,7 @@ export class TaskService {
createdAt: doc?.createdAt ? new Date(doc.createdAt).toISOString() : undefined,
documentId: node.id,
fileType: doc?.fileType,
+ inaccessible: doc?.inaccessible,
size: doc?.charCount,
sourceTaskId: doc?.sourceTaskId,
sourceTaskIdentifier: doc?.sourceTaskIdentifier,
diff --git a/e2e/src/steps/agent/conversation-mgmt.steps.ts b/e2e/src/steps/agent/conversation-mgmt.steps.ts
index b30b30f6fc4..51f92f1c95e 100644
--- a/e2e/src/steps/agent/conversation-mgmt.steps.ts
+++ b/e2e/src/steps/agent/conversation-mgmt.steps.ts
@@ -433,6 +433,8 @@ When('用户选择删除选项', async function (this: CustomWorld) {
When('用户确认删除', async function (this: CustomWorld) {
console.log(' 📍 Step: 确认删除...');
+ // `Delete Topic` / `删除话题`: the topic delete flow confirms through the
+ // DeleteTopicConfirm modal (#16030) instead of a generic ok/删除 button.
const confirmButton = this.page
.getByRole('dialog')
.getByRole('button', { name: /^(ok|delete( topic)?|删除(话题)?|确认|确定)$/i });
diff --git a/locales/ar/chat.json b/locales/ar/chat.json
index f6bc0b1021e..aa011396462 100644
--- a/locales/ar/chat.json
+++ b/locales/ar/chat.json
@@ -28,6 +28,8 @@
"agentDocument.emptyTitle": "لا يوجد مستند مفتوح",
"agentDocument.linkCopied": "تم نسخ الرابط",
"agentDocument.openAsPage": "افتح كصفحة كاملة",
+ "agentNotFound.desc": "هذا الوكيل غير موجود أو لم يعد متاحًا — قد يكون قد تم حذفه أو تعيينه كخاص من قبل مالكه.",
+ "agentNotFound.title": "الوكيل غير متاح",
"agentProfile.files_one": "{{count}} ملف",
"agentProfile.files_other": "{{count}} ملفات",
"agentProfile.knowledgeBases_one": "{{count}} قاعدة معرفة",
@@ -117,6 +119,13 @@
"cliRateLimitGuide.resetIn": "الوقت المتبقي",
"cliRateLimitGuide.resetInApprox": "يعاد التعيين تقريبًا خلال {{duration}}",
"cliRateLimitGuide.resetUnknown": "إعادة تعيين الحصة",
+ "cliRateLimitGuide.schedule.cancel": "إلغاء المتابعة التلقائية",
+ "cliRateLimitGuide.schedule.continueAfter": "استمر بعد ~{{duration}}",
+ "cliRateLimitGuide.schedule.continueAfterReset": "استمر بعد إعادة التعيين",
+ "cliRateLimitGuide.schedule.retryNow": "أعد المحاولة الآن",
+ "cliRateLimitGuide.schedule.runNow": "تشغيل الآن",
+ "cliRateLimitGuide.schedule.scheduledAfterReset": "مجدول. ستستمر هذه العملية تلقائيًا بمجرد إعادة تعيين الحد.",
+ "cliRateLimitGuide.schedule.scheduledForApprox": "مجدول. ستستمر هذه العملية تلقائيًا في حوالي {{duration}}.",
"cliRateLimitGuide.title": "تم الوصول إلى حد استخدام {{name}}",
"codexInstallGuide.actions.openDocs": "افتح دليل التثبيت",
"codexInstallGuide.actions.openSystemTools": "افتح أدوات النظام",
@@ -242,6 +251,8 @@
"group.removeMember": "إزالة العضو",
"group.title": "مجموعة",
"groupDescription": "وصف المجموعة",
+ "groupNotFound.desc": "هذه المجموعة غير موجودة أو لم تعد متاحة — قد تكون قد تم حذفها أو تعيينها كخاصة من قبل مالكها.",
+ "groupNotFound.title": "المجموعة غير متاحة",
"groupSidebar.agentProfile.chat": "محادثة",
"groupSidebar.agentProfile.model": "النموذج",
"groupSidebar.agentProfile.settings": "الإعدادات",
@@ -376,6 +387,8 @@
"history.title": "سيحتفظ الوكيل فقط بآخر {{count}} رسالة.",
"historyRange": "نطاق السجل",
"historySummary": "ملخص الرسائل السابقة",
+ "inaccessibleFile.desc": "لا يوجد وصول — قد يكون قد تم تعيينه كخاص أو تم حذفه من قبل مالكه",
+ "inaccessibleFile.name": "الملف غير متاح",
"inactive": "غير نشط",
"inbox.desc": "تعاون في مساحة عمل واحدة وحوّل الأفكار إلى نتائج.",
"inbox.title": "Lobe AI",
@@ -411,6 +424,17 @@
"internalLink.preview.agent": "وكيل",
"internalLink.preview.document": "صفحة",
"internalLink.preview.task": "مهمة",
+ "internalLink.preview.verify": "تقرير التحقق",
+ "internalLink.preview.verifyCounts": "{{passed}} ناجح · {{failed}} فشل · {{uncertain}} غير مؤكد",
+ "internalLink.preview.verifyStatus.delivered": "تم التسليم",
+ "internalLink.preview.verifyStatus.errored": "خطأ",
+ "internalLink.preview.verifyStatus.failed": "فشل",
+ "internalLink.preview.verifyStatus.passed": "ناجح",
+ "internalLink.preview.verifyStatus.planned": "مخطط",
+ "internalLink.preview.verifyStatus.repairing": "جاري الإصلاح",
+ "internalLink.preview.verifyStatus.uncertain": "غير مؤكد",
+ "internalLink.preview.verifyStatus.unverified": "غير مُتحقق",
+ "internalLink.preview.verifyStatus.verifying": "جاري التحقق",
"inviteMembers": "دعوة الأعضاء",
"knowledgeBase.all": "كل المحتوى",
"knowledgeBase.allFiles": "كل الملفات",
@@ -806,6 +830,7 @@
"taskDetail.activities.fallback.topic": "بدأ موضوعًا",
"taskDetail.activitiesEmpty": "لا توجد أي نشاطات بعد",
"taskDetail.addSubtask": "إضافة مهمة فرعية",
+ "taskDetail.artifactInaccessible": "المستند غير متاح — لا يوجد وصول",
"taskDetail.artifactMenu.delete": "إزالة من المهمة",
"taskDetail.artifactMenu.deleteConfirm.content": "لن يظهر هذا المُنتج مرة أخرى في مساحة عمل المهمة.",
"taskDetail.artifactMenu.deleteConfirm.ok": "إزالة",
@@ -1266,10 +1291,14 @@
"workingPanel.browser.actions.reload": "إعادة تحميل",
"workingPanel.browser.actions.stop": "إيقاف التحميل",
"workingPanel.browser.addressPlaceholder": "ابحث أو أدخل العنوان",
+ "workingPanel.browser.agentControlling": "الوكيل يستخدم المتصفح",
+ "workingPanel.browser.agentCursor": "الوكيل",
"workingPanel.browser.desktopOnly": "المتصفح داخل التطبيق متاح فقط في تطبيق سطح المكتب",
"workingPanel.browser.empty.desc": "أدخل عنوانًا أو ابحث أعلاه لفتح صفحة",
"workingPanel.browser.empty.title": "ابدأ التصفح",
"workingPanel.browser.title": "المتصفح",
+ "workingPanel.browser.tool.elements_one": "{{count}} عنصر",
+ "workingPanel.browser.tool.elements_other": "{{count}} عناصر",
"workingPanel.documents.close": "Close",
"workingPanel.documents.discard": "Discard",
"workingPanel.documents.edit": "Edit",
diff --git a/locales/bg-BG/chat.json b/locales/bg-BG/chat.json
index 1534ca056fc..a8c5951511f 100644
--- a/locales/bg-BG/chat.json
+++ b/locales/bg-BG/chat.json
@@ -28,6 +28,8 @@
"agentDocument.emptyTitle": "Няма отворен документ",
"agentDocument.linkCopied": "Връзката е копирана",
"agentDocument.openAsPage": "Отвори като цяла страница",
+ "agentNotFound.desc": "Този агент не съществува или вече не е достъпен — може да е изтрит или зададен като частен от собственика му.",
+ "agentNotFound.title": "Агентът не е наличен",
"agentProfile.files_one": "{{count}} файл",
"agentProfile.files_other": "{{count}} файла",
"agentProfile.knowledgeBases_one": "{{count}} база знания",
@@ -117,6 +119,13 @@
"cliRateLimitGuide.resetIn": "Оставащо време",
"cliRateLimitGuide.resetInApprox": "Нулира се след около {{duration}}",
"cliRateLimitGuide.resetUnknown": "квотата се нулира",
+ "cliRateLimitGuide.schedule.cancel": "Отмени автоматичното продължаване",
+ "cliRateLimitGuide.schedule.continueAfter": "Продължи след ~{{duration}}",
+ "cliRateLimitGuide.schedule.continueAfterReset": "Продължи след нулиране",
+ "cliRateLimitGuide.schedule.retryNow": "Опитай отново сега",
+ "cliRateLimitGuide.schedule.runNow": "Стартирай сега",
+ "cliRateLimitGuide.schedule.scheduledAfterReset": "Планирано. Това изпълнение ще продължи автоматично, след като лимитът бъде нулиран.",
+ "cliRateLimitGuide.schedule.scheduledForApprox": "Планирано. Това изпълнение ще продължи автоматично след около {{duration}}.",
"cliRateLimitGuide.title": "Достигнат е лимитът за употреба на {{name}}",
"codexInstallGuide.actions.openDocs": "Отвори ръководството за инсталиране",
"codexInstallGuide.actions.openSystemTools": "Отвори системните инструменти",
@@ -242,6 +251,8 @@
"group.removeMember": "Премахни член",
"group.title": "Група",
"groupDescription": "Описание на групата",
+ "groupNotFound.desc": "Тази група не съществува или вече не е достъпна — може да е изтрита или зададена като частна от собственика ѝ.",
+ "groupNotFound.title": "Групата не е налична",
"groupSidebar.agentProfile.chat": "Чат",
"groupSidebar.agentProfile.model": "Модел",
"groupSidebar.agentProfile.settings": "Настройки",
@@ -376,6 +387,8 @@
"history.title": "Агентът ще запази само последните {{count}} съобщения.",
"historyRange": "Обхват на историята",
"historySummary": "Обобщение на историческите съобщения",
+ "inaccessibleFile.desc": "Няма достъп — може да е зададен като частен или изтрит от собственика му",
+ "inaccessibleFile.name": "Недостъпен файл",
"inactive": "Неактивен",
"inbox.desc": "Сътрудничете в едно Работно пространство и превръщайте идеите в резултати.",
"inbox.title": "Lobe AI",
@@ -411,6 +424,17 @@
"internalLink.preview.agent": "Агент",
"internalLink.preview.document": "Страница",
"internalLink.preview.task": "Задача",
+ "internalLink.preview.verify": "Доклад за проверка",
+ "internalLink.preview.verifyCounts": "{{passed}} преминали · {{failed}} неуспешни · {{uncertain}} несигурни",
+ "internalLink.preview.verifyStatus.delivered": "Доставено",
+ "internalLink.preview.verifyStatus.errored": "Грешка",
+ "internalLink.preview.verifyStatus.failed": "Неуспешно",
+ "internalLink.preview.verifyStatus.passed": "Успешно",
+ "internalLink.preview.verifyStatus.planned": "Планирано",
+ "internalLink.preview.verifyStatus.repairing": "Поправяне",
+ "internalLink.preview.verifyStatus.uncertain": "Несигурно",
+ "internalLink.preview.verifyStatus.unverified": "Непроверено",
+ "internalLink.preview.verifyStatus.verifying": "Проверява се",
"inviteMembers": "Покани членове",
"knowledgeBase.all": "Цялото съдържание",
"knowledgeBase.allFiles": "Всички файлове",
@@ -806,6 +830,7 @@
"taskDetail.activities.fallback.topic": "започна тема",
"taskDetail.activitiesEmpty": "Все още няма дейности",
"taskDetail.addSubtask": "Добавяне на подзадача",
+ "taskDetail.artifactInaccessible": "Недостъпен документ — няма достъп",
"taskDetail.artifactMenu.delete": "Премахни от задачата",
"taskDetail.artifactMenu.deleteConfirm.content": "Този артефакт повече няма да се появява в работното пространство на задачата.",
"taskDetail.artifactMenu.deleteConfirm.ok": "Премахни",
@@ -1266,10 +1291,14 @@
"workingPanel.browser.actions.reload": "Презареди",
"workingPanel.browser.actions.stop": "Спри зареждането",
"workingPanel.browser.addressPlaceholder": "Търсене или въведете адрес",
+ "workingPanel.browser.agentControlling": "Агентът използва браузъра",
+ "workingPanel.browser.agentCursor": "Агент",
"workingPanel.browser.desktopOnly": "Вграденият браузър е наличен само в десктоп приложението",
"workingPanel.browser.empty.desc": "Въведете адрес или търсете по-горе, за да отворите страница",
"workingPanel.browser.empty.title": "Започнете да сърфирате",
"workingPanel.browser.title": "Браузър",
+ "workingPanel.browser.tool.elements_one": "{{count}} елемент",
+ "workingPanel.browser.tool.elements_other": "{{count}} елемента",
"workingPanel.documents.close": "Close",
"workingPanel.documents.discard": "Discard",
"workingPanel.documents.edit": "Edit",
diff --git a/locales/de-DE/chat.json b/locales/de-DE/chat.json
index fd171e9da96..c513eb239b1 100644
--- a/locales/de-DE/chat.json
+++ b/locales/de-DE/chat.json
@@ -28,6 +28,8 @@
"agentDocument.emptyTitle": "Kein Dokument geöffnet",
"agentDocument.linkCopied": "Link kopiert",
"agentDocument.openAsPage": "Als vollständige Seite öffnen",
+ "agentNotFound.desc": "Dieser Agent existiert nicht oder ist nicht mehr zugänglich — er wurde möglicherweise gelöscht oder vom Besitzer auf privat gesetzt.",
+ "agentNotFound.title": "Agent nicht verfügbar",
"agentProfile.files_one": "{{count}} Datei",
"agentProfile.files_other": "{{count}} Dateien",
"agentProfile.knowledgeBases_one": "{{count}} Wissensbasis",
@@ -117,6 +119,13 @@
"cliRateLimitGuide.resetIn": "Verbleibende Zeit",
"cliRateLimitGuide.resetInApprox": "Setzt zurück in etwa {{duration}}",
"cliRateLimitGuide.resetUnknown": "das Kontingent wird zurückgesetzt",
+ "cliRateLimitGuide.schedule.cancel": "Automatisches Fortsetzen abbrechen",
+ "cliRateLimitGuide.schedule.continueAfter": "Fortsetzen in ~{{duration}}",
+ "cliRateLimitGuide.schedule.continueAfterReset": "Fortsetzen nach Zurücksetzen",
+ "cliRateLimitGuide.schedule.retryNow": "Jetzt erneut versuchen",
+ "cliRateLimitGuide.schedule.runNow": "Jetzt ausführen",
+ "cliRateLimitGuide.schedule.scheduledAfterReset": "Geplant. Dieser Durchlauf wird automatisch fortgesetzt, sobald das Limit zurückgesetzt wird.",
+ "cliRateLimitGuide.schedule.scheduledForApprox": "Geplant. Dieser Durchlauf wird automatisch in etwa {{duration}} fortgesetzt.",
"cliRateLimitGuide.title": "{{name}} Nutzungslimit erreicht",
"codexInstallGuide.actions.openDocs": "Installationsanleitung öffnen",
"codexInstallGuide.actions.openSystemTools": "Systemwerkzeuge öffnen",
@@ -242,6 +251,8 @@
"group.removeMember": "Mitglied entfernen",
"group.title": "Gruppe",
"groupDescription": "Gruppenbeschreibung",
+ "groupNotFound.desc": "Diese Gruppe existiert nicht oder ist nicht mehr zugänglich — sie wurde möglicherweise gelöscht oder vom Besitzer auf privat gesetzt.",
+ "groupNotFound.title": "Gruppe nicht verfügbar",
"groupSidebar.agentProfile.chat": "Chat",
"groupSidebar.agentProfile.model": "Modell",
"groupSidebar.agentProfile.settings": "Einstellungen",
@@ -376,6 +387,8 @@
"history.title": "Der Agent speichert nur die letzten {{count}} Nachrichten.",
"historyRange": "Verlaufsspanne",
"historySummary": "Zusammenfassung der bisherigen Nachrichten",
+ "inaccessibleFile.desc": "Kein Zugriff — sie wurde möglicherweise vom Besitzer auf privat gesetzt oder gelöscht",
+ "inaccessibleFile.name": "Nicht verfügbare Datei",
"inactive": "Inaktiv",
"inbox.desc": "Arbeiten Sie gemeinsam in einem Workspace und verwandeln Sie Ideen in Ergebnisse.",
"inbox.title": "Lobe AI",
@@ -411,6 +424,17 @@
"internalLink.preview.agent": "Agent",
"internalLink.preview.document": "Seite",
"internalLink.preview.task": "Aufgabe",
+ "internalLink.preview.verify": "Verifizierungsbericht",
+ "internalLink.preview.verifyCounts": "{{passed}} bestanden · {{failed}} fehlgeschlagen · {{uncertain}} unsicher",
+ "internalLink.preview.verifyStatus.delivered": "Zugestellt",
+ "internalLink.preview.verifyStatus.errored": "Fehler",
+ "internalLink.preview.verifyStatus.failed": "Fehlgeschlagen",
+ "internalLink.preview.verifyStatus.passed": "Bestanden",
+ "internalLink.preview.verifyStatus.planned": "Geplant",
+ "internalLink.preview.verifyStatus.repairing": "Wird repariert",
+ "internalLink.preview.verifyStatus.uncertain": "Unsicher",
+ "internalLink.preview.verifyStatus.unverified": "Nicht verifiziert",
+ "internalLink.preview.verifyStatus.verifying": "Wird verifiziert",
"inviteMembers": "Mitglieder einladen",
"knowledgeBase.all": "Alle Inhalte",
"knowledgeBase.allFiles": "Alle Dateien",
@@ -806,6 +830,7 @@
"taskDetail.activities.fallback.topic": "hat ein Thema gestartet",
"taskDetail.activitiesEmpty": "Noch keine Aktivitäten",
"taskDetail.addSubtask": "Teilaufgabe hinzufügen",
+ "taskDetail.artifactInaccessible": "Nicht verfügbares Dokument — kein Zugriff",
"taskDetail.artifactMenu.delete": "Aus Aufgabe entfernen",
"taskDetail.artifactMenu.deleteConfirm.content": "Dieses Artefakt wird nicht mehr im Aufgabenbereich angezeigt.",
"taskDetail.artifactMenu.deleteConfirm.ok": "Entfernen",
@@ -1266,10 +1291,14 @@
"workingPanel.browser.actions.reload": "Neu laden",
"workingPanel.browser.actions.stop": "Laden stoppen",
"workingPanel.browser.addressPlaceholder": "Suchen oder Adresse eingeben",
+ "workingPanel.browser.agentControlling": "Agent verwendet den Browser",
+ "workingPanel.browser.agentCursor": "Agent",
"workingPanel.browser.desktopOnly": "Der In-App-Browser ist nur in der Desktop-App verfügbar",
"workingPanel.browser.empty.desc": "Geben Sie oben eine Adresse oder einen Suchbegriff ein, um eine Seite zu öffnen",
"workingPanel.browser.empty.title": "Beginnen Sie mit dem Surfen",
"workingPanel.browser.title": "Browser",
+ "workingPanel.browser.tool.elements_one": "{{count}} Element",
+ "workingPanel.browser.tool.elements_other": "{{count}} Elemente",
"workingPanel.documents.close": "Close",
"workingPanel.documents.discard": "Discard",
"workingPanel.documents.edit": "Edit",
diff --git a/locales/en-US/chat.json b/locales/en-US/chat.json
index b71ce7ac9a2..9aab73dae6f 100644
--- a/locales/en-US/chat.json
+++ b/locales/en-US/chat.json
@@ -28,6 +28,8 @@
"agentDocument.emptyTitle": "No document open",
"agentDocument.linkCopied": "Link copied",
"agentDocument.openAsPage": "Open as full page",
+ "agentNotFound.desc": "This agent does not exist or is no longer accessible — it may have been deleted or set to private by its owner.",
+ "agentNotFound.title": "Agent Unavailable",
"agentProfile.files_one": "{{count}} file",
"agentProfile.files_other": "{{count}} files",
"agentProfile.knowledgeBases_one": "{{count}} library",
@@ -249,6 +251,8 @@
"group.removeMember": "Remove Member",
"group.title": "Group",
"groupDescription": "Group description",
+ "groupNotFound.desc": "This group does not exist or is no longer accessible — it may have been deleted or set to private by its owner.",
+ "groupNotFound.title": "Group Unavailable",
"groupSidebar.agentProfile.chat": "Chat",
"groupSidebar.agentProfile.model": "Model",
"groupSidebar.agentProfile.settings": "Settings",
@@ -383,6 +387,8 @@
"history.title": "The Agent will keep only the latest {{count}} messages.",
"historyRange": "History Range",
"historySummary": "Historical Message Summary",
+ "inaccessibleFile.desc": "No access — it may have been set to private or deleted by its owner",
+ "inaccessibleFile.name": "Unavailable file",
"inactive": "Inactive",
"inbox.desc": "Collaborate in one Workspace and move ideas into outcomes.",
"inbox.title": "Lobe AI",
@@ -826,6 +832,7 @@
"taskDetail.activities.fallback.topic": "started a topic",
"taskDetail.activitiesEmpty": "No activity yet",
"taskDetail.addSubtask": "Add sub-task",
+ "taskDetail.artifactInaccessible": "Unavailable document — no access",
"taskDetail.artifactMenu.delete": "Remove from task",
"taskDetail.artifactMenu.deleteConfirm.content": "This artifact will no longer appear in this task workspace.",
"taskDetail.artifactMenu.deleteConfirm.ok": "Remove",
diff --git a/locales/en-US/file.json b/locales/en-US/file.json
index 9d258f011c5..4deea033628 100644
--- a/locales/en-US/file.json
+++ b/locales/en-US/file.json
@@ -82,6 +82,8 @@
"menu.allFiles": "All Files",
"menu.allPages": "All Pages",
"networkError": "Failed to retrieve libraries. Please check your network connection and try again.",
+ "notFound.desc": "This file does not exist or is no longer accessible — it may have been deleted or set to private by its owner.",
+ "notFound.title": "File Unavailable",
"notSupportGuide.desc": "The current deployment mode does not support file management. Switch to <1>server database deployment mode</1>, or use <3>LobeHub Cloud</3>.",
"notSupportGuide.features.allKind.desc": "Supports mainstream file types, including common page formats like Word, PPT, Excel, PDF, TXT, as well as popular code files like JS and Python.",
"notSupportGuide.features.allKind.title": "Multiple File Type Parsing",
diff --git a/locales/en-US/image.json b/locales/en-US/image.json
index 8832663105e..d259a396cc1 100644
--- a/locales/en-US/image.json
+++ b/locales/en-US/image.json
@@ -53,6 +53,8 @@
"generation.metadata.createdAt": "Created at {{time}}",
"generation.status.failed": "Generation hit a problem. Adjust the prompt and try again",
"generation.status.generating": "Generating...",
+ "generationTopic.notFound.desc": "This generation does not exist or is no longer accessible — it may have been deleted or set to private by its owner.",
+ "generationTopic.notFound.title": "Generation Unavailable",
"notSupportGuide.desc": "The current deployment mode does not support AI image generation. Switch to the <1>server database deployment mode</1>, or use <3>LobeHub Cloud</3>.",
"notSupportGuide.features.fileIntegration.desc": "Deep integration with the file management system; generated images are automatically saved to the file system for unified management and organization.",
"notSupportGuide.features.fileIntegration.title": "File System Integration",
diff --git a/locales/es-ES/chat.json b/locales/es-ES/chat.json
index 7dfc1097625..2014a83dd0a 100644
--- a/locales/es-ES/chat.json
+++ b/locales/es-ES/chat.json
@@ -28,6 +28,8 @@
"agentDocument.emptyTitle": "Ningún documento abierto",
"agentDocument.linkCopied": "Enlace copiado",
"agentDocument.openAsPage": "Abrir como página completa",
+ "agentNotFound.desc": "Este agente no existe o ya no es accesible — puede haber sido eliminado o configurado como privado por su propietario.",
+ "agentNotFound.title": "Agente no disponible",
"agentProfile.files_one": "{{count}} archivo",
"agentProfile.files_other": "{{count}} archivos",
"agentProfile.knowledgeBases_one": "{{count}} base de conocimiento",
@@ -117,6 +119,13 @@
"cliRateLimitGuide.resetIn": "Tiempo restante",
"cliRateLimitGuide.resetInApprox": "Se restablece en aproximadamente {{duration}}",
"cliRateLimitGuide.resetUnknown": "el límite se reinicia",
+ "cliRateLimitGuide.schedule.cancel": "Cancelar auto-continuación",
+ "cliRateLimitGuide.schedule.continueAfter": "Continuar en ~{{duration}}",
+ "cliRateLimitGuide.schedule.continueAfterReset": "Continuar después del reinicio",
+ "cliRateLimitGuide.schedule.retryNow": "Reintentar ahora",
+ "cliRateLimitGuide.schedule.runNow": "Ejecutar ahora",
+ "cliRateLimitGuide.schedule.scheduledAfterReset": "Programado. Esta ejecución continuará automáticamente una vez que se reinicie el límite.",
+ "cliRateLimitGuide.schedule.scheduledForApprox": "Programado. Esta ejecución continuará automáticamente en aproximadamente {{duration}}.",
"cliRateLimitGuide.title": "Límite de uso alcanzado para {{name}}",
"codexInstallGuide.actions.openDocs": "Abrir guía de instalación",
"codexInstallGuide.actions.openSystemTools": "Abrir herramientas del sistema",
@@ -242,6 +251,8 @@
"group.removeMember": "Eliminar miembro",
"group.title": "Grupo",
"groupDescription": "Descripción del grupo",
+ "groupNotFound.desc": "Este grupo no existe o ya no es accesible — puede haber sido eliminado o configurado como privado por su propietario.",
+ "groupNotFound.title": "Grupo no disponible",
"groupSidebar.agentProfile.chat": "Chat",
"groupSidebar.agentProfile.model": "Modelo",
"groupSidebar.agentProfile.settings": "Configuración",
@@ -376,6 +387,8 @@
"history.title": "El Agente solo conservará los últimos {{count}} mensajes.",
"historyRange": "Rango de historial",
"historySummary": "Resumen de mensajes históricos",
+ "inaccessibleFile.desc": "Sin acceso — puede haber sido configurado como privado o eliminado por su propietario",
+ "inaccessibleFile.name": "Archivo no disponible",
"inactive": "Inactivo",
"inbox.desc": "Colabora en un solo espacio de trabajo y convierte ideas en resultados.",
"inbox.title": "Lobe AI",
@@ -411,6 +424,17 @@
"internalLink.preview.agent": "Agente",
"internalLink.preview.document": "Página",
"internalLink.preview.task": "Tarea",
+ "internalLink.preview.verify": "Informe de verificación",
+ "internalLink.preview.verifyCounts": "{{passed}} aprobados · {{failed}} fallidos · {{uncertain}} inciertos",
+ "internalLink.preview.verifyStatus.delivered": "Entregado",
+ "internalLink.preview.verifyStatus.errored": "Error",
+ "internalLink.preview.verifyStatus.failed": "Fallido",
+ "internalLink.preview.verifyStatus.passed": "Aprobado",
+ "internalLink.preview.verifyStatus.planned": "Planificado",
+ "internalLink.preview.verifyStatus.repairing": "Reparando",
+ "internalLink.preview.verifyStatus.uncertain": "Incierto",
+ "internalLink.preview.verifyStatus.unverified": "No verificado",
+ "internalLink.preview.verifyStatus.verifying": "Verificando",
"inviteMembers": "Invitar miembros",
"knowledgeBase.all": "Todo el contenido",
"knowledgeBase.allFiles": "Todos los archivos",
@@ -806,6 +830,7 @@
"taskDetail.activities.fallback.topic": "inició un tema",
"taskDetail.activitiesEmpty": "Aún no hay actividad",
"taskDetail.addSubtask": "Añadir subtarea",
+ "taskDetail.artifactInaccessible": "Documento no disponible — sin acceso",
"taskDetail.artifactMenu.delete": "Quitar de la tarea",
"taskDetail.artifactMenu.deleteConfirm.content": "Este artefacto ya no aparecerá en el espacio de trabajo de esta tarea.",
"taskDetail.artifactMenu.deleteConfirm.ok": "Quitar",
@@ -1266,10 +1291,14 @@
"workingPanel.browser.actions.reload": "Recargar",
"workingPanel.browser.actions.stop": "Detener carga",
"workingPanel.browser.addressPlaceholder": "Buscar o ingresar dirección",
+ "workingPanel.browser.agentControlling": "El agente está utilizando el navegador",
+ "workingPanel.browser.agentCursor": "Agente",
"workingPanel.browser.desktopOnly": "El navegador integrado solo está disponible en la aplicación de escritorio",
"workingPanel.browser.empty.desc": "Ingresa una dirección o busca arriba para abrir una página",
"workingPanel.browser.empty.title": "Comienza a navegar",
"workingPanel.browser.title": "Navegador",
+ "workingPanel.browser.tool.elements_one": "{{count}} elemento",
+ "workingPanel.browser.tool.elements_other": "{{count}} elementos",
"workingPanel.documents.close": "Close",
"workingPanel.documents.discard": "Discard",
"workingPanel.documents.edit": "Edit",
diff --git a/locales/fa-IR/chat.json b/locales/fa-IR/chat.json
index b87a5c0d9c2..ae7f1b73b46 100644
--- a/locales/fa-IR/chat.json
+++ b/locales/fa-IR/chat.json
@@ -28,6 +28,8 @@
"agentDocument.emptyTitle": "هیچ سندی باز نیست",
"agentDocument.linkCopied": "لینک کپی شد",
"agentDocument.openAsPage": "باز کردن به صورت صفحه کامل",
+ "agentNotFound.desc": "این عامل وجود ندارد یا دیگر قابل دسترسی نیست — ممکن است توسط مالک آن حذف شده یا به حالت خصوصی تنظیم شده باشد.",
+ "agentNotFound.title": "عامل در دسترس نیست",
"agentProfile.files_one": "{{count}} فایل",
"agentProfile.files_other": "{{count}} فایل",
"agentProfile.knowledgeBases_one": "{{count}} پایگاه‌دانش",
@@ -117,6 +119,13 @@
"cliRateLimitGuide.resetIn": "زمان باقی‌مانده",
"cliRateLimitGuide.resetInApprox": "ریست در حدود {{duration}}",
"cliRateLimitGuide.resetUnknown": "سهمیه بازنشانی می‌شود",
+ "cliRateLimitGuide.schedule.cancel": "لغو ادامه خودکار",
+ "cliRateLimitGuide.schedule.continueAfter": "ادامه در حدود ~{{duration}}",
+ "cliRateLimitGuide.schedule.continueAfterReset": "ادامه پس از بازنشانی",
+ "cliRateLimitGuide.schedule.retryNow": "اکنون دوباره تلاش کنید",
+ "cliRateLimitGuide.schedule.runNow": "اکنون اجرا کنید",
+ "cliRateLimitGuide.schedule.scheduledAfterReset": "برنامه‌ریزی شده. این اجرا به‌طور خودکار پس از بازنشانی محدودیت ادامه خواهد یافت.",
+ "cliRateLimitGuide.schedule.scheduledForApprox": "برنامه‌ریزی شده. این اجرا به‌طور خودکار در حدود {{duration}} ادامه خواهد یافت.",
"cliRateLimitGuide.title": "حد استفاده {{name}} به پایان رسید",
"codexInstallGuide.actions.openDocs": "باز کردن راهنمای نصب",
"codexInstallGuide.actions.openSystemTools": "باز کردن ابزارهای سیستم",
@@ -242,6 +251,8 @@
"group.removeMember": "حذف عضو",
"group.title": "گروه",
"groupDescription": "توضیحات گروه",
+ "groupNotFound.desc": "این گروه وجود ندارد یا دیگر قابل دسترسی نیست — ممکن است توسط مالک آن حذف شده یا به حالت خصوصی تنظیم شده باشد.",
+ "groupNotFound.title": "گروه در دسترس نیست",
"groupSidebar.agentProfile.chat": "گفتگو",
"groupSidebar.agentProfile.model": "مدل",
"groupSidebar.agentProfile.settings": "تنظیمات",
@@ -376,6 +387,8 @@
"history.title": "عامل فقط آخرین {{count}} پیام را نگه می‌دارد.",
"historyRange": "محدوده تاریخچه",
"historySummary": "خلاصه پیام‌های تاریخی",
+ "inaccessibleFile.desc": "دسترسی وجود ندارد — ممکن است توسط مالک آن به حالت خصوصی تنظیم شده یا حذف شده باشد",
+ "inaccessibleFile.name": "فایل در دسترس نیست",
"inactive": "غیرفعال",
"inbox.desc": "در یک فضای کاری مشترک همکاری کنید و ایده‌ها را به نتایج تبدیل کنید.",
"inbox.title": "Lobe AI",
@@ -411,6 +424,17 @@
"internalLink.preview.agent": "نماینده",
"internalLink.preview.document": "صفحه",
"internalLink.preview.task": "وظیفه",
+ "internalLink.preview.verify": "گزارش تأیید",
+ "internalLink.preview.verifyCounts": "{{passed}} موفق · {{failed}} ناموفق · {{uncertain}} نامشخص",
+ "internalLink.preview.verifyStatus.delivered": "تحویل داده شده",
+ "internalLink.preview.verifyStatus.errored": "خطا",
+ "internalLink.preview.verifyStatus.failed": "ناموفق",
+ "internalLink.preview.verifyStatus.passed": "موفق",
+ "internalLink.preview.verifyStatus.planned": "برنامه‌ریزی شده",
+ "internalLink.preview.verifyStatus.repairing": "در حال تعمیر",
+ "internalLink.preview.verifyStatus.uncertain": "نامشخص",
+ "internalLink.preview.verifyStatus.unverified": "تأیید نشده",
+ "internalLink.preview.verifyStatus.verifying": "در حال تأیید",
"inviteMembers": "دعوت اعضا",
"knowledgeBase.all": "تمام محتوا",
"knowledgeBase.allFiles": "تمام فایل‌ها",
@@ -806,6 +830,7 @@
"taskDetail.activities.fallback.topic": "یک موضوع ایجاد کرد",
"taskDetail.activitiesEmpty": "هنوز فعالیتی وجود ندارد",
"taskDetail.addSubtask": "افزودن زیر‌وظیفه",
+ "taskDetail.artifactInaccessible": "سند در دسترس نیست — دسترسی وجود ندارد",
"taskDetail.artifactMenu.delete": "حذف از وظیفه",
"taskDetail.artifactMenu.deleteConfirm.content": "این آیتم دیگر در فضای کاری این وظیفه نمایش داده نخواهد شد.",
"taskDetail.artifactMenu.deleteConfirm.ok": "حذف",
@@ -1266,10 +1291,14 @@
"workingPanel.browser.actions.reload": "بارگذاری مجدد",
"workingPanel.browser.actions.stop": "توقف بارگذاری",
"workingPanel.browser.addressPlaceholder": "جستجو یا وارد کردن آدرس",
+ "workingPanel.browser.agentControlling": "عامل در حال استفاده از مرورگر است",
+ "workingPanel.browser.agentCursor": "عامل",
"workingPanel.browser.desktopOnly": "مرورگر داخلی فقط در اپلیکیشن دسکتاپ موجود است",
"workingPanel.browser.empty.desc": "برای باز کردن یک صفحه، آدرس یا جستجو را در بالا وارد کنید",
"workingPanel.browser.empty.title": "شروع مرور",
"workingPanel.browser.title": "مرورگر",
+ "workingPanel.browser.tool.elements_one": "{{count}} عنصر",
+ "workingPanel.browser.tool.elements_other": "{{count}} عناصر",
"workingPanel.documents.close": "Close",
"workingPanel.documents.discard": "Discard",
"workingPanel.documents.edit": "Edit",
diff --git a/locales/fr-FR/chat.json b/locales/fr-FR/chat.json
index 80de8420669..13bf4f3d376 100644
--- a/locales/fr-FR/chat.json
+++ b/locales/fr-FR/chat.json
@@ -28,6 +28,8 @@
"agentDocument.emptyTitle": "Aucun document ouvert",
"agentDocument.linkCopied": "Lien copié",
"agentDocument.openAsPage": "Ouvrir en pleine page",
+ "agentNotFound.desc": "Cet agent n'existe pas ou n'est plus accessible — il a peut-être été supprimé ou défini comme privé par son propriétaire.",
+ "agentNotFound.title": "Agent Indisponible",
"agentProfile.files_one": "{{count}} fichier",
"agentProfile.files_other": "{{count}} fichiers",
"agentProfile.knowledgeBases_one": "{{count}} base de connaissances",
@@ -117,6 +119,13 @@
"cliRateLimitGuide.resetIn": "Temps restant",
"cliRateLimitGuide.resetInApprox": "Réinitialise dans environ {{duration}}",
"cliRateLimitGuide.resetUnknown": "le quota se réinitialise",
+ "cliRateLimitGuide.schedule.cancel": "Annuler la reprise automatique",
+ "cliRateLimitGuide.schedule.continueAfter": "Continuer dans ~{{duration}}",
+ "cliRateLimitGuide.schedule.continueAfterReset": "Continuer après réinitialisation",
+ "cliRateLimitGuide.schedule.retryNow": "Réessayer maintenant",
+ "cliRateLimitGuide.schedule.runNow": "Exécuter maintenant",
+ "cliRateLimitGuide.schedule.scheduledAfterReset": "Planifié. Cette exécution reprendra automatiquement une fois la limite réinitialisée.",
+ "cliRateLimitGuide.schedule.scheduledForApprox": "Planifié. Cette exécution reprendra automatiquement dans environ {{duration}}.",
"cliRateLimitGuide.title": "Limite d’utilisation de {{name}} atteinte",
"codexInstallGuide.actions.openDocs": "Ouvrir le guide d’installation",
"codexInstallGuide.actions.openSystemTools": "Ouvrir les outils système",
@@ -242,6 +251,8 @@
"group.removeMember": "Retirer le membre",
"group.title": "Groupe",
"groupDescription": "Description du groupe",
+ "groupNotFound.desc": "Ce groupe n'existe pas ou n'est plus accessible — il a peut-être été supprimé ou défini comme privé par son propriétaire.",
+ "groupNotFound.title": "Groupe Indisponible",
"groupSidebar.agentProfile.chat": "Discussion",
"groupSidebar.agentProfile.model": "Modèle",
"groupSidebar.agentProfile.settings": "Paramètres",
@@ -376,6 +387,8 @@
"history.title": "L’agent ne conservera que les {{count}} derniers messages.",
"historyRange": "Plage d’historique",
"historySummary": "Résumé des messages historiques",
+ "inaccessibleFile.desc": "Accès refusé — il a peut-être été défini comme privé ou supprimé par son propriétaire",
+ "inaccessibleFile.name": "Fichier Indisponible",
"inactive": "Inactif",
"inbox.desc": "Collaborez dans un espace de travail unique et transformez les idées en résultats.",
"inbox.title": "Lobe IA",
@@ -411,6 +424,17 @@
"internalLink.preview.agent": "Agent",
"internalLink.preview.document": "Page",
"internalLink.preview.task": "Tâche",
+ "internalLink.preview.verify": "Rapport de vérification",
+ "internalLink.preview.verifyCounts": "{{passed}} réussis · {{failed}} échoués · {{uncertain}} incertains",
+ "internalLink.preview.verifyStatus.delivered": "Livré",
+ "internalLink.preview.verifyStatus.errored": "Erreur",
+ "internalLink.preview.verifyStatus.failed": "Échoué",
+ "internalLink.preview.verifyStatus.passed": "Réussi",
+ "internalLink.preview.verifyStatus.planned": "Planifié",
+ "internalLink.preview.verifyStatus.repairing": "En réparation",
+ "internalLink.preview.verifyStatus.uncertain": "Incertains",
+ "internalLink.preview.verifyStatus.unverified": "Non vérifié",
+ "internalLink.preview.verifyStatus.verifying": "En cours de vérification",
"inviteMembers": "Inviter des membres",
"knowledgeBase.all": "Tout le contenu",
"knowledgeBase.allFiles": "Tous les fichiers",
@@ -806,6 +830,7 @@
"taskDetail.activities.fallback.topic": "a lancé un sujet",
"taskDetail.activitiesEmpty": "Aucune activité pour le moment",
"taskDetail.addSubtask": "Ajouter une sous-tâche",
+ "taskDetail.artifactInaccessible": "Document indisponible — accès refusé",
"taskDetail.artifactMenu.delete": "Retirer de la tâche",
"taskDetail.artifactMenu.deleteConfirm.content": "Cet artefact n’apparaîtra plus dans l’espace de travail de cette tâche.",
"taskDetail.artifactMenu.deleteConfirm.ok": "Retirer",
@@ -1266,10 +1291,14 @@
"workingPanel.browser.actions.reload": "Recharger",
"workingPanel.browser.actions.stop": "Arrêter le chargement",
"workingPanel.browser.addressPlaceholder": "Rechercher ou entrer une adresse",
+ "workingPanel.browser.agentControlling": "L'agent utilise le navigateur",
+ "workingPanel.browser.agentCursor": "Agent",
"workingPanel.browser.desktopOnly": "Le navigateur intégré est uniquement disponible dans l'application de bureau",
"workingPanel.browser.empty.desc": "Entrez une adresse ou effectuez une recherche ci-dessus pour ouvrir une page",
"workingPanel.browser.empty.title": "Commencez à naviguer",
"workingPanel.browser.title": "Navigateur",
+ "workingPanel.browser.tool.elements_one": "{{count}} élément",
+ "workingPanel.browser.tool.elements_other": "{{count}} éléments",
"workingPanel.documents.close": "Close",
"workingPanel.documents.discard": "Discard",
"workingPanel.documents.edit": "Edit",
diff --git a/locales/it-IT/chat.json b/locales/it-IT/chat.json
index 2b075b961d2..954df5ebb97 100644
--- a/locales/it-IT/chat.json
+++ b/locales/it-IT/chat.json
@@ -28,6 +28,8 @@
"agentDocument.emptyTitle": "Nessun documento aperto",
"agentDocument.linkCopied": "Link copiato",
"agentDocument.openAsPage": "Apri come pagina intera",
+ "agentNotFound.desc": "Questo agente non esiste o non è più accessibile — potrebbe essere stato eliminato o impostato come privato dal suo proprietario.",
+ "agentNotFound.title": "Agente non disponibile",
"agentProfile.files_one": "{{count}} file",
"agentProfile.files_other": "{{count}} file",
"agentProfile.knowledgeBases_one": "{{count}} base di conoscenza",
@@ -117,6 +119,13 @@
"cliRateLimitGuide.resetIn": "Tempo rimanente",
"cliRateLimitGuide.resetInApprox": "Ripristina tra circa {{duration}}",
"cliRateLimitGuide.resetUnknown": "la quota si resetta",
+ "cliRateLimitGuide.schedule.cancel": "Annulla auto-continuazione",
+ "cliRateLimitGuide.schedule.continueAfter": "Continua tra ~{{duration}}",
+ "cliRateLimitGuide.schedule.continueAfterReset": "Continua dopo il reset",
+ "cliRateLimitGuide.schedule.retryNow": "Riprova ora",
+ "cliRateLimitGuide.schedule.runNow": "Esegui ora",
+ "cliRateLimitGuide.schedule.scheduledAfterReset": "Pianificato. Questa esecuzione continuerà automaticamente una volta che il limite sarà reimpostato.",
+ "cliRateLimitGuide.schedule.scheduledForApprox": "Pianificato. Questa esecuzione continuerà automaticamente tra circa {{duration}}.",
"cliRateLimitGuide.title": "Raggiunto il limite di utilizzo di {{name}}",
"codexInstallGuide.actions.openDocs": "Apri la guida all'installazione",
"codexInstallGuide.actions.openSystemTools": "Apri strumenti di sistema",
@@ -242,6 +251,8 @@
"group.removeMember": "Rimuovi Membro",
"group.title": "Gruppo",
"groupDescription": "Descrizione del Gruppo",
+ "groupNotFound.desc": "Questo gruppo non esiste o non è più accessibile — potrebbe essere stato eliminato o impostato come privato dal suo proprietario.",
+ "groupNotFound.title": "Gruppo non disponibile",
"groupSidebar.agentProfile.chat": "Chat",
"groupSidebar.agentProfile.model": "Modello",
"groupSidebar.agentProfile.settings": "Impostazioni",
@@ -376,6 +387,8 @@
"history.title": "L'Agente manterrà solo gli ultimi {{count}} messaggi.",
"historyRange": "Intervallo Cronologia",
"historySummary": "Riepilogo Messaggi Storici",
+ "inaccessibleFile.desc": "Nessun accesso — potrebbe essere stato impostato come privato o eliminato dal suo proprietario",
+ "inaccessibleFile.name": "File non disponibile",
"inactive": "Inattivo",
"inbox.desc": "Collabora in un unico Spazio di Lavoro e trasforma le idee in risultati.",
"inbox.title": "Lobe AI",
@@ -411,6 +424,17 @@
"internalLink.preview.agent": "Agente",
"internalLink.preview.document": "Pagina",
"internalLink.preview.task": "Compito",
+ "internalLink.preview.verify": "Rapporto di verifica",
+ "internalLink.preview.verifyCounts": "{{passed}} superati · {{failed}} falliti · {{uncertain}} incerti",
+ "internalLink.preview.verifyStatus.delivered": "Consegnato",
+ "internalLink.preview.verifyStatus.errored": "Errore",
+ "internalLink.preview.verifyStatus.failed": "Fallito",
+ "internalLink.preview.verifyStatus.passed": "Superato",
+ "internalLink.preview.verifyStatus.planned": "Pianificato",
+ "internalLink.preview.verifyStatus.repairing": "In riparazione",
+ "internalLink.preview.verifyStatus.uncertain": "Incerto",
+ "internalLink.preview.verifyStatus.unverified": "Non verificato",
+ "internalLink.preview.verifyStatus.verifying": "In verifica",
"inviteMembers": "Invita membri",
"knowledgeBase.all": "Tutti i Contenuti",
"knowledgeBase.allFiles": "Tutti i File",
@@ -806,6 +830,7 @@
"taskDetail.activities.fallback.topic": "ha avviato un argomento",
"taskDetail.activitiesEmpty": "Nessuna attività",
"taskDetail.addSubtask": "Aggiungi sotto-attività",
+ "taskDetail.artifactInaccessible": "Documento non disponibile — nessun accesso",
"taskDetail.artifactMenu.delete": "Rimuovi dal task",
"taskDetail.artifactMenu.deleteConfirm.content": "Questo artefatto non apparirà più nell'area di lavoro del task.",
"taskDetail.artifactMenu.deleteConfirm.ok": "Rimuovi",
@@ -1266,10 +1291,14 @@
"workingPanel.browser.actions.reload": "Ricarica",
"workingPanel.browser.actions.stop": "Interrompi caricamento",
"workingPanel.browser.addressPlaceholder": "Cerca o inserisci indirizzo",
+ "workingPanel.browser.agentControlling": "L'agente sta utilizzando il browser",
+ "workingPanel.browser.agentCursor": "Agente",
"workingPanel.browser.desktopOnly": "Il browser integrato è disponibile solo nell'app desktop",
"workingPanel.browser.empty.desc": "Inserisci un indirizzo o cerca sopra per aprire una pagina",
"workingPanel.browser.empty.title": "Inizia a navigare",
"workingPanel.browser.title": "Browser",
+ "workingPanel.browser.tool.elements_one": "{{count}} elemento",
+ "workingPanel.browser.tool.elements_other": "{{count}} elementi",
"workingPanel.documents.close": "Close",
"workingPanel.documents.discard": "Discard",
"workingPanel.documents.edit": "Edit",
diff --git a/locales/ja-JP/chat.json b/locales/ja-JP/chat.json
index 4e13d522d06..7175fc188fe 100644
--- a/locales/ja-JP/chat.json
+++ b/locales/ja-JP/chat.json
@@ -28,6 +28,8 @@
"agentDocument.emptyTitle": "ドキュメントが開かれていません",
"agentDocument.linkCopied": "リンクがコピーされました",
"agentDocument.openAsPage": "全画面で開く",
+ "agentNotFound.desc": "このエージェントは存在しないか、アクセスできなくなっています — 削除されたか、所有者によって非公開に設定された可能性があります。",
+ "agentNotFound.title": "エージェントが利用できません",
"agentProfile.files_one": "{{count}} 件のファイル",
"agentProfile.files_other": "{{count}} 件のファイル",
"agentProfile.knowledgeBases_one": "{{count}} 件のナレッジベース",
@@ -117,6 +119,13 @@
"cliRateLimitGuide.resetIn": "残り時間",
"cliRateLimitGuide.resetInApprox": "約 {{duration}} でリセット",
"cliRateLimitGuide.resetUnknown": "クォータがリセットされます",
+ "cliRateLimitGuide.schedule.cancel": "自動継続をキャンセル",
+ "cliRateLimitGuide.schedule.continueAfter": "約{{duration}}後に続行",
+ "cliRateLimitGuide.schedule.continueAfterReset": "リセット後に続行",
+ "cliRateLimitGuide.schedule.retryNow": "今すぐ再試行",
+ "cliRateLimitGuide.schedule.runNow": "今すぐ実行",
+ "cliRateLimitGuide.schedule.scheduledAfterReset": "スケジュール済み。この実行は制限がリセットされ次第、自動的に続行されます。",
+ "cliRateLimitGuide.schedule.scheduledForApprox": "スケジュール済み。この実行は約{{duration}}後に自動的に続行されます。",
"cliRateLimitGuide.title": "{{name}} の使用制限に達しました",
"codexInstallGuide.actions.openDocs": "インストールガイドを開く",
"codexInstallGuide.actions.openSystemTools": "システムツールを開く",
@@ -242,6 +251,8 @@
"group.removeMember": "メンバーを削除",
"group.title": "グループ",
"groupDescription": "グループの説明",
+ "groupNotFound.desc": "このグループは存在しないか、アクセスできなくなっています — 削除されたか、所有者によって非公開に設定された可能性があります。",
+ "groupNotFound.title": "グループが利用できません",
"groupSidebar.agentProfile.chat": "チャット",
"groupSidebar.agentProfile.model": "モデル",
"groupSidebar.agentProfile.settings": "設定",
@@ -376,6 +387,8 @@
"history.title": "アシスタントは最近 {{count}} 件のメッセージのみを保持します",
"historyRange": "履歴範囲",
"historySummary": "履歴メッセージの要約",
+ "inaccessibleFile.desc": "アクセス不可 — 非公開に設定されたか、所有者によって削除された可能性があります",
+ "inaccessibleFile.name": "利用できないファイル",
"inactive": "非アクティブ",
"inbox.desc": "同一空間で協力し、アイデアを結果に推進します",
"inbox.title": "Lobe AI",
@@ -411,6 +424,17 @@
"internalLink.preview.agent": "エージェント",
"internalLink.preview.document": "ページ",
"internalLink.preview.task": "タスク",
+ "internalLink.preview.verify": "検証レポート",
+ "internalLink.preview.verifyCounts": "{{passed}} 合格 · {{failed}} 失敗 · {{uncertain}} 不明",
+ "internalLink.preview.verifyStatus.delivered": "配信済み",
+ "internalLink.preview.verifyStatus.errored": "エラー",
+ "internalLink.preview.verifyStatus.failed": "失敗",
+ "internalLink.preview.verifyStatus.passed": "合格",
+ "internalLink.preview.verifyStatus.planned": "計画済み",
+ "internalLink.preview.verifyStatus.repairing": "修復中",
+ "internalLink.preview.verifyStatus.uncertain": "不明",
+ "internalLink.preview.verifyStatus.unverified": "未検証",
+ "internalLink.preview.verifyStatus.verifying": "検証中",
"inviteMembers": "メンバーを招待",
"knowledgeBase.all": "すべてのコンテンツ",
"knowledgeBase.allFiles": "すべてのファイル",
@@ -806,6 +830,7 @@
"taskDetail.activities.fallback.topic": "トピックを開始しました",
"taskDetail.activitiesEmpty": "まだアクティビティはありません",
"taskDetail.addSubtask": "サブタスクを追加",
+ "taskDetail.artifactInaccessible": "利用できないドキュメント — アクセス不可",
"taskDetail.artifactMenu.delete": "タスクから削除",
"taskDetail.artifactMenu.deleteConfirm.content": "このアーティファクトは、このタスクのワークスペースに表示されなくなります。",
"taskDetail.artifactMenu.deleteConfirm.ok": "削除",
@@ -1266,10 +1291,14 @@
"workingPanel.browser.actions.reload": "再読み込み",
"workingPanel.browser.actions.stop": "読み込みを停止",
"workingPanel.browser.addressPlaceholder": "検索またはアドレスを入力",
+ "workingPanel.browser.agentControlling": "エージェントがブラウザを使用中",
+ "workingPanel.browser.agentCursor": "エージェント",
"workingPanel.browser.desktopOnly": "アプリ内ブラウザはデスクトップアプリでのみ利用可能です",
"workingPanel.browser.empty.desc": "上部にアドレスを入力するか検索してページを開いてください",
"workingPanel.browser.empty.title": "ブラウジングを開始",
"workingPanel.browser.title": "ブラウザ",
+ "workingPanel.browser.tool.elements_one": "{{count}} 要素",
+ "workingPanel.browser.tool.elements_other": "{{count}} 要素",
"workingPanel.documents.close": "Close",
"workingPanel.documents.discard": "Discard",
"workingPanel.documents.edit": "Edit",
diff --git a/locales/ko-KR/chat.json b/locales/ko-KR/chat.json
index 6e928982440..82e184a4f92 100644
--- a/locales/ko-KR/chat.json
+++ b/locales/ko-KR/chat.json
@@ -28,6 +28,8 @@
"agentDocument.emptyTitle": "열린 문서 없음",
"agentDocument.linkCopied": "링크가 복사되었습니다",
"agentDocument.openAsPage": "전체 페이지로 열기",
+ "agentNotFound.desc": "이 에이전트는 존재하지 않거나 더 이상 접근할 수 없습니다 — 소유자가 삭제했거나 비공개로 설정했을 수 있습니다.",
+ "agentNotFound.title": "에이전트 이용 불가",
"agentProfile.files_one": "{{count}}개 파일",
"agentProfile.files_other": "{{count}}개 파일",
"agentProfile.knowledgeBases_one": "{{count}}개 지식 베이스",
@@ -117,6 +119,13 @@
"cliRateLimitGuide.resetIn": "남은 시간",
"cliRateLimitGuide.resetInApprox": "약 {{duration}} 후 재설정",
"cliRateLimitGuide.resetUnknown": "할당량이 재설정됩니다",
+ "cliRateLimitGuide.schedule.cancel": "자동 진행 취소",
+ "cliRateLimitGuide.schedule.continueAfter": "~{{duration}} 후 계속 진행",
+ "cliRateLimitGuide.schedule.continueAfterReset": "재설정 후 계속 진행",
+ "cliRateLimitGuide.schedule.retryNow": "지금 다시 시도",
+ "cliRateLimitGuide.schedule.runNow": "지금 실행",
+ "cliRateLimitGuide.schedule.scheduledAfterReset": "예약됨. 제한이 재설정되면 이 실행이 자동으로 계속됩니다.",
+ "cliRateLimitGuide.schedule.scheduledForApprox": "예약됨. 약 {{duration}} 후 이 실행이 자동으로 계속됩니다.",
"cliRateLimitGuide.title": "{{name}} 사용 한도 도달",
"codexInstallGuide.actions.openDocs": "설치 가이드 열기",
"codexInstallGuide.actions.openSystemTools": "시스템 도구 열기",
@@ -242,6 +251,8 @@
"group.removeMember": "구성원 제거",
"group.title": "그룹",
"groupDescription": "그룹 설명",
+ "groupNotFound.desc": "이 그룹은 존재하지 않거나 더 이상 접근할 수 없습니다 — 소유자가 삭제했거나 비공개로 설정했을 수 있습니다.",
+ "groupNotFound.title": "그룹 이용 불가",
"groupSidebar.agentProfile.chat": "채팅",
"groupSidebar.agentProfile.model": "모델",
"groupSidebar.agentProfile.settings": "설정",
@@ -376,6 +387,8 @@
"history.title": "도우미는 최근 {{count}}개의 메시지만 기억합니다",
"historyRange": "기록 범위",
"historySummary": "기록 메시지 요약",
+ "inaccessibleFile.desc": "접근 불가 — 소유자가 비공개로 설정했거나 삭제했을 수 있습니다",
+ "inaccessibleFile.name": "이용 불가 파일",
"inactive": "비활성",
"inbox.desc": "동일한 공간에서 협력하여 아이디어를 결과로 만듭니다",
"inbox.title": "Lobe AI",
@@ -411,6 +424,17 @@
"internalLink.preview.agent": "에이전트",
"internalLink.preview.document": "페이지",
"internalLink.preview.task": "작업",
+ "internalLink.preview.verify": "검증 보고서",
+ "internalLink.preview.verifyCounts": "{{passed}} 통과 · {{failed}} 실패 · {{uncertain}} 불확실",
+ "internalLink.preview.verifyStatus.delivered": "전달됨",
+ "internalLink.preview.verifyStatus.errored": "오류",
+ "internalLink.preview.verifyStatus.failed": "실패",
+ "internalLink.preview.verifyStatus.passed": "통과",
+ "internalLink.preview.verifyStatus.planned": "계획됨",
+ "internalLink.preview.verifyStatus.repairing": "복구 중",
+ "internalLink.preview.verifyStatus.uncertain": "불확실",
+ "internalLink.preview.verifyStatus.unverified": "미검증",
+ "internalLink.preview.verifyStatus.verifying": "검증 중",
"inviteMembers": "구성원 초대",
"knowledgeBase.all": "모든 컨텐츠",
"knowledgeBase.allFiles": "모든 파일",
@@ -806,6 +830,7 @@
"taskDetail.activities.fallback.topic": "주제를 시작했습니다",
"taskDetail.activitiesEmpty": "아직 활동이 없습니다",
"taskDetail.addSubtask": "하위 작업 추가",
+ "taskDetail.artifactInaccessible": "이용 불가 문서 — 접근 불가",
"taskDetail.artifactMenu.delete": "작업에서 제거",
"taskDetail.artifactMenu.deleteConfirm.content": "이 아티팩트는 더 이상 이 작업 공간에 표시되지 않습니다.",
"taskDetail.artifactMenu.deleteConfirm.ok": "제거",
@@ -1266,10 +1291,14 @@
"workingPanel.browser.actions.reload": "새로 고침",
"workingPanel.browser.actions.stop": "로딩 중지",
"workingPanel.browser.addressPlaceholder": "주소를 입력하거나 검색",
+ "workingPanel.browser.agentControlling": "에이전트가 브라우저를 사용 중입니다",
+ "workingPanel.browser.agentCursor": "에이전트",
"workingPanel.browser.desktopOnly": "앱 내 브라우저는 데스크톱 앱에서만 사용할 수 있습니다",
"workingPanel.browser.empty.desc": "위에 주소를 입력하거나 검색하여 페이지를 열어보세요",
"workingPanel.browser.empty.title": "브라우징 시작",
"workingPanel.browser.title": "브라우저",
+ "workingPanel.browser.tool.elements_one": "{{count}} 요소",
+ "workingPanel.browser.tool.elements_other": "{{count}} 요소들",
"workingPanel.documents.close": "Close",
"workingPanel.documents.discard": "Discard",
"workingPanel.documents.edit": "Edit",
diff --git a/locales/nl-NL/chat.json b/locales/nl-NL/chat.json
index b98a776c1b2..6435b28ac50 100644
--- a/locales/nl-NL/chat.json
+++ b/locales/nl-NL/chat.json
@@ -28,6 +28,8 @@
"agentDocument.emptyTitle": "Geen document geopend",
"agentDocument.linkCopied": "Link gekopieerd",
"agentDocument.openAsPage": "Openen als volledige pagina",
+ "agentNotFound.desc": "Deze agent bestaat niet of is niet langer toegankelijk — mogelijk is deze verwijderd of privé ingesteld door de eigenaar.",
+ "agentNotFound.title": "Agent niet beschikbaar",
"agentProfile.files_one": "{{count}} bestand",
"agentProfile.files_other": "{{count}} bestanden",
"agentProfile.knowledgeBases_one": "{{count}} kennisbank",
@@ -117,6 +119,13 @@
"cliRateLimitGuide.resetIn": "Resterende tijd",
"cliRateLimitGuide.resetInApprox": "Reset over ongeveer {{duration}}",
"cliRateLimitGuide.resetUnknown": "het quotum wordt gereset",
+ "cliRateLimitGuide.schedule.cancel": "Automatisch doorgaan annuleren",
+ "cliRateLimitGuide.schedule.continueAfter": "Doorgaan over ~{{duration}}",
+ "cliRateLimitGuide.schedule.continueAfterReset": "Doorgaan na reset",
+ "cliRateLimitGuide.schedule.retryNow": "Nu opnieuw proberen",
+ "cliRateLimitGuide.schedule.runNow": "Nu uitvoeren",
+ "cliRateLimitGuide.schedule.scheduledAfterReset": "Gepland. Deze uitvoering gaat automatisch verder zodra de limiet is gereset.",
+ "cliRateLimitGuide.schedule.scheduledForApprox": "Gepland. Deze uitvoering gaat automatisch verder over ongeveer {{duration}}.",
"cliRateLimitGuide.title": "{{name}} gebruikslimiet bereikt",
"codexInstallGuide.actions.openDocs": "Installatiehandleiding openen",
"codexInstallGuide.actions.openSystemTools": "Systeemhulpmiddelen openen",
@@ -242,6 +251,8 @@
"group.removeMember": "Lid verwijderen",
"group.title": "Groep",
"groupDescription": "Groepsbeschrijving",
+ "groupNotFound.desc": "Deze groep bestaat niet of is niet langer toegankelijk — mogelijk is deze verwijderd of privé ingesteld door de eigenaar.",
+ "groupNotFound.title": "Groep niet beschikbaar",
"groupSidebar.agentProfile.chat": "Chat",
"groupSidebar.agentProfile.model": "Model",
"groupSidebar.agentProfile.settings": "Instellingen",
@@ -376,6 +387,8 @@
"history.title": "De Agent bewaart alleen de laatste {{count}} berichten.",
"historyRange": "Geschiedenisbereik",
"historySummary": "Samenvatting van historische berichten",
+ "inaccessibleFile.desc": "Geen toegang — mogelijk is het privé ingesteld of verwijderd door de eigenaar",
+ "inaccessibleFile.name": "Niet beschikbaar bestand",
"inactive": "Inactief",
"inbox.desc": "Werk samen in één werkruimte en zet ideeën om in resultaten.",
"inbox.title": "Lobe AI",
@@ -411,6 +424,17 @@
"internalLink.preview.agent": "Agent",
"internalLink.preview.document": "Pagina",
"internalLink.preview.task": "Taak",
+ "internalLink.preview.verify": "Verificatierapport",
+ "internalLink.preview.verifyCounts": "{{passed}} geslaagd · {{failed}} mislukt · {{uncertain}} onzeker",
+ "internalLink.preview.verifyStatus.delivered": "Afgeleverd",
+ "internalLink.preview.verifyStatus.errored": "Fout",
+ "internalLink.preview.verifyStatus.failed": "Mislukt",
+ "internalLink.preview.verifyStatus.passed": "Geslaagd",
+ "internalLink.preview.verifyStatus.planned": "Gepland",
+ "internalLink.preview.verifyStatus.repairing": "Herstellen",
+ "internalLink.preview.verifyStatus.uncertain": "Onzeker",
+ "internalLink.preview.verifyStatus.unverified": "Niet geverifieerd",
+ "internalLink.preview.verifyStatus.verifying": "Verifiëren",
"inviteMembers": "Leden uitnodigen",
"knowledgeBase.all": "Alle inhoud",
"knowledgeBase.allFiles": "Alle bestanden",
@@ -806,6 +830,7 @@
"taskDetail.activities.fallback.topic": "startte een onderwerp",
"taskDetail.activitiesEmpty": "Nog geen activiteit",
"taskDetail.addSubtask": "Subtaak toevoegen",
+ "taskDetail.artifactInaccessible": "Niet beschikbaar document — geen toegang",
"taskDetail.artifactMenu.delete": "Uit taak verwijderen",
"taskDetail.artifactMenu.deleteConfirm.content": "Dit artefact zal niet langer in deze taakruimte verschijnen.",
"taskDetail.artifactMenu.deleteConfirm.ok": "Verwijderen",
@@ -1266,10 +1291,14 @@
"workingPanel.browser.actions.reload": "Herladen",
"workingPanel.browser.actions.stop": "Stoppen met laden",
"workingPanel.browser.addressPlaceholder": "Zoeken of adres invoeren",
+ "workingPanel.browser.agentControlling": "Agent gebruikt de browser",
+ "workingPanel.browser.agentCursor": "Agent",
"workingPanel.browser.desktopOnly": "De in-app browser is alleen beschikbaar in de desktop-app",
"workingPanel.browser.empty.desc": "Voer hierboven een adres in of zoek om een pagina te openen",
"workingPanel.browser.empty.title": "Begin met browsen",
"workingPanel.browser.title": "Browser",
+ "workingPanel.browser.tool.elements_one": "{{count}} element",
+ "workingPanel.browser.tool.elements_other": "{{count}} elementen",
"workingPanel.documents.close": "Close",
"workingPanel.documents.discard": "Discard",
"workingPanel.documents.edit": "Edit",
diff --git a/locales/pl-PL/chat.json b/locales/pl-PL/chat.json
index bd3ed34ba3a..97c16fe9c6c 100644
--- a/locales/pl-PL/chat.json
+++ b/locales/pl-PL/chat.json
@@ -28,6 +28,8 @@
"agentDocument.emptyTitle": "Brak otwartego dokumentu",
"agentDocument.linkCopied": "Link skopiowany",
"agentDocument.openAsPage": "Otwórz jako pełną stronę",
+ "agentNotFound.desc": "Ten agent nie istnieje lub nie jest już dostępny — mógł zostać usunięty lub ustawiony jako prywatny przez właściciela.",
+ "agentNotFound.title": "Agent niedostępny",
"agentProfile.files_one": "{{count}} plik",
"agentProfile.files_other": "{{count}} pliki",
"agentProfile.knowledgeBases_one": "{{count}} baza wiedzy",
@@ -117,6 +119,13 @@
"cliRateLimitGuide.resetIn": "Pozostały czas",
"cliRateLimitGuide.resetInApprox": "Reset za około {{duration}}",
"cliRateLimitGuide.resetUnknown": "limit zostanie zresetowany",
+ "cliRateLimitGuide.schedule.cancel": "Anuluj automatyczne kontynuowanie",
+ "cliRateLimitGuide.schedule.continueAfter": "Kontynuuj za ~{{duration}}",
+ "cliRateLimitGuide.schedule.continueAfterReset": "Kontynuuj po zresetowaniu",
+ "cliRateLimitGuide.schedule.retryNow": "Spróbuj ponownie teraz",
+ "cliRateLimitGuide.schedule.runNow": "Uruchom teraz",
+ "cliRateLimitGuide.schedule.scheduledAfterReset": "Zaplanowano. Ten proces zostanie automatycznie kontynuowany po zresetowaniu limitu.",
+ "cliRateLimitGuide.schedule.scheduledForApprox": "Zaplanowano. Ten proces zostanie automatycznie kontynuowany za około {{duration}}.",
"cliRateLimitGuide.title": "Osiągnięto limit użycia {{name}}",
"codexInstallGuide.actions.openDocs": "Otwórz przewodnik instalacji",
"codexInstallGuide.actions.openSystemTools": "Otwórz narzędzia systemowe",
@@ -242,6 +251,8 @@
"group.removeMember": "Usuń członka",
"group.title": "Grupa",
"groupDescription": "Opis grupy",
+ "groupNotFound.desc": "Ta grupa nie istnieje lub nie jest już dostępna — mogła zostać usunięta lub ustawiona jako prywatna przez właściciela.",
+ "groupNotFound.title": "Grupa niedostępna",
"groupSidebar.agentProfile.chat": "Czat",
"groupSidebar.agentProfile.model": "Model",
"groupSidebar.agentProfile.settings": "Ustawienia",
@@ -376,6 +387,8 @@
"history.title": "Agent zachowa tylko ostatnie {{count}} wiadomości.",
"historyRange": "Zakres historii",
"historySummary": "Podsumowanie wiadomości historycznych",
+ "inaccessibleFile.desc": "Brak dostępu — mogła zostać ustawiona jako prywatna lub usunięta przez właściciela",
+ "inaccessibleFile.name": "Plik niedostępny",
"inactive": "Nieaktywny",
"inbox.desc": "Współpracuj w jednym środowisku i przekształcaj pomysły w rezultaty.",
"inbox.title": "Lobe AI",
@@ -411,6 +424,17 @@
"internalLink.preview.agent": "Agent",
"internalLink.preview.document": "Strona",
"internalLink.preview.task": "Zadanie",
+ "internalLink.preview.verify": "Raport weryfikacji",
+ "internalLink.preview.verifyCounts": "{{passed}} zaliczone · {{failed}} nieudane · {{uncertain}} niepewne",
+ "internalLink.preview.verifyStatus.delivered": "Dostarczono",
+ "internalLink.preview.verifyStatus.errored": "Błąd",
+ "internalLink.preview.verifyStatus.failed": "Nieudane",
+ "internalLink.preview.verifyStatus.passed": "Zaliczone",
+ "internalLink.preview.verifyStatus.planned": "Zaplanowane",
+ "internalLink.preview.verifyStatus.repairing": "Naprawianie",
+ "internalLink.preview.verifyStatus.uncertain": "Niepewne",
+ "internalLink.preview.verifyStatus.unverified": "Niezweryfikowane",
+ "internalLink.preview.verifyStatus.verifying": "Weryfikowanie",
"inviteMembers": "Zaproś członków",
"knowledgeBase.all": "Cała zawartość",
"knowledgeBase.allFiles": "Wszystkie pliki",
@@ -806,6 +830,7 @@
"taskDetail.activities.fallback.topic": "rozpoczął(a) temat",
"taskDetail.activitiesEmpty": "Brak aktywności",
"taskDetail.addSubtask": "Dodaj podzadanie",
+ "taskDetail.artifactInaccessible": "Dokument niedostępny — brak dostępu",
"taskDetail.artifactMenu.delete": "Usuń z zadania",
"taskDetail.artifactMenu.deleteConfirm.content": "Ten artefakt nie będzie już widoczny w przestrzeni roboczej zadania.",
"taskDetail.artifactMenu.deleteConfirm.ok": "Usuń",
@@ -1266,10 +1291,14 @@
"workingPanel.browser.actions.reload": "Odśwież",
"workingPanel.browser.actions.stop": "Zatrzymaj ładowanie",
"workingPanel.browser.addressPlaceholder": "Wyszukaj lub wpisz adres",
+ "workingPanel.browser.agentControlling": "Agent korzysta z przeglądarki",
+ "workingPanel.browser.agentCursor": "Agent",
"workingPanel.browser.desktopOnly": "Przeglądarka w aplikacji jest dostępna tylko w wersji na komputer",
"workingPanel.browser.empty.desc": "Wpisz adres lub wyszukaj powyżej, aby otworzyć stronę",
"workingPanel.browser.empty.title": "Rozpocznij przeglądanie",
"workingPanel.browser.title": "Przeglądarka",
+ "workingPanel.browser.tool.elements_one": "{{count}} element",
+ "workingPanel.browser.tool.elements_other": "{{count}} elementy",
"workingPanel.documents.close": "Close",
"workingPanel.documents.discard": "Discard",
"workingPanel.documents.edit": "Edit",
diff --git a/locales/pt-BR/chat.json b/locales/pt-BR/chat.json
index 7b17ddf88a9..bb31b3fab7e 100644
--- a/locales/pt-BR/chat.json
+++ b/locales/pt-BR/chat.json
@@ -28,6 +28,8 @@
"agentDocument.emptyTitle": "Nenhum documento aberto",
"agentDocument.linkCopied": "Link copiado",
"agentDocument.openAsPage": "Abrir como página inteira",
+ "agentNotFound.desc": "Este agente não existe ou não está mais acessível — ele pode ter sido excluído ou definido como privado pelo proprietário.",
+ "agentNotFound.title": "Agente Indisponível",
"agentProfile.files_one": "{{count}} arquivo",
"agentProfile.files_other": "{{count}} arquivos",
"agentProfile.knowledgeBases_one": "{{count}} base de conhecimento",
@@ -117,6 +119,13 @@
"cliRateLimitGuide.resetIn": "Tempo restante",
"cliRateLimitGuide.resetInApprox": "Redefine em aproximadamente {{duration}}",
"cliRateLimitGuide.resetUnknown": "a cota será redefinida",
+ "cliRateLimitGuide.schedule.cancel": "Cancelar continuação automática",
+ "cliRateLimitGuide.schedule.continueAfter": "Continuar em ~{{duration}}",
+ "cliRateLimitGuide.schedule.continueAfterReset": "Continuar após o reinício",
+ "cliRateLimitGuide.schedule.retryNow": "Tentar novamente agora",
+ "cliRateLimitGuide.schedule.runNow": "Executar agora",
+ "cliRateLimitGuide.schedule.scheduledAfterReset": "Agendado. Esta execução continuará automaticamente assim que o limite for reiniciado.",
+ "cliRateLimitGuide.schedule.scheduledForApprox": "Agendado. Esta execução continuará automaticamente em cerca de {{duration}}.",
"cliRateLimitGuide.title": "Limite de uso de {{name}} atingido",
"codexInstallGuide.actions.openDocs": "Abrir guia de instalação",
"codexInstallGuide.actions.openSystemTools": "Abrir ferramentas do sistema",
@@ -242,6 +251,8 @@
"group.removeMember": "Remover Membro",
"group.title": "Grupo",
"groupDescription": "Descrição do grupo",
+ "groupNotFound.desc": "Este grupo não existe ou não está mais acessível — ele pode ter sido excluído ou definido como privado pelo proprietário.",
+ "groupNotFound.title": "Grupo Indisponível",
"groupSidebar.agentProfile.chat": "Conversa",
"groupSidebar.agentProfile.model": "Modelo",
"groupSidebar.agentProfile.settings": "Configurações",
@@ -376,6 +387,8 @@
"history.title": "O Agente manterá apenas as últimas {{count}} mensagens.",
"historyRange": "Intervalo de Histórico",
"historySummary": "Resumo de Mensagens Históricas",
+ "inaccessibleFile.desc": "Sem acesso — ele pode ter sido definido como privado ou excluído pelo proprietário",
+ "inaccessibleFile.name": "Arquivo Indisponível",
"inactive": "Inativo",
"inbox.desc": "Colabore em um único Espaço de Trabalho e transforme ideias em resultados.",
"inbox.title": "Lobe AI",
@@ -411,6 +424,17 @@
"internalLink.preview.agent": "Agente",
"internalLink.preview.document": "Página",
"internalLink.preview.task": "Tarefa",
+ "internalLink.preview.verify": "Relatório de verificação",
+ "internalLink.preview.verifyCounts": "{{passed}} aprovados · {{failed}} falharam · {{uncertain}} incertos",
+ "internalLink.preview.verifyStatus.delivered": "Entregue",
+ "internalLink.preview.verifyStatus.errored": "Erro",
+ "internalLink.preview.verifyStatus.failed": "Falhou",
+ "internalLink.preview.verifyStatus.passed": "Aprovado",
+ "internalLink.preview.verifyStatus.planned": "Planejado",
+ "internalLink.preview.verifyStatus.repairing": "Reparando",
+ "internalLink.preview.verifyStatus.uncertain": "Incerto",
+ "internalLink.preview.verifyStatus.unverified": "Não verificado",
+ "internalLink.preview.verifyStatus.verifying": "Verificando",
"inviteMembers": "Convidar membros",
"knowledgeBase.all": "Todo o Conteúdo",
"knowledgeBase.allFiles": "Todos os Arquivos",
@@ -806,6 +830,7 @@
"taskDetail.activities.fallback.topic": "iniciou um tópico",
"taskDetail.activitiesEmpty": "Nenhuma atividade ainda",
"taskDetail.addSubtask": "Adicionar subtarefa",
+ "taskDetail.artifactInaccessible": "Documento indisponível — sem acesso",
"taskDetail.artifactMenu.delete": "Remover da tarefa",
"taskDetail.artifactMenu.deleteConfirm.content": "Este artefato não aparecerá mais no espaço de trabalho da tarefa.",
"taskDetail.artifactMenu.deleteConfirm.ok": "Remover",
@@ -1266,10 +1291,14 @@
"workingPanel.browser.actions.reload": "Recarregar",
"workingPanel.browser.actions.stop": "Parar carregamento",
"workingPanel.browser.addressPlaceholder": "Pesquisar ou digitar endereço",
+ "workingPanel.browser.agentControlling": "O agente está usando o navegador",
+ "workingPanel.browser.agentCursor": "Agente",
"workingPanel.browser.desktopOnly": "O navegador no aplicativo está disponível apenas no aplicativo para desktop",
"workingPanel.browser.empty.desc": "Digite um endereço ou pesquise acima para abrir uma página",
"workingPanel.browser.empty.title": "Comece a navegar",
"workingPanel.browser.title": "Navegador",
+ "workingPanel.browser.tool.elements_one": "{{count}} elemento",
+ "workingPanel.browser.tool.elements_other": "{{count}} elementos",
"workingPanel.documents.close": "Close",
"workingPanel.documents.discard": "Discard",
"workingPanel.documents.edit": "Edit",
diff --git a/locales/ru-RU/chat.json b/locales/ru-RU/chat.json
index 90c759814a6..1d25e6f09e3 100644
--- a/locales/ru-RU/chat.json
+++ b/locales/ru-RU/chat.json
@@ -28,6 +28,8 @@
"agentDocument.emptyTitle": "Документ не открыт",
"agentDocument.linkCopied": "Ссылка скопирована",
"agentDocument.openAsPage": "Открыть на всю страницу",
+ "agentNotFound.desc": "Этот агент не существует или больше недоступен — возможно, он был удален или установлен как приватный его владельцем.",
+ "agentNotFound.title": "Агент недоступен",
"agentProfile.files_one": "{{count}} файл",
"agentProfile.files_other": "{{count}} файлов",
"agentProfile.knowledgeBases_one": "{{count}} база знаний",
@@ -117,6 +119,13 @@
"cliRateLimitGuide.resetIn": "Оставшееся время",
"cliRateLimitGuide.resetInApprox": "Сброс примерно через {{duration}}",
"cliRateLimitGuide.resetUnknown": "квота сбрасывается",
+ "cliRateLimitGuide.schedule.cancel": "Отменить автоматическое продолжение",
+ "cliRateLimitGuide.schedule.continueAfter": "Продолжить через ~{{duration}}",
+ "cliRateLimitGuide.schedule.continueAfterReset": "Продолжить после сброса",
+ "cliRateLimitGuide.schedule.retryNow": "Повторить сейчас",
+ "cliRateLimitGuide.schedule.runNow": "Запустить сейчас",
+ "cliRateLimitGuide.schedule.scheduledAfterReset": "Запланировано. Этот запуск продолжится автоматически после сброса лимита.",
+ "cliRateLimitGuide.schedule.scheduledForApprox": "Запланировано. Этот запуск продолжится автоматически примерно через {{duration}}.",
"cliRateLimitGuide.title": "Достигнут лимит использования {{name}}",
"codexInstallGuide.actions.openDocs": "Открыть руководство по установке",
"codexInstallGuide.actions.openSystemTools": "Открыть системные инструменты",
@@ -242,6 +251,8 @@
"group.removeMember": "Удалить участника",
"group.title": "Группа",
"groupDescription": "Описание группы",
+ "groupNotFound.desc": "Эта группа не существует или больше недоступна — возможно, она была удалена или установлена как приватная ее владельцем.",
+ "groupNotFound.title": "Группа недоступна",
"groupSidebar.agentProfile.chat": "Чат",
"groupSidebar.agentProfile.model": "Модель",
"groupSidebar.agentProfile.settings": "Настройки",
@@ -376,6 +387,8 @@
"history.title": "Агент будет хранить только последние {{count}} сообщений.",
"historyRange": "Диапазон истории",
"historySummary": "Сводка исторических сообщений",
+ "inaccessibleFile.desc": "Нет доступа — возможно, файл был установлен как приватный или удален его владельцем",
+ "inaccessibleFile.name": "Недоступный файл",
"inactive": "Неактивен",
"inbox.desc": "Сотрудничайте в одном рабочем пространстве и превращайте идеи в результат.",
"inbox.title": "Lobe AI",
@@ -411,6 +424,17 @@
"internalLink.preview.agent": "Агент",
"internalLink.preview.document": "Страница",
"internalLink.preview.task": "Задача",
+ "internalLink.preview.verify": "Отчет о проверке",
+ "internalLink.preview.verifyCounts": "{{passed}} успешно · {{failed}} неудачно · {{uncertain}} неопределенно",
+ "internalLink.preview.verifyStatus.delivered": "Доставлено",
+ "internalLink.preview.verifyStatus.errored": "Ошибка",
+ "internalLink.preview.verifyStatus.failed": "Неудачно",
+ "internalLink.preview.verifyStatus.passed": "Успешно",
+ "internalLink.preview.verifyStatus.planned": "Запланировано",
+ "internalLink.preview.verifyStatus.repairing": "Восстановление",
+ "internalLink.preview.verifyStatus.uncertain": "Неопределенно",
+ "internalLink.preview.verifyStatus.unverified": "Не проверено",
+ "internalLink.preview.verifyStatus.verifying": "Проверка",
"inviteMembers": "Пригласить участников",
"knowledgeBase.all": "Весь контент",
"knowledgeBase.allFiles": "Все файлы",
@@ -806,6 +830,7 @@
"taskDetail.activities.fallback.topic": "создал(а) тему",
"taskDetail.activitiesEmpty": "Активности пока нет",
"taskDetail.addSubtask": "Добавить подзадачу",
+ "taskDetail.artifactInaccessible": "Недоступный документ — нет доступа",
"taskDetail.artifactMenu.delete": "Удалить из задачи",
"taskDetail.artifactMenu.deleteConfirm.content": "Этот артефакт больше не будет отображаться в рабочей области задачи.",
"taskDetail.artifactMenu.deleteConfirm.ok": "Удалить",
@@ -1266,10 +1291,14 @@
"workingPanel.browser.actions.reload": "Перезагрузить",
"workingPanel.browser.actions.stop": "Остановить загрузку",
"workingPanel.browser.addressPlaceholder": "Поиск или ввод адреса",
+ "workingPanel.browser.agentControlling": "Агент использует браузер",
+ "workingPanel.browser.agentCursor": "Агент",
"workingPanel.browser.desktopOnly": "Встроенный браузер доступен только в настольном приложении",
"workingPanel.browser.empty.desc": "Введите адрес или выполните поиск выше, чтобы открыть страницу",
"workingPanel.browser.empty.title": "Начните просмотр",
"workingPanel.browser.title": "Браузер",
+ "workingPanel.browser.tool.elements_one": "{{count}} элемент",
+ "workingPanel.browser.tool.elements_other": "{{count}} элементов",
"workingPanel.documents.close": "Close",
"workingPanel.documents.discard": "Discard",
"workingPanel.documents.edit": "Edit",
diff --git a/locales/tr-TR/chat.json b/locales/tr-TR/chat.json
index 56c71bb7481..d71f76fb833 100644
--- a/locales/tr-TR/chat.json
+++ b/locales/tr-TR/chat.json
@@ -28,6 +28,8 @@
"agentDocument.emptyTitle": "Açık belge yok",
"agentDocument.linkCopied": "Bağlantı kopyalandı",
"agentDocument.openAsPage": "Tam sayfa olarak aç",
+ "agentNotFound.desc": "Bu ajan mevcut değil veya artık erişilebilir değil — sahibi tarafından silinmiş veya özel olarak ayarlanmış olabilir.",
+ "agentNotFound.title": "Ajan Kullanılamıyor",
"agentProfile.files_one": "{{count}} dosya",
"agentProfile.files_other": "{{count}} dosya",
"agentProfile.knowledgeBases_one": "{{count}} bilgi tabanı",
@@ -117,6 +119,13 @@
"cliRateLimitGuide.resetIn": "Kalan süre",
"cliRateLimitGuide.resetInApprox": "Yaklaşık {{duration}} içinde sıfırlanacak",
"cliRateLimitGuide.resetUnknown": "kotanın sıfırlanması",
+ "cliRateLimitGuide.schedule.cancel": "Otomatik devam etmeyi iptal et",
+ "cliRateLimitGuide.schedule.continueAfter": "~{{duration}} içinde devam et",
+ "cliRateLimitGuide.schedule.continueAfterReset": "Sıfırlamadan sonra devam et",
+ "cliRateLimitGuide.schedule.retryNow": "Şimdi yeniden dene",
+ "cliRateLimitGuide.schedule.runNow": "Şimdi çalıştır",
+ "cliRateLimitGuide.schedule.scheduledAfterReset": "Planlandı. Bu işlem, limit sıfırlandığında otomatik olarak devam edecek.",
+ "cliRateLimitGuide.schedule.scheduledForApprox": "Planlandı. Bu işlem yaklaşık {{duration}} içinde otomatik olarak devam edecek.",
"cliRateLimitGuide.title": "{{name}} kullanım sınırına ulaşıldı",
"codexInstallGuide.actions.openDocs": "Yükleme Kılavuzunu Aç",
"codexInstallGuide.actions.openSystemTools": "Sistem Araçlarını Aç",
@@ -242,6 +251,8 @@
"group.removeMember": "Üyeyi Kaldır",
"group.title": "Grup",
"groupDescription": "Grup açıklaması",
+ "groupNotFound.desc": "Bu grup mevcut değil veya artık erişilebilir değil — sahibi tarafından silinmiş veya özel olarak ayarlanmış olabilir.",
+ "groupNotFound.title": "Grup Kullanılamıyor",
"groupSidebar.agentProfile.chat": "Sohbet",
"groupSidebar.agentProfile.model": "Model",
"groupSidebar.agentProfile.settings": "Ayarlar",
@@ -376,6 +387,8 @@
"history.title": "Ajan yalnızca en son {{count}} mesajı saklayacak.",
"historyRange": "Geçmiş Aralığı",
"historySummary": "Geçmiş Mesaj Özeti",
+ "inaccessibleFile.desc": "Erişim yok — sahibi tarafından özel olarak ayarlanmış veya silinmiş olabilir",
+ "inaccessibleFile.name": "Kullanılamayan dosya",
"inactive": "Pasif",
"inbox.desc": "Tek bir Çalışma Alanında iş birliği yapın ve fikirleri sonuca dönüştürün.",
"inbox.title": "Lobe AI",
@@ -411,6 +424,17 @@
"internalLink.preview.agent": "Temsilci",
"internalLink.preview.document": "Sayfa",
"internalLink.preview.task": "Görev",
+ "internalLink.preview.verify": "Doğrulama raporu",
+ "internalLink.preview.verifyCounts": "{{passed}} geçti · {{failed}} başarısız · {{uncertain}} belirsiz",
+ "internalLink.preview.verifyStatus.delivered": "Teslim edildi",
+ "internalLink.preview.verifyStatus.errored": "Hata",
+ "internalLink.preview.verifyStatus.failed": "Başarısız",
+ "internalLink.preview.verifyStatus.passed": "Geçti",
+ "internalLink.preview.verifyStatus.planned": "Planlandı",
+ "internalLink.preview.verifyStatus.repairing": "Onarılıyor",
+ "internalLink.preview.verifyStatus.uncertain": "Belirsiz",
+ "internalLink.preview.verifyStatus.unverified": "Doğrulanmadı",
+ "internalLink.preview.verifyStatus.verifying": "Doğrulanıyor",
"inviteMembers": "Üyeleri davet et",
"knowledgeBase.all": "Tüm İçerik",
"knowledgeBase.allFiles": "Tüm Dosyalar",
@@ -806,6 +830,7 @@
"taskDetail.activities.fallback.topic": "bir konu başlattı",
"taskDetail.activitiesEmpty": "Henüz aktivite yok",
"taskDetail.addSubtask": "Alt görev ekle",
+ "taskDetail.artifactInaccessible": "Kullanılamayan belge — erişim yok",
"taskDetail.artifactMenu.delete": "Görevden kaldır",
"taskDetail.artifactMenu.deleteConfirm.content": "Bu nesne artık bu görev çalışma alanında görünmeyecek.",
"taskDetail.artifactMenu.deleteConfirm.ok": "Kaldır",
@@ -1266,10 +1291,14 @@
"workingPanel.browser.actions.reload": "Yeniden yükle",
"workingPanel.browser.actions.stop": "Yüklemeyi durdur",
"workingPanel.browser.addressPlaceholder": "Adres girin veya arama yapın",
+ "workingPanel.browser.agentControlling": "Ajan tarayıcıyı kullanıyor",
+ "workingPanel.browser.agentCursor": "Ajan",
"workingPanel.browser.desktopOnly": "Uygulama içi tarayıcı yalnızca masaüstü uygulamasında kullanılabilir",
"workingPanel.browser.empty.desc": "Bir sayfa açmak için yukarıya bir adres girin veya arama yapın",
"workingPanel.browser.empty.title": "Tarayıcıyı başlat",
"workingPanel.browser.title": "Tarayıcı",
+ "workingPanel.browser.tool.elements_one": "{{count}} öğe",
+ "workingPanel.browser.tool.elements_other": "{{count}} öğe",
"workingPanel.documents.close": "Close",
"workingPanel.documents.discard": "Discard",
"workingPanel.documents.edit": "Edit",
diff --git a/locales/vi-VN/chat.json b/locales/vi-VN/chat.json
index 260eccad5dc..11489e5347c 100644
--- a/locales/vi-VN/chat.json
+++ b/locales/vi-VN/chat.json
@@ -28,6 +28,8 @@
"agentDocument.emptyTitle": "Không có tài liệu nào được mở",
"agentDocument.linkCopied": "Liên kết đã được sao chép",
"agentDocument.openAsPage": "Mở dưới dạng trang đầy đủ",
+ "agentNotFound.desc": "Tác nhân này không tồn tại hoặc không còn truy cập được — có thể đã bị xóa hoặc được đặt ở chế độ riêng tư bởi chủ sở hữu.",
+ "agentNotFound.title": "Tác nhân không khả dụng",
"agentProfile.files_one": "{{count}} tệp",
"agentProfile.files_other": "{{count}} tệp",
"agentProfile.knowledgeBases_one": "{{count}} cơ sở tri thức",
@@ -117,6 +119,13 @@
"cliRateLimitGuide.resetIn": "Thời gian còn lại",
"cliRateLimitGuide.resetInApprox": "Đặt lại trong khoảng {{duration}}",
"cliRateLimitGuide.resetUnknown": "hạn mức sẽ được đặt lại",
+ "cliRateLimitGuide.schedule.cancel": "Hủy tự động tiếp tục",
+ "cliRateLimitGuide.schedule.continueAfter": "Tiếp tục sau ~{{duration}}",
+ "cliRateLimitGuide.schedule.continueAfterReset": "Tiếp tục sau khi đặt lại",
+ "cliRateLimitGuide.schedule.retryNow": "Thử lại ngay",
+ "cliRateLimitGuide.schedule.runNow": "Chạy ngay",
+ "cliRateLimitGuide.schedule.scheduledAfterReset": "Đã lên lịch. Lần chạy này sẽ tự động tiếp tục sau khi giới hạn được đặt lại.",
+ "cliRateLimitGuide.schedule.scheduledForApprox": "Đã lên lịch. Lần chạy này sẽ tự động tiếp tục sau khoảng {{duration}}.",
"cliRateLimitGuide.title": "Đã đạt giới hạn sử dụng {{name}}",
"codexInstallGuide.actions.openDocs": "Mở Hướng dẫn Cài đặt",
"codexInstallGuide.actions.openSystemTools": "Mở Công cụ Hệ thống",
@@ -242,6 +251,8 @@
"group.removeMember": "Xóa thành viên",
"group.title": "Nhóm",
"groupDescription": "Mô tả nhóm",
+ "groupNotFound.desc": "Nhóm này không tồn tại hoặc không còn truy cập được — có thể đã bị xóa hoặc được đặt ở chế độ riêng tư bởi chủ sở hữu.",
+ "groupNotFound.title": "Nhóm không khả dụng",
"groupSidebar.agentProfile.chat": "Trò chuyện",
"groupSidebar.agentProfile.model": "Mô hình",
"groupSidebar.agentProfile.settings": "Cài đặt",
@@ -376,6 +387,8 @@
"history.title": "Tác nhân sẽ chỉ giữ lại {{count}} tin nhắn gần nhất.",
"historyRange": "Phạm vi lịch sử",
"historySummary": "Tóm tắt tin nhắn lịch sử",
+ "inaccessibleFile.desc": "Không có quyền truy cập — có thể đã được đặt ở chế độ riêng tư hoặc bị xóa bởi chủ sở hữu",
+ "inaccessibleFile.name": "Tệp không khả dụng",
"inactive": "Không hoạt động",
"inbox.desc": "Cộng tác trong một không gian làm việc và biến ý tưởng thành kết quả.",
"inbox.title": "Lobe AI",
@@ -411,6 +424,17 @@
"internalLink.preview.agent": "Tác nhân",
"internalLink.preview.document": "Trang",
"internalLink.preview.task": "Nhiệm vụ",
+ "internalLink.preview.verify": "Báo cáo xác minh",
+ "internalLink.preview.verifyCounts": "{{passed}} đã vượt qua · {{failed}} thất bại · {{uncertain}} không chắc chắn",
+ "internalLink.preview.verifyStatus.delivered": "Đã giao",
+ "internalLink.preview.verifyStatus.errored": "Lỗi",
+ "internalLink.preview.verifyStatus.failed": "Thất bại",
+ "internalLink.preview.verifyStatus.passed": "Đã vượt qua",
+ "internalLink.preview.verifyStatus.planned": "Đã lên kế hoạch",
+ "internalLink.preview.verifyStatus.repairing": "Đang sửa chữa",
+ "internalLink.preview.verifyStatus.uncertain": "Không chắc chắn",
+ "internalLink.preview.verifyStatus.unverified": "Chưa được xác minh",
+ "internalLink.preview.verifyStatus.verifying": "Đang xác minh",
"inviteMembers": "Mời thành viên",
"knowledgeBase.all": "Tất cả nội dung",
"knowledgeBase.allFiles": "Tất cả tệp",
@@ -806,6 +830,7 @@
"taskDetail.activities.fallback.topic": "đã bắt đầu một chủ đề",
"taskDetail.activitiesEmpty": "Chưa có hoạt động nào",
"taskDetail.addSubtask": "Thêm nhiệm vụ con",
+ "taskDetail.artifactInaccessible": "Tài liệu không khả dụng — không có quyền truy cập",
"taskDetail.artifactMenu.delete": "Gỡ khỏi tác vụ",
"taskDetail.artifactMenu.deleteConfirm.content": "Hiện vật này sẽ không còn xuất hiện trong không gian làm việc của tác vụ.",
"taskDetail.artifactMenu.deleteConfirm.ok": "Gỡ",
@@ -1266,10 +1291,14 @@
"workingPanel.browser.actions.reload": "Tải lại",
"workingPanel.browser.actions.stop": "Dừng tải",
"workingPanel.browser.addressPlaceholder": "Tìm kiếm hoặc nhập địa chỉ",
+ "workingPanel.browser.agentControlling": "Tác nhân đang sử dụng trình duyệt",
+ "workingPanel.browser.agentCursor": "Tác nhân",
"workingPanel.browser.desktopOnly": "Trình duyệt trong ứng dụng chỉ khả dụng trên ứng dụng máy tính",
"workingPanel.browser.empty.desc": "Nhập địa chỉ hoặc tìm kiếm ở trên để mở một trang",
"workingPanel.browser.empty.title": "Bắt đầu duyệt web",
"workingPanel.browser.title": "Trình duyệt",
+ "workingPanel.browser.tool.elements_one": "{{count}} phần tử",
+ "workingPanel.browser.tool.elements_other": "{{count}} phần tử",
"workingPanel.documents.close": "Close",
"workingPanel.documents.discard": "Discard",
"workingPanel.documents.edit": "Edit",
diff --git a/locales/zh-CN/chat.json b/locales/zh-CN/chat.json
index 792ac286dc0..e90677f2191 100644
--- a/locales/zh-CN/chat.json
+++ b/locales/zh-CN/chat.json
@@ -28,6 +28,8 @@
"agentDocument.emptyTitle": "未打开任何文档",
"agentDocument.linkCopied": "链接已复制",
"agentDocument.openAsPage": "打开整页",
+ "agentNotFound.desc": "该助理不存在或您已无权访问,可能已被删除或被其所有者设为私人。",
+ "agentNotFound.title": "助理不可用",
"agentProfile.files_one": "{{count}} 个文件",
"agentProfile.files_other": "{{count}} 个文件",
"agentProfile.knowledgeBases_one": "{{count}} 个知识库",
@@ -249,6 +251,8 @@
"group.removeMember": "移除成员",
"group.title": "群组",
"groupDescription": "群组描述",
+ "groupNotFound.desc": "该群聊不存在或您已无权访问,可能已被删除或被其所有者设为私人。",
+ "groupNotFound.title": "群聊不可用",
"groupSidebar.agentProfile.chat": "对话",
"groupSidebar.agentProfile.model": "模型",
"groupSidebar.agentProfile.settings": "设置",
@@ -383,6 +387,8 @@
"history.title": "助理将仅保留最近 {{count}} 条消息",
"historyRange": "历史范围",
"historySummary": "历史消息总结",
+ "inaccessibleFile.desc": "无法访问 — 可能已被其所有者设为私人或删除",
+ "inaccessibleFile.name": "无权访问的文件",
"inactive": "不活跃",
"inbox.desc": "在同一工作区协作,把想法推进成结果",
"inbox.title": "Lobe AI",
@@ -826,6 +832,7 @@
"taskDetail.activities.fallback.topic": "发起了主题",
"taskDetail.activitiesEmpty": "暂无活动记录",
"taskDetail.addSubtask": "添加子任务",
+ "taskDetail.artifactInaccessible": "无权访问的文稿",
"taskDetail.artifactMenu.delete": "从任务中移除",
"taskDetail.artifactMenu.deleteConfirm.content": "该产物将不再出现在此任务工作区中。",
"taskDetail.artifactMenu.deleteConfirm.ok": "移除",
diff --git a/locales/zh-CN/file.json b/locales/zh-CN/file.json
index 4861c748a3e..79d331ffce3 100644
--- a/locales/zh-CN/file.json
+++ b/locales/zh-CN/file.json
@@ -82,6 +82,8 @@
"menu.allFiles": "全部文件",
"menu.allPages": "全部文稿",
"networkError": "获取资源库失败,请检测网络连接后重试",
+ "notFound.desc": "该文件不存在或您已无权访问,可能已被删除或被其所有者设为私人。",
+ "notFound.title": "文件不可用",
"notSupportGuide.desc": "当前部署模式不支持文件管理功能。请切换到<1>服务端数据库部署模式</1>,或直接使用 <3>LobeHub Cloud</3>",
"notSupportGuide.features.allKind.desc": "支持主流文件类型,包括 Word、PPT、Excel、PDF、TXT 等常见文档格式,以及 JS、Python 等主流代码文件",
"notSupportGuide.features.allKind.title": "多种文件类型解析",
diff --git a/locales/zh-CN/image.json b/locales/zh-CN/image.json
index e7004c117cf..c19a2c8c8f4 100644
--- a/locales/zh-CN/image.json
+++ b/locales/zh-CN/image.json
@@ -53,6 +53,8 @@
"generation.metadata.createdAt": "创建于 {{time}}",
"generation.status.failed": "生成遇到了问题,建议调整描述后重试",
"generation.status.generating": "生成中…",
+ "generationTopic.notFound.desc": "该生成记录不存在或您已无权访问,可能已被删除或被其所有者设为私人。",
+ "generationTopic.notFound.title": "生成记录不可用",
"notSupportGuide.desc": "当前部署模式不支持 AI 图像生成功能。请切换到<1>服务端数据库部署模式</1>,或直接使用 <3>LobeHub Cloud</3>",
"notSupportGuide.features.fileIntegration.desc": "与文件管理深度整合。生成的图片自动保存到文件系统,统一管理和组织",
"notSupportGuide.features.fileIntegration.title": "文件系统互通",
diff --git a/locales/zh-TW/chat.json b/locales/zh-TW/chat.json
index dd117cd9a81..806edea4464 100644
--- a/locales/zh-TW/chat.json
+++ b/locales/zh-TW/chat.json
@@ -28,6 +28,8 @@
"agentDocument.emptyTitle": "未開啟任何文件",
"agentDocument.linkCopied": "連結已複製",
"agentDocument.openAsPage": "以完整頁面開啟",
+ "agentNotFound.desc": "此代理不存在或無法再訪問 — 可能已被其擁有者刪除或設為私人。",
+ "agentNotFound.title": "代理不可用",
"agentProfile.files_one": "{{count}} 個檔案",
"agentProfile.files_other": "{{count}} 個檔案",
"agentProfile.knowledgeBases_one": "{{count}} 個知識庫",
@@ -117,6 +119,13 @@
"cliRateLimitGuide.resetIn": "剩餘時間",
"cliRateLimitGuide.resetInApprox": "約於 {{duration}} 後重置",
"cliRateLimitGuide.resetUnknown": "配額重置",
+ "cliRateLimitGuide.schedule.cancel": "取消自動繼續",
+ "cliRateLimitGuide.schedule.continueAfter": "約在 {{duration}} 後繼續",
+ "cliRateLimitGuide.schedule.continueAfterReset": "重置後繼續",
+ "cliRateLimitGuide.schedule.retryNow": "立即重試",
+ "cliRateLimitGuide.schedule.runNow": "立即執行",
+ "cliRateLimitGuide.schedule.scheduledAfterReset": "已排程。此執行將在限制重置後自動繼續。",
+ "cliRateLimitGuide.schedule.scheduledForApprox": "已排程。此執行將在約 {{duration}} 後自動繼續。",
"cliRateLimitGuide.title": "{{name}} 使用量已達上限",
"codexInstallGuide.actions.openDocs": "開啟安裝指南",
"codexInstallGuide.actions.openSystemTools": "開啟系統工具",
@@ -242,6 +251,8 @@
"group.removeMember": "移除成員",
"group.title": "群組",
"groupDescription": "團隊描述",
+ "groupNotFound.desc": "此群組不存在或無法再訪問 — 可能已被其擁有者刪除或設為私人。",
+ "groupNotFound.title": "群組不可用",
"groupSidebar.agentProfile.chat": "對話",
"groupSidebar.agentProfile.model": "模型",
"groupSidebar.agentProfile.settings": "設定",
@@ -376,6 +387,8 @@
"history.title": "助手將只記住最後{{count}}條消息",
"historyRange": "歷史範圍",
"historySummary": "歷史消息總結",
+ "inaccessibleFile.desc": "無法訪問 — 可能已被其擁有者設為私人或刪除",
+ "inaccessibleFile.name": "不可用的檔案",
"inactive": "不活躍",
"inbox.desc": "開啟大腦集群,激發思維火花。你的智能助理,在這裡與你交流一切",
"inbox.title": "Lobe AI",
@@ -411,6 +424,17 @@
"internalLink.preview.agent": "代理",
"internalLink.preview.document": "頁面",
"internalLink.preview.task": "任務",
+ "internalLink.preview.verify": "驗證報告",
+ "internalLink.preview.verifyCounts": "{{passed}} 通過 · {{failed}} 失敗 · {{uncertain}} 不確定",
+ "internalLink.preview.verifyStatus.delivered": "已傳送",
+ "internalLink.preview.verifyStatus.errored": "錯誤",
+ "internalLink.preview.verifyStatus.failed": "失敗",
+ "internalLink.preview.verifyStatus.passed": "通過",
+ "internalLink.preview.verifyStatus.planned": "已計劃",
+ "internalLink.preview.verifyStatus.repairing": "修復中",
+ "internalLink.preview.verifyStatus.uncertain": "不確定",
+ "internalLink.preview.verifyStatus.unverified": "未驗證",
+ "internalLink.preview.verifyStatus.verifying": "驗證中",
"inviteMembers": "邀請成員",
"knowledgeBase.all": "所有內容",
"knowledgeBase.allFiles": "所有檔案",
@@ -806,6 +830,7 @@
"taskDetail.activities.fallback.topic": "開啟了一個主題",
"taskDetail.activitiesEmpty": "尚無活動",
"taskDetail.addSubtask": "新增子任務",
+ "taskDetail.artifactInaccessible": "不可用的文件 — 無法訪問",
"taskDetail.artifactMenu.delete": "從任務中移除",
"taskDetail.artifactMenu.deleteConfirm.content": "此產物將不再顯示於此任務工作區。",
"taskDetail.artifactMenu.deleteConfirm.ok": "移除",
@@ -1266,10 +1291,14 @@
"workingPanel.browser.actions.reload": "重新載入",
"workingPanel.browser.actions.stop": "停止載入",
"workingPanel.browser.addressPlaceholder": "搜尋或輸入地址",
+ "workingPanel.browser.agentControlling": "代理正在使用瀏覽器",
+ "workingPanel.browser.agentCursor": "代理",
"workingPanel.browser.desktopOnly": "內建瀏覽器僅適用於桌面應用程式",
"workingPanel.browser.empty.desc": "在上方輸入地址或搜尋以開啟頁面",
"workingPanel.browser.empty.title": "開始瀏覽",
"workingPanel.browser.title": "瀏覽器",
+ "workingPanel.browser.tool.elements_one": "{{count}} 個元素",
+ "workingPanel.browser.tool.elements_other": "{{count}} 個元素",
"workingPanel.documents.close": "關閉",
"workingPanel.documents.discard": "放棄變更",
"workingPanel.documents.edit": "編輯",
diff --git a/packages/database/src/models/__tests__/messages/message.workspace.test.ts b/packages/database/src/models/__tests__/messages/message.workspace.test.ts
index c65f6c1e81b..9ccc65ae916 100644
--- a/packages/database/src/models/__tests__/messages/message.workspace.test.ts
+++ b/packages/database/src/models/__tests__/messages/message.workspace.test.ts
@@ -2,7 +2,19 @@
import { afterEach, beforeEach, describe, expect, it } from 'vitest';
import { getTestDB } from '../../../core/getTestDB';
-import { messages, sessions, topics, users, workspaces } from '../../../schemas';
+import {
+ chunks,
+ fileChunks,
+ files,
+ messageQueries,
+ messageQueryChunks,
+ messages,
+ messagesFiles,
+ sessions,
+ topics,
+ users,
+ workspaces,
+} from '../../../schemas';
import type { LobeChatDatabase } from '../../../type';
import { MessageModel } from '../../message';
@@ -70,4 +82,131 @@ describe('MessageModel workspace scope', () => {
}),
).resolves.toEqual([expect.objectContaining({ id: 'workspace-message' })]);
});
+
+ describe('message file references after a visibility flip', () => {
+ const memberId = 'message-workspace-member';
+
+ beforeEach(async () => {
+ await serverDB.insert(users).values({ id: memberId });
+ await serverDB.insert(messages).values({
+ content: 'shared message with attachment',
+ id: 'shared-message',
+ role: 'user',
+ sessionId: 'workspace-session',
+ topicId: 'workspace-topic',
+ userId,
+ workspaceId,
+ });
+ await serverDB.insert(files).values({
+ fileType: 'application/pdf',
+ id: 'shared-file',
+ name: 'quarterly-report.pdf',
+ size: 2048,
+ url: 'files/quarterly-report.pdf',
+ userId,
+ visibility: 'public',
+ workspaceId,
+ });
+ await serverDB.insert(messagesFiles).values({
+ fileId: 'shared-file',
+ messageId: 'shared-message',
+ userId,
+ workspaceId,
+ });
+ });
+
+ it('tombstones the file card for a member once the owner flips it back to private', async () => {
+ await serverDB.update(files).set({ visibility: 'private' });
+
+ const [message] = await new MessageModel(serverDB, memberId, workspaceId).query({
+ sessionId: 'workspace-session',
+ topicId: 'workspace-topic',
+ });
+
+ expect(message.fileList).toEqual([
+ { fileType: '', id: 'shared-file', inaccessible: true, name: '', size: 0, url: '' },
+ ]);
+ });
+
+ it('keeps the owner view and restores members once the file is public again', async () => {
+ // Owner always sees their own private file.
+ await serverDB.update(files).set({ visibility: 'private' });
+ const [ownerMessage] = await new MessageModel(serverDB, userId, workspaceId).query({
+ sessionId: 'workspace-session',
+ topicId: 'workspace-topic',
+ });
+ expect(ownerMessage.fileList).toEqual([
+ expect.objectContaining({ id: 'shared-file', name: 'quarterly-report.pdf', size: 2048 }),
+ ]);
+
+ // Flipping back to public restores the member's card.
+ await serverDB.update(files).set({ visibility: 'public' });
+ const [memberMessage] = await new MessageModel(serverDB, memberId, workspaceId).query({
+ sessionId: 'workspace-session',
+ topicId: 'workspace-topic',
+ });
+ expect(memberMessage.fileList).toEqual([
+ expect.objectContaining({ id: 'shared-file', name: 'quarterly-report.pdf' }),
+ ]);
+ });
+
+ describe('RAG reference chunks', () => {
+ beforeEach(async () => {
+ const [chunk] = await serverDB
+ .insert(chunks)
+ .values({ text: 'secret chunk text', userId, workspaceId })
+ .returning();
+ await serverDB
+ .insert(fileChunks)
+ .values({ chunkId: chunk.id, fileId: 'shared-file', userId, workspaceId });
+ const [query] = await serverDB
+ .insert(messageQueries)
+ .values({ messageId: 'shared-message', userId, workspaceId })
+ .returning();
+ await serverDB.insert(messageQueryChunks).values({
+ chunkId: chunk.id,
+ messageId: 'shared-message',
+ queryId: query.id,
+ similarity: '0.90000',
+ userId,
+ workspaceId,
+ });
+ });
+
+ it('drops reference chunks for a member once the owner flips the file back to private', async () => {
+ await serverDB.update(files).set({ visibility: 'private' });
+
+ const [memberMessage] = await new MessageModel(serverDB, memberId, workspaceId).query({
+ sessionId: 'workspace-session',
+ topicId: 'workspace-topic',
+ });
+ expect(memberMessage.chunksList).toEqual([]);
+
+ // Owner always sees chunks of their own private file.
+ const [ownerMessage] = await new MessageModel(serverDB, userId, workspaceId).query({
+ sessionId: 'workspace-session',
+ topicId: 'workspace-topic',
+ });
+ expect(ownerMessage.chunksList).toEqual([
+ expect.objectContaining({ fileId: 'shared-file', text: 'secret chunk text' }),
+ ]);
+ });
+
+ it('drops reference chunks in queryByIds once the owner flips the file back to private', async () => {
+ await serverDB.update(files).set({ visibility: 'private' });
+
+ const [memberMessage] = await new MessageModel(serverDB, memberId, workspaceId).queryByIds([
+ 'shared-message',
+ ]);
+ expect(memberMessage.chunksList).toEqual([]);
+
+ const [ownerMessage] = await new MessageModel(serverDB, userId, workspaceId).queryByIds([
+ 'shared-message',
+ ]);
+ expect(ownerMessage.chunksList).toEqual([
+ expect.objectContaining({ fileId: 'shared-file', text: 'secret chunk text' }),
+ ]);
+ });
+ });
+ });
});
diff --git a/packages/database/src/models/__tests__/task.test.ts b/packages/database/src/models/__tests__/task.test.ts
index 1ee6c2f569f..f2d13b12dd2 100644
--- a/packages/database/src/models/__tests__/task.test.ts
+++ b/packages/database/src/models/__tests__/task.test.ts
@@ -617,6 +617,59 @@ describe('TaskModel', () => {
expect(pinned[0].documentId).toBe(doc.id);
});
+ it('tombstones a pinned document in the workspace tree once its owner flips it back to private', async () => {
+ const workspaceId = 'task-doc-workspace';
+ await serverDB.insert(workspaces).values({
+ id: workspaceId,
+ name: 'Workspace',
+ primaryOwnerId: userId,
+ slug: workspaceId,
+ });
+
+ const ownerModel = new TaskModel(serverDB, userId, workspaceId);
+ const task = await ownerModel.create({ instruction: 'Shared task' });
+
+ const [doc] = await serverDB
+ .insert(documents)
+ .values({
+ content: '',
+ fileType: 'text/plain',
+ source: 'test',
+ sourceType: 'file',
+ title: 'Shared Doc',
+ totalCharCount: 12,
+ totalLineCount: 1,
+ userId,
+ visibility: 'public',
+ workspaceId,
+ })
+ .returning();
+ await ownerModel.pinDocument(task.id, doc.id);
+
+ const memberModel = new TaskModel(serverDB, userId2, workspaceId);
+
+ // While public the member sees the real title.
+ const before = await memberModel.getTreePinnedDocuments(task.id);
+ expect(before.nodeMap[doc.id]).toMatchObject({ title: 'Shared Doc' });
+ expect(before.nodeMap[doc.id].inaccessible).toBeUndefined();
+
+ // The document is flipped back to private independently of the task —
+ // the junction mirror still says public, so only the document-level
+ // guard protects the title.
+ await serverDB
+ .update(documents)
+ .set({ visibility: 'private' })
+ .where(eq(documents.id, doc.id));
+
+ const after = await memberModel.getTreePinnedDocuments(task.id);
+ expect(after.nodeMap[doc.id]).toMatchObject({ inaccessible: true, title: '' });
+
+ // The owner keeps seeing their own private document.
+ const owner = await ownerModel.getTreePinnedDocuments(task.id);
+ expect(owner.nodeMap[doc.id]).toMatchObject({ title: 'Shared Doc' });
+ expect(owner.nodeMap[doc.id].inaccessible).toBeUndefined();
+ });
+
it('should unpin document', async () => {
const model = new TaskModel(serverDB, userId);
const task = await model.create({ instruction: 'Test' });
diff --git a/packages/database/src/models/message.ts b/packages/database/src/models/message.ts
index c0e39b4da95..0eba9868186 100644
--- a/packages/database/src/models/message.ts
+++ b/packages/database/src/models/message.ts
@@ -678,14 +678,21 @@ export class MessageModel {
fileList: fileList
.filter((relation) => relation.messageId === item.id)
- .map<ChatFileItem>(({ id, url, size, fileType, name }) => ({
- content: documentsMap[id],
- fileType: fileType!,
- id,
- name: name!,
- size: size!,
- url,
- })),
+ .map<ChatFileItem>(({ id, url, size, fileType, name }) =>
+ // Nulled by the visibility guard: the viewer lost access to
+ // the referenced file. Emit a tombstone (id only) so the UI
+ // renders a no-access placeholder.
+ name === null
+ ? { fileType: '', id, inaccessible: true, name: '', size: 0, url: '' }
+ : {
+ content: documentsMap[id],
+ fileType: fileType!,
+ id,
+ name,
+ size: size!,
+ url,
+ },
+ ),
imageList: imageList
.filter((relation) => relation.messageId === item.id)
@@ -818,7 +825,19 @@ export class MessageModel {
url: files.url,
})
.from(messagesFiles)
- .leftJoin(files, eq(files.id, messagesFiles.fileId))
+ // Guard the referenced file, not just the relation: in a shared
+ // conversation (chat group / workspace task) the message is visible
+ // to every member, but a file its owner switched back to private
+ // must degrade to a tombstone (id only) instead of leaking
+ // name/size/url. Same anti-leak join pattern as the agent knowledge
+ // reads in agent.ts.
+ .leftJoin(
+ files,
+ and(
+ eq(files.id, messagesFiles.fileId),
+ buildWorkspaceWhere({ userId: this.userId, workspaceId: this.workspaceId }, files),
+ ),
+ )
.where(inArray(messagesFiles.messageId, messageIds)),
{ messageCount: messageIds.length },
);
@@ -831,20 +850,29 @@ export class MessageModel {
'db.message.queryWithWhere.relatedFiles.postProcess',
() =>
Promise.all(
- rawRelatedFileList.map(async (file) => ({
- ...file,
- url: postProcessUrl
- ? await postProcessUrl(
- file.url,
- file as unknown as { fileType: string; id?: string | null },
- )
- : (file.url as string),
- })),
+ rawRelatedFileList.map(async (file) => {
+ // Tombstoned by the visibility guard above — nothing to presign.
+ if (file.name === null) return { ...file, url: '' };
+ return {
+ ...file,
+ url: postProcessUrl
+ ? await postProcessUrl(
+ file.url,
+ file as unknown as { fileType: string; id?: string | null },
+ )
+ : (file.url as string),
+ };
+ }),
),
{ fileCount: rawRelatedFileList.length },
);
- const fileIds = relatedFileList.map((file) => file.id).filter(Boolean);
+ // Exclude tombstoned files — their parsed document content must not leak
+ // through the unguarded documents join below.
+ const fileIds = relatedFileList
+ .filter((file) => file.name !== null)
+ .map((file) => file.id)
+ .filter(Boolean);
if (fileIds.length === 0) return { documentsMap: {}, relatedFileList };
@@ -897,7 +925,17 @@ export class MessageModel {
.from(messageQueryChunks)
.leftJoin(chunks, eq(chunks.id, messageQueryChunks.chunkId))
.leftJoin(fileChunks, eq(fileChunks.chunkId, chunks.id))
- .innerJoin(files, eq(fileChunks.fileId, files.id))
+ // Guard the referenced file like queryMessageFileRelations: in a
+ // shared conversation, RAG reference chunks of a file its owner
+ // switched back to private must not leak filename/url/text to other
+ // members. The inner join drops those chunk rows entirely.
+ .innerJoin(
+ files,
+ and(
+ eq(fileChunks.fileId, files.id),
+ buildWorkspaceWhere({ userId: this.userId, workspaceId: this.workspaceId }, files),
+ ),
+ )
.where(inArray(messageQueryChunks.messageId, messageIds)),
{ messageCount: messageIds.length },
);
@@ -1086,26 +1124,19 @@ export class MessageModel {
url: files.url,
})
.from(messagesFiles)
- .leftJoin(files, eq(files.id, messagesFiles.fileId))
+ // Same anti-leak guard as queryMessageFileRelations: tombstone files
+ // the viewer lost access to instead of leaking name/size/url.
+ .leftJoin(
+ files,
+ and(
+ eq(files.id, messagesFiles.fileId),
+ buildWorkspaceWhere({ userId: this.userId, workspaceId: this.workspaceId }, files),
+ ),
+ )
.where(inArray(messagesFiles.messageId, messageIds)),
- // 2b. Get related file chunks
- this.db
- .select({
- fileId: files.id,
- fileType: files.fileType,
- fileUrl: files.url,
- filename: files.name,
- id: chunks.id,
- messageId: messageQueryChunks.messageId,
- similarity: messageQueryChunks.similarity,
- text: chunks.text,
- })
- .from(messageQueryChunks)
- .leftJoin(chunks, eq(chunks.id, messageQueryChunks.chunkId))
- .leftJoin(fileChunks, eq(fileChunks.chunkId, chunks.id))
- .innerJoin(files, eq(fileChunks.fileId, files.id))
- .where(inArray(messageQueryChunks.messageId, messageIds)),
+ // 2b. Get related file chunks (visibility-guarded like queryWithWhere)
+ this.queryMessageChunkRelations(messageIds),
// 2c. Get related message queries (RAG)
this.db
@@ -1143,19 +1174,27 @@ export class MessageModel {
// 3. Process file results
const relatedFileList = await Promise.all(
- rawRelatedFileList.map(async (file) => ({
- ...file,
- url: postProcessUrl
- ? await postProcessUrl(
- file.url,
- file as unknown as { fileType: string; id?: string | null },
- )
- : (file.url as string),
- })),
+ rawRelatedFileList.map(async (file) => {
+ // Tombstoned by the visibility guard above — nothing to presign.
+ if (file.name === null) return { ...file, url: '' };
+ return {
+ ...file,
+ url: postProcessUrl
+ ? await postProcessUrl(
+ file.url,
+ file as unknown as { fileType: string; id?: string | null },
+ )
+ : (file.url as string),
+ };
+ }),
);
- // Get associated document content
- const fileIds = relatedFileList.map((file) => file.id).filter(Boolean);
+ // Get associated document content. Exclude tombstoned files — their parsed
+ // document content must not leak through the unguarded documents join.
+ const fileIds = relatedFileList
+ .filter((file) => file.name !== null)
+ .map((file) => file.id)
+ .filter(Boolean);
let documentsMap: Record<string, string> = {};
@@ -1235,14 +1274,21 @@ export class MessageModel {
},
fileList: fileList
.filter((relation) => relation.messageId === item.id)
- .map<ChatFileItem>(({ id, url, size, fileType, name }) => ({
- content: documentsMap[id],
- fileType: fileType!,
- id,
- name: name!,
- size: size!,
- url,
- })),
+ .map<ChatFileItem>(({ id, url, size, fileType, name }) =>
+ // Nulled by the visibility guard: the viewer lost access to the
+ // referenced file. Emit a tombstone (id only) so the UI renders
+ // a no-access placeholder.
+ name === null
+ ? { fileType: '', id, inaccessible: true, name: '', size: 0, url: '' }
+ : {
+ content: documentsMap[id],
+ fileType: fileType!,
+ id,
+ name,
+ size: size!,
+ url,
+ },
+ ),
imageList: imageList
.filter((relation) => relation.messageId === item.id)
.map<ChatImageItem>(({ id, url, name }) => ({ alt: name!, id, url })),
diff --git a/packages/database/src/models/task.ts b/packages/database/src/models/task.ts
index 338df58d8c4..5c3d2a58ff9 100644
--- a/packages/database/src/models/task.ts
+++ b/packages/database/src/models/task.ts
@@ -1040,7 +1040,16 @@ export class TaskModel {
title: documents.title,
})
.from(taskDocuments)
- .innerJoin(documents, eq(taskDocuments.documentId, documents.id))
+ // Guard the referenced document too: the junction's visibility column is
+ // a write-time mirror of the TASK, so a document independently switched
+ // back to private would otherwise still leak its title here.
+ .innerJoin(
+ documents,
+ and(
+ eq(taskDocuments.documentId, documents.id),
+ buildWorkspaceWhere({ userId: this.userId, workspaceId: this.workspaceId }, documents),
+ ),
+ )
.where(
and(
eq(taskDocuments.taskId, taskId),
@@ -1064,6 +1073,15 @@ export class TaskModel {
? sql`td.workspace_id = ${this.workspaceId}
AND (td.visibility = 'public' OR td.user_id = ${this.userId})`
: sql`td.user_id = ${this.userId} AND td.workspace_id IS NULL`;
+ // Guard the referenced document row itself: `td.visibility` is a
+ // write-time mirror of the TASK's visibility, so a document independently
+ // switched back to private would otherwise still leak its title/metadata
+ // through this join. A guarded-out document keeps its junction row but
+ // joins as NULL → surfaced as an inaccessible tombstone node.
+ const documentVisibility = this.workspaceId
+ ? sql`d.workspace_id = ${this.workspaceId}
+ AND (d.visibility IS NULL OR d.visibility = 'public' OR d.user_id = ${this.userId})`
+ : sql`d.user_id = ${this.userId} AND d.workspace_id IS NULL`;
const result = await this.db.execute(sql`
WITH RECURSIVE task_tree AS (
SELECT id, identifier FROM tasks WHERE id = ${rootTaskId} AND ${rootOwnership}
@@ -1073,11 +1091,12 @@ export class TaskModel {
WHERE ${recursiveOwnership}
)
SELECT td.*, tt.id as source_task_id, tt.identifier as source_task_identifier,
+ d.id as document_ref_id,
d.title as document_title, d.file_type as document_file_type, d.parent_id as document_parent_id,
d.total_char_count as document_char_count, d.updated_at as document_updated_at
FROM task_documents td
JOIN task_tree tt ON td.task_id = tt.id
- LEFT JOIN documents d ON td.document_id = d.id
+ LEFT JOIN documents d ON td.document_id = d.id AND ${documentVisibility}
WHERE ${docsOwnership}
ORDER BY td.created_at
`);
@@ -1089,17 +1108,22 @@ export class TaskModel {
for (const row of result.rows as any[]) {
const docId = row.document_id;
+ // Join miss = the viewer lost access to the document (switched back to
+ // private) or it was deleted. Emit a titleless tombstone so the UI can
+ // render a no-access placeholder instead of leaking the title.
+ const inaccessible = row.document_ref_id === null;
docIds.add(docId);
nodeMap[docId] = {
- charCount: row.document_char_count,
+ charCount: inaccessible ? null : row.document_char_count,
createdAt: row.created_at,
- fileType: row.document_file_type,
- parentId: row.document_parent_id,
+ fileType: inaccessible ? '' : row.document_file_type,
+ inaccessible: inaccessible || undefined,
+ parentId: inaccessible ? null : row.document_parent_id,
pinnedBy: row.pinned_by,
sourceTaskId: row.source_task_id,
sourceTaskIdentifier: row.source_task_id !== rootTaskId ? row.source_task_identifier : null,
- title: row.document_title || 'Untitled',
- updatedAt: row.document_updated_at,
+ title: inaccessible ? '' : row.document_title || 'Untitled',
+ updatedAt: inaccessible ? null : row.document_updated_at,
};
}
diff --git a/packages/locales/src/default/chat.ts b/packages/locales/src/default/chat.ts
index e54c72ab8f2..e5185030fc6 100644
--- a/packages/locales/src/default/chat.ts
+++ b/packages/locales/src/default/chat.ts
@@ -36,6 +36,14 @@ export default {
'agentDocument.emptyTitle': 'No document open',
'agentDocument.linkCopied': 'Link copied',
'agentDocument.openAsPage': 'Open as full page',
+ 'agentNotFound.desc':
+ 'This agent does not exist or is no longer accessible — it may have been deleted or set to private by its owner.',
+ 'agentNotFound.title': 'Agent Unavailable',
+ 'groupNotFound.desc':
+ 'This group does not exist or is no longer accessible — it may have been deleted or set to private by its owner.',
+ 'groupNotFound.title': 'Group Unavailable',
+ 'inaccessibleFile.desc': 'No access — it may have been set to private or deleted by its owner',
+ 'inaccessibleFile.name': 'Unavailable file',
'internalLink.agent.open': 'Open agent',
'agentProfile.files_one': '{{count}} file',
'agentProfile.files_other': '{{count}} files',
@@ -949,6 +957,7 @@ export default {
'This artifact will no longer appear in this task workspace.',
'taskDetail.artifactMenu.deleteConfirm.ok': 'Remove',
'taskDetail.artifactMenu.deleteConfirm.title': 'Remove this artifact?',
+ 'taskDetail.artifactInaccessible': 'Unavailable document — no access',
'taskDetail.artifactSize': '{{value}} chars',
'taskDetail.activities.agentTag': 'Agent',
'taskDetail.activities.fallback.brief': 'posted a brief',
diff --git a/packages/locales/src/default/file.ts b/packages/locales/src/default/file.ts
index 1db438792a1..f742a15e4bb 100644
--- a/packages/locales/src/default/file.ts
+++ b/packages/locales/src/default/file.ts
@@ -18,6 +18,9 @@ export default {
'detail.data.embeddingStatus': 'embedding',
'empty': 'No files or folders have been uploaded yet.',
'header.actions.builtInBlockList.filtered': '{{ignored}} files filtered (out of {{total}} total)',
+ 'notFound.desc':
+ 'This file does not exist or is no longer accessible — it may have been deleted or set to private by its owner.',
+ 'notFound.title': 'File Unavailable',
'header.actions.connect': 'Connect...',
'header.actions.createFolderError': 'Failed to create folder',
'header.actions.creatingFolder': 'Creating folder...',
diff --git a/packages/locales/src/default/image.ts b/packages/locales/src/default/image.ts
index 8c44eb1ef91..e3caa658de1 100644
--- a/packages/locales/src/default/image.ts
+++ b/packages/locales/src/default/image.ts
@@ -54,6 +54,9 @@ export default {
'generation.metadata.createdAt': 'Created at {{time}}',
'generation.status.failed': 'Generation hit a problem. Adjust the prompt and try again',
'generation.status.generating': 'Generating...',
+ 'generationTopic.notFound.desc':
+ 'This generation does not exist or is no longer accessible — it may have been deleted or set to private by its owner.',
+ 'generationTopic.notFound.title': 'Generation Unavailable',
'notSupportGuide.desc':
'The current deployment mode does not support AI image generation. Switch to the <1>server database deployment mode</1>, or use <3>LobeHub Cloud</3>.',
'notSupportGuide.features.fileIntegration.desc':
diff --git a/packages/types/src/message/ui/chat.ts b/packages/types/src/message/ui/chat.ts
index b7564ba4cdf..6e21f16d2a7 100644
--- a/packages/types/src/message/ui/chat.ts
+++ b/packages/types/src/message/ui/chat.ts
@@ -39,6 +39,13 @@ export interface ChatFileItem {
content?: string;
fileType: string;
id: string;
+ /**
+ * The viewer lost access to the referenced file (e.g. its owner switched a
+ * workspace-shared file back to private after it was used in a shared
+ * conversation). The server tombstones the row — id only, no name/url — and
+ * the UI renders a no-access placeholder card instead of the file card.
+ */
+ inaccessible?: boolean;
name: string;
size: number;
url: string;
diff --git a/packages/types/src/task/index.ts b/packages/types/src/task/index.ts
index 2fe99e91ad5..a5792f6a082 100644
--- a/packages/types/src/task/index.ts
+++ b/packages/types/src/task/index.ts
@@ -79,6 +79,12 @@ export interface WorkspaceDocNode {
charCount: number | null;
createdAt: string;
fileType: string;
+ /**
+ * The viewer lost access to the pinned document (e.g. it was switched back
+ * to private by its owner after being pinned to a shared task). The node is
+ * a tombstone — no title/metadata — and renders as a no-access placeholder.
+ */
+ inaccessible?: boolean;
parentId: string | null;
pinnedBy: string;
sourceTaskId: string;
@@ -325,6 +331,11 @@ export interface TaskDetailWorkspaceNode {
createdAt?: string;
documentId: string;
fileType?: string;
+ /**
+ * The viewer lost access to the pinned document (switched back to private
+ * by its owner). Tombstone node — render a no-access placeholder.
+ */
+ inaccessible?: boolean;
size?: number | null;
sourceTaskId?: string;
sourceTaskIdentifier?: string | null;
diff --git a/src/features/AgentNotFound/index.tsx b/src/features/AgentNotFound/index.tsx
new file mode 100644
index 00000000000..cd7dbdb32f7
--- /dev/null
+++ b/src/features/AgentNotFound/index.tsx
@@ -0,0 +1,46 @@
+'use client';
+
+import { BUILTIN_AGENT_SLUGS } from '@lobechat/builtin-agents';
+import { type FC, memo, type PropsWithChildren } from 'react';
+import { useTranslation } from 'react-i18next';
+import { useParams } from 'react-router';
+
+import NotFound from '@/components/404';
+import { useAgentStore } from '@/store/agent';
+import { agentByIdSelectors } from '@/store/agent/selectors';
+
+const BUILTIN_SLUG_SET = new Set<string>(Object.values(BUILTIN_AGENT_SLUGS));
+
+/**
+ * Terminal 404 card for an agent whose config fetch settled on `null` — it
+ * doesn't exist or the viewer lost access (e.g. a workspace agent switched
+ * back to private by its owner).
+ */
+export const AgentNotFound = memo(() => {
+ const { t } = useTranslation('chat');
+
+ return <NotFound desc={t('agentNotFound.desc')} title={t('agentNotFound.title')} />;
+});
+
+AgentNotFound.displayName = 'AgentNotFound';
+
+/**
+ * Replaces children with the 404 card when the routed agent (`:aid`) resolved
+ * to not-found / no-access. Builtin slugs are skipped: they are not real agent
+ * ids (AgentIdSync redirects them to the resolved id), so a `null` fetch on
+ * the slug key must not flash a 404.
+ *
+ * The not-found flag is cleared by any later successful fetch (e.g. the agent
+ * is made public again), so the guard recovers without a manual refresh.
+ */
+export const AgentNotFoundGuard: FC<PropsWithChildren> = memo(({ children }) => {
+ const params = useParams<{ aid?: string }>();
+ const aid = params.aid && !BUILTIN_SLUG_SET.has(params.aid) ? params.aid : '';
+ const isNotFound = useAgentStore(agentByIdSelectors.isAgentNotFoundById(aid));
+
+ if (isNotFound) return <AgentNotFound />;
+
+ return children;
+});
+
+AgentNotFoundGuard.displayName = 'AgentNotFoundGuard';
diff --git a/src/features/AgentTasks/AgentTaskDetail/TaskArtifacts.tsx b/src/features/AgentTasks/AgentTaskDetail/TaskArtifacts.tsx
index af082c2cac9..8de5c2eba2e 100644
--- a/src/features/AgentTasks/AgentTaskDetail/TaskArtifacts.tsx
+++ b/src/features/AgentTasks/AgentTaskDetail/TaskArtifacts.tsx
@@ -11,7 +11,7 @@ import {
} from '@lobehub/ui';
import { confirmModal } from '@lobehub/ui/base-ui';
import { cssVar } from 'antd-style';
-import { FileTextIcon, MoreHorizontal, Package, Trash } from 'lucide-react';
+import { FileLock2Icon, FileTextIcon, MoreHorizontal, Package, Trash } from 'lucide-react';
import { memo, useCallback, useMemo, useState } from 'react';
import { useTranslation } from 'react-i18next';
@@ -33,7 +33,13 @@ const ArtifactCard = memo<{ node: TaskDetailWorkspaceNode }>(({ node }) => {
const openDocumentPreview = useDocumentStore((s) => s.openDocumentPreview);
const unpinDocument = useTaskStore((s) => s.unpinDocument);
const activeTaskId = useTaskStore(taskDetailSelectors.activeTaskId);
- const title = node.title || 'Untitled';
+ // Tombstone: the viewer lost access to the pinned document (switched back
+ // to private by its owner). The server strips title/metadata; clicking
+ // through still works — the document preview renders its own 404 terminal.
+ const inaccessible = !!node.inaccessible;
+ const title = inaccessible
+ ? t('taskDetail.artifactInaccessible')
+ : node.title || t('taskDetail.untitled');
const sizeLabel =
node.size == null ? undefined : t('taskDetail.artifactSize', { value: node.size });
@@ -75,11 +81,11 @@ const ArtifactCard = memo<{ node: TaskDetailWorkspaceNode }>(({ node }) => {
>
<Icon
color={cssVar.colorTextSecondary}
- icon={FileTextIcon}
+ icon={inaccessible ? FileLock2Icon : FileTextIcon}
size={{ size: 18, strokeWidth: 1.5 }}
style={{ flexShrink: 0 }}
/>
- <Text ellipsis style={{ flex: 1, minWidth: 0 }}>
+ <Text ellipsis style={{ flex: 1, minWidth: 0 }} type={inaccessible ? 'secondary' : undefined}>
{title}
</Text>
{sizeLabel && (
diff --git a/src/features/Conversation/Messages/User/components/FileListViewer/Item.tsx b/src/features/Conversation/Messages/User/components/FileListViewer/Item.tsx
index a513cf3cf6e..4e4c1b1b87d 100644
--- a/src/features/Conversation/Messages/User/components/FileListViewer/Item.tsx
+++ b/src/features/Conversation/Messages/User/components/FileListViewer/Item.tsx
@@ -1,14 +1,48 @@
-import { Block, Flexbox, Text } from '@lobehub/ui';
+import { Block, Flexbox, Icon, Text } from '@lobehub/ui';
+import { FileLock2Icon } from 'lucide-react';
import { memo } from 'react';
+import { useTranslation } from 'react-i18next';
import FileIcon from '@/components/FileIcon';
import { useChatStore } from '@/store/chat';
import { type ChatFileItem } from '@/types/index';
import { formatSize } from '@/utils/format';
-const FileItem = memo<ChatFileItem>(({ id, fileType, size, name }) => {
+/**
+ * Tombstone card for a file the viewer lost access to (its owner switched it
+ * back to private, or it was deleted). The server strips name/size/url, so
+ * there is nothing to preview — render a static no-access placeholder.
+ */
+const InaccessibleFileItem = memo(() => {
+ const { t } = useTranslation('chat');
+
+ return (
+ <Block
+ horizontal
+ align={'center'}
+ gap={12}
+ paddingBlock={8}
+ paddingInline={'12px 16px'}
+ variant={'outlined'}
+ >
+ <Icon icon={FileLock2Icon} size={32} style={{ opacity: 0.45 }} />
+ <Flexbox style={{ overflow: 'hidden' }}>
+ <Text ellipsis type={'secondary'}>
+ {t('inaccessibleFile.name')}
+ </Text>
+ <Text fontSize={12} type={'secondary'}>
+ {t('inaccessibleFile.desc')}
+ </Text>
+ </Flexbox>
+ </Block>
+ );
+});
+
+const FileItem = memo<ChatFileItem>(({ id, fileType, size, name, inaccessible }) => {
const openFilePreview = useChatStore((s) => s.openFilePreview);
+ if (inaccessible) return <InaccessibleFileItem />;
+
return (
<Block
clickable
diff --git a/src/features/Conversation/Messages/components/MessageActionBar/actions/restoreToInput.ts b/src/features/Conversation/Messages/components/MessageActionBar/actions/restoreToInput.ts
index 41e4ad70808..556b1f90180 100644
--- a/src/features/Conversation/Messages/components/MessageActionBar/actions/restoreToInput.ts
+++ b/src/features/Conversation/Messages/components/MessageActionBar/actions/restoreToInput.ts
@@ -78,14 +78,18 @@ export const restoreToInputAction = defineAction({
...fromMedia(imageList, 'image'),
...fromMedia(videoList, 'video'),
...fromMedia(audioList, 'audio'),
- ...(fileList ?? []).map((f) => ({
- file: { name: f.name, size: f.size, type: f.fileType } as File,
- fileUrl: f.url,
- id: f.id,
- previewUrl: f.url,
- skipRemoveFile: true,
- status: 'success' as const,
- })),
+ // Tombstoned attachments (viewer lost access to the file) carry no
+ // name/url — nothing usable to reattach, so drop them.
+ ...(fileList ?? [])
+ .filter((f) => !f.inaccessible)
+ .map((f) => ({
+ file: { name: f.name, size: f.size, type: f.fileType } as File,
+ fileUrl: f.url,
+ id: f.id,
+ previewUrl: f.url,
+ skipRemoveFile: true,
+ status: 'success' as const,
+ })),
];
const fileStore = useFileStore.getState();
diff --git a/src/features/FileNotFound/index.tsx b/src/features/FileNotFound/index.tsx
new file mode 100644
index 00000000000..67f4faa2f7e
--- /dev/null
+++ b/src/features/FileNotFound/index.tsx
@@ -0,0 +1,21 @@
+'use client';
+
+import { memo } from 'react';
+import { useTranslation } from 'react-i18next';
+
+import NotFound from '@/components/404';
+
+/**
+ * Terminal 404 card for a file whose fetch settled on nothing — it doesn't
+ * exist or the viewer lost access (e.g. a workspace file switched back to
+ * private by its owner). Render instead of a blank pane.
+ */
+const FileNotFound = memo(() => {
+ const { t } = useTranslation('file');
+
+ return <NotFound desc={t('notFound.desc')} title={t('notFound.title')} />;
+});
+
+FileNotFound.displayName = 'FileNotFound';
+
+export default FileNotFound;
diff --git a/src/features/GroupNotFound/index.tsx b/src/features/GroupNotFound/index.tsx
new file mode 100644
index 00000000000..1365482dae1
--- /dev/null
+++ b/src/features/GroupNotFound/index.tsx
@@ -0,0 +1,40 @@
+'use client';
+
+import { type FC, memo, type PropsWithChildren } from 'react';
+import { useTranslation } from 'react-i18next';
+import { useParams } from 'react-router';
+
+import NotFound from '@/components/404';
+import { agentGroupByIdSelectors, useAgentGroupStore } from '@/store/agentGroup';
+
+/**
+ * Terminal 404 card for a chat group whose detail fetch settled on nothing —
+ * it doesn't exist or the viewer lost access (e.g. a workspace group switched
+ * back to private by its owner).
+ */
+export const GroupNotFound = memo(() => {
+ const { t } = useTranslation('chat');
+
+ return <NotFound desc={t('groupNotFound.desc')} title={t('groupNotFound.title')} />;
+});
+
+GroupNotFound.displayName = 'GroupNotFound';
+
+/**
+ * Replaces children with the 404 card when the routed group (`:gid`) resolved
+ * to not-found / no-access. The flag is cleared by any later successful fetch
+ * (e.g. the group is made public again), so the guard recovers without a
+ * manual refresh.
+ */
+export const GroupNotFoundGuard: FC<PropsWithChildren> = memo(({ children }) => {
+ const params = useParams<{ gid?: string }>();
+ const isNotFound = useAgentGroupStore(
+ agentGroupByIdSelectors.isGroupNotFoundById(params.gid ?? ''),
+ );
+
+ if (isNotFound) return <GroupNotFound />;
+
+ return children;
+});
+
+GroupNotFoundGuard.displayName = 'GroupNotFoundGuard';
diff --git a/src/features/Portal/AgentDetail/Body.tsx b/src/features/Portal/AgentDetail/Body.tsx
index bc0caf8c3e2..7561fb41e7c 100644
--- a/src/features/Portal/AgentDetail/Body.tsx
+++ b/src/features/Portal/AgentDetail/Body.tsx
@@ -6,8 +6,9 @@ import { useTranslation } from 'react-i18next';
import AsyncError from '@/components/AsyncError';
import Loading from '@/components/Loading/BrandTextLoading';
+import { AgentNotFound } from '@/features/AgentNotFound';
import { useAgentStore } from '@/store/agent';
-import { agentSelectors } from '@/store/agent/selectors';
+import { agentByIdSelectors, agentSelectors } from '@/store/agent/selectors';
import { useChatStore } from '@/store/chat';
import { chatPortalSelectors } from '@/store/chat/selectors';
@@ -20,9 +21,20 @@ const Body = memo(() => {
const openingMessage = useAgentStore(
(s) => agentSelectors.getAgentConfigById(agentId)(s)?.openingMessage,
);
+ const isNotFound = useAgentStore(agentByIdSelectors.isAgentNotFoundById(agentId));
if (!agentId) return null;
+ // The fetch settled on `null` — the agent was deleted or made private by
+ // its owner. A terminal 404, distinct from the retryable transport error.
+ if (isNotFound) {
+ return (
+ <Flexbox flex={1} style={{ overflowY: 'auto' }}>
+ <AgentNotFound />
+ </Flexbox>
+ );
+ }
+
if (error) {
return (
<Flexbox flex={1} padding={24}>
diff --git a/src/features/Portal/FilePreview/Body/index.tsx b/src/features/Portal/FilePreview/Body/index.tsx
index b68e99fa87c..d73fa0371c4 100644
--- a/src/features/Portal/FilePreview/Body/index.tsx
+++ b/src/features/Portal/FilePreview/Body/index.tsx
@@ -4,8 +4,11 @@ import { BoltIcon, FileIcon } from 'lucide-react';
import { useEffect, useState } from 'react';
import { useTranslation } from 'react-i18next';
+import AsyncError from '@/components/AsyncError';
import Loading from '@/components/Loading/CircleLoading';
+import FileNotFound from '@/features/FileNotFound';
import FileViewer from '@/features/FileViewer';
+import { normalizeAsyncError } from '@/libs/swr/normalizeError';
import { useChatStore } from '@/store/chat';
import { chatPortalSelectors } from '@/store/chat/selectors';
import { useFileStore } from '@/store/file';
@@ -30,14 +33,24 @@ const FilePreview = () => {
const topicKey = activeTopicId ?? NO_TOPIC_KEY;
const [tabByTopic, setTabByTopic] = useState<Record<string, FilePreviewTab>>({});
const tab = tabByTopic[topicKey] ?? getDefaultTab(chunkText);
- const { data, isLoading } = useFetchFileItem(previewFileId);
+ const { data, error, isLoading, mutate } = useFetchFileItem(previewFileId);
useEffect(() => {
setTabByTopic((prev) => ({ ...prev, [topicKey]: getDefaultTab(chunkText) }));
}, [chunkText, previewFileId, topicKey]);
if (isLoading) return <Loading />;
- if (!data) return;
+ // The backend answers a deleted / access-revoked file with 404 (and a
+ // resolved-nothing on some list paths) — both are terminal, not retryable.
+ // Other failures offer Reload.
+ if (error && normalizeAsyncError(error).status !== 404) {
+ return (
+ <Flexbox flex={1} padding={16}>
+ <AsyncError error={error} variant={'block'} onRetry={() => void mutate()} />
+ </Flexbox>
+ );
+ }
+ if (error || !data) return <FileNotFound />;
const showChunk = tab === FilePreviewTab.Chunk && !!chunkText;
return (
diff --git a/src/routes/(main)/(create)/features/GenerationWorkspace/Content.tsx b/src/routes/(main)/(create)/features/GenerationWorkspace/Content.tsx
index 0c1223305a5..302d6e6ff8a 100644
--- a/src/routes/(main)/(create)/features/GenerationWorkspace/Content.tsx
+++ b/src/routes/(main)/(create)/features/GenerationWorkspace/Content.tsx
@@ -2,13 +2,16 @@
import { Center } from '@lobehub/ui';
import type { ComponentType } from 'react';
+import { useTranslation } from 'react-i18next';
+import NotFound from '@/components/404';
import AsyncError from '@/components/AsyncError';
-import type { GenerationBatch } from '@/types/generation';
+import type { GenerationBatch, ImageGenerationTopic } from '@/types/generation';
export interface GenerationWorkspaceContentSelectors {
activeGenerationTopicId: (s: any) => string | null | undefined;
currentGenerationBatches: (s: any) => GenerationBatch[] | null;
+ generationTopics: (s: any) => ImageGenerationTopic[];
isCurrentGenerationTopicLoaded: (s: any) => boolean;
}
@@ -31,16 +34,43 @@ const Content = ({
SkeletonList,
EmptyStateComponent,
}: GenerationWorkspaceContentProps) => {
+ const { t } = useTranslation('image');
const activeTopicId = useStore(selectors.activeGenerationTopicId);
const useFetchGenerationBatches = useStore((s: any) => s.useFetchGenerationBatches);
+ const useFetchGenerationTopics = useStore((s: any) => s.useFetchGenerationTopics);
const isCurrentGenerationTopicLoaded = useStore(selectors.isCurrentGenerationTopicLoaded);
// Keep `error` / `mutate`: the topic's "loaded" flag is `Array.isArray(map[topicId])`,
// written only on success, so a failed batch fetch would otherwise stick on the
// skeleton forever with no retry.
const { error, mutate } = useFetchGenerationBatches(activeTopicId);
+ // Same SWR key the topic panel uses — `data !== undefined` marks the list as
+ // loaded at least once, so an absent topic is a settled fact, not a race.
+ const { data: loadedTopics } = useFetchGenerationTopics(true);
+ const topics = useStore(selectors.generationTopics);
const currentBatches = useStore(selectors.currentGenerationBatches);
const hasGenerations = currentBatches && currentBatches.length > 0;
+ // The routed topic is absent from the ownership-scoped list — it was deleted
+ // or the viewer lost access (e.g. switched back to private by its owner).
+ // Membership is checked against the STORE list (updated optimistically on
+ // create) so a just-created topic never flashes the 404 card. A later
+ // successful revalidation that re-includes the topic clears this branch.
+ const isTopicMissing =
+ !!activeTopicId &&
+ loadedTopics !== undefined &&
+ !topics.some((topic: ImageGenerationTopic) => topic.id === activeTopicId);
+
+ if (isTopicMissing) {
+ return (
+ <Center flex={1} padding={24} width={'100%'}>
+ <NotFound
+ desc={t('generationTopic.notFound.desc')}
+ title={t('generationTopic.notFound.title')}
+ />
+ </Center>
+ );
+ }
+
// Error gated ahead of the skeleton (loaded flag stays false on failure).
if (error && !isCurrentGenerationTopicLoaded) {
return (
diff --git a/src/routes/(main)/(create)/image/features/ImageWorkspace/index.tsx b/src/routes/(main)/(create)/image/features/ImageWorkspace/index.tsx
index c0ed21c37c6..9ea03e49146 100644
--- a/src/routes/(main)/(create)/image/features/ImageWorkspace/index.tsx
+++ b/src/routes/(main)/(create)/image/features/ImageWorkspace/index.tsx
@@ -23,6 +23,7 @@ const ImageWorkspace = ({ embedInput = true }: ImageWorkspaceProps) => (
selectors={{
activeGenerationTopicId: generationTopicSelectors.activeGenerationTopicId,
currentGenerationBatches: generationBatchSelectors.currentGenerationBatches,
+ generationTopics: generationTopicSelectors.generationTopics,
isCurrentGenerationTopicLoaded: generationBatchSelectors.isCurrentGenerationTopicLoaded,
}}
/>
diff --git a/src/routes/(main)/(create)/video/features/VideoWorkspace/index.tsx b/src/routes/(main)/(create)/video/features/VideoWorkspace/index.tsx
index d0c9b5c0f37..ea8cdf4b029 100644
--- a/src/routes/(main)/(create)/video/features/VideoWorkspace/index.tsx
+++ b/src/routes/(main)/(create)/video/features/VideoWorkspace/index.tsx
@@ -22,6 +22,7 @@ const VideoWorkspace = ({ embedInput = true }: VideoWorkspaceProps) => (
selectors={{
activeGenerationTopicId: videoGenerationTopicSelectors.activeGenerationTopicId,
currentGenerationBatches: generationBatchSelectors.currentGenerationBatches,
+ generationTopics: videoGenerationTopicSelectors.generationTopics,
isCurrentGenerationTopicLoaded: generationBatchSelectors.isCurrentGenerationTopicLoaded,
}}
/>
diff --git a/src/routes/(main)/agent/_layout/index.tsx b/src/routes/(main)/agent/_layout/index.tsx
index 1395abfae5b..ca4d98a609d 100644
--- a/src/routes/(main)/agent/_layout/index.tsx
+++ b/src/routes/(main)/agent/_layout/index.tsx
@@ -3,6 +3,7 @@ import { type FC } from 'react';
import { Outlet } from 'react-router';
import { isDesktop } from '@/const/version';
+import { AgentNotFoundGuard } from '@/features/AgentNotFound';
import ProtocolUrlHandler from '@/features/ProtocolUrlHandler';
import { useInitAgentConfig } from '@/hooks/useInitAgentConfig';
import AgentIdSync from '@/routes/(main)/agent/_layout/AgentIdSync';
@@ -19,7 +20,11 @@ const Layout: FC = () => {
<>
<Sidebar />
<Flexbox className={styles.mainContainer} flex={1} height={'100%'}>
- <Outlet />
+ {/* Keep the sidebar interactive when the routed agent is gone (deleted
+ or made private) — only the content area collapses to the 404 card. */}
+ <AgentNotFoundGuard>
+ <Outlet />
+ </AgentNotFoundGuard>
</Flexbox>
<RegisterHotkeys />
{isDesktop && <ProtocolUrlHandler />}
diff --git a/src/routes/(main)/group/_layout/index.tsx b/src/routes/(main)/group/_layout/index.tsx
index 2de6be09fec..f05baace3b9 100644
--- a/src/routes/(main)/group/_layout/index.tsx
+++ b/src/routes/(main)/group/_layout/index.tsx
@@ -3,6 +3,7 @@ import { type FC } from 'react';
import { Outlet } from 'react-router';
import { isDesktop } from '@/const/version';
+import { GroupNotFoundGuard } from '@/features/GroupNotFound';
import ProtocolUrlHandler from '@/features/ProtocolUrlHandler';
import { useInitGroupConfig } from '@/hooks/useInitGroupConfig';
@@ -18,7 +19,11 @@ const Layout: FC = () => {
<>
<Sidebar />
<Flexbox className={styles.mainContainer} flex={1} height={'100%'}>
- <Outlet />
+ {/* Keep the sidebar interactive when the routed group is gone (deleted
+ or made private) — only the content area collapses to the 404 card. */}
+ <GroupNotFoundGuard>
+ <Outlet />
+ </GroupNotFoundGuard>
</Flexbox>
<RegisterHotkeys />
{isDesktop && <ProtocolUrlHandler />}
diff --git a/src/routes/(main)/resource/features/modal/FileDetail.tsx b/src/routes/(main)/resource/features/modal/FileDetail.tsx
index 31c2af61188..e80894b49af 100644
--- a/src/routes/(main)/resource/features/modal/FileDetail.tsx
+++ b/src/routes/(main)/resource/features/modal/FileDetail.tsx
@@ -2,6 +2,7 @@
import { memo } from 'react';
+import FileNotFound from '@/features/FileNotFound';
import { fileManagerSelectors, useFileStore } from '@/store/file';
import Detail from '../FileDetail';
@@ -9,7 +10,9 @@ import Detail from '../FileDetail';
const FileDetail = memo<{ id: string }>(({ id }) => {
const file = useFileStore(fileManagerSelectors.getFileById(id));
- if (!file) return;
+ // Absent from the scoped list = deleted or access revoked (e.g. switched
+ // back to private) — show the terminal card instead of a blank pane.
+ if (!file) return <FileNotFound />;
return <Detail {...file} />;
});
diff --git a/src/routes/(main)/resource/features/modal/FilePreview.tsx b/src/routes/(main)/resource/features/modal/FilePreview.tsx
index e8c954151fa..62a87219dd6 100644
--- a/src/routes/(main)/resource/features/modal/FilePreview.tsx
+++ b/src/routes/(main)/resource/features/modal/FilePreview.tsx
@@ -2,13 +2,16 @@
import { memo } from 'react';
+import FileNotFound from '@/features/FileNotFound';
import FileViewer from '@/features/FileViewer';
import { fileManagerSelectors, useFileStore } from '@/store/file';
const FilePreview = memo<{ id: string }>(({ id }) => {
const file = useFileStore(fileManagerSelectors.getFileById(id));
- if (!file) return;
+ // Absent from the scoped list = deleted or access revoked (e.g. switched
+ // back to private) — show the terminal card instead of a blank pane.
+ if (!file) return <FileNotFound />;
return <FileViewer {...file} />;
});
diff --git a/src/routes/(mobile)/chat/_layout/index.tsx b/src/routes/(mobile)/chat/_layout/index.tsx
index 0182ccd7b00..0429a0a7453 100644
--- a/src/routes/(mobile)/chat/_layout/index.tsx
+++ b/src/routes/(mobile)/chat/_layout/index.tsx
@@ -4,6 +4,7 @@ import { type FC } from 'react';
import { Outlet } from 'react-router';
import MobileContentLayout from '@/components/server/MobileNavLayout';
+import { AgentNotFoundGuard } from '@/features/AgentNotFound';
import { useInitAgentConfig } from '@/hooks/useInitAgentConfig';
import AgentIdSync from '@/routes/(main)/agent/_layout/AgentIdSync';
import ChatHeader from '@/routes/(mobile)/chat/features/ChatHeader';
@@ -16,7 +17,11 @@ const Layout: FC = () => {
return (
<>
<MobileContentLayout className={styles.mainContainer} header={<ChatHeader />}>
- <Outlet />
+ {/* Same 404 fallback as the desktop agent layout: only the content
+ area collapses when the routed agent is gone or turned private. */}
+ <AgentNotFoundGuard>
+ <Outlet />
+ </AgentNotFoundGuard>
</MobileContentLayout>
<AgentIdSync />
</>
diff --git a/src/routes/(popup)/agent/[aid]/[tid]/index.tsx b/src/routes/(popup)/agent/[aid]/[tid]/index.tsx
index 7a8fba0855a..0bf5618bd14 100644
--- a/src/routes/(popup)/agent/[aid]/[tid]/index.tsx
+++ b/src/routes/(popup)/agent/[aid]/[tid]/index.tsx
@@ -3,6 +3,7 @@
import { memo, useLayoutEffect } from 'react';
import { useParams } from 'react-router';
+import { AgentNotFoundGuard } from '@/features/AgentNotFound';
import { useFetchTopics } from '@/hooks/useFetchTopics';
import { useInitAgentConfig } from '@/hooks/useInitAgentConfig';
import Conversation from '@/routes/(main)/agent/features/Conversation';
@@ -35,7 +36,11 @@ const PopupAgentTopicPage = memo(() => {
if (!aid || !tid) return null;
- return <Conversation />;
+ return (
+ <AgentNotFoundGuard>
+ <Conversation />
+ </AgentNotFoundGuard>
+ );
});
PopupAgentTopicPage.displayName = 'PopupAgentTopicPage';
diff --git a/src/routes/(popup)/agent/[aid]/index.tsx b/src/routes/(popup)/agent/[aid]/index.tsx
index 9a5ee9e1111..f24ecbef128 100644
--- a/src/routes/(popup)/agent/[aid]/index.tsx
+++ b/src/routes/(popup)/agent/[aid]/index.tsx
@@ -6,6 +6,7 @@ import { useParams } from 'react-router';
import Loading from '@/components/Loading/BrandTextLoading';
import { WelcomeExtraProvider } from '@/features/AgentHome/WelcomeExtraContext';
+import { AgentNotFoundGuard } from '@/features/AgentNotFound';
import { useFetchTopics } from '@/hooks/useFetchTopics';
import { useInitAgentConfig } from '@/hooks/useInitAgentConfig';
import Conversation from '@/routes/(main)/agent/features/Conversation';
@@ -51,9 +52,11 @@ const PopupAgentQuickPage = memo(() => {
if (!effectiveAgentId) return <Loading debugId="PopupAgentQuickPage" />;
return (
- <WelcomeExtraProvider value={welcomeExtra}>
- <Conversation />
- </WelcomeExtraProvider>
+ <AgentNotFoundGuard>
+ <WelcomeExtraProvider value={welcomeExtra}>
+ <Conversation />
+ </WelcomeExtraProvider>
+ </AgentNotFoundGuard>
);
});
diff --git a/src/routes/(popup)/group/[gid]/[tid]/index.tsx b/src/routes/(popup)/group/[gid]/[tid]/index.tsx
index 3641cc63c69..113f0d4912a 100644
--- a/src/routes/(popup)/group/[gid]/[tid]/index.tsx
+++ b/src/routes/(popup)/group/[gid]/[tid]/index.tsx
@@ -3,6 +3,7 @@
import { memo, useLayoutEffect } from 'react';
import { useParams } from 'react-router';
+import { GroupNotFoundGuard } from '@/features/GroupNotFound';
import { useFetchTopics } from '@/hooks/useFetchTopics';
import { useInitGroupConfig } from '@/hooks/useInitGroupConfig';
import GroupConversation from '@/routes/(main)/group/features/Conversation';
@@ -33,7 +34,11 @@ const PopupGroupTopicPage = memo(() => {
if (!gid || !tid) return null;
- return <GroupConversation />;
+ return (
+ <GroupNotFoundGuard>
+ <GroupConversation />
+ </GroupNotFoundGuard>
+ );
});
PopupGroupTopicPage.displayName = 'PopupGroupTopicPage';
diff --git a/src/store/agent/selectors/agentByIdSelectors.test.ts b/src/store/agent/selectors/agentByIdSelectors.test.ts
index 31c2c0e5c7d..8724de96b37 100644
--- a/src/store/agent/selectors/agentByIdSelectors.test.ts
+++ b/src/store/agent/selectors/agentByIdSelectors.test.ts
@@ -207,4 +207,34 @@ describe('agentByIdSelectors', () => {
expect(agentByIdSelectors.getAgentTTSVoiceById('missing')(state)).toBe('alloy');
});
});
+
+ describe('isAgentNotFoundById', () => {
+ it('returns true only for agents flagged in agentNotFoundMap', () => {
+ const state = createState({ agentNotFoundMap: { 'agent-gone': true } });
+
+ expect(agentByIdSelectors.isAgentNotFoundById('agent-gone')(state)).toBe(true);
+ expect(agentByIdSelectors.isAgentNotFoundById('agent-1')(state)).toBe(false);
+ expect(agentByIdSelectors.isAgentNotFoundById('')(state)).toBe(false);
+ });
+ });
+
+ describe('isAgentConfigLoadingById', () => {
+ it('reports loading while the config is absent from agentMap', () => {
+ const state = createState({ agentMap: {} });
+
+ expect(agentByIdSelectors.isAgentConfigLoadingById('agent-1')(state)).toBe(true);
+ });
+
+ it('settles once the config lands in agentMap', () => {
+ const state = createState({ agentMap: { 'agent-1': { id: 'agent-1' } } });
+
+ expect(agentByIdSelectors.isAgentConfigLoadingById('agent-1')(state)).toBe(false);
+ });
+
+ it('settles when the agent is marked not-found (no access / deleted)', () => {
+ const state = createState({ agentMap: {}, agentNotFoundMap: { 'agent-gone': true } });
+
+ expect(agentByIdSelectors.isAgentConfigLoadingById('agent-gone')(state)).toBe(false);
+ });
+ });
});
diff --git a/src/store/agent/selectors/agentByIdSelectors.ts b/src/store/agent/selectors/agentByIdSelectors.ts
index 7e6b5820bba..4c9f41394cd 100644
--- a/src/store/agent/selectors/agentByIdSelectors.ts
+++ b/src/store/agent/selectors/agentByIdSelectors.ts
@@ -68,8 +68,20 @@ const getAgentFilesById = (agentId: string) => (s: AgentStoreState) =>
const getAgentKnowledgeBasesById = (agentId: string) => (s: AgentStoreState) =>
agentSelectors.getAgentConfigById(agentId)(s)?.knowledgeBases || [];
+/**
+ * The config fetch settled on `null` — the agent doesn't exist or the caller
+ * lost access (e.g. a workspace agent switched back to private). Render a
+ * 404 / no-access card, not a skeleton.
+ */
+const isAgentNotFoundById =
+ (agentId: string) =>
+ (s: AgentStoreState): boolean =>
+ !!agentId && !!s.agentNotFoundMap[agentId];
+
const isAgentConfigLoadingById = (agentId: string) => (s: AgentStoreState) =>
- !agentId || !s.agentMap[agentId];
+ // A not-found agent never lands in `agentMap`; without this guard the
+ // data-presence check would report "loading" forever.
+ !agentId || (!s.agentMap[agentId] && !s.agentNotFoundMap[agentId]);
/**
* Get agent mode by agentId.
@@ -217,5 +229,6 @@ export const agentByIdSelectors = {
getAgentWorkingDirectoryById,
isAgentConfigLoadingById,
isAgentHeterogeneousById,
+ isAgentNotFoundById,
isWorkspaceAgentById,
};
diff --git a/src/store/agent/selectors/selectors.test.ts b/src/store/agent/selectors/selectors.test.ts
index 9f282cc9272..573c9c3f058 100644
--- a/src/store/agent/selectors/selectors.test.ts
+++ b/src/store/agent/selectors/selectors.test.ts
@@ -422,6 +422,36 @@ describe('agentSelectors', () => {
expect(agentSelectors.isAgentConfigLoading(state)).toBe(false);
});
+
+ it('should return false when agent is marked not-found (settled, not loading)', () => {
+ const state = createState({
+ activeAgentId: 'agent-1',
+ agentMap: {},
+ agentNotFoundMap: { 'agent-1': true },
+ });
+
+ expect(agentSelectors.isAgentConfigLoading(state)).toBe(false);
+ });
+ });
+
+ describe('isCurrentAgentNotFound', () => {
+ it('should return false when no activeAgentId', () => {
+ const state = createState({ agentNotFoundMap: { 'agent-1': true } });
+
+ expect(agentSelectors.isCurrentAgentNotFound(state)).toBe(false);
+ });
+
+ it('should reflect the active agent not-found flag', () => {
+ const state = createState({
+ activeAgentId: 'agent-1',
+ agentNotFoundMap: { 'agent-1': true },
+ });
+
+ expect(agentSelectors.isCurrentAgentNotFound(state)).toBe(true);
+ expect(agentSelectors.isCurrentAgentNotFound(createState({ activeAgentId: 'agent-1' }))).toBe(
+ false,
+ );
+ });
});
describe('currentKnowledgeIds', () => {
diff --git a/src/store/agent/selectors/selectors.ts b/src/store/agent/selectors/selectors.ts
index 6fdc8b72cb4..77873c07b06 100644
--- a/src/store/agent/selectors/selectors.ts
+++ b/src/store/agent/selectors/selectors.ts
@@ -228,7 +228,16 @@ const currentKnowledgeIds = (s: AgentStoreState) => {
};
const isAgentConfigLoading = (s: AgentStoreState) =>
- !s.activeAgentId || !s.agentMap[s.activeAgentId];
+ // A not-found agent never lands in `agentMap` — treat it as settled so the
+ // UI renders the 404 card instead of an endless skeleton.
+ !s.activeAgentId || (!s.agentMap[s.activeAgentId] && !s.agentNotFoundMap[s.activeAgentId]);
+
+/**
+ * The active agent's config fetch settled on `null` — the agent doesn't exist
+ * or the caller lost access (e.g. a workspace agent switched back to private).
+ */
+const isCurrentAgentNotFound = (s: AgentStoreState): boolean =>
+ !!s.activeAgentId && !!s.agentNotFoundMap[s.activeAgentId];
/**
* Fetch error for the active agent's config (undefined when none).
@@ -361,6 +370,7 @@ export const agentSelectors = {
inboxAgentModel,
isAgentConfigError,
isAgentConfigLoading,
+ isCurrentAgentNotFound,
isAgentModeEnabled,
isCurrentAgentExternal,
isCurrentAgentHeterogeneous,
diff --git a/src/store/agent/slices/agent/action.test.ts b/src/store/agent/slices/agent/action.test.ts
index cc3c0d023fa..1c0204553a8 100644
--- a/src/store/agent/slices/agent/action.test.ts
+++ b/src/store/agent/slices/agent/action.test.ts
@@ -946,6 +946,55 @@ describe('AgentSlice Actions', () => {
expect(useAgentStore.getState().agentConfigErrorMap['agent-1']).toBeUndefined();
});
+
+ it('should mark agentNotFoundMap when the fetch resolves to null (no access / deleted)', async () => {
+ // The backend resolves a cross-user private agent to null (not an error).
+ vi.mocked(agentService.getAgentConfigById).mockResolvedValueOnce(null as any);
+
+ renderHook(() => useAgentStore().useFetchAgentConfig(true, 'agent-private'), {
+ wrapper: withSWR,
+ });
+
+ await waitFor(() =>
+ expect(useAgentStore.getState().agentNotFoundMap['agent-private']).toBe(true),
+ );
+ // Settled — not an error, not loading, and never lands in agentMap.
+ expect(useAgentStore.getState().agentConfigErrorMap['agent-private']).toBeUndefined();
+ expect(useAgentStore.getState().agentMap['agent-private']).toBeUndefined();
+ });
+
+ it('should drop the cached config when a previously loaded agent turns not-found', async () => {
+ // Loaded once, then the owner flips it back to private: the stale
+ // title/avatar in agentMap must not outlive the 404 state.
+ useAgentStore.setState({
+ agentMap: { 'agent-private': { model: 'gpt-4' } },
+ });
+ vi.mocked(agentService.getAgentConfigById).mockResolvedValueOnce(null as any);
+
+ renderHook(() => useAgentStore().useFetchAgentConfig(true, 'agent-private'), {
+ wrapper: withSWR,
+ });
+
+ await waitFor(() =>
+ expect(useAgentStore.getState().agentNotFoundMap['agent-private']).toBe(true),
+ );
+ expect(useAgentStore.getState().agentMap['agent-private']).toBeUndefined();
+ });
+
+ it('should clear agentNotFoundMap once a later fetch succeeds (agent made public again)', async () => {
+ useAgentStore.setState({ agentNotFoundMap: { 'agent-1': true } });
+
+ const mockAgentConfig = { id: 'agent-1', model: 'gpt-4' } as LobeAgentConfig;
+ vi.mocked(agentService.getAgentConfigById).mockResolvedValueOnce(mockAgentConfig as any);
+
+ const { result } = renderHook(() => useAgentStore().useFetchAgentConfig(true, 'agent-1'), {
+ wrapper: withSWR,
+ });
+
+ await waitFor(() => expect(result.current.data).toEqual(mockAgentConfig));
+
+ expect(useAgentStore.getState().agentNotFoundMap['agent-1']).toBeUndefined();
+ });
});
describe('useHydrateAgentConfig', () => {
@@ -969,5 +1018,17 @@ describe('AgentSlice Actions', () => {
expect(useAgentStore.getState().activeAgentId).toBe('agent-current');
expect(useAgentStore.getState().agentMap['agent-1']).toBeDefined();
});
+
+ it('should mark agentNotFoundMap when the hydrate fetch resolves to null', async () => {
+ vi.mocked(agentService.getAgentConfigById).mockResolvedValueOnce(null as any);
+
+ renderHook(() => useAgentStore().useHydrateAgentConfig(true, 'agent-private'), {
+ wrapper: withSWR,
+ });
+
+ await waitFor(() =>
+ expect(useAgentStore.getState().agentNotFoundMap['agent-private']).toBe(true),
+ );
+ });
});
});
diff --git a/src/store/agent/slices/agent/action.ts b/src/store/agent/slices/agent/action.ts
index 0629c79012b..bc97ea11f50 100644
--- a/src/store/agent/slices/agent/action.ts
+++ b/src/store/agent/slices/agent/action.ts
@@ -381,7 +381,14 @@ export class AgentSliceActionImpl {
},
{
onData: (data) => {
- if (!data) return;
+ // A successful fetch that resolves to null means the agent doesn't
+ // exist or the caller lost access (e.g. a workspace agent switched
+ // back to private) — a settled state, not "still loading".
+ if (!data) {
+ this.#markAgentNotFound(agentId);
+ return;
+ }
+ this.#clearAgentNotFound(agentId);
this.#get().internal_dispatchAgentMap(agentId, data);
// Only adopt the fetched agent as the active one when nothing is
// active yet. The active agent is owned by the route-level sync
@@ -429,6 +436,41 @@ export class AgentSliceActionImpl {
);
};
+ #markAgentNotFound = (agentId: string) => {
+ const { agentNotFoundMap, agentMap } = this.#get();
+ if (agentNotFoundMap[agentId] && !agentMap[agentId]) return;
+
+ this.#set(
+ (state) => {
+ // Also drop the previously cached config: surfaces reading `agentMap`
+ // (title/avatar in the sidebar or header) must not keep showing an
+ // agent the viewer lost access to next to the 404 content area.
+ const nextAgentMap = { ...state.agentMap };
+ delete nextAgentMap[agentId];
+ return {
+ agentMap: nextAgentMap,
+ agentNotFoundMap: { ...state.agentNotFoundMap, [agentId]: true },
+ };
+ },
+ false,
+ 'markAgentNotFound',
+ );
+ };
+
+ #clearAgentNotFound = (agentId: string) => {
+ if (!this.#get().agentNotFoundMap[agentId]) return;
+
+ this.#set(
+ (state) => {
+ const next = { ...state.agentNotFoundMap };
+ delete next[agentId];
+ return { agentNotFoundMap: next };
+ },
+ false,
+ 'clearAgentNotFound',
+ );
+ };
+
#clearAgentConfigError = (agentId: string) => {
if (!this.#get().agentConfigErrorMap[agentId]) return;
@@ -460,7 +502,11 @@ export class AgentSliceActionImpl {
},
{
onData: (data) => {
- if (!data) return;
+ if (!data) {
+ this.#markAgentNotFound(agentId);
+ return;
+ }
+ this.#clearAgentNotFound(agentId);
this.#get().internal_dispatchAgentMap(agentId, data);
},
},
diff --git a/src/store/agent/slices/agent/initialState.ts b/src/store/agent/slices/agent/initialState.ts
index bbdbc1e1c07..2c871cfa7ee 100644
--- a/src/store/agent/slices/agent/initialState.ts
+++ b/src/store/agent/slices/agent/initialState.ts
@@ -21,6 +21,15 @@ export interface AgentSliceState {
agentConfigErrorMap: Record<string, string>;
agentDocumentsMap: Record<string, AgentContextDocument[]>;
agentMap: Record<string, PartialDeep<AgentItem>>;
+ /**
+ * Agents whose config fetch succeeded but resolved to `null` — the agent
+ * doesn't exist or the caller lost access (e.g. a workspace agent switched
+ * back to private). Distinct from `agentConfigErrorMap` (transport errors):
+ * these are settled, non-retryable, and should render a 404 card rather
+ * than a loading skeleton. Cleared when a later fetch succeeds (e.g. the
+ * agent is made public again).
+ */
+ agentNotFoundMap: Record<string, boolean>;
agentSettingInstance?: AgentSettingsInstance | null;
availableAgents?: AvailableAgentItem[];
/**
@@ -69,6 +78,7 @@ export const initialAgentSliceState: AgentSliceState = {
agentConfigErrorMap: {},
agentDocumentsMap: {},
agentMap: {},
+ agentNotFoundMap: {},
availableAgents: undefined,
isAgentPinned: false,
lastUpdatedTime: null,
diff --git a/src/store/agentGroup/action.ts b/src/store/agentGroup/action.ts
index 2638b1e9ea7..9da8f2ed225 100644
--- a/src/store/agentGroup/action.ts
+++ b/src/store/agentGroup/action.ts
@@ -68,15 +68,41 @@ class ChatGroupInternalAction implements ResetableStore {
this.internal_dispatchChatGroup({ payload: groupId, type: 'deleteGroup' });
};
- private isGroupNotFoundError = (error: unknown, groupId: string) =>
- error instanceof Error && error.message === `Group ${groupId} not found`;
+ // A successful fetch that resolves to nothing means the group doesn't exist
+ // or the caller lost access (e.g. switched back to private) — a settled
+ // state the UI renders as a 404 card, not an error to retry.
+ #markGroupNotFound = (groupId: string) => {
+ if (this.#get().groupNotFoundMap[groupId]) return;
+
+ this.#set(
+ (state) => ({ groupNotFoundMap: { ...state.groupNotFoundMap, [groupId]: true } }),
+ false,
+ 'markGroupNotFound',
+ );
+ };
+
+ #clearGroupNotFound = (groupId: string) => {
+ if (!this.#get().groupNotFoundMap[groupId]) return;
+
+ this.#set(
+ (state) => {
+ const next = { ...state.groupNotFoundMap };
+ delete next[groupId];
+ return { groupNotFoundMap: next };
+ },
+ false,
+ 'clearGroupNotFound',
+ );
+ };
internal_fetchGroupDetail = async (groupId: string) => {
const groupDetail = await chatGroupService.getGroupDetail(groupId);
if (!groupDetail) {
this.removeStaleGroup(groupId);
+ this.#markGroupNotFound(groupId);
return;
}
+ this.#clearGroupNotFound(groupId);
// Update groupMap with full group detail including supervisorAgentId and agents
this.internal_dispatchChatGroup({
@@ -169,20 +195,21 @@ class ChatGroupInternalAction implements ResetableStore {
enabled && groupId ? groupKeys.detail(groupId) : null,
async () => {
const groupDetail = await chatGroupService.getGroupDetail(groupId);
+ // Resolve to null instead of throwing: "gone / no access" is a settled
+ // terminal state (rendered as a 404 card), not a retryable error.
if (!groupDetail) {
this.removeStaleGroup(groupId);
- throw new Error(`Group ${groupId} not found`);
+ return null;
}
return groupDetail;
},
{
- onError: (error) => {
- if (this.isGroupNotFoundError(error, groupId)) {
- this.removeStaleGroup(groupId);
- }
- },
onData: (groupDetail) => {
- if (!groupDetail) return;
+ if (!groupDetail) {
+ this.#markGroupNotFound(groupId);
+ return;
+ }
+ this.#clearGroupNotFound(groupId);
// Update groupMap with detailed group info including agents
const currentGroup = this.#get().groupMap[groupDetail.id];
diff --git a/src/store/agentGroup/initialState.ts b/src/store/agentGroup/initialState.ts
index 9522aee3859..f19e6f8ee1f 100644
--- a/src/store/agentGroup/initialState.ts
+++ b/src/store/agentGroup/initialState.ts
@@ -11,6 +11,14 @@ export interface ChatGroupState {
activeGroupId?: string;
activeThreadAgentId: string;
groupMap: Record<string, AgentGroupDetail>;
+ /**
+ * Groups whose detail fetch succeeded but resolved to nothing — the group
+ * doesn't exist or the caller lost access (e.g. a workspace group's owner
+ * switched it back to private). Settled and non-retryable: render a 404
+ * card, not a loading skeleton or an empty conversation shell. Cleared when
+ * a later fetch succeeds.
+ */
+ groupNotFoundMap: Record<string, boolean>;
groups: ChatGroupItem[];
groupsInit: boolean;
router?: QueryRouter;
@@ -28,6 +36,7 @@ export interface ChatGroupState {
export const initialChatGroupState: ChatGroupState = {
activeThreadAgentId: '',
groupMap: {},
+ groupNotFoundMap: {},
groups: [],
groupsInit: false,
showGroupSetting: false,
diff --git a/src/store/agentGroup/selectors/byId.test.ts b/src/store/agentGroup/selectors/byId.test.ts
index 287a0ccad80..5a69bd1817c 100644
--- a/src/store/agentGroup/selectors/byId.test.ts
+++ b/src/store/agentGroup/selectors/byId.test.ts
@@ -101,4 +101,20 @@ describe('agentGroupByIdSelectors', () => {
expect(result).toEqual(mockGroup2);
});
});
+
+ describe('isGroupNotFoundById', () => {
+ it('returns true only for groups flagged in groupNotFoundMap', () => {
+ const state: Partial<ChatGroupStore> = {
+ groupNotFoundMap: { 'group-gone': true },
+ };
+
+ expect(
+ agentGroupByIdSelectors.isGroupNotFoundById('group-gone')(state as ChatGroupStore),
+ ).toBe(true);
+ expect(agentGroupByIdSelectors.isGroupNotFoundById('group-1')(state as ChatGroupStore)).toBe(
+ false,
+ );
+ expect(agentGroupByIdSelectors.isGroupNotFoundById('')(state as ChatGroupStore)).toBe(false);
+ });
+ });
});
diff --git a/src/store/agentGroup/selectors/byId.ts b/src/store/agentGroup/selectors/byId.ts
index ed8839f0b92..da0804b2139 100644
--- a/src/store/agentGroup/selectors/byId.ts
+++ b/src/store/agentGroup/selectors/byId.ts
@@ -92,6 +92,15 @@ const groupBySupervisorAgentId =
return Object.values(s.groupMap).find((group) => group.supervisorAgentId === supervisorAgentId);
};
+/**
+ * The group detail fetch settled on nothing — the group doesn't exist or the
+ * viewer lost access (e.g. it was switched back to private by its owner).
+ */
+const isGroupNotFoundById =
+ (groupId: string) =>
+ (s: ChatGroupState): boolean =>
+ !!groupId && !!s.groupNotFoundMap[groupId];
+
export const agentGroupByIdSelectors = {
agentByIdFromGroup,
groupAgentCount,
@@ -105,4 +114,5 @@ export const agentGroupByIdSelectors = {
groupMeta,
groupOpeningMessage,
groupOpeningQuestions,
+ isGroupNotFoundById,
};
diff --git a/src/store/agentGroup/slices/curd.test.ts b/src/store/agentGroup/slices/curd.test.ts
index 4bd3e7d5298..07db7e7596f 100644
--- a/src/store/agentGroup/slices/curd.test.ts
+++ b/src/store/agentGroup/slices/curd.test.ts
@@ -13,6 +13,7 @@ import { useAgentGroupStore } from '../store';
// Mock dependencies
vi.mock('@/services/chatGroup', () => ({
chatGroupService: {
+ getGroupDetail: vi.fn(),
updateGroup: vi.fn(),
},
}));
@@ -126,22 +127,31 @@ describe('ChatGroupCurdSlice', () => {
});
describe('useFetchGroupDetail', () => {
- it('should remove stale local group data when detail revalidation reports not found', () => {
+ it('should remove stale local group data and mark not-found when detail revalidation reports not found', async () => {
+ vi.mocked(chatGroupService.getGroupDetail).mockResolvedValue(null as any);
+
const { result } = renderHook(() => useAgentGroupStore());
act(() => {
result.current.useFetchGroupDetail(true, 'group-1');
});
- const swrOptions = vi.mocked(useClientDataSWRWithSync).mock.calls.at(-1)?.[2];
- const onError = swrOptions?.onError as ((error: Error) => void) | undefined;
+ const swrCall = vi.mocked(useClientDataSWRWithSync).mock.calls.at(-1);
+ const fetcher = swrCall?.[1] as (() => Promise<unknown>) | undefined;
+ const swrOptions = swrCall?.[2];
+ const onData = swrOptions?.onData as ((data: unknown) => void) | undefined;
+ // "Gone / no access" resolves to null (settled 404 state) instead of throwing.
+ await act(async () => {
+ await expect(fetcher?.()).resolves.toBeNull();
+ });
act(() => {
- onError?.(new Error('Group group-1 not found'));
+ onData?.(null);
});
expect(result.current.groupMap['group-1']).toBeUndefined();
expect(result.current.groups.some((group) => group.id === 'group-1')).toBe(false);
+ expect(result.current.groupNotFoundMap['group-1']).toBe(true);
});
});
diff --git a/src/store/chat/slices/builtinTool/actions/interpreter.ts b/src/store/chat/slices/builtinTool/actions/interpreter.ts
index b8e0f52cab2..eb05c8a45f9 100644
--- a/src/store/chat/slices/builtinTool/actions/interpreter.ts
+++ b/src/store/chat/slices/builtinTool/actions/interpreter.ts
@@ -68,6 +68,8 @@ export class ChatCodeInterpreterActionImpl {
const files: File[] = [];
for (const message of dbMessageSelectors.dbUserMessages(this.#get())) {
for (const file of message.fileList ?? []) {
+ // Tombstoned attachment (viewer lost access) — no url to download.
+ if (file.inaccessible) continue;
const blob = await fetch(file.url).then((res) => res.blob());
files.push(new File([blob], file.name));
}
diff --git a/src/store/chat/slices/message/selectors/dbMessage.ts b/src/store/chat/slices/message/selectors/dbMessage.ts
index 5a007788ecd..f945be2d581 100644
--- a/src/store/chat/slices/message/selectors/dbMessage.ts
+++ b/src/store/chat/slices/message/selectors/dbMessage.ts
@@ -116,14 +116,18 @@ const dbUserMessages = (s: ChatStoreState) => {
};
/**
- * Get all file attachments from user messages
+ * Get all file attachments from user messages.
+ *
+ * Tombstoned entries (the viewer lost access to the file — empty
+ * name/type/url) are excluded: list/preview consumers have nothing to render
+ * or open for them; only the message bubble shows a no-access placeholder.
*/
const dbUserFiles = (s: ChatStoreState) => {
const userMessages = dbUserMessages(s);
return userMessages
.filter((m) => m.fileList && m.fileList.length > 0)
.flatMap((m) => m.fileList)
- .filter(Boolean);
+ .filter((f) => !!f && !f.inaccessible);
};
// ============= DB Message Counting ========== //