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(workspace-settings): add settings search and Chat Preferences tab (#21319)

Rdmclin2ee68e8e5b924
diff --git a/.agents/skills/spa-routes/SKILL.md b/.agents/skills/spa-routes/SKILL.md
index 09ade4e0dcd..9bbe2bbac72 100644
--- a/.agents/skills/spa-routes/SKILL.md
+++ b/.agents/skills/spa-routes/SKILL.md
@@ -103,7 +103,7 @@ Each feature should:
| `desktopRouter.config.tsx` | Thin Web adapter: mounts the common content tree at `/` and adds Web-only routes. |
| `desktopRouter.config.desktop.tsx` | Thin Electron adapter: injects per-tab Home behavior, TabHost root stubs, and Electron-only onboarding. |
-Add or remove common routes only in `desktopRouter.shared.tsx`. Keep `desktopRouter.sync.test.tsx` passing so path behavior, lazy boundaries, preload ownership, and the intentional platform differences remain verified.
+Add or remove common routes only in `desktopRouter.shared.tsx`, or in a subtree module it imports (`taskWorkspaceRoutes.tsx`, `workspaceSettingsRoutes.tsx` for the padded `/:slug/settings/*` tabs) — the shared file is over the 1200-line limit, so large subtrees move out instead of growing it. Add any new subtree module to `readRouterSources` in `desktopRouter.sync.test.tsx`. Keep `desktopRouter.sync.test.tsx` passing so path behavior, lazy boundaries, preload ownership, and the intentional platform differences remain verified.
---
diff --git a/apps/server/src/routers/lambda/__tests__/user.test.ts b/apps/server/src/routers/lambda/__tests__/user.test.ts
index 861a096169e..7efb0f2b085 100644
--- a/apps/server/src/routers/lambda/__tests__/user.test.ts
+++ b/apps/server/src/routers/lambda/__tests__/user.test.ts
@@ -1013,6 +1013,47 @@ describe('userRouter', () => {
});
});
+ describe('updatePersonalSystemAgent', () => {
+ it('patches only the given entry inside a workspace without a permission check', async () => {
+ const { RbacModel } = await import('@/database/models/rbac');
+ const hasPermission = vi.fn().mockResolvedValue(false);
+ vi.mocked(RbacModel).mockImplementation(function () {
+ return { hasAnyPermission: hasPermission, hasPermission } as any;
+ });
+ const mergeSystemAgentItemSetting = vi.fn().mockResolvedValue({ rowCount: 1 });
+ vi.mocked(UserModel).mockImplementation(function () {
+ return { mergeSystemAgentItemSetting } as any;
+ });
+
+ await userRouter
+ .createCaller({ ...mockCtx, workspaceId: 'ws_1' } as any)
+ .updatePersonalSystemAgent({ key: 'followUpAction', value: { enabled: false } });
+
+ expect(hasPermission).not.toHaveBeenCalled();
+ expect(mergeSystemAgentItemSetting).toHaveBeenCalledWith('followUpAction', {
+ enabled: false,
+ });
+ });
+
+ it('rejects workspace-governed service-model keys', async () => {
+ await expect(
+ userRouter.createCaller({ ...mockCtx }).updatePersonalSystemAgent({
+ key: 'topic' as any,
+ value: { model: 'gpt-4o', provider: 'openai' },
+ }),
+ ).rejects.toMatchObject({ code: 'BAD_REQUEST' });
+ });
+
+ it('rejects fields beyond the switch and the model choice', async () => {
+ await expect(
+ userRouter.createCaller({ ...mockCtx }).updatePersonalSystemAgent({
+ key: 'inputCompletion',
+ value: { customPrompt: 'x' } as any,
+ }),
+ ).rejects.toMatchObject({ code: 'BAD_REQUEST' });
+ });
+ });
+
describe('updateToolIntervention', () => {
it('delegates to the atomic model merge with the raw input', async () => {
const mergeToolInterventionSetting = vi.fn().mockResolvedValue({ rowCount: 1 });
diff --git a/apps/server/src/routers/lambda/user/index.procedures.test.ts b/apps/server/src/routers/lambda/user/index.procedures.test.ts
index 9930c39f7aa..9903860c76d 100644
--- a/apps/server/src/routers/lambda/user/index.procedures.test.ts
+++ b/apps/server/src/routers/lambda/user/index.procedures.test.ts
@@ -55,6 +55,7 @@ function expected(): Array<
['updateInterests', 'mutation', 11],
['updateOnboarding', 'mutation', 11],
['updateOnboardingDocument', 'mutation', 11],
+ ['updatePersonalSystemAgent', 'mutation', 11],
['updatePreference', 'mutation', 11],
['updateSettings', 'mutation', 11],
['updateToolChannels', 'mutation', 11],
diff --git a/apps/server/src/routers/lambda/user/settings.ts b/apps/server/src/routers/lambda/user/settings.ts
index 90b321f8550..29044ffeaea 100644
--- a/apps/server/src/routers/lambda/user/settings.ts
+++ b/apps/server/src/routers/lambda/user/settings.ts
@@ -1,6 +1,10 @@
import { hasApiKeyScope, isFullAccessApiKey } from '@lobechat/const/apiKeyScope';
import type { UserSettings } from '@lobechat/types';
-import { UserPreferenceSchema, UserSettingsSchema } from '@lobechat/types';
+import {
+ PERSONAL_SYSTEM_AGENT_KEYS,
+ UserPreferenceSchema,
+ UserSettingsSchema,
+} from '@lobechat/types';
import { TRPCError } from '@trpc/server';
import { z } from 'zod';
@@ -31,6 +35,30 @@ export const settingsRouter = router({
updatePreference: userProcedure.input(UserPreferenceSchema).mutation(async ({ ctx, input }) => {
return ctx.userModel.updatePreference(input);
}),
+ /**
+ * Personal chat-assist preferences (follow-up chips, input completion). They
+ * act on the caller's own chat surface, so — unlike the rest of
+ * `systemAgent` — no workspace permission gates them, and they patch only
+ * their own entry instead of rewriting the whole column.
+ */
+ updatePersonalSystemAgent: userProcedure
+ .input(
+ z
+ .object({
+ key: z.enum(PERSONAL_SYSTEM_AGENT_KEYS),
+ value: z
+ .object({
+ enabled: z.boolean().optional(),
+ model: z.string().trim().min(1).max(256).optional(),
+ provider: z.string().trim().min(1).max(256).optional(),
+ })
+ .strict(),
+ })
+ .strict(),
+ )
+ .mutation(async ({ ctx, input }) => {
+ return ctx.userModel.mergeSystemAgentItemSetting(input.key, input.value);
+ }),
updateSettings: userProcedure.input(UserSettingsSchema).mutation(async ({ ctx, input }) => {
const { keyVaults, ...res } = input as Partial<UserSettings>;
// presence, not truthiness: `keyVaults: null` is an explicit credential clear
diff --git a/locales/ar/agent.json b/locales/ar/agent.json
index 6c9e83ec3fc..84d98e210e0 100644
--- a/locales/ar/agent.json
+++ b/locales/ar/agent.json
@@ -500,6 +500,7 @@
"share.settings.tools.needsMemoryPermission": "قم أيضًا بتشغيل “السماح بقراءة ذاكرتي” أعلاه، أو ستظل هذه الأداة غير نشطة للزوار.",
"share.settings.tools.notAvailableToVisitors": "لا يمكن أبدًا استخدام هذه الأداة في تشغيل مشترك — يتم حظر تشغيلات الزوار من قاعدة معرفتك وملفات الوكيل.",
"share.settings.tools.onDemandDesc": "غير مفعّل على هذا الوكيل. بمجرد منحه، يقوم النموذج بتشغيله في تشغيل الزائر فقط عند الحاجة.",
+ "share.settings.tools.ownerCredentials": "يستخدم الزوار خوادم MCP والاتصالات والإضافات بحساباتك وبيانات اعتمادك.",
"share.settings.tools.showOnDemand": "عرض الأدوات عند الطلب",
"share.settings.tools.title": "الأدوات التي يمكن للزوار استخدامها",
"share.settings.updateError": "تعذر حفظ التغيير. يرجى المحاولة مرة أخرى.",
@@ -543,7 +544,9 @@
"share.visitor.input.send": "إرسال",
"share.visitor.input.stop": "إيقاف",
"share.visitor.privacyNotice": "تعمل هذه المحادثة على حساب المالك وقد تكون مرئية له. تجنب مشاركة المعلومات الحساسة.",
+ "share.visitor.privacyNoticeCreatorVisible": "يعمل هذا الموضوع على حساب المنشئ. قام المنشئ بتفعيل الوصول إلى الموضوع وقد يقرأ رسائله، لذا تجنب مشاركة المعلومات الحساسة.",
"share.visitor.privacyNoticeWorkspace": "يتم دفع هذا الموضوع بواسطة مساحة العمل وقد يكون مرئيًا لمنشئ الوكيل. تجنب مشاركة المعلومات الحساسة.",
+ "share.visitor.privacyNoticeWorkspaceCreatorVisible": "يعمل هذا الموضوع في مساحة العمل الخاصة بالمالك. قام منشئ الوكيل بتفعيل الوصول إلى الموضوع وقد يقرأ رسائله، لذا تجنب مشاركة المعلومات الحساسة.",
"share.visitor.profile.about": "حول",
"share.visitor.profile.createdBy": "تم الإنشاء بواسطة {{creator}}",
"share.visitor.profile.cta": "ابدأ محادثة",
diff --git a/locales/ar/chat.json b/locales/ar/chat.json
index 845449b6df8..c27c441a24f 100644
--- a/locales/ar/chat.json
+++ b/locales/ar/chat.json
@@ -369,10 +369,14 @@
"defaultGroupChat": "مجموعة",
"defaultList": "القائمة الافتراضية",
"defaultSession": "الوكيل الافتراضي",
+ "desktopNotification.agentFailed.body": "افتح المحادثة للحصول على التفاصيل",
+ "desktopNotification.agentFailed.title": "{{name}} واجه مشكلة",
"desktopNotification.aiReplyCompleted.body": "رد الوكيل جاهز",
"desktopNotification.aiReplyCompleted.title": "تم إكمال الرد",
"desktopNotification.humanApprovalRequired.body": "أحد الوكلاء يحتاج إلى موافقتك للمتابعة",
"desktopNotification.humanApprovalRequired.title": "الموافقة مطلوبة",
+ "desktopNotification.workingDirectoryUnavailable.body": "دليل العمل غير متاح: {{path}}",
+ "desktopNotification.workingDirectoryUnavailable.bodyWithoutPath": "دليل العمل غير متاح: المجلد المحفوظ لهذه المحادثة لم يعد موجودًا",
"devinInstallGuide.actions.openDocs": "افتح دليل التثبيت",
"devinInstallGuide.actions.openSystemTools": "افتح أدوات النظام",
"devinInstallGuide.afterInstall": "بعد التثبيت، قم بتشغيل `devin auth login`، ثم أعد محاولة رسالتك أو انقر على إعادة الكشف في أدوات النظام.",
@@ -1442,6 +1446,7 @@
"heteroAgent.executionTarget.gateway": "البوابة",
"heteroAgent.executionTarget.gatewayDesc": "التشغيل عبر بوابة الجهاز بحيث يمكن للعملاء الآخرين متابعة التقدم",
"heteroAgent.executionTarget.infoTooltip": "اختر مكان تشغيل هذا الوكيل. يمكن للجهاز قراءة وكتابة الملفات أو تشغيل جهاز كمبيوتر؛ يعمل Cloud Sandbox في بيئة مؤقتة معزولة.",
+ "heteroAgent.executionTarget.loadFailed": "تعذر تحميل الأجهزة.",
"heteroAgent.executionTarget.loading": "جارٍ تحميل الأجهزة...",
"heteroAgent.executionTarget.local": "هذا الجهاز",
"heteroAgent.executionTarget.localDesc": "تشغيل كعملية محلية على تطبيق سطح المكتب هذا",
@@ -1461,6 +1466,7 @@
"heteroAgent.executionTarget.onlineConnections_one": "متصل · {{count}} اتصال",
"heteroAgent.executionTarget.onlineConnections_other": "متصل · {{count}} اتصالات",
"heteroAgent.executionTarget.personalGroup": "شخصي",
+ "heteroAgent.executionTarget.presenceChecking": "جارٍ التحقق من الحالة...",
"heteroAgent.executionTarget.projectDevicesHint": "يتم إدراج الأجهزة التي تحتوي على دليل العمل لهذا المشروع فقط. أضف دليلاً لجهاز آخر في إعدادات المشروع.",
"heteroAgent.executionTarget.reconnect": "إعادة الاتصال",
"heteroAgent.executionTarget.reconnectFailed": "تعذر إعادة الاتصال بهذا الجهاز. تأكد من تشغيل تطبيق سطح المكتب، ثم حاول مرة أخرى.",
@@ -1559,6 +1565,8 @@
"input.addAiPrefillUnsupported": "النموذج الحالي لا يدعم إنهاء المحادثة برسالة من المساعد. تابعها برسالة من المستخدم قبل الإرسال.",
"input.addUser": "إضافة رسالة من المستخدم",
"input.agentModeUnsupportedModel": "النموذج الحالي لا يدعم استدعاء الأدوات الوكيلية. قم بالتبديل إلى نموذج يدعم الوكيل للحصول على أفضل تجربة.",
+ "input.agentSlugMoved": "يفتح هذا الرابط الآن وكيلًا مختلفًا. يتم التبديل إليه — حاول مرة أخرى بمجرد فتحه. تم الاحتفاظ بمسودتك.",
+ "input.agentSlugUnconfirmed": "تعذر تأكيد الوكيل الذي يفتح هذا الرابط. تحقق من اتصالك، ثم حاول مرة أخرى.",
"input.costEstimate.creditsPerMillionTokens": "{{credits}} ائتمان/مليون رموز",
"input.costEstimate.hint": "التكلفة المقدرة: ~{{credits}} ائتمان",
"input.costEstimate.inputLabel": "الإدخال",
@@ -3241,6 +3249,7 @@
"workingPanel.overview.ports.copy": "نسخ الرابط",
"workingPanel.overview.ports.createFailed": "تعذر كشف المنفذ",
"workingPanel.overview.ports.detected.available": "{{count}} لفتح",
+ "workingPanel.overview.ports.detected.checking": "جارٍ التحقق من المنافذ التي تعمل...",
"workingPanel.overview.ports.detected.expose": "فتح",
"workingPanel.overview.ports.detected.heading": "تم الكشف",
"workingPanel.overview.ports.detected.hideOthers": "إخفاء المنافذ الأخرى",
diff --git a/locales/ar/setting.json b/locales/ar/setting.json
index aa2e6f79404..e1ef83273de 100644
--- a/locales/ar/setting.json
+++ b/locales/ar/setting.json
@@ -272,6 +272,8 @@
"artworkStudio.upload": "رفع صورة",
"artworkStudio.uploadSpec.avatar": "1:1 · PNG / JPG ≤ 1 MB",
"artworkStudio.uploadSpec.fullBody": "3:4 · PNG شفاف ≤ 1 MB",
+ "chatPreference.assist.desc": "التفضيلات الشخصية: تنطبق فقط عليك، في مساحتك الشخصية وكل مساحة عمل.",
+ "chatPreference.assist.title": "مساعد الدردشة",
"checking": "جارٍ التحقق...",
"checkingPermissions": "جارٍ التحقق من الأذونات...",
"completionSound.banner.desc": "الصوت الذي تحمله إشعارات الشريط عندما ينتهي الدردشة بينما يكون LobeHub في الخلفية. إعدادات التركيز في macOS وإعدادات الإشعارات لكل تطبيق لا تزال سارية.",
@@ -551,6 +553,7 @@
"devices.share.viewerHint": "المشاهدون لا يمكنهم مشاركة الأجهزة",
"devices.share.visibilityTag.private": "خاص",
"devices.share.visibilityTag.public": "مساحة العمل",
+ "devices.status.checking": "جارٍ التحقق من الحالة...",
"devices.status.offline": "غير متصل",
"devices.status.online": "متصل",
"devices.status.onlineConnections_one": "متصل · {{count}} اتصال",
@@ -1558,6 +1561,7 @@
"settingsSearch.tabKeywords.apikey": "api, مفتاح api, apikey, رمز, سر, مفتاح شخصي",
"settingsSearch.tabKeywords.appearance": "المظهر, السمة, الوضع الداكن, الوضع الفاتح, الخط, اللغة, اللون, الخلفية",
"settingsSearch.tabKeywords.billing": "الفواتير، الدفع، الفاتورة، البطاقة، المعاملة",
+ "settingsSearch.tabKeywords.chatPreference": "تفضيلات الدردشة، اقتراحات المتابعة، اقتراحات الإدخال، الإكمال التلقائي",
"settingsSearch.tabKeywords.connector": "الموصلات، التكاملات، MCP",
"settingsSearch.tabKeywords.credits": "الرصيد، التوازن، إعادة الشحن، شراء الرصيد",
"settingsSearch.tabKeywords.creds": "بيانات الاعتماد، الأسرار، OAuth",
@@ -1776,6 +1780,7 @@
"tab.apikey": "إدارة مفاتيح API",
"tab.appearance": "المظهر",
"tab.chatAppearance": "مظهر المحادثة",
+ "tab.chatPreference": "تفضيلات الدردشة",
"tab.common": "المظهر",
"tab.connector": "الموصلات",
"tab.creds": "بيانات الاعتماد",
diff --git a/locales/bg-BG/agent.json b/locales/bg-BG/agent.json
index 203f783a706..c91bdb58a9f 100644
--- a/locales/bg-BG/agent.json
+++ b/locales/bg-BG/agent.json
@@ -500,6 +500,7 @@
"share.settings.tools.needsMemoryPermission": "Също така включете „Позволи четене на моята памет“ по-горе, или този инструмент ще остане неактивен за посетителите.",
"share.settings.tools.notAvailableToVisitors": "Този инструмент никога не може да се използва в споделено използване — използванията от посетители са блокирани от вашата база знания и файлове на агента.",
"share.settings.tools.onDemandDesc": "Не е активирано за този агент. След като бъде предоставено, моделът го активира в режим на посетител само когато е необходимо.",
+ "share.settings.tools.ownerCredentials": "Посетителите използват MCP сървъри, връзки и плъгини с вашите акаунти и идентификационни данни.",
"share.settings.tools.showOnDemand": "Показване на инструменти при поискване",
"share.settings.tools.title": "Инструменти, които посетителите могат да използват",
"share.settings.updateError": "Неуспешно запазване на промяната. Моля, опитайте отново.",
@@ -543,7 +544,9 @@
"share.visitor.input.send": "Изпрати",
"share.visitor.input.stop": "Спри",
"share.visitor.privacyNotice": "Този разговор се изпълнява на акаунта на собственика и може да бъде видим за него. Избягвайте да споделяте чувствителна информация.",
+ "share.visitor.privacyNoticeCreatorVisible": "Тази тема се изпълнява в акаунта на създателя. Създателят е включил достъпа до темата и може да чете нейните съобщения, затова избягвайте да споделяте чувствителна информация.",
"share.visitor.privacyNoticeWorkspace": "Тази тема се заплаща от Работното пространство и може да бъде видима за създателя на Агента. Избягвайте да споделяте чувствителна информация.",
+ "share.visitor.privacyNoticeWorkspaceCreatorVisible": "Тази тема се изпълнява в работното пространство на собственика. Създателят на Агента е включил достъпа до темата и може да чете нейните съобщения, затова избягвайте да споделяте чувствителна информация.",
"share.visitor.profile.about": "Относно",
"share.visitor.profile.createdBy": "Създадено от {{creator}}",
"share.visitor.profile.cta": "Започнете разговор",
diff --git a/locales/bg-BG/chat.json b/locales/bg-BG/chat.json
index 35ddaf470d1..75bbd13b5ff 100644
--- a/locales/bg-BG/chat.json
+++ b/locales/bg-BG/chat.json
@@ -369,10 +369,14 @@
"defaultGroupChat": "Група",
"defaultList": "Списък по подразбиране",
"defaultSession": "Агент по подразбиране",
+ "desktopNotification.agentFailed.body": "Отворете разговора за подробности",
+ "desktopNotification.agentFailed.title": "{{name}} срещна проблем",
"desktopNotification.aiReplyCompleted.body": "Отговорът от агента е готов",
"desktopNotification.aiReplyCompleted.title": "Отговорът е завършен",
"desktopNotification.humanApprovalRequired.body": "Агент има нужда от вашето одобрение, за да продължи",
"desktopNotification.humanApprovalRequired.title": "Необходимо е одобрение",
+ "desktopNotification.workingDirectoryUnavailable.body": "Работната директория не е налична: {{path}}",
+ "desktopNotification.workingDirectoryUnavailable.bodyWithoutPath": "Работната директория не е налична: папката, запазена за този разговор, вече не съществува",
"devinInstallGuide.actions.openDocs": "Отворете ръководството за инсталиране",
"devinInstallGuide.actions.openSystemTools": "Отворете системните инструменти",
"devinInstallGuide.afterInstall": "След инсталиране, изпълнете `devin auth login`, след това опитайте отново вашето съобщение или кликнете върху Преоткриване в Системни инструменти.",
@@ -1442,6 +1446,7 @@
"heteroAgent.executionTarget.gateway": "Шлюз",
"heteroAgent.executionTarget.gatewayDesc": "Изпълнение чрез шлюза на устройството, за да могат други клиенти да следят напредъка",
"heteroAgent.executionTarget.infoTooltip": "Изберете къде да работи този агент. Устройство може да чете и записва файлове или да управлява компютър; Cloud Sandbox работи в изолирана временна среда.",
+ "heteroAgent.executionTarget.loadFailed": "Не можа да зареди устройствата.",
"heteroAgent.executionTarget.loading": "Зареждане на устройства...",
"heteroAgent.executionTarget.local": "Това устройство",
"heteroAgent.executionTarget.localDesc": "Изпълнява се като локален процес в това десктоп приложение",
@@ -1461,6 +1466,7 @@
"heteroAgent.executionTarget.onlineConnections_one": "Онлайн · {{count}} връзка",
"heteroAgent.executionTarget.onlineConnections_other": "Онлайн · {{count}} връзки",
"heteroAgent.executionTarget.personalGroup": "Лично",
+ "heteroAgent.executionTarget.presenceChecking": "Проверка на статуса...",
"heteroAgent.executionTarget.projectDevicesHint": "Само устройства с работната директория на този проект са изброени. Добавете директория за друго устройство в настройките на проекта.",
"heteroAgent.executionTarget.reconnect": "Свържи отново",
"heteroAgent.executionTarget.reconnectFailed": "Неуспешно свързване на това устройство. Уверете се, че настолното приложение работи, след това опитайте отново.",
@@ -1559,6 +1565,8 @@
"input.addAiPrefillUnsupported": "Текущият модел не поддържа завършване на разговора със съобщение от асистента. Следвайте го със съобщение от потребителя преди изпращане.",
"input.addUser": "Добави потребителско съобщение",
"input.agentModeUnsupportedModel": "Текущият модел не поддържа агентски инструменти. Превключете към модел с агентски възможности за най-добро изживяване.",
+ "input.agentSlugMoved": "Тази връзка сега отваря друг агент. Превключване към него — опитайте отново, след като се отвори. Вашият чернови е запазен.",
+ "input.agentSlugUnconfirmed": "Не можа да се потвърди кой агент отваря тази връзка. Проверете връзката си, след това опитайте отново.",
"input.costEstimate.creditsPerMillionTokens": "{{credits}} кредита/М токена",
"input.costEstimate.hint": "Оценена цена: ~{{credits}} кредита",
"input.costEstimate.inputLabel": "Вход",
@@ -3241,6 +3249,7 @@
"workingPanel.overview.ports.copy": "Копирай линка",
"workingPanel.overview.ports.createFailed": "Не можа да се отвори портът",
"workingPanel.overview.ports.detected.available": "{{count}} за отваряне",
+ "workingPanel.overview.ports.detected.checking": "Проверка кои портове работят...",
"workingPanel.overview.ports.detected.expose": "Отвори",
"workingPanel.overview.ports.detected.heading": "Открити",
"workingPanel.overview.ports.detected.hideOthers": "Скрий другите портове",
diff --git a/locales/bg-BG/setting.json b/locales/bg-BG/setting.json
index cfd7ec885a7..6f90b0a9bc1 100644
--- a/locales/bg-BG/setting.json
+++ b/locales/bg-BG/setting.json
@@ -272,6 +272,8 @@
"artworkStudio.upload": "Качете изображение",
"artworkStudio.uploadSpec.avatar": "1:1 · PNG / JPG ≤ 1 MB",
"artworkStudio.uploadSpec.fullBody": "3:4 · прозрачен PNG ≤ 1 MB",
+ "chatPreference.assist.desc": "Лични предпочитания: те се прилагат само за вас, във вашето лично пространство и във всяко работно пространство.",
+ "chatPreference.assist.title": "Чат Асистент",
"checking": "Проверка...",
"checkingPermissions": "Проверка на разрешенията...",
"completionSound.banner.desc": "Звукът на известието, който се възпроизвежда, когато чатът приключи, докато LobeHub е на заден план. Настройките за фокус на macOS и известията за приложения все още се прилагат.",
@@ -551,6 +553,7 @@
"devices.share.viewerHint": "Наблюдателите не могат да споделят устройства",
"devices.share.visibilityTag.private": "Лично",
"devices.share.visibilityTag.public": "Работно пространство",
+ "devices.status.checking": "Проверка на състоянието…",
"devices.status.offline": "Офлайн",
"devices.status.online": "Онлайн",
"devices.status.onlineConnections_one": "Онлайн · {{count}} връзка",
@@ -1558,6 +1561,7 @@
"settingsSearch.tabKeywords.apikey": "api, api ключ, apikey, токен, таен, личен ключ",
"settingsSearch.tabKeywords.appearance": "външен вид, тема, тъмен режим, светъл режим, шрифт, език, цвят, фон",
"settingsSearch.tabKeywords.billing": "фактуриране, плащане, фактура, карта, транзакция",
+ "settingsSearch.tabKeywords.chatPreference": "предпочитания за чат, предложения за последващи действия, предложения за въвеждане, автоматично довършване",
"settingsSearch.tabKeywords.connector": "конектори, интеграции, mcp",
"settingsSearch.tabKeywords.credits": "кредити, баланс, зареждане, презареждане, купуване на кредити",
"settingsSearch.tabKeywords.creds": "учредителни данни, тайни, oauth",
@@ -1776,6 +1780,7 @@
"tab.apikey": "Управление на API ключове",
"tab.appearance": "Външен вид",
"tab.chatAppearance": "Външен вид на чата",
+ "tab.chatPreference": "Предпочитания за чат",
"tab.common": "Външен вид",
"tab.connector": "Конектори",
"tab.creds": "Идентификатори",
diff --git a/locales/de-DE/agent.json b/locales/de-DE/agent.json
index 2388baa3443..b75f30e54f4 100644
--- a/locales/de-DE/agent.json
+++ b/locales/de-DE/agent.json
@@ -500,6 +500,7 @@
"share.settings.tools.needsMemoryPermission": "Aktivieren Sie auch „Lesen meines Speichers erlauben“ oben, oder dieses Werkzeug bleibt für Besucher inaktiv.",
"share.settings.tools.notAvailableToVisitors": "Dieses Werkzeug kann niemals in einem freigegebenen Besuch verwendet werden – Besucherbesuche sind von Ihrer Wissensdatenbank und Agentendateien ausgeschlossen.",
"share.settings.tools.onDemandDesc": "Nicht bei diesem Agenten aktiviert. Sobald die Berechtigung erteilt ist, wird das Modell es in einem Besucherlauf nur bei Bedarf aktivieren.",
+ "share.settings.tools.ownerCredentials": "Besucher nutzen MCP-Server, Verbindungen und Plugins mit Ihren Konten und Anmeldedaten.",
"share.settings.tools.showOnDemand": "Bedarfswerkzeuge anzeigen",
"share.settings.tools.title": "Werkzeuge, die Besucher verwenden können",
"share.settings.updateError": "Die Änderung konnte nicht gespeichert werden. Bitte versuchen Sie es erneut.",
@@ -543,7 +544,9 @@
"share.visitor.input.send": "Senden",
"share.visitor.input.stop": "Stoppen",
"share.visitor.privacyNotice": "Dieses Gespräch läuft über das Konto des Besitzers und könnte für ihn sichtbar sein. Vermeiden Sie das Teilen sensibler Informationen.",
+ "share.visitor.privacyNoticeCreatorVisible": "Dieses Thema läuft über das Konto des Erstellers. Der Ersteller hat den Themenzugriff aktiviert und kann die Nachrichten lesen. Vermeiden Sie daher das Teilen sensibler Informationen.",
"share.visitor.privacyNoticeWorkspace": "Dieses Thema wird vom Arbeitsbereich bezahlt und kann für den Ajan-Ersteller sichtbar sein. Vermeiden Sie es, sensible Informationen zu teilen.",
+ "share.visitor.privacyNoticeWorkspaceCreatorVisible": "Dieses Thema läuft im Arbeitsbereich des Eigentümers. Der Agent-Ersteller hat den Themenzugriff aktiviert und kann die Nachrichten lesen. Vermeiden Sie daher das Teilen sensibler Informationen.",
"share.visitor.profile.about": "Über",
"share.visitor.profile.createdBy": "Erstellt von {{creator}}",
"share.visitor.profile.cta": "Beginnen Sie ein Gespräch",
diff --git a/locales/de-DE/chat.json b/locales/de-DE/chat.json
index 38978f8fd61..fb9a58361c1 100644
--- a/locales/de-DE/chat.json
+++ b/locales/de-DE/chat.json
@@ -369,10 +369,14 @@
"defaultGroupChat": "Gruppe",
"defaultList": "Standardliste",
"defaultSession": "Standardagent",
+ "desktopNotification.agentFailed.body": "Öffnen Sie das Gespräch für Details",
+ "desktopNotification.agentFailed.title": "{{name}} ist auf ein Problem gestoßen",
"desktopNotification.aiReplyCompleted.body": "Antwort des Agenten ist bereit",
"desktopNotification.aiReplyCompleted.title": "Antwort abgeschlossen",
"desktopNotification.humanApprovalRequired.body": "Ein Agent benötigt Ihre Zustimmung, um fortzufahren",
"desktopNotification.humanApprovalRequired.title": "Zustimmung erforderlich",
+ "desktopNotification.workingDirectoryUnavailable.body": "Arbeitsverzeichnis nicht verfügbar: {{path}}",
+ "desktopNotification.workingDirectoryUnavailable.bodyWithoutPath": "Arbeitsverzeichnis nicht verfügbar: Der für dieses Gespräch gespeicherte Ordner existiert nicht mehr",
"devinInstallGuide.actions.openDocs": "Installationsanleitung öffnen",
"devinInstallGuide.actions.openSystemTools": "Systemwerkzeuge öffnen",
"devinInstallGuide.afterInstall": "Nach der Installation führen Sie `devin auth login` aus, versuchen Sie es erneut mit Ihrer Nachricht oder klicken Sie auf Erneut erkennen in den Systemwerkzeugen.",
@@ -1442,6 +1446,7 @@
"heteroAgent.executionTarget.gateway": "Gateway",
"heteroAgent.executionTarget.gatewayDesc": "Über das Geräte-Gateway ausführen, damit andere Clients den Fortschritt verfolgen können",
"heteroAgent.executionTarget.infoTooltip": "Wählen Sie aus, wo dieser Agent ausgeführt wird. Ein Gerät kann Dateien lesen und schreiben oder einen Computer bedienen; Cloud Sandbox läuft in einer isolierten temporären Umgebung.",
+ "heteroAgent.executionTarget.loadFailed": "Geräte konnten nicht geladen werden.",
"heteroAgent.executionTarget.loading": "Geräte werden geladen…",
"heteroAgent.executionTarget.local": "Dieses Gerät",
"heteroAgent.executionTarget.localDesc": "Als lokaler Prozess in dieser Desktop-App ausführen",
@@ -1461,6 +1466,7 @@
"heteroAgent.executionTarget.onlineConnections_one": "Online · {{count}} Verbindung",
"heteroAgent.executionTarget.onlineConnections_other": "Online · {{count}} Verbindungen",
"heteroAgent.executionTarget.personalGroup": "Persönlich",
+ "heteroAgent.executionTarget.presenceChecking": "Status wird überprüft…",
"heteroAgent.executionTarget.projectDevicesHint": "Es werden nur Geräte mit dem Arbeitsverzeichnis dieses Projekts aufgelistet. Fügen Sie ein Verzeichnis für ein anderes Gerät in den Projekteinstellungen hinzu.",
"heteroAgent.executionTarget.reconnect": "Erneut verbinden",
"heteroAgent.executionTarget.reconnectFailed": "Dieses Gerät konnte nicht erneut verbunden werden. Stellen Sie sicher, dass die Desktop-App läuft, und versuchen Sie es dann erneut.",
@@ -1559,6 +1565,8 @@
"input.addAiPrefillUnsupported": "Das aktuelle Modell unterstützt es nicht, das Gespräch mit einer Assistentennachricht zu beenden. Fügen Sie vor dem Senden eine Benutzernachricht hinzu.",
"input.addUser": "Benutzernachricht hinzufügen",
"input.agentModeUnsupportedModel": "Das aktuelle Modell unterstützt keine agentischen Werkzeugaufrufe. Wechseln Sie zu einem Modell mit Agentenfähigkeit für die beste Erfahrung.",
+ "input.agentSlugMoved": "Dieser Link öffnet jetzt einen anderen Agenten. Wechseln Sie zu ihm — versuchen Sie es erneut, sobald er geöffnet ist. Ihr Entwurf wird beibehalten.",
+ "input.agentSlugUnconfirmed": "Es konnte nicht bestätigt werden, welcher Agent durch diesen Link geöffnet wird. Überprüfen Sie Ihre Verbindung und versuchen Sie es erneut.",
"input.costEstimate.creditsPerMillionTokens": "{{credits}} Credits/M Tokens",
"input.costEstimate.hint": "Geschätzte Kosten: ~{{credits}} Credits",
"input.costEstimate.inputLabel": "Eingabe",
@@ -3241,6 +3249,7 @@
"workingPanel.overview.ports.copy": "Link kopieren",
"workingPanel.overview.ports.createFailed": "Der Port konnte nicht freigelegt werden",
"workingPanel.overview.ports.detected.available": "{{count}} zum Öffnen",
+ "workingPanel.overview.ports.detected.checking": "Überprüfen, welche Ports laufen…",
"workingPanel.overview.ports.detected.expose": "Öffnen",
"workingPanel.overview.ports.detected.heading": "Erkannt",
"workingPanel.overview.ports.detected.hideOthers": "Andere Ports ausblenden",
diff --git a/locales/de-DE/setting.json b/locales/de-DE/setting.json
index 1c2dbec9391..7d243e915be 100644
--- a/locales/de-DE/setting.json
+++ b/locales/de-DE/setting.json
@@ -272,6 +272,8 @@
"artworkStudio.upload": "Bild hochladen",
"artworkStudio.uploadSpec.avatar": "1:1 · PNG / JPG ≤ 1 MB",
"artworkStudio.uploadSpec.fullBody": "3:4 · transparenter PNG ≤ 1 MB",
+ "chatPreference.assist.desc": "Persönliche Präferenzen: Sie gelten nur für Sie, in Ihrem persönlichen Bereich und in jedem Arbeitsbereich.",
+ "chatPreference.assist.title": "Chat-Assistent",
"checking": "Überprüfung läuft...",
"checkingPermissions": "Berechtigungen werden überprüft...",
"completionSound.banner.desc": "Ton, den die Benachrichtigungsleiste abspielt, wenn ein Chat beendet wird, während LobeHub im Hintergrund läuft. macOS-Fokus- und App-spezifische Benachrichtigungseinstellungen gelten weiterhin.",
@@ -551,6 +553,7 @@
"devices.share.viewerHint": "Betrachter können keine Geräte teilen",
"devices.share.visibilityTag.private": "Privat",
"devices.share.visibilityTag.public": "Arbeitsbereich",
+ "devices.status.checking": "Status wird überprüft…",
"devices.status.offline": "Offline",
"devices.status.online": "Online",
"devices.status.onlineConnections_one": "Online · {{count}} Verbindung",
@@ -1558,6 +1561,7 @@
"settingsSearch.tabKeywords.apikey": "api, api key, apikey, token, secret, persönlicher Schlüssel",
"settingsSearch.tabKeywords.appearance": "Erscheinungsbild, Thema, Dunkelmodus, Hellmodus, Schriftart, Sprache, Farbe, Hintergrund",
"settingsSearch.tabKeywords.billing": "Abrechnung, Zahlung, Rechnung, Karte, Transaktion",
+ "settingsSearch.tabKeywords.chatPreference": "Chat-Einstellungen, Folge-Vorschläge, Eingabevorschläge, Autovervollständigung",
"settingsSearch.tabKeywords.connector": "Connectoren, Integrationen, MCP",
"settingsSearch.tabKeywords.credits": "Credits, Guthaben, Aufladen, Wiederaufladen, Credits kaufen",
"settingsSearch.tabKeywords.creds": "Anmeldedaten, Geheimnisse, OAuth",
@@ -1776,6 +1780,7 @@
"tab.apikey": "API-Schlüsselverwaltung",
"tab.appearance": "Erscheinungsbild",
"tab.chatAppearance": "Chat-Darstellung",
+ "tab.chatPreference": "Chat-Einstellungen",
"tab.common": "Darstellung",
"tab.connector": "Konnektoren",
"tab.creds": "Berechtigungen",
diff --git a/locales/en-US/setting.json b/locales/en-US/setting.json
index 8a5f07c2fda..89dd46a1b09 100644
--- a/locales/en-US/setting.json
+++ b/locales/en-US/setting.json
@@ -272,6 +272,8 @@
"artworkStudio.upload": "Upload",
"artworkStudio.uploadSpec.avatar": "1:1 · PNG / JPG ≤ 1 MB",
"artworkStudio.uploadSpec.fullBody": "3:4 · transparent PNG ≤ 1 MB",
+ "chatPreference.assist.desc": "Personal preferences: they only apply to you, in your personal space and every workspace.",
+ "chatPreference.assist.title": "Chat Assist",
"checking": "Checking...",
"checkingPermissions": "Checking permissions...",
"completionSound.banner.desc": "Sound the notification banner carries when a chat finishes while LobeHub is in the background. macOS Focus and per-app notification settings still apply.",
@@ -1559,6 +1561,7 @@
"settingsSearch.tabKeywords.apikey": "api, api key, apikey, token, secret, personal key",
"settingsSearch.tabKeywords.appearance": "appearance, theme, dark mode, light mode, font, language, color, background",
"settingsSearch.tabKeywords.billing": "billing, payment, invoice, card, transaction",
+ "settingsSearch.tabKeywords.chatPreference": "chat preferences, follow-up suggestions, input suggestions, autocomplete",
"settingsSearch.tabKeywords.connector": "connectors, integrations, mcp",
"settingsSearch.tabKeywords.credits": "credits, balance, top up, recharge, buy credits",
"settingsSearch.tabKeywords.creds": "credentials, secrets, oauth",
@@ -1777,6 +1780,7 @@
"tab.apikey": "API Keys",
"tab.appearance": "Appearance",
"tab.chatAppearance": "Chat Appearance",
+ "tab.chatPreference": "Chat Preferences",
"tab.common": "Appearance",
"tab.connector": "Connectors",
"tab.creds": "Credentials",
diff --git a/locales/es-ES/agent.json b/locales/es-ES/agent.json
index e3f05feecc9..b3b6ccf82ef 100644
--- a/locales/es-ES/agent.json
+++ b/locales/es-ES/agent.json
@@ -500,6 +500,7 @@
"share.settings.tools.needsMemoryPermission": "Activa también “Permitir leer mi memoria” arriba, o esta herramienta permanecerá inactiva para los visitantes.",
"share.settings.tools.notAvailableToVisitors": "Esta herramienta nunca puede ser utilizada en una ejecución compartida: las ejecuciones de visitantes están bloqueadas de tu base de conocimientos y archivos del Agente.",
"share.settings.tools.onDemandDesc": "No habilitado en este Agente. Una vez concedido, el modelo lo activa en una ejecución de visitante solo cuando es necesario.",
+ "share.settings.tools.ownerCredentials": "Los visitantes utilizan los servidores, conexiones y complementos de MCP con tus cuentas y credenciales.",
"share.settings.tools.showOnDemand": "Mostrar herramientas bajo demanda",
"share.settings.tools.title": "Herramientas que los visitantes pueden usar",
"share.settings.updateError": "No se pudo guardar el cambio. Por favor, inténtalo de nuevo.",
@@ -543,7 +544,9 @@
"share.visitor.input.send": "Enviar",
"share.visitor.input.stop": "Detener",
"share.visitor.privacyNotice": "Esta conversación se ejecuta en la cuenta del propietario y puede ser visible para él. Evita compartir información sensible.",
+ "share.visitor.privacyNoticeCreatorVisible": "Este tema se ejecuta en la cuenta del creador. El creador ha activado el acceso al tema y puede leer sus mensajes, así que evita compartir información sensible.",
"share.visitor.privacyNoticeWorkspace": "Este tema está financiado por el espacio de trabajo y puede ser visible para el creador del Ajan. Evita compartir información sensible.",
+ "share.visitor.privacyNoticeWorkspaceCreatorVisible": "Este tema se ejecuta en el espacio de trabajo del propietario. El creador del Agente ha activado el acceso al tema y puede leer sus mensajes, así que evita compartir información sensible.",
"share.visitor.profile.about": "Acerca de",
"share.visitor.profile.createdBy": "Creado por {{creator}}",
"share.visitor.profile.cta": "Iniciar una conversación",
diff --git a/locales/es-ES/chat.json b/locales/es-ES/chat.json
index 8972b81207b..b6f034faa8b 100644
--- a/locales/es-ES/chat.json
+++ b/locales/es-ES/chat.json
@@ -369,10 +369,14 @@
"defaultGroupChat": "Grupo",
"defaultList": "Lista predeterminada",
"defaultSession": "Agente predeterminado",
+ "desktopNotification.agentFailed.body": "Abre la conversación para más detalles",
+ "desktopNotification.agentFailed.title": "{{name}} tuvo un problema",
"desktopNotification.aiReplyCompleted.body": "La respuesta del agente está lista",
"desktopNotification.aiReplyCompleted.title": "Respuesta completada",
"desktopNotification.humanApprovalRequired.body": "Un agente necesita tu aprobación para continuar",
"desktopNotification.humanApprovalRequired.title": "Se requiere aprobación",
+ "desktopNotification.workingDirectoryUnavailable.body": "Directorio de trabajo no disponible: {{path}}",
+ "desktopNotification.workingDirectoryUnavailable.bodyWithoutPath": "Directorio de trabajo no disponible: la carpeta guardada para esta conversación ya no existe",
"devinInstallGuide.actions.openDocs": "Abrir guía de instalación",
"devinInstallGuide.actions.openSystemTools": "Abrir herramientas del sistema",
"devinInstallGuide.afterInstall": "Después de instalar, ejecuta `devin auth login`, luego vuelve a intentar tu mensaje o haz clic en Re-detectar en Herramientas del sistema.",
@@ -1442,6 +1446,7 @@
"heteroAgent.executionTarget.gateway": "Puerta de enlace",
"heteroAgent.executionTarget.gatewayDesc": "Ejecutar a través de la puerta de enlace del dispositivo para que otros clientes puedan seguir el progreso",
"heteroAgent.executionTarget.infoTooltip": "Elige dónde se ejecuta este Agente. Un dispositivo puede leer y escribir archivos o operar una computadora; Cloud Sandbox se ejecuta en un entorno temporal aislado.",
+ "heteroAgent.executionTarget.loadFailed": "No se pudieron cargar los dispositivos.",
"heteroAgent.executionTarget.loading": "Cargando dispositivos…",
"heteroAgent.executionTarget.local": "Este dispositivo",
"heteroAgent.executionTarget.localDesc": "Ejecutar como un proceso local en esta aplicación de escritorio",
@@ -1461,6 +1466,7 @@
"heteroAgent.executionTarget.onlineConnections_one": "En línea · {{count}} conexión",
"heteroAgent.executionTarget.onlineConnections_other": "En línea · {{count}} conexiones",
"heteroAgent.executionTarget.personalGroup": "Personal",
+ "heteroAgent.executionTarget.presenceChecking": "Comprobando el estado…",
"heteroAgent.executionTarget.projectDevicesHint": "Solo se enumeran los dispositivos con el directorio de trabajo de este proyecto. Agrega un directorio para otro dispositivo en la configuración del proyecto.",
"heteroAgent.executionTarget.reconnect": "Reconectar",
"heteroAgent.executionTarget.reconnectFailed": "No se pudo reconectar este dispositivo. Asegúrate de que la aplicación de escritorio esté funcionando, luego inténtalo de nuevo.",
@@ -1559,6 +1565,8 @@
"input.addAiPrefillUnsupported": "El modelo actual no admite finalizar la conversación con un mensaje del asistente. Continúe con un mensaje del usuario antes de enviar.",
"input.addUser": "Agregar mensaje de usuario",
"input.agentModeUnsupportedModel": "El modelo actual no admite llamadas de herramientas agenticas. Cambia a un modelo con capacidad de agente para obtener la mejor experiencia.",
+ "input.agentSlugMoved": "Este enlace ahora abre un agente diferente. Cambiando a él — intenta de nuevo una vez que se abra. Tu borrador se ha guardado.",
+ "input.agentSlugUnconfirmed": "No se pudo confirmar qué agente abre este enlace. Verifica tu conexión y vuelve a intentarlo.",
"input.costEstimate.creditsPerMillionTokens": "{{credits}} créditos/M tokens",
"input.costEstimate.hint": "Costo estimado: ~{{credits}} créditos",
"input.costEstimate.inputLabel": "Entrada",
@@ -3241,6 +3249,7 @@
"workingPanel.overview.ports.copy": "Copiar enlace",
"workingPanel.overview.ports.createFailed": "No se pudo exponer el puerto",
"workingPanel.overview.ports.detected.available": "{{count}} para abrir",
+ "workingPanel.overview.ports.detected.checking": "Comprobando qué puertos están en ejecución…",
"workingPanel.overview.ports.detected.expose": "Abrir",
"workingPanel.overview.ports.detected.heading": "Detectado",
"workingPanel.overview.ports.detected.hideOthers": "Ocultar otros puertos",
diff --git a/locales/es-ES/setting.json b/locales/es-ES/setting.json
index 59febb36d9f..2d64cc8cbed 100644
--- a/locales/es-ES/setting.json
+++ b/locales/es-ES/setting.json
@@ -272,6 +272,8 @@
"artworkStudio.upload": "Subir imagen",
"artworkStudio.uploadSpec.avatar": "1:1 · PNG / JPG ≤ 1 MB",
"artworkStudio.uploadSpec.fullBody": "3:4 · PNG transparente ≤ 1 MB",
+ "chatPreference.assist.desc": "Preferencias personales: solo se aplican a ti, en tu espacio personal y en cada espacio de trabajo.",
+ "chatPreference.assist.title": "Asistencia de Chat",
"checking": "Verificando...",
"checkingPermissions": "Verificando permisos...",
"completionSound.banner.desc": "Sonido que lleva la notificación cuando un chat termina mientras LobeHub está en segundo plano. Las configuraciones de Enfoque de macOS y notificaciones por aplicación aún se aplican.",
@@ -551,6 +553,7 @@
"devices.share.viewerHint": "Los espectadores no pueden compartir dispositivos",
"devices.share.visibilityTag.private": "Privado",
"devices.share.visibilityTag.public": "Espacio de trabajo",
+ "devices.status.checking": "Comprobando estado…",
"devices.status.offline": "Desconectado",
"devices.status.online": "Conectado",
"devices.status.onlineConnections_one": "En línea · {{count}} conexión",
@@ -1558,6 +1561,7 @@
"settingsSearch.tabKeywords.apikey": "api, clave api, apikey, token, secreto, clave personal",
"settingsSearch.tabKeywords.appearance": "apariencia, tema, modo oscuro, modo claro, fuente, idioma, color, fondo",
"settingsSearch.tabKeywords.billing": "facturación, pago, factura, tarjeta, transacción",
+ "settingsSearch.tabKeywords.chatPreference": "preferencias de chat, sugerencias de seguimiento, sugerencias de entrada, autocompletar",
"settingsSearch.tabKeywords.connector": "conectores, integraciones, mcp",
"settingsSearch.tabKeywords.credits": "créditos, saldo, recargar, recarga, comprar créditos",
"settingsSearch.tabKeywords.creds": "credenciales, secretos, oauth",
@@ -1776,6 +1780,7 @@
"tab.apikey": "Gestión de Claves API",
"tab.appearance": "Apariencia",
"tab.chatAppearance": "Apariencia del Chat",
+ "tab.chatPreference": "Preferencias de Chat",
"tab.common": "Apariencia",
"tab.connector": "Conectores",
"tab.creds": "Credenciales",
diff --git a/locales/fa-IR/agent.json b/locales/fa-IR/agent.json
index c80d684ede6..5dcefd1c349 100644
--- a/locales/fa-IR/agent.json
+++ b/locales/fa-IR/agent.json
@@ -500,6 +500,7 @@
"share.settings.tools.needsMemoryPermission": "همچنین گزینه «اجازه خواندن حافظه من» را در بالا فعال کنید، وگرنه این ابزار برای بازدیدکنندگان غیرفعال باقی می‌ماند.",
"share.settings.tools.notAvailableToVisitors": "این ابزار هرگز نمی‌تواند در اجرای مشترک استفاده شود — اجرای بازدیدکنندگان از پایگاه دانش و فایل‌های عامل شما مسدود شده است.",
"share.settings.tools.onDemandDesc": "در این عامل فعال نیست. پس از اعطا، مدل آن را فقط در صورت نیاز در یک اجرای بازدیدکننده فعال می‌کند.",
+ "share.settings.tools.ownerCredentials": "بازدیدکنندگان از سرورها، اتصالات و افزونه‌های MCP با حساب‌ها و اعتبارنامه‌های شما استفاده می‌کنند.",
"share.settings.tools.showOnDemand": "نمایش ابزارهای در صورت نیاز",
"share.settings.tools.title": "ابزارهایی که بازدیدکنندگان می‌توانند استفاده کنند",
"share.settings.updateError": "تغییر ذخیره نشد. لطفاً دوباره تلاش کنید.",
@@ -543,7 +544,9 @@
"share.visitor.input.send": "ارسال",
"share.visitor.input.stop": "توقف",
"share.visitor.privacyNotice": "این مکالمه بر روی حساب مالک اجرا می‌شود و ممکن است برای او قابل مشاهده باشد. از اشتراک‌گذاری اطلاعات حساس خودداری کنید.",
+ "share.visitor.privacyNoticeCreatorVisible": "این موضوع بر روی حساب سازنده اجرا می‌شود. سازنده دسترسی به موضوع را فعال کرده و ممکن است پیام‌های آن را بخواند، بنابراین از به اشتراک‌گذاری اطلاعات حساس خودداری کنید.",
"share.visitor.privacyNoticeWorkspace": "این موضوع توسط فضای کاری پرداخت می‌شود و ممکن است برای سازنده آژان قابل مشاهده باشد. از اشتراک‌گذاری اطلاعات حساس خودداری کنید.",
+ "share.visitor.privacyNoticeWorkspaceCreatorVisible": "این موضوع در فضای کاری مالک اجرا می‌شود. سازنده Agent دسترسی به موضوع را فعال کرده و ممکن است پیام‌های آن را بخواند، بنابراین از به اشتراک‌گذاری اطلاعات حساس خودداری کنید.",
"share.visitor.profile.about": "درباره",
"share.visitor.profile.createdBy": "ایجاد شده توسط {{creator}}",
"share.visitor.profile.cta": "یک گفتگو را شروع کنید",
diff --git a/locales/fa-IR/chat.json b/locales/fa-IR/chat.json
index 677680f010b..2caf086f964 100644
--- a/locales/fa-IR/chat.json
+++ b/locales/fa-IR/chat.json
@@ -369,10 +369,14 @@
"defaultGroupChat": "گروه",
"defaultList": "فهرست پیش‌فرض",
"defaultSession": "عامل پیش‌فرض",
+ "desktopNotification.agentFailed.body": "برای جزئیات، مکالمه را باز کنید",
+ "desktopNotification.agentFailed.title": "{{name}} با مشکلی مواجه شد",
"desktopNotification.aiReplyCompleted.body": "پاسخ عامل آماده است",
"desktopNotification.aiReplyCompleted.title": "پاسخ تکمیل شد",
"desktopNotification.humanApprovalRequired.body": "یک عامل برای ادامه به تأیید شما نیاز دارد",
"desktopNotification.humanApprovalRequired.title": "نیاز به تأیید",
+ "desktopNotification.workingDirectoryUnavailable.body": "دایرکتوری کاری در دسترس نیست: {{path}}",
+ "desktopNotification.workingDirectoryUnavailable.bodyWithoutPath": "دایرکتوری کاری در دسترس نیست: پوشه‌ای که برای این مکالمه ذخیره شده بود دیگر وجود ندارد",
"devinInstallGuide.actions.openDocs": "باز کردن راهنمای نصب",
"devinInstallGuide.actions.openSystemTools": "باز کردن ابزارهای سیستم",
"devinInstallGuide.afterInstall": "پس از نصب، دستور `devin auth login` را اجرا کنید، سپس پیام خود را دوباره امتحان کنید یا روی شناسایی مجدد در ابزارهای سیستم کلیک کنید.",
@@ -1442,6 +1446,7 @@
"heteroAgent.executionTarget.gateway": "دروازه",
"heteroAgent.executionTarget.gatewayDesc": "از طریق دروازه دستگاه اجرا کنید تا سایر مشتریان بتوانند پیشرفت را دنبال کنند",
"heteroAgent.executionTarget.infoTooltip": "محل اجرای این عامل را انتخاب کنید. یک دستگاه می‌تواند فایل‌ها را بخواند و بنویسد یا یک کامپیوتر را اجرا کند؛ محیط ابری Sandbox در یک محیط موقت ایزوله اجرا می‌شود.",
+ "heteroAgent.executionTarget.loadFailed": "دستگاه‌ها بارگذاری نشدند.",
"heteroAgent.executionTarget.loading": "در حال بارگذاری دستگاه‌ها...",
"heteroAgent.executionTarget.local": "این دستگاه",
"heteroAgent.executionTarget.localDesc": "به عنوان یک فرآیند محلی در این برنامه دسکتاپ اجرا شود",
@@ -1461,6 +1466,7 @@
"heteroAgent.executionTarget.onlineConnections_one": "آنلاین · {{count}} اتصال",
"heteroAgent.executionTarget.onlineConnections_other": "آنلاین · {{count}} اتصالات",
"heteroAgent.executionTarget.personalGroup": "شخصی",
+ "heteroAgent.executionTarget.presenceChecking": "در حال بررسی وضعیت…",
"heteroAgent.executionTarget.projectDevicesHint": "فقط دستگاه‌هایی که دارای دایرکتوری کاری این پروژه هستند فهرست شده‌اند. برای افزودن دایرکتوری برای دستگاه دیگر، به تنظیمات پروژه بروید.",
"heteroAgent.executionTarget.reconnect": "اتصال مجدد",
"heteroAgent.executionTarget.reconnectFailed": "اتصال مجدد این دستگاه امکان‌پذیر نبود. مطمئن شوید که برنامه دسکتاپ در حال اجرا است، سپس دوباره تلاش کنید.",
@@ -1559,6 +1565,8 @@
"input.addAiPrefillUnsupported": "مدل فعلی از پایان دادن به مکالمه با پیام دستیار پشتیبانی نمی‌کند. قبل از ارسال، آن را با پیام کاربر دنبال کنید.",
"input.addUser": "افزودن پیام کاربر",
"input.agentModeUnsupportedModel": "مدل فعلی از فراخوانی ابزارهای عامل پشتیبانی نمی‌کند. برای بهترین تجربه به مدلی با قابلیت عامل تغییر دهید.",
+ "input.agentSlugMoved": "این لینک اکنون یک عامل متفاوت را باز می‌کند. در حال تغییر به آن هستیم — پس از باز شدن دوباره امتحان کنید. پیش‌نویس شما حفظ شده است.",
+ "input.agentSlugUnconfirmed": "نتوانستیم تأیید کنیم که این لینک کدام عامل را باز می‌کند. اتصال خود را بررسی کنید و دوباره امتحان کنید.",
"input.costEstimate.creditsPerMillionTokens": "{{credits}} اعتبار/میلیون توکن",
"input.costEstimate.hint": "هزینه تخمینی: ~{{credits}} اعتبار",
"input.costEstimate.inputLabel": "ورودی",
@@ -3241,6 +3249,7 @@
"workingPanel.overview.ports.copy": "کپی لینک",
"workingPanel.overview.ports.createFailed": "امکان نمایش پورت وجود ندارد",
"workingPanel.overview.ports.detected.available": "{{count}} برای باز کردن",
+ "workingPanel.overview.ports.detected.checking": "در حال بررسی اینکه کدام پورت‌ها در حال اجرا هستند…",
"workingPanel.overview.ports.detected.expose": "باز کردن",
"workingPanel.overview.ports.detected.heading": "شناسایی شده",
"workingPanel.overview.ports.detected.hideOthers": "پنهان کردن پورت‌های دیگر",
diff --git a/locales/fa-IR/setting.json b/locales/fa-IR/setting.json
index f8bf4bc67c6..a404bd4b65c 100644
--- a/locales/fa-IR/setting.json
+++ b/locales/fa-IR/setting.json
@@ -272,6 +272,8 @@
"artworkStudio.upload": "بارگذاری تصویر",
"artworkStudio.uploadSpec.avatar": "۱:۱ · PNG / JPG ≤ ۱ مگابایت",
"artworkStudio.uploadSpec.fullBody": "۳:۴ · PNG شفاف ≤ ۱ مگابایت",
+ "chatPreference.assist.desc": "ترجیحات شخصی: آنها فقط برای شما اعمال می‌شوند، در فضای شخصی شما و هر فضای کاری.",
+ "chatPreference.assist.title": "کمک چت",
"checking": "در حال بررسی...",
"checkingPermissions": "در حال بررسی مجوزها...",
"completionSound.banner.desc": "صدایی که بنر اعلان هنگام اتمام یک چت در پس‌زمینه LobeHub پخش می‌کند. تنظیمات تمرکز macOS و اعلان‌های برنامه همچنان اعمال می‌شوند.",
@@ -551,6 +553,7 @@
"devices.share.viewerHint": "مشاهده‌کنندگان نمی‌توانند دستگاه‌ها را به اشتراک بگذارند",
"devices.share.visibilityTag.private": "خصوصی",
"devices.share.visibilityTag.public": "فضای کاری",
+ "devices.status.checking": "در حال بررسی وضعیت…",
"devices.status.offline": "آفلاین",
"devices.status.online": "آنلاین",
"devices.status.onlineConnections_one": "آنلاین · {{count}} اتصال",
@@ -1558,6 +1561,7 @@
"settingsSearch.tabKeywords.apikey": "api, کلید api, apikey, توکن, محرمانه, کلید شخصی",
"settingsSearch.tabKeywords.appearance": "ظاهر, تم, حالت تاریک, حالت روشن, فونت, زبان, رنگ, پس‌زمینه",
"settingsSearch.tabKeywords.billing": "صورتحساب، پرداخت، فاکتور، کارت، تراکنش",
+ "settingsSearch.tabKeywords.chatPreference": "ترجیحات چت، پیشنهادات پیگیری، پیشنهادات ورودی، تکمیل خودکار",
"settingsSearch.tabKeywords.connector": "اتصالات، یکپارچه‌سازی‌ها، MCP",
"settingsSearch.tabKeywords.credits": "اعتبار، موجودی، شارژ، خرید اعتبار",
"settingsSearch.tabKeywords.creds": "اعتبارنامه‌ها، رمزها، OAuth",
@@ -1776,6 +1780,7 @@
"tab.apikey": "مدیریت کلید API",
"tab.appearance": "ظاهر",
"tab.chatAppearance": "ظاهر گفتگو",
+ "tab.chatPreference": "ترجیحات چت",
"tab.common": "ظاهر",
"tab.connector": "اتصال‌دهنده‌ها",
"tab.creds": "اعتبارنامه‌ها",
diff --git a/locales/fr-FR/agent.json b/locales/fr-FR/agent.json
index ec5faa61b9f..137c437763b 100644
--- a/locales/fr-FR/agent.json
+++ b/locales/fr-FR/agent.json
@@ -500,6 +500,7 @@
"share.settings.tools.needsMemoryPermission": "Activez également « Autoriser la lecture de ma mémoire » ci-dessus, ou cet outil restera inactif pour les visiteurs.",
"share.settings.tools.notAvailableToVisitors": "Cet outil ne peut jamais être utilisé dans une exécution partagée — les exécutions des visiteurs sont bloquées de votre base de connaissances et des fichiers de l'Agent.",
"share.settings.tools.onDemandDesc": "Non activé sur cet Agent. Une fois accordé, le modèle l'active lors d'une exécution visiteur uniquement lorsque nécessaire.",
+ "share.settings.tools.ownerCredentials": "Les visiteurs utilisent les serveurs, connexions et plugins MCP avec vos comptes et identifiants.",
"share.settings.tools.showOnDemand": "Afficher les outils à la demande",
"share.settings.tools.title": "Outils que les visiteurs peuvent utiliser",
"share.settings.updateError": "Impossible de sauvegarder la modification. Veuillez réessayer.",
@@ -543,7 +544,9 @@
"share.visitor.input.send": "Envoyer",
"share.visitor.input.stop": "Arrêter",
"share.visitor.privacyNotice": "Cette conversation s'exécute sur le compte du propriétaire et peut être visible par lui. Évitez de partager des informations sensibles.",
+ "share.visitor.privacyNoticeCreatorVisible": "Ce sujet fonctionne sur le compte du créateur. Le créateur a activé l'accès au sujet et peut lire ses messages, évitez donc de partager des informations sensibles.",
"share.visitor.privacyNoticeWorkspace": "Ce sujet est financé par l'espace de travail et peut être visible par le créateur de l'Ajan. Évitez de partager des informations sensibles.",
+ "share.visitor.privacyNoticeWorkspaceCreatorVisible": "Ce sujet fonctionne dans l'Espace de travail du propriétaire. Le créateur de l'Ajan a activé l'accès au sujet et peut lire ses messages, évitez donc de partager des informations sensibles.",
"share.visitor.profile.about": "À propos",
"share.visitor.profile.createdBy": "Créé par {{creator}}",
"share.visitor.profile.cta": "Commencez une conversation",
diff --git a/locales/fr-FR/chat.json b/locales/fr-FR/chat.json
index 71e7adb8eea..b90e8ad9d49 100644
--- a/locales/fr-FR/chat.json
+++ b/locales/fr-FR/chat.json
@@ -369,10 +369,14 @@
"defaultGroupChat": "Groupe",
"defaultList": "Liste par défaut",
"defaultSession": "Agent par défaut",
+ "desktopNotification.agentFailed.body": "Ouvrez la conversation pour plus de détails",
+ "desktopNotification.agentFailed.title": "{{name}} a rencontré un problème",
"desktopNotification.aiReplyCompleted.body": "La réponse de l’agent est prête",
"desktopNotification.aiReplyCompleted.title": "Réponse terminée",
"desktopNotification.humanApprovalRequired.body": "Un agent nécessite votre approbation pour continuer",
"desktopNotification.humanApprovalRequired.title": "Approbation requise",
+ "desktopNotification.workingDirectoryUnavailable.body": "Répertoire de travail indisponible : {{path}}",
+ "desktopNotification.workingDirectoryUnavailable.bodyWithoutPath": "Répertoire de travail indisponible : le dossier enregistré pour cette conversation n'existe plus",
"devinInstallGuide.actions.openDocs": "Ouvrir le guide d'installation",
"devinInstallGuide.actions.openSystemTools": "Ouvrir les outils système",
"devinInstallGuide.afterInstall": "Après l'installation, exécutez `devin auth login`, puis réessayez votre message ou cliquez sur Re-détecter dans les outils système.",
@@ -1442,6 +1446,7 @@
"heteroAgent.executionTarget.gateway": "Passerelle",
"heteroAgent.executionTarget.gatewayDesc": "Exécuter via la passerelle de l'appareil pour que d'autres clients puissent suivre la progression",
"heteroAgent.executionTarget.infoTooltip": "Choisissez où cet Agent s'exécute. Un appareil peut lire et écrire des fichiers ou faire fonctionner un ordinateur ; le Cloud Sandbox s'exécute dans un environnement temporaire isolé.",
+ "heteroAgent.executionTarget.loadFailed": "Impossible de charger les appareils.",
"heteroAgent.executionTarget.loading": "Chargement des appareils…",
"heteroAgent.executionTarget.local": "Cet appareil",
"heteroAgent.executionTarget.localDesc": "Exécuter en tant que processus local sur cette application de bureau",
@@ -1461,6 +1466,7 @@
"heteroAgent.executionTarget.onlineConnections_one": "En ligne · {{count}} connexion",
"heteroAgent.executionTarget.onlineConnections_other": "En ligne · {{count}} connexions",
"heteroAgent.executionTarget.personalGroup": "Personnel",
+ "heteroAgent.executionTarget.presenceChecking": "Vérification du statut…",
"heteroAgent.executionTarget.projectDevicesHint": "Seuls les appareils avec le répertoire de travail de ce projet sont listés. Ajoutez un répertoire pour un autre appareil dans les paramètres du projet.",
"heteroAgent.executionTarget.reconnect": "Reconnecter",
"heteroAgent.executionTarget.reconnectFailed": "Impossible de reconnecter cet appareil. Assurez-vous que l'application de bureau est en cours d'exécution, puis réessayez.",
@@ -1559,6 +1565,8 @@
"input.addAiPrefillUnsupported": "Le modèle actuel ne prend pas en charge la fin de la conversation avec un message de l'assistant. Suivez-le avec un message utilisateur avant d'envoyer.",
"input.addUser": "Ajouter un message utilisateur",
"input.agentModeUnsupportedModel": "Le modèle actuel ne prend pas en charge l'appel d'outils agentiques. Passez à un modèle avec des capacités d'agent pour une meilleure expérience.",
+ "input.agentSlugMoved": "Ce lien ouvre désormais un autre agent. Passage à celui-ci — réessayez une fois qu'il est ouvert. Votre brouillon est conservé.",
+ "input.agentSlugUnconfirmed": "Impossible de confirmer quel agent ce lien ouvre. Vérifiez votre connexion, puis réessayez.",
"input.costEstimate.creditsPerMillionTokens": "{{credits}} crédits/M tokens",
"input.costEstimate.hint": "Coût estimé : ~{{credits}} crédits",
"input.costEstimate.inputLabel": "Entrée",
@@ -3241,6 +3249,7 @@
"workingPanel.overview.ports.copy": "Copier le lien",
"workingPanel.overview.ports.createFailed": "Impossible d'exposer le port",
"workingPanel.overview.ports.detected.available": "{{count}} à ouvrir",
+ "workingPanel.overview.ports.detected.checking": "Vérification des ports en cours d'exécution…",
"workingPanel.overview.ports.detected.expose": "Ouvrir",
"workingPanel.overview.ports.detected.heading": "Détecté",
"workingPanel.overview.ports.detected.hideOthers": "Masquer les autres ports",
diff --git a/locales/fr-FR/setting.json b/locales/fr-FR/setting.json
index 81b93c04ae8..4a687585229 100644
--- a/locales/fr-FR/setting.json
+++ b/locales/fr-FR/setting.json
@@ -272,6 +272,8 @@
"artworkStudio.upload": "Télécharger une image",
"artworkStudio.uploadSpec.avatar": "1:1 · PNG / JPG ≤ 1 Mo",
"artworkStudio.uploadSpec.fullBody": "3:4 · PNG transparent ≤ 1 Mo",
+ "chatPreference.assist.desc": "Préférences personnelles : elles s'appliquent uniquement à vous, dans votre espace personnel et chaque espace de travail.",
+ "chatPreference.assist.title": "Assistance de Chat",
"checking": "Vérification...",
"checkingPermissions": "Vérification des autorisations...",
"completionSound.banner.desc": "Son de notification que la bannière transporte lorsqu'un chat se termine alors que LobeHub est en arrière-plan. Les paramètres de concentration macOS et de notification par application s'appliquent toujours.",
@@ -551,6 +553,7 @@
"devices.share.viewerHint": "Les spectateurs ne peuvent pas partager d'appareils",
"devices.share.visibilityTag.private": "Privé",
"devices.share.visibilityTag.public": "Espace de travail",
+ "devices.status.checking": "Vérification du statut…",
"devices.status.offline": "Hors ligne",
"devices.status.online": "En ligne",
"devices.status.onlineConnections_one": "En ligne · {{count}} connexion",
@@ -1558,6 +1561,7 @@
"settingsSearch.tabKeywords.apikey": "api, clé api, apikey, jeton, secret, clé personnelle",
"settingsSearch.tabKeywords.appearance": "apparence, thème, mode sombre, mode clair, police, langue, couleur, arrière-plan",
"settingsSearch.tabKeywords.billing": "facturation, paiement, facture, carte, transaction",
+ "settingsSearch.tabKeywords.chatPreference": "préférences de chat, suggestions de suivi, suggestions d'entrée, autocomplétion",
"settingsSearch.tabKeywords.connector": "connecteurs, intégrations, mcp",
"settingsSearch.tabKeywords.credits": "crédits, solde, recharger, recharge, acheter des crédits",
"settingsSearch.tabKeywords.creds": "identifiants, secrets, oauth",
@@ -1776,6 +1780,7 @@
"tab.apikey": "Gestion des clés API",
"tab.appearance": "Apparence",
"tab.chatAppearance": "Apparence du chat",
+ "tab.chatPreference": "Préférences de Chat",
"tab.common": "Apparence",
"tab.connector": "Connecteurs",
"tab.creds": "Informations d'identification",
diff --git a/locales/it-IT/agent.json b/locales/it-IT/agent.json
index 7c9d804e4ff..fb9a74064dd 100644
--- a/locales/it-IT/agent.json
+++ b/locales/it-IT/agent.json
@@ -500,6 +500,7 @@
"share.settings.tools.needsMemoryPermission": "Attiva anche “Permetti di leggere la mia memoria” sopra, altrimenti questo strumento rimane inattivo per i visitatori.",
"share.settings.tools.notAvailableToVisitors": "Questo strumento non può mai essere utilizzato in un'esecuzione condivisa — le esecuzioni dei visitatori sono bloccate dalla tua base di conoscenza e dai file dell'Agente.",
"share.settings.tools.onDemandDesc": "Non abilitato su questo Agente. Una volta concesso, il modello lo attiva in una sessione del visitatore solo quando necessario.",
+ "share.settings.tools.ownerCredentials": "I visitatori utilizzano i server, le connessioni e i plugin MCP con i tuoi account e credenziali.",
"share.settings.tools.showOnDemand": "Mostra strumenti su richiesta",
"share.settings.tools.title": "Strumenti che i visitatori possono utilizzare",
"share.settings.updateError": "Impossibile salvare la modifica. Riprova.",
@@ -543,7 +544,9 @@
"share.visitor.input.send": "Invia",
"share.visitor.input.stop": "Interrompi",
"share.visitor.privacyNotice": "Questa conversazione viene eseguita sull'account del proprietario e potrebbe essere visibile a lui. Evita di condividere informazioni sensibili.",
+ "share.visitor.privacyNoticeCreatorVisible": "Questo argomento viene eseguito sull'account del creatore. Il creatore ha attivato l'accesso all'argomento e potrebbe leggere i suoi messaggi, quindi evita di condividere informazioni sensibili.",
"share.visitor.privacyNoticeWorkspace": "Questo argomento è pagato dal Workspace e potrebbe essere visibile al creatore dell'Ajan. Evita di condividere informazioni sensibili.",
+ "share.visitor.privacyNoticeWorkspaceCreatorVisible": "Questo argomento viene eseguito nello spazio di lavoro del proprietario. Il creatore dell'Ajan ha attivato l'accesso all'argomento e potrebbe leggere i suoi messaggi, quindi evita di condividere informazioni sensibili.",
"share.visitor.profile.about": "Informazioni",
"share.visitor.profile.createdBy": "Creato da {{creator}}",
"share.visitor.profile.cta": "Inizia una conversazione",
diff --git a/locales/it-IT/chat.json b/locales/it-IT/chat.json
index 33dce4ed65f..336275aabec 100644
--- a/locales/it-IT/chat.json
+++ b/locales/it-IT/chat.json
@@ -369,10 +369,14 @@
"defaultGroupChat": "Gruppo",
"defaultList": "Elenco predefinito",
"defaultSession": "Agente predefinito",
+ "desktopNotification.agentFailed.body": "Apri la conversazione per i dettagli",
+ "desktopNotification.agentFailed.title": "{{name}} ha riscontrato un problema",
"desktopNotification.aiReplyCompleted.body": "Risposta dell'agente pronta",
"desktopNotification.aiReplyCompleted.title": "Risposta completata",
"desktopNotification.humanApprovalRequired.body": "Un agente necessita della tua approvazione per continuare",
"desktopNotification.humanApprovalRequired.title": "Approvazione richiesta",
+ "desktopNotification.workingDirectoryUnavailable.body": "Directory di lavoro non disponibile: {{path}}",
+ "desktopNotification.workingDirectoryUnavailable.bodyWithoutPath": "Directory di lavoro non disponibile: la cartella salvata per questa conversazione non esiste più",
"devinInstallGuide.actions.openDocs": "Apri Guida all'Installazione",
"devinInstallGuide.actions.openSystemTools": "Apri Strumenti di Sistema",
"devinInstallGuide.afterInstall": "Dopo l'installazione, esegui `devin auth login`, quindi riprova il tuo messaggio o clicca su Rileva di nuovo in Strumenti di Sistema.",
@@ -1442,6 +1446,7 @@
"heteroAgent.executionTarget.gateway": "Gateway",
"heteroAgent.executionTarget.gatewayDesc": "Esegui tramite il gateway del dispositivo in modo che altri client possano seguire i progressi",
"heteroAgent.executionTarget.infoTooltip": "Scegli dove esegue questo Agente. Un dispositivo può leggere e scrivere file o operare su un computer; il Cloud Sandbox funziona in un ambiente temporaneo isolato.",
+ "heteroAgent.executionTarget.loadFailed": "Impossibile caricare i dispositivi.",
"heteroAgent.executionTarget.loading": "Caricamento dispositivi…",
"heteroAgent.executionTarget.local": "Questo dispositivo",
"heteroAgent.executionTarget.localDesc": "Esegui come processo locale su questa app desktop",
@@ -1461,6 +1466,7 @@
"heteroAgent.executionTarget.onlineConnections_one": "Online · {{count}} connessione",
"heteroAgent.executionTarget.onlineConnections_other": "Online · {{count}} connessioni",
"heteroAgent.executionTarget.personalGroup": "Personale",
+ "heteroAgent.executionTarget.presenceChecking": "Verifica dello stato in corso…",
"heteroAgent.executionTarget.projectDevicesHint": "Sono elencati solo i dispositivi con la directory di lavoro di questo progetto. Aggiungi una directory per un altro dispositivo nelle impostazioni del progetto.",
"heteroAgent.executionTarget.reconnect": "Riconnetti",
"heteroAgent.executionTarget.reconnectFailed": "Impossibile riconnettere questo dispositivo. Assicurati che l'app desktop sia in esecuzione, quindi riprova.",
@@ -1559,6 +1565,8 @@
"input.addAiPrefillUnsupported": "Il modello attuale non supporta la conclusione della conversazione con un messaggio dell'assistente. Seguilo con un messaggio dell'utente prima di inviarlo.",
"input.addUser": "Aggiungi un messaggio utente",
"input.agentModeUnsupportedModel": "Il modello attuale non supporta la chiamata di strumenti agentici. Passa a un modello con capacità agentiche per la migliore esperienza.",
+ "input.agentSlugMoved": "Questo link ora apre un agente diverso. Passaggio a esso — riprova una volta aperto. La tua bozza è stata conservata.",
+ "input.agentSlugUnconfirmed": "Impossibile confermare quale agente apre questo link. Controlla la tua connessione, quindi riprova.",
"input.costEstimate.creditsPerMillionTokens": "{{credits}} crediti/M token",
"input.costEstimate.hint": "Costo stimato: ~{{credits}} crediti",
"input.costEstimate.inputLabel": "Input",
@@ -3241,6 +3249,7 @@
"workingPanel.overview.ports.copy": "Copia link",
"workingPanel.overview.ports.createFailed": "Impossibile esporre la porta",
"workingPanel.overview.ports.detected.available": "{{count}} da aprire",
+ "workingPanel.overview.ports.detected.checking": "Verifica delle porte in esecuzione in corso…",
"workingPanel.overview.ports.detected.expose": "Apri",
"workingPanel.overview.ports.detected.heading": "Rilevati",
"workingPanel.overview.ports.detected.hideOthers": "Nascondi altre porte",
diff --git a/locales/it-IT/setting.json b/locales/it-IT/setting.json
index 69670fb5752..59b22bfaac4 100644
--- a/locales/it-IT/setting.json
+++ b/locales/it-IT/setting.json
@@ -272,6 +272,8 @@
"artworkStudio.upload": "Carica immagine",
"artworkStudio.uploadSpec.avatar": "1:1 · PNG / JPG ≤ 1 MB",
"artworkStudio.uploadSpec.fullBody": "3:4 · PNG trasparente ≤ 1 MB",
+ "chatPreference.assist.desc": "Preferenze personali: si applicano solo a te, nel tuo spazio personale e in ogni spazio di lavoro.",
+ "chatPreference.assist.title": "Assistenza Chat",
"checking": "Verifica in corso...",
"checkingPermissions": "Verifica dei permessi in corso...",
"completionSound.banner.desc": "Suono che il banner di notifica emette quando una chat termina mentre LobeHub è in background. Le impostazioni di Focus di macOS e le notifiche per app continuano ad applicarsi.",
@@ -551,6 +553,7 @@
"devices.share.viewerHint": "I visualizzatori non possono condividere dispositivi",
"devices.share.visibilityTag.private": "Privato",
"devices.share.visibilityTag.public": "Spazio di lavoro",
+ "devices.status.checking": "Verifica dello stato in corso…",
"devices.status.offline": "Offline",
"devices.status.online": "Online",
"devices.status.onlineConnections_one": "Online · {{count}} connessione",
@@ -1558,6 +1561,7 @@
"settingsSearch.tabKeywords.apikey": "api, chiave api, apikey, token, segreto, chiave personale",
"settingsSearch.tabKeywords.appearance": "aspetto, tema, modalità scura, modalità chiara, carattere, lingua, colore, sfondo",
"settingsSearch.tabKeywords.billing": "fatturazione, pagamento, fattura, carta, transazione",
+ "settingsSearch.tabKeywords.chatPreference": "preferenze chat, suggerimenti di follow-up, suggerimenti di input, completamento automatico",
"settingsSearch.tabKeywords.connector": "connettori, integrazioni, mcp",
"settingsSearch.tabKeywords.credits": "crediti, saldo, ricarica, acquista crediti",
"settingsSearch.tabKeywords.creds": "credenziali, segreti, oauth",
@@ -1776,6 +1780,7 @@
"tab.apikey": "Gestione API Key",
"tab.appearance": "Aspetto",
"tab.chatAppearance": "Aspetto Chat",
+ "tab.chatPreference": "Preferenze Chat",
"tab.common": "Aspetto",
"tab.connector": "Connettori",
"tab.creds": "Credenziali",
diff --git a/locales/ja-JP/agent.json b/locales/ja-JP/agent.json
index 4d68c9c5a00..518c01ed24a 100644
--- a/locales/ja-JP/agent.json
+++ b/locales/ja-JP/agent.json
@@ -500,6 +500,7 @@
"share.settings.tools.needsMemoryPermission": "上記の「メモリの読み取りを許可」をオンにしてください。そうでない場合、このツールは訪問者に対して無効になります。",
"share.settings.tools.notAvailableToVisitors": "このツールは共有実行では使用できません — 訪問者の実行は知識ベースやエージェントファイルへのアクセスがブロックされます。",
"share.settings.tools.onDemandDesc": "このエージェントでは有効になっていません。許可されると、モデルは必要に応じて訪問者の実行中にこれを有効にします。",
+ "share.settings.tools.ownerCredentials": "訪問者は、MCPサーバー、接続、およびプラグインをあなたのアカウントと資格情報で使用します。",
"share.settings.tools.showOnDemand": "オンデマンドツールを表示",
"share.settings.tools.title": "訪問者が使用できるツール",
"share.settings.updateError": "変更を保存できませんでした。再試行してください。",
@@ -543,7 +544,9 @@
"share.visitor.input.send": "送信",
"share.visitor.input.stop": "停止",
"share.visitor.privacyNotice": "この会話は所有者のアカウントで実行され、所有者に見られる可能性があります。機密情報の共有は避けてください。",
+ "share.visitor.privacyNoticeCreatorVisible": "このトピックは作成者のアカウントで実行されています。作成者はトピックアクセスを有効にしており、そのメッセージを読む可能性があるため、機密情報の共有は避けてください。",
"share.visitor.privacyNoticeWorkspace": "このトピックはワークスペースによって支払われ、エージェント作成者に見られる可能性があります。機密情報の共有は避けてください。",
+ "share.visitor.privacyNoticeWorkspaceCreatorVisible": "このトピックは所有者のWorkspaceで実行されています。Agentの作成者はトピックアクセスを有効にしており、そのメッセージを読む可能性があるため、機密情報の共有は避けてください。",
"share.visitor.profile.about": "概要",
"share.visitor.profile.createdBy": "{{creator}} によって作成されました",
"share.visitor.profile.cta": "会話を始める",
diff --git a/locales/ja-JP/chat.json b/locales/ja-JP/chat.json
index c26c0b27faf..bbf01e7d244 100644
--- a/locales/ja-JP/chat.json
+++ b/locales/ja-JP/chat.json
@@ -369,10 +369,14 @@
"defaultGroupChat": "グループ",
"defaultList": "デフォルトリスト",
"defaultSession": "カスタムアシスタント",
+ "desktopNotification.agentFailed.body": "詳細については会話を開いてください",
+ "desktopNotification.agentFailed.title": "{{name}} に問題が発生しました",
"desktopNotification.aiReplyCompleted.body": "AI の返信が生成されました",
"desktopNotification.aiReplyCompleted.title": "AI 返信完了",
"desktopNotification.humanApprovalRequired.body": "エージェントが続行するにはあなたの承認が必要です",
"desktopNotification.humanApprovalRequired.title": "承認が必要です",
+ "desktopNotification.workingDirectoryUnavailable.body": "作業ディレクトリが利用できません: {{path}}",
+ "desktopNotification.workingDirectoryUnavailable.bodyWithoutPath": "作業ディレクトリが利用できません: この会話に保存されたフォルダはもう存在しません",
"devinInstallGuide.actions.openDocs": "インストールガイドを開く",
"devinInstallGuide.actions.openSystemTools": "システムツールを開く",
"devinInstallGuide.afterInstall": "インストール後、`devin auth login`を実行し、メッセージを再試行するか、システムツールで再検出をクリックしてください。",
@@ -1442,6 +1446,7 @@
"heteroAgent.executionTarget.gateway": "ゲートウェイ",
"heteroAgent.executionTarget.gatewayDesc": "デバイスゲートウェイを通じて実行し、他のクライアントが進捗を追跡可能",
"heteroAgent.executionTarget.infoTooltip": "このエージェントが実行される場所を選択してください。デバイスはファイルの読み書きやコンピュータの操作が可能です。クラウドサンドボックスは隔離された一時的な環境で実行されます。",
+ "heteroAgent.executionTarget.loadFailed": "デバイスを読み込めませんでした。",
"heteroAgent.executionTarget.loading": "デバイスを読み込み中…",
"heteroAgent.executionTarget.local": "このデバイス",
"heteroAgent.executionTarget.localDesc": "このデスクトップアプリでローカルプロセスとして実行",
@@ -1461,6 +1466,7 @@
"heteroAgent.executionTarget.onlineConnections_one": "オンライン · {{count}} 接続",
"heteroAgent.executionTarget.onlineConnections_other": "オンライン · {{count}} 接続",
"heteroAgent.executionTarget.personalGroup": "個人",
+ "heteroAgent.executionTarget.presenceChecking": "ステータスを確認中…",
"heteroAgent.executionTarget.projectDevicesHint": "このプロジェクトの作業ディレクトリを持つデバイスのみが表示されます。プロジェクト設定で別のデバイスのディレクトリを追加してください。",
"heteroAgent.executionTarget.reconnect": "再接続",
"heteroAgent.executionTarget.reconnectFailed": "このデバイスに再接続できませんでした。デスクトップアプリが実行中であることを確認し、再試行してください。",
@@ -1559,6 +1565,8 @@
"input.addAiPrefillUnsupported": "現在のモデルは、アシスタントメッセージで会話を終了することをサポートしていません。送信する前にユーザーメッセージを追加してください。",
"input.addUser": "ユーザーメッセージを追加",
"input.agentModeUnsupportedModel": "現在のモデルはエージェントツールの呼び出しをサポートしていません。エージェント機能を備えたモデルに切り替えると、最適な体験が得られます。",
+ "input.agentSlugMoved": "このリンクは現在別のエージェントを開きます。切り替え中です — 開いたらもう一度お試しください。下書きは保持されています。",
+ "input.agentSlugUnconfirmed": "このリンクがどのエージェントを開くか確認できませんでした。接続を確認してから、もう一度お試しください。",
"input.costEstimate.creditsPerMillionTokens": "{{credits}} クレジット/Mトークン",
"input.costEstimate.hint": "推定コスト: 約{{credits}} クレジット",
"input.costEstimate.inputLabel": "入力",
@@ -3241,6 +3249,7 @@
"workingPanel.overview.ports.copy": "リンクをコピー",
"workingPanel.overview.ports.createFailed": "ポートを公開できませんでした",
"workingPanel.overview.ports.detected.available": "{{count}} を開く",
+ "workingPanel.overview.ports.detected.checking": "どのポートが実行中か確認しています…",
"workingPanel.overview.ports.detected.expose": "開く",
"workingPanel.overview.ports.detected.heading": "検出済み",
"workingPanel.overview.ports.detected.hideOthers": "他のポートを非表示",
diff --git a/locales/ja-JP/setting.json b/locales/ja-JP/setting.json
index cd76339464e..1af7b4a2c34 100644
--- a/locales/ja-JP/setting.json
+++ b/locales/ja-JP/setting.json
@@ -272,6 +272,8 @@
"artworkStudio.upload": "画像をアップロード",
"artworkStudio.uploadSpec.avatar": "1:1 · PNG / JPG ≤ 1 MB",
"artworkStudio.uploadSpec.fullBody": "3:4 · 透明PNG ≤ 1 MB",
+ "chatPreference.assist.desc": "個人の設定: これらはあなた個人のスペースやすべてのワークスペースにのみ適用されます。",
+ "chatPreference.assist.title": "チャットアシスト",
"checking": "確認中...",
"checkingPermissions": "権限を確認中...",
"completionSound.banner.desc": "LobeHubがバックグラウンドで動作している間にチャットが終了したときに通知バナーが鳴らす音。macOSのフォーカスおよびアプリごとの通知設定は引き続き適用されます。",
@@ -551,6 +553,7 @@
"devices.share.viewerHint": "閲覧者はデバイスを共有できません",
"devices.share.visibilityTag.private": "プライベート",
"devices.share.visibilityTag.public": "ワークスペース",
+ "devices.status.checking": "ステータスを確認中…",
"devices.status.offline": "オフライン",
"devices.status.online": "オンライン",
"devices.status.onlineConnections_one": "オンライン · {{count}} 接続",
@@ -1558,6 +1561,7 @@
"settingsSearch.tabKeywords.apikey": "api, api key, apikey, トークン, シークレット, 個人キー",
"settingsSearch.tabKeywords.appearance": "外観, テーマ, ダークモード, ライトモード, フォント, 言語, 色, 背景",
"settingsSearch.tabKeywords.billing": "請求, 支払い, 請求書, カード, 取引",
+ "settingsSearch.tabKeywords.chatPreference": "チャット設定、フォローアップ提案、入力提案、自動補完",
"settingsSearch.tabKeywords.connector": "コネクタ, 統合, MCP",
"settingsSearch.tabKeywords.credits": "クレジット, 残高, チャージ, リチャージ, クレジット購入",
"settingsSearch.tabKeywords.creds": "認証情報, シークレット, OAuth",
@@ -1776,6 +1780,7 @@
"tab.apikey": "APIキー管理",
"tab.appearance": "外観",
"tab.chatAppearance": "チャットの外観",
+ "tab.chatPreference": "チャット設定",
"tab.common": "外観",
"tab.connector": "コネクタ",
"tab.creds": "資格情報",
diff --git a/locales/ko-KR/agent.json b/locales/ko-KR/agent.json
index 6a4addb5e69..d4976c5d42f 100644
--- a/locales/ko-KR/agent.json
+++ b/locales/ko-KR/agent.json
@@ -500,6 +500,7 @@
"share.settings.tools.needsMemoryPermission": "위에서 '내 메모리 읽기 허용'을 켜십시오. 그렇지 않으면 이 도구는 방문자에게 비활성화됩니다.",
"share.settings.tools.notAvailableToVisitors": "이 도구는 공유 실행에서 절대 사용할 수 없습니다 — 방문자 실행은 귀하의 지식 기반 및 에이전트 파일에서 차단됩니다.",
"share.settings.tools.onDemandDesc": "이 에이전트에서 활성화되지 않았습니다. 권한이 부여되면 모델이 필요할 때만 방문자 실행 중에 이를 활성화합니다.",
+ "share.settings.tools.ownerCredentials": "방문자는 MCP 서버, 연결 및 플러그인을 사용자의 계정 및 자격 증명으로 사용합니다.",
"share.settings.tools.showOnDemand": "요청 시 도구 표시",
"share.settings.tools.title": "방문자가 사용할 수 있는 도구",
"share.settings.updateError": "변경 사항을 저장할 수 없습니다. 다시 시도하십시오.",
@@ -543,7 +544,9 @@
"share.visitor.input.send": "보내기",
"share.visitor.input.stop": "중지",
"share.visitor.privacyNotice": "이 대화는 소유자의 계정에서 실행되며 그들에게 보일 수 있습니다. 민감한 정보를 공유하지 마십시오.",
+ "share.visitor.privacyNoticeCreatorVisible": "이 주제는 생성자의 계정에서 실행됩니다. 생성자가 주제 액세스를 활성화했으며 메시지를 읽을 수 있으므로 민감한 정보를 공유하지 마십시오.",
"share.visitor.privacyNoticeWorkspace": "이 주제는 작업 공간에서 비용이 청구되며 에이전트 생성자가 볼 수 있습니다. 민감한 정보를 공유하지 마세요.",
+ "share.visitor.privacyNoticeWorkspaceCreatorVisible": "이 주제는 소유자의 작업 공간에서 실행됩니다. 에이전트 생성자가 주제 액세스를 활성화했으며 메시지를 읽을 수 있으므로 민감한 정보를 공유하지 마십시오.",
"share.visitor.profile.about": "정보",
"share.visitor.profile.createdBy": "{{creator}}에 의해 생성됨",
"share.visitor.profile.cta": "대화를 시작하세요",
diff --git a/locales/ko-KR/chat.json b/locales/ko-KR/chat.json
index 5cadf043e27..12fa6ceead2 100644
--- a/locales/ko-KR/chat.json
+++ b/locales/ko-KR/chat.json
@@ -369,10 +369,14 @@
"defaultGroupChat": "그룹",
"defaultList": "기본 목록",
"defaultSession": "사용자 정의 도우미",
+ "desktopNotification.agentFailed.body": "자세한 내용은 대화를 열어보세요",
+ "desktopNotification.agentFailed.title": "{{name}}에 문제가 발생했습니다",
"desktopNotification.aiReplyCompleted.body": "AI 응답 생성 완료",
"desktopNotification.aiReplyCompleted.title": "AI 응답 완료",
"desktopNotification.humanApprovalRequired.body": "에이전트가 계속 실행하려면 승인이 필요합니다",
"desktopNotification.humanApprovalRequired.title": "승인 필요",
+ "desktopNotification.workingDirectoryUnavailable.body": "작업 디렉토리를 사용할 수 없습니다: {{path}}",
+ "desktopNotification.workingDirectoryUnavailable.bodyWithoutPath": "작업 디렉토리를 사용할 수 없습니다: 이 대화에 저장된 폴더가 더 이상 존재하지 않습니다",
"devinInstallGuide.actions.openDocs": "설치 가이드 열기",
"devinInstallGuide.actions.openSystemTools": "시스템 도구 열기",
"devinInstallGuide.afterInstall": "설치 후 `devin auth login`을 실행한 다음 메시지를 다시 시도하거나 시스템 도구에서 다시 감지를 클릭하세요.",
@@ -1442,6 +1446,7 @@
"heteroAgent.executionTarget.gateway": "게이트웨이",
"heteroAgent.executionTarget.gatewayDesc": "장치 게이트웨이를 통해 실행하여 다른 클라이언트가 진행 상황을 따라갈 수 있도록 합니다",
"heteroAgent.executionTarget.infoTooltip": "이 에이전트가 실행되는 위치를 선택하세요. 장치는 파일을 읽고 쓰거나 컴퓨터를 작동시킬 수 있으며, 클라우드 샌드박스는 격리된 임시 환경에서 실행됩니다.",
+ "heteroAgent.executionTarget.loadFailed": "장치를 로드할 수 없습니다.",
"heteroAgent.executionTarget.loading": "장치 로드 중…",
"heteroAgent.executionTarget.local": "이 장치",
"heteroAgent.executionTarget.localDesc": "이 데스크톱 앱에서 로컬 프로세스로 실행",
@@ -1461,6 +1466,7 @@
"heteroAgent.executionTarget.onlineConnections_one": "온라인 · {{count}} 연결",
"heteroAgent.executionTarget.onlineConnections_other": "온라인 · {{count}} 연결",
"heteroAgent.executionTarget.personalGroup": "개인",
+ "heteroAgent.executionTarget.presenceChecking": "상태 확인 중…",
"heteroAgent.executionTarget.projectDevicesHint": "이 프로젝트의 작업 디렉토리가 있는 장치만 나열됩니다. 프로젝트 설정에서 다른 장치에 디렉토리를 추가하세요.",
"heteroAgent.executionTarget.reconnect": "다시 연결",
"heteroAgent.executionTarget.reconnectFailed": "이 장치를 다시 연결할 수 없습니다. 데스크톱 앱이 실행 중인지 확인한 후 다시 시도하세요.",
@@ -1559,6 +1565,8 @@
"input.addAiPrefillUnsupported": "현재 모델은 어시스턴트 메시지로 대화를 종료하는 것을 지원하지 않습니다. 사용자 메시지를 추가한 후 전송하세요.",
"input.addUser": "사용자 메시지 추가",
"input.agentModeUnsupportedModel": "현재 모델은 에이전트 도구 호출을 지원하지 않습니다. 최상의 경험을 위해 에이전트 기능이 있는 모델로 전환하세요.",
+ "input.agentSlugMoved": "이 링크는 이제 다른 에이전트를 엽니다. 전환 중입니다 — 열리면 다시 시도하세요. 초안은 유지됩니다.",
+ "input.agentSlugUnconfirmed": "이 링크가 어떤 에이전트를 여는지 확인할 수 없습니다. 연결을 확인한 후 다시 시도하세요.",
"input.costEstimate.creditsPerMillionTokens": "{{credits}} 크레딧/M 토큰",
"input.costEstimate.hint": "예상 비용: 약 {{credits}} 크레딧",
"input.costEstimate.inputLabel": "입력",
@@ -3241,6 +3249,7 @@
"workingPanel.overview.ports.copy": "링크 복사",
"workingPanel.overview.ports.createFailed": "포트를 노출할 수 없습니다",
"workingPanel.overview.ports.detected.available": "{{count}}개 열기 가능",
+ "workingPanel.overview.ports.detected.checking": "어떤 포트가 실행 중인지 확인 중…",
"workingPanel.overview.ports.detected.expose": "열기",
"workingPanel.overview.ports.detected.heading": "감지됨",
"workingPanel.overview.ports.detected.hideOthers": "다른 포트 숨기기",
diff --git a/locales/ko-KR/setting.json b/locales/ko-KR/setting.json
index 655a221d435..39fb50ef122 100644
--- a/locales/ko-KR/setting.json
+++ b/locales/ko-KR/setting.json
@@ -272,6 +272,8 @@
"artworkStudio.upload": "이미지 업로드",
"artworkStudio.uploadSpec.avatar": "1:1 · PNG / JPG ≤ 1 MB",
"artworkStudio.uploadSpec.fullBody": "3:4 · 투명 PNG ≤ 1 MB",
+ "chatPreference.assist.desc": "개인 설정: 개인 공간 및 모든 작업 공간에서만 적용됩니다.",
+ "chatPreference.assist.title": "채팅 지원",
"checking": "확인 중...",
"checkingPermissions": "권한 확인 중...",
"completionSound.banner.desc": "LobeHub이 백그라운드에서 실행 중일 때 채팅이 완료되면 알림 배너가 전달하는 소리입니다. macOS 집중 모드 및 앱별 알림 설정은 여전히 적용됩니다.",
@@ -551,6 +553,7 @@
"devices.share.viewerHint": "뷰어는 장치를 공유할 수 없습니다",
"devices.share.visibilityTag.private": "비공개",
"devices.share.visibilityTag.public": "워크스페이스",
+ "devices.status.checking": "상태 확인 중…",
"devices.status.offline": "오프라인",
"devices.status.online": "온라인",
"devices.status.onlineConnections_one": "온라인 · {{count}} 연결",
@@ -1558,6 +1561,7 @@
"settingsSearch.tabKeywords.apikey": "api, api key, apikey, 토큰, 비밀, 개인 키",
"settingsSearch.tabKeywords.appearance": "외형, 테마, 다크 모드, 라이트 모드, 글꼴, 언어, 색상, 배경",
"settingsSearch.tabKeywords.billing": "결제, 지불, 청구서, 카드, 거래",
+ "settingsSearch.tabKeywords.chatPreference": "채팅 설정, 후속 제안, 입력 제안, 자동 완성",
"settingsSearch.tabKeywords.connector": "커넥터, 통합, MCP",
"settingsSearch.tabKeywords.credits": "크레딧, 잔액, 충전, 재충전, 크레딧 구매",
"settingsSearch.tabKeywords.creds": "자격 증명, 비밀, OAuth",
@@ -1776,6 +1780,7 @@
"tab.apikey": "API 키 관리",
"tab.appearance": "외관",
"tab.chatAppearance": "채팅 화면 설정",
+ "tab.chatPreference": "채팅 설정",
"tab.common": "외관",
"tab.connector": "커넥터",
"tab.creds": "자격 증명",
diff --git a/locales/nl-NL/agent.json b/locales/nl-NL/agent.json
index af0c922c839..492f6da21ac 100644
--- a/locales/nl-NL/agent.json
+++ b/locales/nl-NL/agent.json
@@ -500,6 +500,7 @@
"share.settings.tools.needsMemoryPermission": "Schakel ook 'Sta lezen van mijn geheugen toe' hierboven in, anders blijft deze tool inactief voor bezoekers.",
"share.settings.tools.notAvailableToVisitors": "Deze tool kan nooit worden gebruikt in een gedeelde sessie — bezoekersacties worden geblokkeerd van uw kennisbank en Agent-bestanden.",
"share.settings.tools.onDemandDesc": "Niet ingeschakeld op deze Agent. Zodra toestemming is verleend, schakelt het model dit alleen in tijdens een bezoeker-run wanneer nodig.",
+ "share.settings.tools.ownerCredentials": "Bezoekers gebruiken MCP-servers, verbindingen en plugins met jouw accounts en inloggegevens.",
"share.settings.tools.showOnDemand": "Toon tools op aanvraag",
"share.settings.tools.title": "Tools die bezoekers kunnen gebruiken",
"share.settings.updateError": "De wijziging kon niet worden opgeslagen. Probeer het opnieuw.",
@@ -543,7 +544,9 @@
"share.visitor.input.send": "Verzenden",
"share.visitor.input.stop": "Stoppen",
"share.visitor.privacyNotice": "Dit gesprek wordt uitgevoerd op het account van de eigenaar en kan zichtbaar zijn voor hen. Vermijd het delen van gevoelige informatie.",
+ "share.visitor.privacyNoticeCreatorVisible": "Dit onderwerp draait op het account van de maker. De maker heeft toegang tot het onderwerp ingeschakeld en kan de berichten lezen, dus vermijd het delen van gevoelige informatie.",
"share.visitor.privacyNoticeWorkspace": "Dit onderwerp wordt betaald door de Werkruimte en kan zichtbaar zijn voor de maker van de Ajan. Vermijd het delen van gevoelige informatie.",
+ "share.visitor.privacyNoticeWorkspaceCreatorVisible": "Dit onderwerp draait in de Workspace van de eigenaar. De Agent-maker heeft toegang tot het onderwerp ingeschakeld en kan de berichten lezen, dus vermijd het delen van gevoelige informatie.",
"share.visitor.profile.about": "Over",
"share.visitor.profile.createdBy": "Gemaakt door {{creator}}",
"share.visitor.profile.cta": "Begin een gesprek",
diff --git a/locales/nl-NL/chat.json b/locales/nl-NL/chat.json
index 7d1cca053f3..56dc98ceedb 100644
--- a/locales/nl-NL/chat.json
+++ b/locales/nl-NL/chat.json
@@ -369,10 +369,14 @@
"defaultGroupChat": "Groep",
"defaultList": "Standaardlijst",
"defaultSession": "Standaard Agent",
+ "desktopNotification.agentFailed.body": "Open het gesprek voor details",
+ "desktopNotification.agentFailed.title": "{{name}} heeft een probleem ondervonden",
"desktopNotification.aiReplyCompleted.body": "Antwoord van Agent is klaar",
"desktopNotification.aiReplyCompleted.title": "Antwoord voltooid",
"desktopNotification.humanApprovalRequired.body": "Een Agent heeft jouw toestemming nodig om verder te gaan",
"desktopNotification.humanApprovalRequired.title": "Toestemming vereist",
+ "desktopNotification.workingDirectoryUnavailable.body": "Werkmap niet beschikbaar: {{path}}",
+ "desktopNotification.workingDirectoryUnavailable.bodyWithoutPath": "Werkmap niet beschikbaar: de map die is opgeslagen voor dit gesprek bestaat niet meer",
"devinInstallGuide.actions.openDocs": "Installatiehandleiding openen",
"devinInstallGuide.actions.openSystemTools": "Systeemtools openen",
"devinInstallGuide.afterInstall": "Na installatie, voer `devin auth login` uit, probeer je bericht opnieuw of klik op Opnieuw detecteren in Systeemtools.",
@@ -1442,6 +1446,7 @@
"heteroAgent.executionTarget.gateway": "Gateway",
"heteroAgent.executionTarget.gatewayDesc": "Voer uit via de apparaatgateway zodat andere clients de voortgang kunnen volgen",
"heteroAgent.executionTarget.infoTooltip": "Kies waar deze Agent wordt uitgevoerd. Een apparaat kan bestanden lezen en schrijven of een computer bedienen; Cloud Sandbox draait in een geïsoleerde tijdelijke omgeving.",
+ "heteroAgent.executionTarget.loadFailed": "Kon apparaten niet laden.",
"heteroAgent.executionTarget.loading": "Apparaten laden…",
"heteroAgent.executionTarget.local": "Dit apparaat",
"heteroAgent.executionTarget.localDesc": "Voer uit als een lokaal proces in deze desktop-app",
@@ -1461,6 +1466,7 @@
"heteroAgent.executionTarget.onlineConnections_one": "Online · {{count}} verbinding",
"heteroAgent.executionTarget.onlineConnections_other": "Online · {{count}} verbindingen",
"heteroAgent.executionTarget.personalGroup": "Persoonlijk",
+ "heteroAgent.executionTarget.presenceChecking": "Status controleren…",
"heteroAgent.executionTarget.projectDevicesHint": "Alleen apparaten met de werkmap van dit project worden weergegeven. Voeg een map toe voor een ander apparaat in de projectinstellingen.",
"heteroAgent.executionTarget.reconnect": "Opnieuw verbinden",
"heteroAgent.executionTarget.reconnectFailed": "Kan dit apparaat niet opnieuw verbinden. Zorg ervoor dat de desktop-app actief is en probeer het opnieuw.",
@@ -1559,6 +1565,8 @@
"input.addAiPrefillUnsupported": "Het huidige model ondersteunt het beëindigen van het gesprek met een assistentbericht niet. Voeg een gebruikersbericht toe voordat je verzendt.",
"input.addUser": "Gebruikersbericht toevoegen",
"input.agentModeUnsupportedModel": "Het huidige model ondersteunt geen agentische tooloproepen. Schakel over naar een model met agentmogelijkheden voor de beste ervaring.",
+ "input.agentSlugMoved": "Deze link opent nu een andere agent. Overschakelen — probeer opnieuw zodra deze opent. Je concept wordt bewaard.",
+ "input.agentSlugUnconfirmed": "Kon niet bevestigen welke agent deze link opent. Controleer je verbinding en probeer het opnieuw.",
"input.costEstimate.creditsPerMillionTokens": "{{credits}} credits/M tokens",
"input.costEstimate.hint": "Geschatte kosten: ~{{credits}} credits",
"input.costEstimate.inputLabel": "Invoer",
@@ -3241,6 +3249,7 @@
"workingPanel.overview.ports.copy": "Link kopiëren",
"workingPanel.overview.ports.createFailed": "Kon de poort niet openen",
"workingPanel.overview.ports.detected.available": "{{count}} om te openen",
+ "workingPanel.overview.ports.detected.checking": "Controleren welke poorten actief zijn…",
"workingPanel.overview.ports.detected.expose": "Openen",
"workingPanel.overview.ports.detected.heading": "Gedetecteerd",
"workingPanel.overview.ports.detected.hideOthers": "Andere poorten verbergen",
diff --git a/locales/nl-NL/setting.json b/locales/nl-NL/setting.json
index 30aaf205634..f36442ec12e 100644
--- a/locales/nl-NL/setting.json
+++ b/locales/nl-NL/setting.json
@@ -272,6 +272,8 @@
"artworkStudio.upload": "Afbeelding uploaden",
"artworkStudio.uploadSpec.avatar": "1:1 · PNG / JPG ≤ 1 MB",
"artworkStudio.uploadSpec.fullBody": "3:4 · transparante PNG ≤ 1 MB",
+ "chatPreference.assist.desc": "Persoonlijke voorkeuren: ze gelden alleen voor jou, in jouw persoonlijke ruimte en elke werkruimte.",
+ "chatPreference.assist.title": "Chat Assistent",
"checking": "Bezig met controleren...",
"checkingPermissions": "Bezig met controleren van machtigingen...",
"completionSound.banner.desc": "Geluid dat de notificatiebanner afspeelt wanneer een chat eindigt terwijl LobeHub op de achtergrond actief is. macOS Focus en per-app notificatie-instellingen blijven van toepassing.",
@@ -551,6 +553,7 @@
"devices.share.viewerHint": "Kijkers kunnen geen apparaten delen",
"devices.share.visibilityTag.private": "Privé",
"devices.share.visibilityTag.public": "Werkruimte",
+ "devices.status.checking": "Status controleren…",
"devices.status.offline": "Offline",
"devices.status.online": "Online",
"devices.status.onlineConnections_one": "Online · {{count}} verbinding",
@@ -1558,6 +1561,7 @@
"settingsSearch.tabKeywords.apikey": "api, api sleutel, apikey, token, geheim, persoonlijke sleutel",
"settingsSearch.tabKeywords.appearance": "weergave, thema, donkere modus, lichte modus, lettertype, taal, kleur, achtergrond",
"settingsSearch.tabKeywords.billing": "facturering, betaling, factuur, kaart, transactie",
+ "settingsSearch.tabKeywords.chatPreference": "chatvoorkeuren, vervolgvoorstellen, invoervoorstellen, automatisch aanvullen",
"settingsSearch.tabKeywords.connector": "connectoren, integraties, mcp",
"settingsSearch.tabKeywords.credits": "credits, saldo, opwaarderen, herladen, credits kopen",
"settingsSearch.tabKeywords.creds": "referenties, geheimen, oauth",
@@ -1776,6 +1780,7 @@
"tab.apikey": "API-sleutelbeheer",
"tab.appearance": "Uiterlijk",
"tab.chatAppearance": "Chatweergave",
+ "tab.chatPreference": "Chatvoorkeuren",
"tab.common": "Weergave",
"tab.connector": "Connectors",
"tab.creds": "Referenties",
diff --git a/locales/pl-PL/agent.json b/locales/pl-PL/agent.json
index 92a4c872cc2..7157c841d96 100644
--- a/locales/pl-PL/agent.json
+++ b/locales/pl-PL/agent.json
@@ -500,6 +500,7 @@
"share.settings.tools.needsMemoryPermission": "Włącz również „Zezwól na odczyt mojej pamięci” powyżej, w przeciwnym razie to narzędzie pozostanie nieaktywne dla odwiedzających.",
"share.settings.tools.notAvailableToVisitors": "To narzędzie nigdy nie może być używane w udostępnionym uruchomieniu — uruchomienia odwiedzających są zablokowane przed Twoją bazą wiedzy i plikami Agenta.",
"share.settings.tools.onDemandDesc": "Nie włączono w tym Agencie. Po przyznaniu model włącza to w trybie odwiedzającego tylko wtedy, gdy jest to potrzebne.",
+ "share.settings.tools.ownerCredentials": "Odwiedzający korzystają z serwerów MCP, połączeń i wtyczek z Twoimi kontami i poświadczeniami.",
"share.settings.tools.showOnDemand": "Pokaż narzędzia na żądanie",
"share.settings.tools.title": "Narzędzia, z których mogą korzystać odwiedzający",
"share.settings.updateError": "Nie udało się zapisać zmiany. Spróbuj ponownie.",
@@ -543,7 +544,9 @@
"share.visitor.input.send": "Wyślij",
"share.visitor.input.stop": "Zatrzymaj",
"share.visitor.privacyNotice": "Ta rozmowa jest uruchamiana na koncie właściciela i może być dla niego widoczna. Unikaj udostępniania wrażliwych informacji.",
+ "share.visitor.privacyNoticeCreatorVisible": "Ten temat działa na koncie twórcy. Twórca włączył dostęp do tematu i może czytać jego wiadomości, więc unikaj udostępniania poufnych informacji.",
"share.visitor.privacyNoticeWorkspace": "Ten temat jest opłacany przez obszar roboczy i może być widoczny dla twórcy Agenta. Unikaj udostępniania poufnych informacji.",
+ "share.visitor.privacyNoticeWorkspaceCreatorVisible": "Ten temat działa w obszarze roboczym właściciela. Twórca Agenta włączył dostęp do tematu i może czytać jego wiadomości, więc unikaj udostępniania poufnych informacji.",
"share.visitor.profile.about": "O",
"share.visitor.profile.createdBy": "Utworzony przez {{creator}}",
"share.visitor.profile.cta": "Rozpocznij rozmowę",
diff --git a/locales/pl-PL/chat.json b/locales/pl-PL/chat.json
index ef03f933729..4648249d2da 100644
--- a/locales/pl-PL/chat.json
+++ b/locales/pl-PL/chat.json
@@ -369,10 +369,14 @@
"defaultGroupChat": "Grupa",
"defaultList": "Lista domyślna",
"defaultSession": "Domyślny Agent",
+ "desktopNotification.agentFailed.body": "Otwórz rozmowę, aby uzyskać szczegóły",
+ "desktopNotification.agentFailed.title": "{{name}} napotkał problem",
"desktopNotification.aiReplyCompleted.body": "Odpowiedź Agenta jest gotowa",
"desktopNotification.aiReplyCompleted.title": "Odpowiedź zakończona",
"desktopNotification.humanApprovalRequired.body": "Agent wymaga Twojej zgody, aby kontynuować",
"desktopNotification.humanApprovalRequired.title": "Wymagana zgoda",
+ "desktopNotification.workingDirectoryUnavailable.body": "Katalog roboczy niedostępny: {{path}}",
+ "desktopNotification.workingDirectoryUnavailable.bodyWithoutPath": "Katalog roboczy niedostępny: folder zapisany dla tej rozmowy już nie istnieje",
"devinInstallGuide.actions.openDocs": "Otwórz przewodnik instalacji",
"devinInstallGuide.actions.openSystemTools": "Otwórz narzędzia systemowe",
"devinInstallGuide.afterInstall": "Po zainstalowaniu uruchom `devin auth login`, a następnie spróbuj ponownie wysłać wiadomość lub kliknij Wykryj ponownie w Narzędziach systemowych.",
@@ -1442,6 +1446,7 @@
"heteroAgent.executionTarget.gateway": "Brama",
"heteroAgent.executionTarget.gatewayDesc": "Uruchom przez bramę urządzenia, aby inne klienty mogły śledzić postęp",
"heteroAgent.executionTarget.infoTooltip": "Wybierz, gdzie działa ten Agent. Urządzenie może odczytywać i zapisywać pliki lub obsługiwać komputer; Cloud Sandbox działa w izolowanym tymczasowym środowisku.",
+ "heteroAgent.executionTarget.loadFailed": "Nie udało się załadować urządzeń.",
"heteroAgent.executionTarget.loading": "Ładowanie urządzeń…",
"heteroAgent.executionTarget.local": "To urządzenie",
"heteroAgent.executionTarget.localDesc": "Uruchom jako lokalny proces w tej aplikacji desktopowej",
@@ -1461,6 +1466,7 @@
"heteroAgent.executionTarget.onlineConnections_one": "Online · {{count}} połączenie",
"heteroAgent.executionTarget.onlineConnections_other": "Online · {{count}} połączenia",
"heteroAgent.executionTarget.personalGroup": "Osobiste",
+ "heteroAgent.executionTarget.presenceChecking": "Sprawdzanie statusu…",
"heteroAgent.executionTarget.projectDevicesHint": "Wyświetlane są tylko urządzenia z katalogiem roboczym tego projektu. Dodaj katalog dla innego urządzenia w ustawieniach projektu.",
"heteroAgent.executionTarget.reconnect": "Połącz ponownie",
"heteroAgent.executionTarget.reconnectFailed": "Nie udało się ponownie połączyć tego urządzenia. Upewnij się, że aplikacja na komputerze działa, a następnie spróbuj ponownie.",
@@ -1559,6 +1565,8 @@
"input.addAiPrefillUnsupported": "Obecny model nie obsługuje zakończenia rozmowy wiadomością asystenta. Dodaj wiadomość użytkownika przed wysłaniem.",
"input.addUser": "Dodaj wiadomość użytkownika",
"input.agentModeUnsupportedModel": "Obecny model nie obsługuje agentowego wywoływania narzędzi. Przełącz się na model z funkcją agenta, aby uzyskać najlepsze doświadczenie.",
+ "input.agentSlugMoved": "Ten link teraz otwiera innego agenta. Przełączanie — spróbuj ponownie, gdy się otworzy. Twój szkic został zachowany.",
+ "input.agentSlugUnconfirmed": "Nie udało się potwierdzić, którego agenta otwiera ten link. Sprawdź swoje połączenie, a następnie spróbuj ponownie.",
"input.costEstimate.creditsPerMillionTokens": "{{credits}} kredytów/M tokenów",
"input.costEstimate.hint": "Szacowany koszt: ~{{credits}} kredytów",
"input.costEstimate.inputLabel": "Wejście",
@@ -3241,6 +3249,7 @@
"workingPanel.overview.ports.copy": "Skopiuj link",
"workingPanel.overview.ports.createFailed": "Nie udało się udostępnić portu",
"workingPanel.overview.ports.detected.available": "{{count}} do otwarcia",
+ "workingPanel.overview.ports.detected.checking": "Sprawdzanie, które porty są uruchomione…",
"workingPanel.overview.ports.detected.expose": "Otwórz",
"workingPanel.overview.ports.detected.heading": "Wykryto",
"workingPanel.overview.ports.detected.hideOthers": "Ukryj inne porty",
diff --git a/locales/pl-PL/setting.json b/locales/pl-PL/setting.json
index 00d2f0cc86c..218aa1a88a3 100644
--- a/locales/pl-PL/setting.json
+++ b/locales/pl-PL/setting.json
@@ -272,6 +272,8 @@
"artworkStudio.upload": "Prześlij obraz",
"artworkStudio.uploadSpec.avatar": "1:1 · PNG / JPG ≤ 1 MB",
"artworkStudio.uploadSpec.fullBody": "3:4 · przezroczysty PNG ≤ 1 MB",
+ "chatPreference.assist.desc": "Preferencje osobiste: dotyczą tylko Ciebie, w Twojej przestrzeni osobistej i w każdym obszarze roboczym.",
+ "chatPreference.assist.title": "Pomoc w czacie",
"checking": "Sprawdzanie...",
"checkingPermissions": "Sprawdzanie uprawnień...",
"completionSound.banner.desc": "Dźwięk powiadomienia, który pojawia się, gdy czat kończy się, a LobeHub działa w tle. Ustawienia macOS Focus i powiadomień dla poszczególnych aplikacji nadal obowiązują.",
@@ -551,6 +553,7 @@
"devices.share.viewerHint": "Osoby przeglądające nie mogą udostępniać urządzeń",
"devices.share.visibilityTag.private": "Prywatne",
"devices.share.visibilityTag.public": "Przestrzeń robocza",
+ "devices.status.checking": "Sprawdzanie statusu…",
"devices.status.offline": "Offline",
"devices.status.online": "Online",
"devices.status.onlineConnections_one": "Online · {{count}} połączenie",
@@ -1558,6 +1561,7 @@
"settingsSearch.tabKeywords.apikey": "api, klucz api, apikey, token, sekret, klucz osobisty",
"settingsSearch.tabKeywords.appearance": "wygląd, motyw, tryb ciemny, tryb jasny, czcionka, język, kolor, tło",
"settingsSearch.tabKeywords.billing": "rozliczenia, płatność, faktura, karta, transakcja",
+ "settingsSearch.tabKeywords.chatPreference": "preferencje czatu, sugestie dalszych działań, sugestie wprowadzania, autouzupełnianie",
"settingsSearch.tabKeywords.connector": "łączniki, integracje, mcp",
"settingsSearch.tabKeywords.credits": "kredyty, saldo, doładowanie, zasilenie, kup kredyty",
"settingsSearch.tabKeywords.creds": "poświadczenia, sekrety, oauth",
@@ -1776,6 +1780,7 @@
"tab.apikey": "Zarządzanie kluczami API",
"tab.appearance": "Wygląd",
"tab.chatAppearance": "Wygląd czatu",
+ "tab.chatPreference": "Preferencje czatu",
"tab.common": "Wygląd",
"tab.connector": "Konektory",
"tab.creds": "Poświadczenia",
diff --git a/locales/pt-BR/agent.json b/locales/pt-BR/agent.json
index abd643b120f..d89cf450234 100644
--- a/locales/pt-BR/agent.json
+++ b/locales/pt-BR/agent.json
@@ -500,6 +500,7 @@
"share.settings.tools.needsMemoryPermission": "Também ative “Permitir leitura da minha memória” acima, ou esta ferramenta permanecerá inativa para os visitantes.",
"share.settings.tools.notAvailableToVisitors": "Esta ferramenta nunca pode ser usada em uma execução compartilhada — execuções de visitantes são bloqueadas de sua base de conhecimento e arquivos do Agente.",
"share.settings.tools.onDemandDesc": "Não habilitado neste Agente. Uma vez concedido, o modelo o ativa em uma execução de visitante apenas quando necessário.",
+ "share.settings.tools.ownerCredentials": "Os visitantes usam servidores, conexões e plugins MCP com suas contas e credenciais.",
"share.settings.tools.showOnDemand": "Mostrar ferramentas sob demanda",
"share.settings.tools.title": "Ferramentas que os visitantes podem usar",
"share.settings.updateError": "Não foi possível salvar a alteração. Por favor, tente novamente.",
@@ -543,7 +544,9 @@
"share.visitor.input.send": "Enviar",
"share.visitor.input.stop": "Parar",
"share.visitor.privacyNotice": "Esta conversa é executada na conta do proprietário e pode ser visível para ele. Evite compartilhar informações sensíveis.",
+ "share.visitor.privacyNoticeCreatorVisible": "Este tópico é executado na conta do criador. O criador ativou o acesso ao tópico e pode ler suas mensagens, então evite compartilhar informações sensíveis.",
"share.visitor.privacyNoticeWorkspace": "Este tópico é pago pelo Espaço de Trabalho e pode ser visível para o criador do Agente. Evite compartilhar informações sensíveis.",
+ "share.visitor.privacyNoticeWorkspaceCreatorVisible": "Este tópico é executado no Workspace do proprietário. O criador do Agente ativou o acesso ao tópico e pode ler suas mensagens, então evite compartilhar informações sensíveis.",
"share.visitor.profile.about": "Sobre",
"share.visitor.profile.createdBy": "Criado por {{creator}}",
"share.visitor.profile.cta": "Iniciar uma conversa",
diff --git a/locales/pt-BR/chat.json b/locales/pt-BR/chat.json
index 015b26d945d..d17135a97ee 100644
--- a/locales/pt-BR/chat.json
+++ b/locales/pt-BR/chat.json
@@ -369,10 +369,14 @@
"defaultGroupChat": "Grupo",
"defaultList": "Lista Padrão",
"defaultSession": "Agente Padrão",
+ "desktopNotification.agentFailed.body": "Abra a conversa para mais detalhes",
+ "desktopNotification.agentFailed.title": "{{name}} encontrou um problema",
"desktopNotification.aiReplyCompleted.body": "Resposta do agente pronta",
"desktopNotification.aiReplyCompleted.title": "Resposta concluída",
"desktopNotification.humanApprovalRequired.body": "Um agente precisa da sua aprovação para continuar",
"desktopNotification.humanApprovalRequired.title": "Aprovação necessária",
+ "desktopNotification.workingDirectoryUnavailable.body": "Diretório de trabalho indisponível: {{path}}",
+ "desktopNotification.workingDirectoryUnavailable.bodyWithoutPath": "Diretório de trabalho indisponível: a pasta salva para esta conversa não existe mais",
"devinInstallGuide.actions.openDocs": "Abrir Guia de Instalação",
"devinInstallGuide.actions.openSystemTools": "Abrir Ferramentas do Sistema",
"devinInstallGuide.afterInstall": "Após instalar, execute `devin auth login`, então tente novamente sua mensagem ou clique em Re-detect nas Ferramentas do Sistema.",
@@ -1442,6 +1446,7 @@
"heteroAgent.executionTarget.gateway": "Gateway",
"heteroAgent.executionTarget.gatewayDesc": "Execute através do gateway do dispositivo para que outros clientes possam acompanhar o progresso",
"heteroAgent.executionTarget.infoTooltip": "Escolha onde este Agente será executado. Um dispositivo pode ler e escrever arquivos ou operar um computador; o Cloud Sandbox funciona em um ambiente temporário isolado.",
+ "heteroAgent.executionTarget.loadFailed": "Não foi possível carregar os dispositivos.",
"heteroAgent.executionTarget.loading": "Carregando dispositivos…",
"heteroAgent.executionTarget.local": "Este dispositivo",
"heteroAgent.executionTarget.localDesc": "Executar como um processo local neste aplicativo desktop",
@@ -1461,6 +1466,7 @@
"heteroAgent.executionTarget.onlineConnections_one": "Online · {{count}} conexão",
"heteroAgent.executionTarget.onlineConnections_other": "Online · {{count}} conexões",
"heteroAgent.executionTarget.personalGroup": "Pessoal",
+ "heteroAgent.executionTarget.presenceChecking": "Verificando status…",
"heteroAgent.executionTarget.projectDevicesHint": "Apenas dispositivos com o diretório de trabalho deste projeto estão listados. Adicione um diretório para outro dispositivo nas configurações do projeto.",
"heteroAgent.executionTarget.reconnect": "Reconectar",
"heteroAgent.executionTarget.reconnectFailed": "Não foi possível reconectar este dispositivo. Certifique-se de que o aplicativo de desktop está em execução e tente novamente.",
@@ -1559,6 +1565,8 @@
"input.addAiPrefillUnsupported": "O modelo atual não suporta encerrar a conversa com uma mensagem do assistente. Siga com uma mensagem do usuário antes de enviar.",
"input.addUser": "Adicionar mensagem de usuário",
"input.agentModeUnsupportedModel": "O modelo atual não suporta chamadas de ferramentas agentivas. Troque para um modelo com capacidade agentiva para uma melhor experiência.",
+ "input.agentSlugMoved": "Este link agora abre um agente diferente. Alternando para ele — tente novamente assim que abrir. Seu rascunho foi mantido.",
+ "input.agentSlugUnconfirmed": "Não foi possível confirmar qual agente este link abre. Verifique sua conexão e tente novamente.",
"input.costEstimate.creditsPerMillionTokens": "{{credits}} créditos/M tokens",
"input.costEstimate.hint": "Custo estimado: ~{{credits}} créditos",
"input.costEstimate.inputLabel": "Entrada",
@@ -3241,6 +3249,7 @@
"workingPanel.overview.ports.copy": "Copiar link",
"workingPanel.overview.ports.createFailed": "Não foi possível expor a porta",
"workingPanel.overview.ports.detected.available": "{{count}} para abrir",
+ "workingPanel.overview.ports.detected.checking": "Verificando quais portas estão em execução…",
"workingPanel.overview.ports.detected.expose": "Abrir",
"workingPanel.overview.ports.detected.heading": "Detectado",
"workingPanel.overview.ports.detected.hideOthers": "Ocultar outras portas",
diff --git a/locales/pt-BR/setting.json b/locales/pt-BR/setting.json
index 2f2d9fd0151..ac0000dc633 100644
--- a/locales/pt-BR/setting.json
+++ b/locales/pt-BR/setting.json
@@ -272,6 +272,8 @@
"artworkStudio.upload": "Carregar imagem",
"artworkStudio.uploadSpec.avatar": "1:1 · PNG / JPG ≤ 1 MB",
"artworkStudio.uploadSpec.fullBody": "3:4 · PNG transparente ≤ 1 MB",
+ "chatPreference.assist.desc": "Preferências pessoais: elas se aplicam apenas a você, no seu espaço pessoal e em cada espaço de trabalho.",
+ "chatPreference.assist.title": "Assistência de Chat",
"checking": "Verificando...",
"checkingPermissions": "Verificando permissões...",
"completionSound.banner.desc": "Som que a barra de notificação emite quando um chat termina enquanto o LobeHub está em segundo plano. As configurações de Foco do macOS e notificações por aplicativo ainda se aplicam.",
@@ -551,6 +553,7 @@
"devices.share.viewerHint": "Visualizadores não podem compartilhar dispositivos",
"devices.share.visibilityTag.private": "Privado",
"devices.share.visibilityTag.public": "Espaço de Trabalho",
+ "devices.status.checking": "Verificando status…",
"devices.status.offline": "Offline",
"devices.status.online": "Online",
"devices.status.onlineConnections_one": "Online · {{count}} conexão",
@@ -1558,6 +1561,7 @@
"settingsSearch.tabKeywords.apikey": "api, chave api, apikey, token, segredo, chave pessoal",
"settingsSearch.tabKeywords.appearance": "aparência, tema, modo escuro, modo claro, fonte, idioma, cor, fundo",
"settingsSearch.tabKeywords.billing": "faturamento, pagamento, fatura, cartão, transação",
+ "settingsSearch.tabKeywords.chatPreference": "preferências de chat, sugestões de acompanhamento, sugestões de entrada, autocompletar",
"settingsSearch.tabKeywords.connector": "conectores, integrações, mcp",
"settingsSearch.tabKeywords.credits": "créditos, saldo, recarga, recarregar, comprar créditos",
"settingsSearch.tabKeywords.creds": "credenciais, segredos, oauth",
@@ -1776,6 +1780,7 @@
"tab.apikey": "Gerenciamento de Chaves API",
"tab.appearance": "Aparência",
"tab.chatAppearance": "Aparência do Chat",
+ "tab.chatPreference": "Preferências de Chat",
"tab.common": "Aparência",
"tab.connector": "Conectores",
"tab.creds": "Credenciais",
diff --git a/locales/ru-RU/agent.json b/locales/ru-RU/agent.json
index 400d4e84402..7dad6d53fdc 100644
--- a/locales/ru-RU/agent.json
+++ b/locales/ru-RU/agent.json
@@ -500,6 +500,7 @@
"share.settings.tools.needsMemoryPermission": "Также включите «Разрешить чтение моей памяти» выше, иначе этот инструмент останется неактивным для посетителей.",
"share.settings.tools.notAvailableToVisitors": "Этот инструмент никогда не может быть использован в общем запуске — запуски посетителей заблокированы для вашей базы знаний и файлов агента.",
"share.settings.tools.onDemandDesc": "Не включено для этого Агента. После предоставления модель включает это только при необходимости во время сеанса посетителя.",
+ "share.settings.tools.ownerCredentials": "Посетители используют серверы MCP, подключения и плагины с вашими учетными записями и учетными данными.",
"share.settings.tools.showOnDemand": "Показать инструменты по запросу",
"share.settings.tools.title": "Инструменты, доступные посетителям",
"share.settings.updateError": "Не удалось сохранить изменения. Пожалуйста, попробуйте снова.",
@@ -543,7 +544,9 @@
"share.visitor.input.send": "Отправить",
"share.visitor.input.stop": "Остановить",
"share.visitor.privacyNotice": "Эта беседа выполняется за счет владельца и может быть видна ему. Избегайте делиться конфиденциальной информацией.",
+ "share.visitor.privacyNoticeCreatorVisible": "Эта тема работает на аккаунте создателя. Создатель включил доступ к теме и может читать её сообщения, поэтому избегайте делиться конфиденциальной информацией.",
"share.visitor.privacyNoticeWorkspace": "Эта тема оплачивается рабочим пространством и может быть видна создателю агента. Избегайте делиться конфиденциальной информацией.",
+ "share.visitor.privacyNoticeWorkspaceCreatorVisible": "Эта тема работает в рабочем пространстве владельца. Создатель Агента включил доступ к теме и может читать её сообщения, поэтому избегайте делиться конфиденциальной информацией.",
"share.visitor.profile.about": "О программе",
"share.visitor.profile.createdBy": "Создано {{creator}}",
"share.visitor.profile.cta": "Начать разговор",
diff --git a/locales/ru-RU/chat.json b/locales/ru-RU/chat.json
index 2b8ffa65373..2460193a6ef 100644
--- a/locales/ru-RU/chat.json
+++ b/locales/ru-RU/chat.json
@@ -369,10 +369,14 @@
"defaultGroupChat": "Группа",
"defaultList": "Список по умолчанию",
"defaultSession": "Агент по умолчанию",
+ "desktopNotification.agentFailed.body": "Откройте беседу для подробностей",
+ "desktopNotification.agentFailed.title": "{{name}} столкнулся с проблемой",
"desktopNotification.aiReplyCompleted.body": "Ответ агента готов",
"desktopNotification.aiReplyCompleted.title": "Ответ завершён",
"desktopNotification.humanApprovalRequired.body": "Агенту требуется ваше подтверждение для продолжения",
"desktopNotification.humanApprovalRequired.title": "Требуется подтверждение",
+ "desktopNotification.workingDirectoryUnavailable.body": "Рабочая директория недоступна: {{path}}",
+ "desktopNotification.workingDirectoryUnavailable.bodyWithoutPath": "Рабочая директория недоступна: папка, сохраненная для этого разговора, больше не существует",
"devinInstallGuide.actions.openDocs": "Открыть руководство по установке",
"devinInstallGuide.actions.openSystemTools": "Открыть системные инструменты",
"devinInstallGuide.afterInstall": "После установки выполните `devin auth login`, затем повторите попытку отправки сообщения или нажмите «Повторное обнаружение» в системных инструментах.",
@@ -1442,6 +1446,7 @@
"heteroAgent.executionTarget.gateway": "Шлюз",
"heteroAgent.executionTarget.gatewayDesc": "Запуск через шлюз устройства, чтобы другие клиенты могли следить за прогрессом",
"heteroAgent.executionTarget.infoTooltip": "Выберите, где будет работать этот агент. Устройство может читать и записывать файлы или управлять компьютером; Cloud Sandbox работает в изолированной временной среде.",
+ "heteroAgent.executionTarget.loadFailed": "Не удалось загрузить устройства.",
"heteroAgent.executionTarget.loading": "Загрузка устройств…",
"heteroAgent.executionTarget.local": "Это устройство",
"heteroAgent.executionTarget.localDesc": "Запуск как локальный процесс в этом настольном приложении",
@@ -1461,6 +1466,7 @@
"heteroAgent.executionTarget.onlineConnections_one": "Онлайн · {{count}} соединение",
"heteroAgent.executionTarget.onlineConnections_other": "Онлайн · {{count}} соединений",
"heteroAgent.executionTarget.personalGroup": "Личное",
+ "heteroAgent.executionTarget.presenceChecking": "Проверка статуса…",
"heteroAgent.executionTarget.projectDevicesHint": "Указаны только устройства с рабочей директорией этого проекта. Добавьте директорию для другого устройства в настройках проекта.",
"heteroAgent.executionTarget.reconnect": "Переподключить",
"heteroAgent.executionTarget.reconnectFailed": "Не удалось переподключить это устройство. Убедитесь, что настольное приложение запущено, затем попробуйте снова.",
@@ -1559,6 +1565,8 @@
"input.addAiPrefillUnsupported": "Текущая модель не поддерживает завершение разговора сообщением ассистента. Добавьте сообщение пользователя перед отправкой.",
"input.addUser": "Добавить сообщение пользователя",
"input.agentModeUnsupportedModel": "Текущая модель не поддерживает вызов инструментов агента. Переключитесь на модель с возможностями агента для лучшего опыта.",
+ "input.agentSlugMoved": "Эта ссылка теперь открывает другого агента. Переключаемся на него — попробуйте снова, как только он откроется. Ваш черновик сохранен.",
+ "input.agentSlugUnconfirmed": "Не удалось подтвердить, какого агента открывает эта ссылка. Проверьте подключение, затем попробуйте снова.",
"input.costEstimate.creditsPerMillionTokens": "{{credits}} кредитов/М токенов",
"input.costEstimate.hint": "Ориентировочная стоимость: ~{{credits}} кредитов",
"input.costEstimate.inputLabel": "Ввод",
@@ -3241,6 +3249,7 @@
"workingPanel.overview.ports.copy": "Скопировать ссылку",
"workingPanel.overview.ports.createFailed": "Не удалось открыть порт",
"workingPanel.overview.ports.detected.available": "{{count}} для открытия",
+ "workingPanel.overview.ports.detected.checking": "Проверяем, какие порты работают…",
"workingPanel.overview.ports.detected.expose": "Открыть",
"workingPanel.overview.ports.detected.heading": "Обнаружено",
"workingPanel.overview.ports.detected.hideOthers": "Скрыть другие порты",
diff --git a/locales/ru-RU/setting.json b/locales/ru-RU/setting.json
index 2651c4470ef..c4a20c2cc6c 100644
--- a/locales/ru-RU/setting.json
+++ b/locales/ru-RU/setting.json
@@ -272,6 +272,8 @@
"artworkStudio.upload": "Загрузить изображение",
"artworkStudio.uploadSpec.avatar": "1:1 · PNG / JPG ≤ 1 MB",
"artworkStudio.uploadSpec.fullBody": "3:4 · прозрачный PNG ≤ 1 MB",
+ "chatPreference.assist.desc": "Личные предпочтения: они применяются только к вам, в вашем личном пространстве и в каждом рабочем пространстве.",
+ "chatPreference.assist.title": "Чат Ассистент",
"checking": "Проверка...",
"checkingPermissions": "Проверка разрешений...",
"completionSound.banner.desc": "Звук уведомления, который воспроизводится, когда чат завершается, пока LobeHub находится в фоновом режиме. Настройки macOS Focus и уведомлений для приложений все еще применяются.",
@@ -551,6 +553,7 @@
"devices.share.viewerHint": "Просмотрщики не могут делиться устройствами",
"devices.share.visibilityTag.private": "Личное",
"devices.share.visibilityTag.public": "Рабочее пространство",
+ "devices.status.checking": "Проверка статуса…",
"devices.status.offline": "Оффлайн",
"devices.status.online": "Онлайн",
"devices.status.onlineConnections_one": "Онлайн · {{count}} подключение",
@@ -1558,6 +1561,7 @@
"settingsSearch.tabKeywords.apikey": "api, api ключ, apikey, токен, секрет, персональный ключ",
"settingsSearch.tabKeywords.appearance": "внешний вид, тема, темный режим, светлый режим, шрифт, язык, цвет, фон",
"settingsSearch.tabKeywords.billing": "оплата, платеж, счет, карта, транзакция",
+ "settingsSearch.tabKeywords.chatPreference": "предпочтения чата, предложения по продолжению, предложения ввода, автозаполнение",
"settingsSearch.tabKeywords.connector": "коннекторы, интеграции, mcp",
"settingsSearch.tabKeywords.credits": "кредиты, баланс, пополнение, зарядка, покупка кредитов",
"settingsSearch.tabKeywords.creds": "учетные данные, секреты, oauth",
@@ -1776,6 +1780,7 @@
"tab.apikey": "Управление API-ключами",
"tab.appearance": "Внешний вид",
"tab.chatAppearance": "Внешний вид чата",
+ "tab.chatPreference": "Предпочтения чата",
"tab.common": "Внешний вид",
"tab.connector": "Коннекторы",
"tab.creds": "Учетные данные",
diff --git a/locales/tr-TR/agent.json b/locales/tr-TR/agent.json
index 0a432d829ca..91e7a5278e5 100644
--- a/locales/tr-TR/agent.json
+++ b/locales/tr-TR/agent.json
@@ -500,6 +500,7 @@
"share.settings.tools.needsMemoryPermission": "Yukarıdaki “Hafızamı okumaya izin ver” seçeneğini de açın, aksi takdirde bu araç ziyaretçiler için etkisiz kalır.",
"share.settings.tools.notAvailableToVisitors": "Bu araç hiçbir zaman paylaşılan bir çalıştırmada kullanılamaz — ziyaretçi çalıştırmaları bilgi tabanınıza ve Ajan dosyalarınıza erişemez.",
"share.settings.tools.onDemandDesc": "Bu Ajan üzerinde etkinleştirilmedi. İzin verildiğinde, model bunu yalnızca gerektiğinde bir ziyaretçi çalıştırmasında etkinleştirir.",
+ "share.settings.tools.ownerCredentials": "Ziyaretçiler, MCP sunucularını, bağlantılarını ve eklentilerini sizin hesaplarınız ve kimlik bilgilerinizle kullanır.",
"share.settings.tools.showOnDemand": "İhtiyaç halinde araçları göster",
"share.settings.tools.title": "Ziyaretçilerin kullanabileceği araçlar",
"share.settings.updateError": "Değişiklik kaydedilemedi. Lütfen tekrar deneyin.",
@@ -543,7 +544,9 @@
"share.visitor.input.send": "Gönder",
"share.visitor.input.stop": "Durdur",
"share.visitor.privacyNotice": "Bu konuşma sahibinin hesabında çalışır ve onlara görünür olabilir. Hassas bilgileri paylaşmaktan kaçının.",
+ "share.visitor.privacyNoticeCreatorVisible": "Bu konu, oluşturucunun hesabında çalışır. Oluşturucu, konu erişimini açmış ve mesajlarını okuyabilir, bu yüzden hassas bilgileri paylaşmaktan kaçının.",
"share.visitor.privacyNoticeWorkspace": "Bu konu Çalışma Alanı tarafından ödenir ve Ajan yaratıcısına görünür olabilir. Hassas bilgileri paylaşmaktan kaçının.",
+ "share.visitor.privacyNoticeWorkspaceCreatorVisible": "Bu konu, sahibinin Çalışma Alanında çalışır. Ajan oluşturucusu, konu erişimini açmış ve mesajlarını okuyabilir, bu yüzden hassas bilgileri paylaşmaktan kaçının.",
"share.visitor.profile.about": "Hakkında",
"share.visitor.profile.createdBy": "{{creator}} tarafından oluşturuldu",
"share.visitor.profile.cta": "Bir konuşma başlat",
diff --git a/locales/tr-TR/chat.json b/locales/tr-TR/chat.json
index 903fb34de41..5a6af48d799 100644
--- a/locales/tr-TR/chat.json
+++ b/locales/tr-TR/chat.json
@@ -369,10 +369,14 @@
"defaultGroupChat": "Grup",
"defaultList": "Varsayılan Liste",
"defaultSession": "Varsayılan Ajan",
+ "desktopNotification.agentFailed.body": "Detaylar için konuşmayı açın",
+ "desktopNotification.agentFailed.title": "{{name}} bir sorunla karşılaştı",
"desktopNotification.aiReplyCompleted.body": "Ajan yanıtı hazır",
"desktopNotification.aiReplyCompleted.title": "Yanıt tamamlandı",
"desktopNotification.humanApprovalRequired.body": "Bir Agent’ın devam etmek için onayınıza ihtiyacı var",
"desktopNotification.humanApprovalRequired.title": "Onay gerekli",
+ "desktopNotification.workingDirectoryUnavailable.body": "Çalışma dizini kullanılamıyor: {{path}}",
+ "desktopNotification.workingDirectoryUnavailable.bodyWithoutPath": "Çalışma dizini kullanılamıyor: Bu konuşma için kaydedilen klasör artık mevcut değil",
"devinInstallGuide.actions.openDocs": "Kurulum Kılavuzunu Aç",
"devinInstallGuide.actions.openSystemTools": "Sistem Araçlarını Aç",
"devinInstallGuide.afterInstall": "Kurulumdan sonra `devin auth login` komutunu çalıştırın, ardından mesajınızı yeniden deneyin veya Sistem Araçlarında Yeniden Algıla'ya tıklayın.",
@@ -1442,6 +1446,7 @@
"heteroAgent.executionTarget.gateway": "Ağ Geçidi",
"heteroAgent.executionTarget.gatewayDesc": "Diğer istemcilerin ilerlemeyi takip edebilmesi için cihaz ağ geçidi üzerinden çalıştırın",
"heteroAgent.executionTarget.infoTooltip": "Bu Ajanın nerede çalışacağını seçin. Bir cihaz dosya okuyabilir ve yazabilir veya bir bilgisayarı çalıştırabilir; Bulut Sandbox izole edilmiş geçici bir ortamda çalışır.",
+ "heteroAgent.executionTarget.loadFailed": "Cihazlar yüklenemedi.",
"heteroAgent.executionTarget.loading": "Cihazlar yükleniyor…",
"heteroAgent.executionTarget.local": "Bu cihaz",
"heteroAgent.executionTarget.localDesc": "Bu masaüstü uygulamasında yerel bir işlem olarak çalıştır",
@@ -1461,6 +1466,7 @@
"heteroAgent.executionTarget.onlineConnections_one": "Çevrimiçi · {{count}} bağlantı",
"heteroAgent.executionTarget.onlineConnections_other": "Çevrimiçi · {{count}} bağlantı",
"heteroAgent.executionTarget.personalGroup": "Kişisel",
+ "heteroAgent.executionTarget.presenceChecking": "Durum kontrol ediliyor…",
"heteroAgent.executionTarget.projectDevicesHint": "Sadece bu projenin çalışma dizinine sahip cihazlar listelenir. Proje ayarlarından başka bir cihaz için bir dizin ekleyin.",
"heteroAgent.executionTarget.reconnect": "Yeniden bağlan",
"heteroAgent.executionTarget.reconnectFailed": "Bu cihaza yeniden bağlanılamadı. Masaüstü uygulamasının çalıştığından emin olun ve tekrar deneyin.",
@@ -1559,6 +1565,8 @@
"input.addAiPrefillUnsupported": "Mevcut model, bir asistan mesajıyla konuşmayı sonlandırmayı desteklemiyor. Göndermeden önce bir kullanıcı mesajı ekleyin.",
"input.addUser": "Kullanıcı mesajı ekle",
"input.agentModeUnsupportedModel": "Mevcut model, araç çağırma yeteneğini desteklemiyor. En iyi deneyim için yetenekli bir modele geçin.",
+ "input.agentSlugMoved": "Bu bağlantı artık farklı bir ajanı açıyor. Ona geçiliyor — açıldıktan sonra tekrar deneyin. Taslağınız kaydedildi.",
+ "input.agentSlugUnconfirmed": "Bu bağlantının hangi ajanı açtığını doğrulayamadık. Bağlantınızı kontrol edin ve tekrar deneyin.",
"input.costEstimate.creditsPerMillionTokens": "{{credits}} kredi/M token",
"input.costEstimate.hint": "Tahmini maliyet: ~{{credits}} kredi",
"input.costEstimate.inputLabel": "Girdi",
@@ -3241,6 +3249,7 @@
"workingPanel.overview.ports.copy": "Bağlantıyı kopyala",
"workingPanel.overview.ports.createFailed": "Port açılamadı",
"workingPanel.overview.ports.detected.available": "{{count}} açılabilir",
+ "workingPanel.overview.ports.detected.checking": "Hangi portların çalıştığı kontrol ediliyor…",
"workingPanel.overview.ports.detected.expose": "Aç",
"workingPanel.overview.ports.detected.heading": "Tespit Edildi",
"workingPanel.overview.ports.detected.hideOthers": "Diğer portları gizle",
diff --git a/locales/tr-TR/setting.json b/locales/tr-TR/setting.json
index 8fae2caff8d..f68b70d5d97 100644
--- a/locales/tr-TR/setting.json
+++ b/locales/tr-TR/setting.json
@@ -272,6 +272,8 @@
"artworkStudio.upload": "Görsel yükle",
"artworkStudio.uploadSpec.avatar": "1:1 · PNG / JPG ≤ 1 MB",
"artworkStudio.uploadSpec.fullBody": "3:4 · şeffaf PNG ≤ 1 MB",
+ "chatPreference.assist.desc": "Kişisel tercihler: yalnızca size, kişisel alanınıza ve her çalışma alanına uygulanır.",
+ "chatPreference.assist.title": "Sohbet Asistanı",
"checking": "Kontrol ediliyor...",
"checkingPermissions": "İzinler kontrol ediliyor...",
"completionSound.banner.desc": "LobeHub arka planda çalışırken bir sohbet tamamlandığında bildirim bannerının taşıdığı ses. macOS Odak ve uygulama bazlı bildirim ayarları hala geçerlidir.",
@@ -551,6 +553,7 @@
"devices.share.viewerHint": "Görüntüleyiciler cihazları paylaşamaz",
"devices.share.visibilityTag.private": "Özel",
"devices.share.visibilityTag.public": "Çalışma Alanı",
+ "devices.status.checking": "Durum kontrol ediliyor…",
"devices.status.offline": "Çevrimdışı",
"devices.status.online": "Çevrimiçi",
"devices.status.onlineConnections_one": "Çevrimiçi · {{count}} bağlantı",
@@ -1558,6 +1561,7 @@
"settingsSearch.tabKeywords.apikey": "api, api anahtarı, apikey, token, gizli, kişisel anahtar",
"settingsSearch.tabKeywords.appearance": "görünüm, tema, karanlık mod, açık mod, yazı tipi, dil, renk, arka plan",
"settingsSearch.tabKeywords.billing": "faturalandırma, ödeme, fatura, kart, işlem",
+ "settingsSearch.tabKeywords.chatPreference": "sohbet tercihleri, takip önerileri, giriş önerileri, otomatik tamamlama",
"settingsSearch.tabKeywords.connector": "bağlayıcılar, entegrasyonlar, mcp",
"settingsSearch.tabKeywords.credits": "krediler, bakiye, yükleme, doldurma, kredi satın al",
"settingsSearch.tabKeywords.creds": "kimlik bilgileri, gizli bilgiler, oauth",
@@ -1776,6 +1780,7 @@
"tab.apikey": "API Anahtarı Yönetimi",
"tab.appearance": "Görünüm",
"tab.chatAppearance": "Sohbet Görünümü",
+ "tab.chatPreference": "Sohbet Tercihleri",
"tab.common": "Görünüm",
"tab.connector": "Bağlayıcılar",
"tab.creds": "Kimlik Bilgileri",
diff --git a/locales/vi-VN/agent.json b/locales/vi-VN/agent.json
index 80aa50d65d7..24717dd4ebb 100644
--- a/locales/vi-VN/agent.json
+++ b/locales/vi-VN/agent.json
@@ -500,6 +500,7 @@
"share.settings.tools.needsMemoryPermission": "Cũng bật “Cho phép đọc bộ nhớ của tôi” ở trên, nếu không công cụ này sẽ không hoạt động với khách truy cập.",
"share.settings.tools.notAvailableToVisitors": "Công cụ này không bao giờ có thể được sử dụng trong lần chạy chia sẻ — các lần chạy của khách truy cập bị chặn khỏi cơ sở kiến thức và tệp của Agent.",
"share.settings.tools.onDemandDesc": "Không được kích hoạt trên Ajan này. Khi được cấp quyền, mô hình sẽ bật nó trong một lần chạy của khách truy cập chỉ khi cần thiết.",
+ "share.settings.tools.ownerCredentials": "Khách truy cập sử dụng máy chủ MCP, kết nối và plugin với tài khoản và thông tin đăng nhập của bạn.",
"share.settings.tools.showOnDemand": "Hiển thị các công cụ theo yêu cầu",
"share.settings.tools.title": "Công cụ khách truy cập có thể sử dụng",
"share.settings.updateError": "Không thể lưu thay đổi. Vui lòng thử lại.",
@@ -543,7 +544,9 @@
"share.visitor.input.send": "Gửi",
"share.visitor.input.stop": "Dừng",
"share.visitor.privacyNotice": "Cuộc trò chuyện này chạy trên tài khoản của chủ sở hữu và có thể hiển thị với họ. Tránh chia sẻ thông tin nhạy cảm.",
+ "share.visitor.privacyNoticeCreatorVisible": "Chủ đề này chạy trên tài khoản của người tạo. Người tạo đã bật quyền truy cập chủ đề và có thể đọc các tin nhắn của nó, vì vậy hãy tránh chia sẻ thông tin nhạy cảm.",
"share.visitor.privacyNoticeWorkspace": "Chủ đề này được thanh toán bởi Không gian làm việc và có thể hiển thị với người tạo Ajan. Tránh chia sẻ thông tin nhạy cảm.",
+ "share.visitor.privacyNoticeWorkspaceCreatorVisible": "Chủ đề này chạy trong Workspace của chủ sở hữu. Người tạo Agent đã bật quyền truy cập chủ đề và có thể đọc các tin nhắn của nó, vì vậy hãy tránh chia sẻ thông tin nhạy cảm.",
"share.visitor.profile.about": "Giới thiệu",
"share.visitor.profile.createdBy": "Được tạo bởi {{creator}}",
"share.visitor.profile.cta": "Bắt đầu cuộc trò chuyện",
diff --git a/locales/vi-VN/chat.json b/locales/vi-VN/chat.json
index 5e38e0cf756..8b199178a47 100644
--- a/locales/vi-VN/chat.json
+++ b/locales/vi-VN/chat.json
@@ -369,10 +369,14 @@
"defaultGroupChat": "Nhóm",
"defaultList": "Danh sách mặc định",
"defaultSession": "Tác nhân mặc định",
+ "desktopNotification.agentFailed.body": "Mở cuộc trò chuyện để biết chi tiết",
+ "desktopNotification.agentFailed.title": "{{name}} gặp sự cố",
"desktopNotification.aiReplyCompleted.body": "Phản hồi từ Tác nhân đã sẵn sàng",
"desktopNotification.aiReplyCompleted.title": "Phản hồi hoàn tất",
"desktopNotification.humanApprovalRequired.body": "Một Agent cần bạn phê duyệt để tiếp tục",
"desktopNotification.humanApprovalRequired.title": "Yêu cầu phê duyệt",
+ "desktopNotification.workingDirectoryUnavailable.body": "Thư mục làm việc không khả dụng: {{path}}",
+ "desktopNotification.workingDirectoryUnavailable.bodyWithoutPath": "Thư mục làm việc không khả dụng: thư mục được lưu cho cuộc trò chuyện này không còn tồn tại",
"devinInstallGuide.actions.openDocs": "Mở Hướng dẫn Cài đặt",
"devinInstallGuide.actions.openSystemTools": "Mở Công cụ Hệ thống",
"devinInstallGuide.afterInstall": "Sau khi cài đặt, chạy `devin auth login`, sau đó thử lại tin nhắn của bạn hoặc nhấp vào Phát hiện lại trong Công cụ Hệ thống.",
@@ -1442,6 +1446,7 @@
"heteroAgent.executionTarget.gateway": "Cổng",
"heteroAgent.executionTarget.gatewayDesc": "Chạy qua cổng thiết bị để các khách hàng khác có thể theo dõi tiến trình",
"heteroAgent.executionTarget.infoTooltip": "Chọn nơi Agent này chạy. Một thiết bị có thể đọc và ghi tệp hoặc vận hành máy tính; Cloud Sandbox chạy trong môi trường tạm thời cách ly.",
+ "heteroAgent.executionTarget.loadFailed": "Không thể tải thiết bị.",
"heteroAgent.executionTarget.loading": "Đang tải thiết bị…",
"heteroAgent.executionTarget.local": "Thiết bị này",
"heteroAgent.executionTarget.localDesc": "Chạy như một quy trình cục bộ trên ứng dụng máy tính để bàn này",
@@ -1461,6 +1466,7 @@
"heteroAgent.executionTarget.onlineConnections_one": "Trực tuyến · {{count}} kết nối",
"heteroAgent.executionTarget.onlineConnections_other": "Trực tuyến · {{count}} kết nối",
"heteroAgent.executionTarget.personalGroup": "Cá nhân",
+ "heteroAgent.executionTarget.presenceChecking": "Đang kiểm tra trạng thái…",
"heteroAgent.executionTarget.projectDevicesHint": "Chỉ các thiết bị có thư mục làm việc của dự án này được liệt kê. Thêm một thư mục cho thiết bị khác trong cài đặt dự án.",
"heteroAgent.executionTarget.reconnect": "Kết nối lại",
"heteroAgent.executionTarget.reconnectFailed": "Không thể kết nối lại thiết bị này. Hãy đảm bảo ứng dụng trên máy tính đang chạy, sau đó thử lại.",
@@ -1559,6 +1565,8 @@
"input.addAiPrefillUnsupported": "Mô hình hiện tại không hỗ trợ kết thúc cuộc trò chuyện bằng tin nhắn của trợ lý. Hãy tiếp tục bằng một tin nhắn của người dùng trước khi gửi.",
"input.addUser": "Thêm tin nhắn người dùng",
"input.agentModeUnsupportedModel": "Mô hình hiện tại không hỗ trợ gọi công cụ tác nhân. Hãy chuyển sang mô hình có khả năng tác nhân để có trải nghiệm tốt nhất.",
+ "input.agentSlugMoved": "Liên kết này bây giờ mở một agent khác. Đang chuyển sang nó — hãy thử lại sau khi nó mở. Bản nháp của bạn đã được giữ lại.",
+ "input.agentSlugUnconfirmed": "Không thể xác nhận liên kết này mở agent nào. Kiểm tra kết nối của bạn, sau đó thử lại.",
"input.costEstimate.creditsPerMillionTokens": "{{credits}} tín dụng/M token",
"input.costEstimate.hint": "Chi phí ước tính: ~{{credits}} tín dụng",
"input.costEstimate.inputLabel": "Đầu vào",
@@ -3241,6 +3249,7 @@
"workingPanel.overview.ports.copy": "Sao chép liên kết",
"workingPanel.overview.ports.createFailed": "Không thể hiển thị cổng",
"workingPanel.overview.ports.detected.available": "{{count}} để mở",
+ "workingPanel.overview.ports.detected.checking": "Đang kiểm tra cổng nào đang chạy…",
"workingPanel.overview.ports.detected.expose": "Mở",
"workingPanel.overview.ports.detected.heading": "Đã phát hiện",
"workingPanel.overview.ports.detected.hideOthers": "Ẩn các cổng khác",
diff --git a/locales/vi-VN/setting.json b/locales/vi-VN/setting.json
index 16c2ae8b8de..3dece62e925 100644
--- a/locales/vi-VN/setting.json
+++ b/locales/vi-VN/setting.json
@@ -272,6 +272,8 @@
"artworkStudio.upload": "Tải lên hình ảnh",
"artworkStudio.uploadSpec.avatar": "1:1 · PNG / JPG ≤ 1 MB",
"artworkStudio.uploadSpec.fullBody": "3:4 · PNG trong suốt ≤ 1 MB",
+ "chatPreference.assist.desc": "Tùy chọn cá nhân: chúng chỉ áp dụng cho bạn, trong không gian cá nhân của bạn và mọi không gian làm việc.",
+ "chatPreference.assist.title": "Hỗ Trợ Trò Chuyện",
"checking": "Đang kiểm tra...",
"checkingPermissions": "Đang kiểm tra quyền...",
"completionSound.banner.desc": "Âm thanh thông báo xuất hiện khi một cuộc trò chuyện kết thúc trong khi LobeHub đang chạy ở chế độ nền. Cài đặt Tập trung của macOS và cài đặt thông báo theo ứng dụng vẫn được áp dụng.",
@@ -551,6 +553,7 @@
"devices.share.viewerHint": "Người xem không thể chia sẻ thiết bị",
"devices.share.visibilityTag.private": "Riêng tư",
"devices.share.visibilityTag.public": "Không gian làm việc",
+ "devices.status.checking": "Đang kiểm tra trạng thái…",
"devices.status.offline": "Ngoại tuyến",
"devices.status.online": "Trực tuyến",
"devices.status.onlineConnections_one": "Trực tuyến · {{count}} kết nối",
@@ -1558,6 +1561,7 @@
"settingsSearch.tabKeywords.apikey": "api, khóa api, apikey, token, bí mật, khóa cá nhân",
"settingsSearch.tabKeywords.appearance": "giao diện, chủ đề, chế độ tối, chế độ sáng, phông chữ, ngôn ngữ, màu sắc, nền",
"settingsSearch.tabKeywords.billing": "thanh toán, hóa đơn, thẻ, giao dịch",
+ "settingsSearch.tabKeywords.chatPreference": "tùy chọn trò chuyện, gợi ý tiếp theo, gợi ý nhập liệu, tự động hoàn thành",
"settingsSearch.tabKeywords.connector": "kết nối, tích hợp, mcp",
"settingsSearch.tabKeywords.credits": "tín dụng, số dư, nạp tiền, mua tín dụng",
"settingsSearch.tabKeywords.creds": "thông tin xác thực, bí mật, oauth",
@@ -1776,6 +1780,7 @@
"tab.apikey": "Quản Lý API Key",
"tab.appearance": "Giao diện",
"tab.chatAppearance": "Giao Diện Trò Chuyện",
+ "tab.chatPreference": "Tùy Chọn Trò Chuyện",
"tab.common": "Giao Diện",
"tab.connector": "Trình kết nối",
"tab.creds": "Thông Tin Xác Thực",
diff --git a/locales/zh-CN/setting.json b/locales/zh-CN/setting.json
index 1d742a95216..f145d2dd03d 100644
--- a/locales/zh-CN/setting.json
+++ b/locales/zh-CN/setting.json
@@ -272,6 +272,8 @@
"artworkStudio.upload": "上传",
"artworkStudio.uploadSpec.avatar": "1:1 · PNG / JPG ≤ 1 MB",
"artworkStudio.uploadSpec.fullBody": "3:4 · 透明底 PNG ≤ 1 MB",
+ "chatPreference.assist.desc": "个人偏好,仅对你自己生效,在个人空间和所有工作空间中通用。",
+ "chatPreference.assist.title": "对话辅助",
"checking": "检查中…",
"checkingPermissions": "检查权限中…",
"completionSound.banner.desc": "LobeHub 处于后台时,对话完成的通知横幅所带的声音。macOS 专注模式和应用级通知设置依然生效。",
@@ -1559,6 +1561,7 @@
"settingsSearch.tabKeywords.apikey": "密钥,令牌,个人密钥,API Key,apikey,api",
"settingsSearch.tabKeywords.appearance": "外观,主题,深色模式,浅色模式,字体,语言,颜色,背景",
"settingsSearch.tabKeywords.billing": "账单,支付,付款,发票,交易记录,银行卡",
+ "settingsSearch.tabKeywords.chatPreference": "对话偏好,跟进建议,输入建议,自动补全",
"settingsSearch.tabKeywords.connector": "连接器,集成,MCP",
"settingsSearch.tabKeywords.credits": "积分,余额,充值,购买积分",
"settingsSearch.tabKeywords.creds": "凭证,密钥,授权",
@@ -1777,6 +1780,7 @@
"tab.apikey": "API Key 管理",
"tab.appearance": "外观",
"tab.chatAppearance": "聊天外观",
+ "tab.chatPreference": "对话偏好",
"tab.common": "外观",
"tab.connector": "连接器",
"tab.creds": "凭证管理",
diff --git a/locales/zh-TW/agent.json b/locales/zh-TW/agent.json
index 1b1c5ad1a85..4d393219fd9 100644
--- a/locales/zh-TW/agent.json
+++ b/locales/zh-TW/agent.json
@@ -500,6 +500,7 @@
"share.settings.tools.needsMemoryPermission": "還需開啟上方的“允許讀取我的記憶”,否則此工具對訪客無效。",
"share.settings.tools.notAvailableToVisitors": "此工具無法在共享執行中使用——訪客執行被阻止訪問您的知識庫和代理文件。",
"share.settings.tools.onDemandDesc": "未在此 Agent 啟用。一旦授權,模型僅在需要時於訪客運行中啟用。",
+ "share.settings.tools.ownerCredentials": "訪客使用 MCP 伺服器、連接和插件時,會使用您的帳戶和憑證。",
"share.settings.tools.showOnDemand": "顯示隨需工具",
"share.settings.tools.title": "訪客可用的工具",
"share.settings.updateError": "無法保存更改。請重試。",
@@ -543,7 +544,9 @@
"share.visitor.input.send": "發送",
"share.visitor.input.stop": "停止",
"share.visitor.privacyNotice": "此對話在擁有者的帳戶上執行,可能對他們可見。避免分享敏感信息。",
+ "share.visitor.privacyNoticeCreatorVisible": "此主題在創建者的帳戶上運行。創建者已開啟主題訪問權限,可能會閱讀其訊息,因此請避免分享敏感資訊。",
"share.visitor.privacyNoticeWorkspace": "此主題由工作區支付,並可能對代理創建者可見。避免分享敏感信息。",
+ "share.visitor.privacyNoticeWorkspaceCreatorVisible": "此主題在擁有者的工作區中運行。代理創建者已開啟主題訪問權限,可能會閱讀其訊息,因此請避免分享敏感資訊。",
"share.visitor.profile.about": "關於",
"share.visitor.profile.createdBy": "由 {{creator}} 建立",
"share.visitor.profile.cta": "開始對話",
diff --git a/locales/zh-TW/chat.json b/locales/zh-TW/chat.json
index 71291b57997..a7d9f9bf56f 100644
--- a/locales/zh-TW/chat.json
+++ b/locales/zh-TW/chat.json
@@ -369,10 +369,14 @@
"defaultGroupChat": "群組",
"defaultList": "預設清單",
"defaultSession": "自定義助手",
+ "desktopNotification.agentFailed.body": "打開對話以查看詳細資訊",
+ "desktopNotification.agentFailed.title": "{{name}} 遇到了一個問題",
"desktopNotification.aiReplyCompleted.body": "AI 回覆生成完成",
"desktopNotification.aiReplyCompleted.title": "AI 回覆完成",
"desktopNotification.humanApprovalRequired.body": "某個 Agent 需要您的批准才能繼續",
"desktopNotification.humanApprovalRequired.title": "需要批准",
+ "desktopNotification.workingDirectoryUnavailable.body": "工作目錄不可用:{{path}}",
+ "desktopNotification.workingDirectoryUnavailable.bodyWithoutPath": "工作目錄不可用:此對話儲存的資料夾已不存在",
"devinInstallGuide.actions.openDocs": "打開安裝指南",
"devinInstallGuide.actions.openSystemTools": "打開系統工具",
"devinInstallGuide.afterInstall": "安裝後,執行 `devin auth login`,然後重試您的訊息或在系統工具中點擊重新檢測。",
@@ -1442,6 +1446,7 @@
"heteroAgent.executionTarget.gateway": "網關",
"heteroAgent.executionTarget.gatewayDesc": "通過設備網關運行,以便其他客戶端可以跟蹤進度",
"heteroAgent.executionTarget.infoTooltip": "選擇此代理運行的位置。一個設備可以讀寫文件或操作計算機;雲端沙盒則在一個隔離的臨時環境中運行。",
+ "heteroAgent.executionTarget.loadFailed": "無法載入設備。",
"heteroAgent.executionTarget.loading": "正在載入設備…",
"heteroAgent.executionTarget.local": "本設備",
"heteroAgent.executionTarget.localDesc": "在此桌面應用程式中作為本地進程運行",
@@ -1461,6 +1466,7 @@
"heteroAgent.executionTarget.onlineConnections_one": "在線 · {{count}} 個連接",
"heteroAgent.executionTarget.onlineConnections_other": "在線 · {{count}} 個連接",
"heteroAgent.executionTarget.personalGroup": "個人",
+ "heteroAgent.executionTarget.presenceChecking": "正在檢查狀態…",
"heteroAgent.executionTarget.projectDevicesHint": "僅列出具有此專案工作目錄的設備。請在專案設定中為其他設備新增目錄。",
"heteroAgent.executionTarget.reconnect": "重新連接",
"heteroAgent.executionTarget.reconnectFailed": "無法重新連接此裝置。請確保桌面應用程式正在運行,然後再試一次。",
@@ -1559,6 +1565,8 @@
"input.addAiPrefillUnsupported": "目前的模型不支援以助理訊息結束對話。請在發送前添加使用者訊息。",
"input.addUser": "新增一條使用者訊息",
"input.agentModeUnsupportedModel": "當前模型不支援代理工具調用。請切換到具有代理功能的模型以獲得最佳體驗。",
+ "input.agentSlugMoved": "此連結現在開啟的是不同的 Agent。正在切換到它 — 開啟後請再試一次。您的草稿已被保留。",
+ "input.agentSlugUnconfirmed": "無法確認此連結開啟的是哪個 Agent。請檢查您的連線,然後再試一次。",
"input.costEstimate.creditsPerMillionTokens": "{{credits}} 點數/M 個標記",
"input.costEstimate.hint": "預估成本:~{{credits}} 點數",
"input.costEstimate.inputLabel": "輸入",
@@ -3241,6 +3249,7 @@
"workingPanel.overview.ports.copy": "複製連結",
"workingPanel.overview.ports.createFailed": "無法公開該埠",
"workingPanel.overview.ports.detected.available": "{{count}} 可開啟",
+ "workingPanel.overview.ports.detected.checking": "正在檢查哪些埠正在運行…",
"workingPanel.overview.ports.detected.expose": "開啟",
"workingPanel.overview.ports.detected.heading": "已檢測",
"workingPanel.overview.ports.detected.hideOthers": "隱藏其他埠",
diff --git a/locales/zh-TW/setting.json b/locales/zh-TW/setting.json
index 5b806d87704..62f8aa2cd39 100644
--- a/locales/zh-TW/setting.json
+++ b/locales/zh-TW/setting.json
@@ -272,6 +272,8 @@
"artworkStudio.upload": "上傳圖片",
"artworkStudio.uploadSpec.avatar": "1:1 · PNG / JPG ≤ 1 MB",
"artworkStudio.uploadSpec.fullBody": "3:4 · 透明 PNG ≤ 1 MB",
+ "chatPreference.assist.desc": "個人偏好:僅適用於您,在您的個人空間和每個工作區中。",
+ "chatPreference.assist.title": "聊天助手",
"checking": "檢查中...",
"checkingPermissions": "檢查權限中...",
"completionSound.banner.desc": "當 LobeHub 在背景運行時,聊天完成後通知橫幅所攜帶的聲音。macOS 焦點模式和每個應用程式的通知設定仍然適用。",
@@ -551,6 +553,7 @@
"devices.share.viewerHint": "檢視者無法分享裝置",
"devices.share.visibilityTag.private": "私人",
"devices.share.visibilityTag.public": "工作區",
+ "devices.status.checking": "正在檢查狀態…",
"devices.status.offline": "離線",
"devices.status.online": "在線",
"devices.status.onlineConnections_one": "線上 · {{count}} 個連線",
@@ -1558,6 +1561,7 @@
"settingsSearch.tabKeywords.apikey": "api, api 密鑰, apikey, token, 密碼, 個人密鑰",
"settingsSearch.tabKeywords.appearance": "外觀, 主題, 深色模式, 淺色模式, 字體, 語言, 顏色, 背景",
"settingsSearch.tabKeywords.billing": "帳單, 付款, 發票, 卡片, 交易",
+ "settingsSearch.tabKeywords.chatPreference": "聊天偏好,後續建議,輸入建議,自動完成",
"settingsSearch.tabKeywords.connector": "連接器, 整合, MCP",
"settingsSearch.tabKeywords.credits": "點數, 餘額, 充值, 加值, 購買點數",
"settingsSearch.tabKeywords.creds": "憑證, 密鑰, OAuth",
@@ -1776,6 +1780,7 @@
"tab.apikey": "API Key 管理",
"tab.appearance": "外觀",
"tab.chatAppearance": "聊天外觀",
+ "tab.chatPreference": "聊天偏好",
"tab.common": "外觀",
"tab.connector": "連接器",
"tab.creds": "憑證",
diff --git a/packages/database/src/models/__tests__/user.systemAgent.test.ts b/packages/database/src/models/__tests__/user.systemAgent.test.ts
new file mode 100644
index 00000000000..2d64826eb85
--- /dev/null
+++ b/packages/database/src/models/__tests__/user.systemAgent.test.ts
@@ -0,0 +1,71 @@
+import { eq } from 'drizzle-orm';
+import { afterEach, beforeEach, describe, expect, it } from 'vitest';
+
+import { getTestDB } from '../../core/getTestDB';
+import { users, userSettings } from '../../schemas';
+import type { LobeChatDatabase } from '../../type';
+import { UserModel } from '../user';
+
+const userId = 'user-system-agent-test';
+
+const serverDB: LobeChatDatabase = await getTestDB();
+const userModel = new UserModel(serverDB, userId);
+
+describe('UserModel', () => {
+ beforeEach(async () => {
+ await serverDB.delete(users);
+ await serverDB.insert(users).values({ id: userId });
+ });
+
+ afterEach(async () => {
+ await serverDB.delete(users);
+ });
+
+ describe('mergeSystemAgentItemSetting', () => {
+ const readSystemAgent = async () =>
+ (
+ await serverDB.query.userSettings.findFirst({
+ where: eq(userSettings.id, userId),
+ })
+ )?.systemAgent;
+
+ it('should create the settings row when none exists', async () => {
+ await userModel.mergeSystemAgentItemSetting('followUpAction', { enabled: false });
+
+ expect(await readSystemAgent()).toEqual({ followUpAction: { enabled: false } });
+ });
+
+ it('should merge into one entry, preserving its other fields and sibling entries', async () => {
+ await serverDB.insert(userSettings).values({
+ id: userId,
+ systemAgent: {
+ followUpAction: { enabled: true, model: 'gpt-4o-mini', provider: 'openai' },
+ topic: { model: 'claude', provider: 'anthropic' },
+ },
+ });
+
+ await userModel.mergeSystemAgentItemSetting('followUpAction', { enabled: false });
+ await userModel.mergeSystemAgentItemSetting('inputCompletion', {
+ model: 'qwen',
+ provider: 'qwen',
+ });
+
+ expect(await readSystemAgent()).toEqual({
+ followUpAction: { enabled: false, model: 'gpt-4o-mini', provider: 'openai' },
+ inputCompletion: { model: 'qwen', provider: 'qwen' },
+ topic: { model: 'claude', provider: 'anthropic' },
+ });
+ });
+
+ it('should replace a legacy scalar stored under the same key', async () => {
+ await serverDB.insert(userSettings).values({
+ id: userId,
+ systemAgent: { followUpAction: 'legacy' },
+ });
+
+ await userModel.mergeSystemAgentItemSetting('followUpAction', { enabled: true });
+
+ expect(await readSystemAgent()).toEqual({ followUpAction: { enabled: true } });
+ });
+ });
+});
diff --git a/packages/database/src/models/user.ts b/packages/database/src/models/user.ts
index 7c8dc5ac01a..e15124adb84 100644
--- a/packages/database/src/models/user.ts
+++ b/packages/database/src/models/user.ts
@@ -1,5 +1,6 @@
import type {
SSOProvider,
+ SystemAgentItem,
UserGeneralConfig,
UserGuide,
UserKeyVaults,
@@ -435,6 +436,29 @@ export class UserModel {
});
};
+ /**
+ * Atomically merge a partial config into ONE `systemAgent` entry, leaving the
+ * entry's other fields and every sibling entry untouched. Same rationale as
+ * `replaceToolChannelsSetting`: the generic settings write replaces the whole
+ * column from a possibly-stale tab snapshot. Callers must restrict `key` to
+ * an allowlist; it is bound as a parameter, never interpolated.
+ */
+ mergeSystemAgentItemSetting = async (key: string, value: Partial<SystemAgentItem>) => {
+ const patch = JSON.stringify(value);
+ // A legacy scalar under the same key cannot be merged into — replace it.
+ const currentItem = sql`case when jsonb_typeof(${userSettings.systemAgent} -> ${key}::text) = 'object' then ${userSettings.systemAgent} -> ${key}::text else '{}'::jsonb end`;
+
+ return this.db
+ .insert(userSettings)
+ .values({ id: this.userId, systemAgent: { [key]: value } })
+ .onConflictDoUpdate({
+ set: {
+ systemAgent: sql`coalesce(${userSettings.systemAgent}, '{}'::jsonb) || jsonb_build_object(${key}::text, ${currentItem} || ${patch}::jsonb)`,
+ },
+ target: userSettings.id,
+ });
+ };
+
updatePreference = async (value: Partial<UserPreference>) => {
const user = await this.db.query.users.findFirst({ where: eq(users.id, this.userId) });
if (!user) return;
diff --git a/packages/locales/src/default/setting.ts b/packages/locales/src/default/setting.ts
index 653ead3e1d6..126754a5960 100644
--- a/packages/locales/src/default/setting.ts
+++ b/packages/locales/src/default/setting.ts
@@ -1,4 +1,7 @@
export default {
+ 'chatPreference.assist.desc':
+ 'Personal preferences: they only apply to you, in your personal space and every workspace.',
+ 'chatPreference.assist.title': 'Chat Assist',
'devices.cliUpdate.restart': 'Restart CLI',
'devices.cliUpdate.update': 'Update and restart',
'devices.cliUpdate.confirmDesc':
@@ -1478,6 +1481,8 @@ export default {
'settingsSearch.tabKeywords.appearance':
'appearance, theme, dark mode, light mode, font, language, color, background',
'settingsSearch.tabKeywords.billing': 'billing, payment, invoice, card, transaction',
+ 'settingsSearch.tabKeywords.chatPreference':
+ 'chat preferences, follow-up suggestions, input suggestions, autocomplete',
'settingsSearch.tabKeywords.connector': 'connectors, integrations, mcp',
'settingsSearch.tabKeywords.credits': 'credits, balance, top up, recharge, buy credits',
'settingsSearch.tabKeywords.creds': 'credentials, secrets, oauth',
@@ -1857,6 +1862,7 @@ When I am ___, I need ___
'tab.apikey': 'API Keys',
'tab.appearance': 'Appearance',
'tab.chatAppearance': 'Chat Appearance',
+ 'tab.chatPreference': 'Chat Preferences',
'tab.common': 'Appearance',
'tab.connector': 'Connectors',
'tab.creds': 'Credentials',
diff --git a/packages/types/src/user/settings/systemAgent.ts b/packages/types/src/user/settings/systemAgent.ts
index d7293201afb..2543e81db23 100644
--- a/packages/types/src/user/settings/systemAgent.ts
+++ b/packages/types/src/user/settings/systemAgent.ts
@@ -50,3 +50,16 @@ export interface UserServiceModelConfig
export type UserSystemAgentConfigKey = keyof UserSystemAgentConfig;
export type UserMemoryServiceModelConfigKey = keyof UserMemoryServiceModelConfig;
export type UserServiceModelConfigKey = keyof UserServiceModelConfig;
+
+/**
+ * Service-model entries that only shape the user's own chat surface (their
+ * input box and the chips under replies). They stay personal preferences even
+ * inside a workspace: every member may change them, unlike the rest of
+ * `systemAgent`, which requires workspace settings permission there.
+ */
+export const PERSONAL_SYSTEM_AGENT_KEYS = [
+ 'followUpAction',
+ 'inputCompletion',
+] as const satisfies readonly UserSystemAgentConfigKey[];
+
+export type PersonalSystemAgentKey = (typeof PERSONAL_SYSTEM_AGENT_KEYS)[number];
diff --git a/src/features/ServiceModel/ChatAssistForm.tsx b/src/features/ServiceModel/ChatAssistForm.tsx
new file mode 100644
index 00000000000..2bc04c6d550
--- /dev/null
+++ b/src/features/ServiceModel/ChatAssistForm.tsx
@@ -0,0 +1,137 @@
+'use client';
+
+import { Flexbox, Switch } from '@lobehub/ui';
+import { Form, type FormFieldProps, type FormGroupItem, useForm } from '@lobehub/ui/form';
+import isEqual from 'fast-deep-equal';
+import { memo } from 'react';
+import { useTranslation } from 'react-i18next';
+
+import AsyncError from '@/components/AsyncError';
+import AutoSaveHint from '@/components/Editor/AutoSaveHint';
+import { RouteLoading } from '@/components/Skeleton/RouteSegment';
+import { FORM_STYLE } from '@/const/layoutTokens';
+import ModelSelect from '@/features/ModelSelect';
+import { SettingsSearchAnchor } from '@/features/SettingsSearch/anchor';
+import { useUserStore } from '@/store/user';
+import { settingsSelectors } from '@/store/user/selectors';
+import { PERSONAL_SYSTEM_AGENT_KEYS, type PersonalSystemAgentKey } from '@/types/user/settings';
+
+import { useChatAssistRow } from './useChatAssistRow';
+
+interface ChatAssistControlProps {
+ itemKey: PersonalSystemAgentKey;
+}
+
+/** One row's switch + model picker, with the row's own save hint. */
+const ChatAssistControl = memo<ChatAssistControlProps>(({ itemKey }) => {
+ const { t } = useTranslation('setting');
+ const {
+ loading,
+ saveState: { status: saveStatus, lastSavedAt, retry },
+ update,
+ value,
+ } = useChatAssistRow(itemKey);
+ const featureDisabled = value.enabled === false;
+
+ return (
+ <Flexbox
+ align="center"
+ direction="horizontal"
+ gap={12}
+ justify="flex-end"
+ style={{ width: 'min(100%, 448px)' }}
+ >
+ {saveStatus !== 'idle' && (
+ <AutoSaveHint
+ lastUpdatedTime={lastSavedAt}
+ saveStatus={saveStatus}
+ style={{ flex: 'none' }}
+ onRetry={retry}
+ />
+ )}
+ {!featureDisabled && (
+ <ModelSelect
+ showAbility={false}
+ style={{ minWidth: 0, width: '100%' }}
+ value={value}
+ onChange={({ model, provider }) => update({ model, provider })}
+ />
+ )}
+ <Switch
+ aria-label={t(`systemAgent.${itemKey}.title`)}
+ checked={value.enabled}
+ loading={loading}
+ onChange={(enabled) => update({ enabled })}
+ />
+ </Flexbox>
+ );
+});
+
+ChatAssistControl.displayName = 'ChatAssistControl';
+
+/**
+ * The chat-assist entries of the service-model settings that stay personal
+ * inside a workspace (follow-up chips, input completion). Unlike
+ * `ModelAssignmentsForm`, nothing here is gated on workspace permissions:
+ * every member configures their own.
+ */
+const ChatAssistForm = memo(() => {
+ const { t } = useTranslation('setting');
+ const systemAgentSettings = useUserStore(settingsSelectors.currentSystemAgent, isEqual);
+ const [isUserStateInit, isUserStateInitError, refreshUserState] = useUserStore((s) => [
+ s.isUserStateInit,
+ s.isUserStateInitError,
+ s.refreshUserState,
+ ]);
+ const form = useForm();
+
+ if (!isUserStateInit) {
+ if (isUserStateInitError)
+ return (
+ <AsyncError
+ error={isUserStateInitError}
+ variant={'block'}
+ onRetry={() => refreshUserState()}
+ />
+ );
+ return <RouteLoading />;
+ }
+
+ const items: FormFieldProps[] = PERSONAL_SYSTEM_AGENT_KEYS.map((key) => {
+ const featureDisabled = systemAgentSettings[key].enabled === false;
+
+ return {
+ children: <ChatAssistControl itemKey={key} />,
+ desc: t(`systemAgent.${key}.modelDesc`),
+ label: (
+ <SettingsSearchAnchor id={`chat-preference-${key}`}>
+ <span style={{ opacity: featureDisabled ? 0.45 : 1 }}>
+ {t(`systemAgent.${key}.title`)}
+ </span>
+ </SettingsSearchAnchor>
+ ),
+ } satisfies FormFieldProps;
+ });
+
+ const group: FormGroupItem = {
+ children: items,
+ desc: t('chatPreference.assist.desc'),
+ title: t('chatPreference.assist.title'),
+ };
+
+ return (
+ <Form
+ collapsible={false}
+ form={form}
+ items={[group]}
+ itemsType={'group'}
+ variant={'filled'}
+ {...FORM_STYLE}
+ itemMinWidth={undefined}
+ />
+ );
+});
+
+ChatAssistForm.displayName = 'ChatAssistForm';
+
+export default ChatAssistForm;
diff --git a/src/features/ServiceModel/ModelAssignmentsForm.tsx b/src/features/ServiceModel/ModelAssignmentsForm.tsx
index 0ae2da784a4..127b37cf264 100644
--- a/src/features/ServiceModel/ModelAssignmentsForm.tsx
+++ b/src/features/ServiceModel/ModelAssignmentsForm.tsx
@@ -16,7 +16,11 @@ import { usePermission } from '@/hooks/usePermission';
import { useSaveState } from '@/hooks/useSaveState';
import { useUserStore } from '@/store/user';
import { settingsSelectors } from '@/store/user/selectors';
-import type { SystemAgentItem, UserServiceModelConfigKey } from '@/types/user/settings';
+import {
+ PERSONAL_SYSTEM_AGENT_KEYS,
+ type SystemAgentItem,
+ type UserServiceModelConfigKey,
+} from '@/types/user/settings';
type ModelAssignmentItemKey = Exclude<
UserServiceModelConfigKey,
@@ -56,7 +60,15 @@ const MEMORY_MODEL_ITEMS: SystemAgentModelItem[] = [
{ contextLimit: true, key: 'userMemoryEmbedding', modelType: 'embedding' },
];
-const ModelAssignmentsForm = memo(() => {
+interface ModelAssignmentsFormProps {
+ /**
+ * Drop the personal chat-assist rows (follow-up, input completion). The
+ * workspace surface edits them on its own Chat Preferences tab instead.
+ */
+ hidePersonalPreferences?: boolean;
+}
+
+const ModelAssignmentsForm = memo<ModelAssignmentsFormProps>(({ hidePersonalPreferences }) => {
const { t } = useTranslation('setting');
const { allowed: canManageServiceModel, reason } = usePermission('manage_settings');
const [defaultAgent, systemAgentSettings] = useUserStore(
@@ -232,7 +244,10 @@ const ModelAssignmentsForm = memo(() => {
},
);
- const optionalFeatureItems: FormFieldProps[] = OPTIONAL_FEATURE_ITEMS.map(({ key }) => {
+ const optionalFeatureItems: FormFieldProps[] = OPTIONAL_FEATURE_ITEMS.filter(
+ ({ key }) =>
+ !hidePersonalPreferences || !(PERSONAL_SYSTEM_AGENT_KEYS as readonly string[]).includes(key),
+ ).map(({ key }) => {
const value = systemAgentSettings[key];
const featureDisabled = value.enabled === false;
diff --git a/src/features/ServiceModel/index.ts b/src/features/ServiceModel/index.ts
index bdf25a7735b..55f4a492524 100644
--- a/src/features/ServiceModel/index.ts
+++ b/src/features/ServiceModel/index.ts
@@ -1 +1,2 @@
+export { default as ChatAssistForm } from './ChatAssistForm';
export { default as ModelAssignmentsForm } from './ModelAssignmentsForm';
diff --git a/src/features/ServiceModel/useChatAssistRow.test.ts b/src/features/ServiceModel/useChatAssistRow.test.ts
new file mode 100644
index 00000000000..aacddbd774b
--- /dev/null
+++ b/src/features/ServiceModel/useChatAssistRow.test.ts
@@ -0,0 +1,51 @@
+import { act, renderHook } from '@testing-library/react';
+import { afterEach, describe, expect, it, vi } from 'vitest';
+
+import { useUserStore } from '@/store/user';
+
+import { useChatAssistRow } from './useChatAssistRow';
+
+const initialUserStoreState = useUserStore.getState();
+
+afterEach(() => {
+ useUserStore.setState(initialUserStoreState, true);
+});
+
+describe('useChatAssistRow', () => {
+ it('keeps each row’s save result when both rows save at once', async () => {
+ let failInputCompletion!: (error: Error) => void;
+ let finishFollowUp!: () => void;
+ const updatePersonalSystemAgent = vi.fn((key: string) =>
+ key === 'inputCompletion'
+ ? new Promise<void>((_, reject) => (failInputCompletion = reject))
+ : new Promise<void>((resolve) => (finishFollowUp = resolve)),
+ );
+ useUserStore.setState({ updatePersonalSystemAgent } as any);
+
+ const followUp = renderHook(() => useChatAssistRow('followUpAction'));
+ const inputCompletion = renderHook(() => useChatAssistRow('inputCompletion'));
+
+ let followUpSave!: Promise<void>;
+ let inputCompletionSave!: Promise<void>;
+ act(() => {
+ followUpSave = followUp.result.current.update({ enabled: true });
+ inputCompletionSave = inputCompletion.result.current.update({ enabled: true });
+ });
+
+ // The later row fails first, then the earlier row succeeds
+ await act(async () => {
+ failInputCompletion(new Error('network error'));
+ await inputCompletionSave;
+ });
+ await act(async () => {
+ finishFollowUp();
+ await followUpSave;
+ });
+
+ // A shared save state would end on 'saved' and hide the failed row's retry
+ expect(followUp.result.current.saveState.status).toBe('saved');
+ expect(inputCompletion.result.current.saveState.status).toBe('failed');
+ expect(followUp.result.current.loading).toBe(false);
+ expect(inputCompletion.result.current.loading).toBe(false);
+ });
+});
diff --git a/src/features/ServiceModel/useChatAssistRow.ts b/src/features/ServiceModel/useChatAssistRow.ts
new file mode 100644
index 00000000000..5f0a3898971
--- /dev/null
+++ b/src/features/ServiceModel/useChatAssistRow.ts
@@ -0,0 +1,30 @@
+import isEqual from 'fast-deep-equal';
+import { useState } from 'react';
+
+import { useSaveState } from '@/hooks/useSaveState';
+import { useUserStore } from '@/store/user';
+import { settingsSelectors } from '@/store/user/selectors';
+import type { PersonalSystemAgentKey } from '@/types/user/settings';
+
+/**
+ * State for one chat-assist row. Each row owns its save state: the store
+ * serializes writes per entry only, so a shared state could report one row's
+ * success over the other row's failure, or retry the wrong write.
+ */
+export const useChatAssistRow = (itemKey: PersonalSystemAgentKey) => {
+ const value = useUserStore((s) => settingsSelectors.currentSystemAgent(s)[itemKey], isEqual);
+ const updatePersonalSystemAgent = useUserStore((s) => s.updatePersonalSystemAgent);
+ const [loading, setLoading] = useState(false);
+ const saveState = useSaveState();
+
+ const update = async (next: { enabled?: boolean; model?: string; provider?: string }) => {
+ setLoading(true);
+ try {
+ await saveState.save(() => updatePersonalSystemAgent(itemKey, next));
+ } finally {
+ setLoading(false);
+ }
+ };
+
+ return { loading, saveState, update, value };
+};
diff --git a/src/features/Settings/Layout/Body/index.tsx b/src/features/Settings/Layout/Body/index.tsx
index 59133a40262..e69031059b8 100644
--- a/src/features/Settings/Layout/Body/index.tsx
+++ b/src/features/Settings/Layout/Body/index.tsx
@@ -15,6 +15,7 @@ import { SettingsGroupKey, useCategory } from '../../hooks/useCategory';
const Body = memo(() => {
const categoryGroups = useCategory();
+ const searchScope = useMemo(() => ({ categoryGroups }), [categoryGroups]);
const navigate = useWorkspaceAwareNavigate();
const location = useActiveLocation();
@@ -30,7 +31,7 @@ const Body = memo(() => {
return (
<Flexbox gap={4} paddingInline={4}>
- <SearchSection>
+ <SearchSection scope={searchScope}>
<Accordion
gap={8}
indicatorPlacement="inline"
diff --git a/src/features/Settings/service-model/index.tsx b/src/features/Settings/service-model/index.tsx
index f37b079fc69..a1a8b2ddbd2 100644
--- a/src/features/Settings/service-model/index.tsx
+++ b/src/features/Settings/service-model/index.tsx
@@ -9,16 +9,17 @@ import { featureFlagsSelectors, useServerConfigStore } from '@/store/serverConfi
import Image from '../image/features/Image';
interface PageProps {
+ hidePersonalPreferences?: boolean;
showSettingHeader?: boolean;
}
-const Page = ({ showSettingHeader = true }: PageProps) => {
+const Page = ({ hidePersonalPreferences, showSettingHeader = true }: PageProps) => {
const { t } = useTranslation('setting');
const { showAiImage } = useServerConfigStore(featureFlagsSelectors);
return (
<>
{showSettingHeader && <SettingHeader title={t('tab.serviceModel')} />}
- <ModelAssignmentsForm />
+ <ModelAssignmentsForm hidePersonalPreferences={hidePersonalPreferences} />
{showAiImage && <Image />}
</>
);
diff --git a/src/features/SettingsSearch/SearchSection.tsx b/src/features/SettingsSearch/SearchSection.tsx
index 7ec1edae68a..99e3a31c495 100644
--- a/src/features/SettingsSearch/SearchSection.tsx
+++ b/src/features/SettingsSearch/SearchSection.tsx
@@ -6,7 +6,7 @@ import { useTranslation } from 'react-i18next';
import SearchResults from './SearchResults';
import { useImeAwareQuery } from './useImeAwareQuery';
-import { useSettingsSearch } from './useSettingsSearch';
+import { type SettingsSearchScope, useSettingsSearch } from './useSettingsSearch';
/**
* Self-contained settings-search unit: owns the query state, renders the
@@ -15,31 +15,33 @@ import { useSettingsSearch } from './useSettingsSearch';
* search index — and the lazy pinyin dict — starts warming up as soon as the
* sidebar mounts, well before the first keystroke.
*/
-const SearchSection = memo<PropsWithChildren>(({ children }) => {
- const { t } = useTranslation('setting');
- const { inputProps, query } = useImeAwareQuery();
- const { isIndexing, results } = useSettingsSearch(query);
+const SearchSection = memo<PropsWithChildren<{ scope: SettingsSearchScope }>>(
+ ({ children, scope }) => {
+ const { t } = useTranslation('setting');
+ const { inputProps, query } = useImeAwareQuery();
+ const { isIndexing, results } = useSettingsSearch(query, scope);
- const showResults = !!query.trim();
+ const showResults = !!query.trim();
- return (
- <>
- <Flexbox paddingInline={4}>
- <SearchBar
- allowClear
- placeholder={t('settingsSearch.placeholder')}
- variant={'filled'}
- {...inputProps}
- />
- </Flexbox>
- {showResults ? (
- <SearchResults isIndexing={isIndexing} query={query} results={results} />
- ) : (
- children
- )}
- </>
- );
-});
+ return (
+ <>
+ <Flexbox paddingInline={4}>
+ <SearchBar
+ allowClear
+ placeholder={t('settingsSearch.placeholder')}
+ variant={'filled'}
+ {...inputProps}
+ />
+ </Flexbox>
+ {showResults ? (
+ <SearchResults isIndexing={isIndexing} query={query} results={results} />
+ ) : (
+ children
+ )}
+ </>
+ );
+ },
+);
SearchSection.displayName = 'SettingsSearchSection';
diff --git a/src/features/SettingsSearch/index.ts b/src/features/SettingsSearch/index.ts
index e05eba3572a..240ffeadf42 100644
--- a/src/features/SettingsSearch/index.ts
+++ b/src/features/SettingsSearch/index.ts
@@ -1,3 +1,10 @@
export { SettingsSearchAnchor, useSettingsAnchorScroll } from './anchor';
+export type { SettingsSearchTab } from './items';
export { default as SearchSection } from './SearchSection';
-export { getTabUrl, type SettingsSearchResult, useSettingsSearch } from './useSettingsSearch';
+export {
+ getTabUrl,
+ type SettingsSearchCategoryGroup,
+ type SettingsSearchResult,
+ type SettingsSearchScope,
+ useSettingsSearch,
+} from './useSettingsSearch';
diff --git a/src/features/SettingsSearch/items.ts b/src/features/SettingsSearch/items.ts
index de1bad986b7..5124ebc233c 100644
--- a/src/features/SettingsSearch/items.ts
+++ b/src/features/SettingsSearch/items.ts
@@ -1,5 +1,13 @@
import { LAB_FEATURES } from '@/features/Settings/labs/features';
import { SettingsTabs } from '@/store/global/initialState';
+import { WorkspaceSettingsTabs } from '@/types/workspaceSettings';
+
+/**
+ * Tab key the search indexes by. Personal tabs and the workspace-only tabs
+ * share one namespace: tabs whose page is the same on both surfaces use the
+ * personal key (the workspace sidebar maps e.g. `statistics` → `stats`).
+ */
+export type SettingsSearchTab = SettingsTabs | WorkspaceSettingsTabs;
export interface SettingsSearchContext {
disableEmailPassword: boolean;
@@ -32,7 +40,7 @@ export interface SettingsSearchItem {
labelKey: string;
/** i18n namespace of `labelKey` / `descKey`, defaults to `setting` */
ns?: 'auth' | 'electron' | 'labs' | 'setting' | 'spend' | 'subscription';
- tab: SettingsTabs;
+ tab: SettingsSearchTab;
/**
* Extra visibility gate mirroring the target item's own render condition
* (tab visibility is already handled via useCategory). Defaults to visible.
@@ -48,7 +56,9 @@ export interface SettingsSearchItem {
* technical terms — it must always stay searchable; localized keywords enrich
* on top of this floor.
*/
-export const TAB_SEARCH_EN_KEYWORDS: Partial<Record<SettingsTabs, string[]>> = {
+// Keyed by `SettingsSearchTab` values. Typed as `string`: the two tab enums
+// share values ('about', 'skill', …), which TypeScript rejects as record keys.
+export const TAB_SEARCH_EN_KEYWORDS: Partial<Record<string, string[]>> = {
[SettingsTabs.About]: ['about', 'version', 'changelog', 'feedback', 'help'],
[SettingsTabs.Advanced]: ['advanced', 'developer', 'diagnostics'],
[SettingsTabs.APIKey]: ['api', 'api key', 'apikey', 'token', 'secret', 'personal key'],
@@ -166,6 +176,14 @@ export const TAB_SEARCH_EN_KEYWORDS: Partial<Record<SettingsTabs, string[]>> = {
'environment',
],
[SettingsTabs.Usage]: ['usage', 'consumption', 'quota', 'spend', 'statistics'],
+ [WorkspaceSettingsTabs.ChatPreference]: [
+ 'chat preferences',
+ 'follow up',
+ 'follow-up suggestions',
+ 'input suggestions',
+ 'input completion',
+ 'autocomplete',
+ ],
};
/**
@@ -175,7 +193,7 @@ export const TAB_SEARCH_EN_KEYWORDS: Partial<Record<SettingsTabs, string[]>> = {
* "积分", and "文件" (files) should hit Storage ("数据存储"). Each locale
* carries its own synonym set, layered on top of TAB_SEARCH_EN_KEYWORDS.
*/
-export const TAB_SEARCH_KEYWORDS_KEYS: Partial<Record<SettingsTabs, string>> = {
+export const TAB_SEARCH_KEYWORDS_KEYS: Partial<Record<string, string>> = {
[SettingsTabs.About]: 'settingsSearch.tabKeywords.about',
[SettingsTabs.Advanced]: 'settingsSearch.tabKeywords.advanced',
[SettingsTabs.APIKey]: 'settingsSearch.tabKeywords.apikey',
@@ -205,6 +223,7 @@ export const TAB_SEARCH_KEYWORDS_KEYS: Partial<Record<SettingsTabs, string>> = {
[SettingsTabs.SystemTools]: 'settingsSearch.tabKeywords.systemTools',
[SettingsTabs.Trash]: 'settingsSearch.tabKeywords.trash',
[SettingsTabs.Usage]: 'settingsSearch.tabKeywords.usage',
+ [WorkspaceSettingsTabs.ChatPreference]: 'settingsSearch.tabKeywords.chatPreference',
};
/**
@@ -464,6 +483,22 @@ export const SETTINGS_SEARCH_ITEMS: SettingsSearchItem[] = [
labelKey: 'serviceModel.optionalFeatures.title',
tab: SettingsTabs.ServiceModel,
},
+ // Chat Preferences (workspace only — the personal sidebar keeps these rows in
+ // Service Model › Optional Features)
+ {
+ anchor: 'chat-preference-followUpAction',
+ descKey: 'systemAgent.followUpAction.modelDesc',
+ keywords: ['follow up', 'suggestion', 'chips'],
+ labelKey: 'systemAgent.followUpAction.title',
+ tab: WorkspaceSettingsTabs.ChatPreference,
+ },
+ {
+ anchor: 'chat-preference-inputCompletion',
+ descKey: 'systemAgent.inputCompletion.modelDesc',
+ keywords: ['input completion', 'autocomplete', 'suggestion'],
+ labelKey: 'systemAgent.inputCompletion.title',
+ tab: WorkspaceSettingsTabs.ChatPreference,
+ },
{
anchor: 'service-model-image',
descKey: 'settingImage.defaultCount.desc',
diff --git a/src/features/SettingsSearch/useSettingsSearch.ts b/src/features/SettingsSearch/useSettingsSearch.ts
index 0a3a43539dd..1ae8f59abbc 100644
--- a/src/features/SettingsSearch/useSettingsSearch.ts
+++ b/src/features/SettingsSearch/useSettingsSearch.ts
@@ -5,7 +5,6 @@ import { useEffect, useMemo, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { SUPPORTED_MESSENGER_PLATFORMS } from '@/features/Messenger/constants';
-import { useCategory } from '@/features/Settings/hooks/useCategory';
import { SettingsTabs } from '@/store/global/initialState';
import {
featureFlagsSelectors,
@@ -19,6 +18,7 @@ import { getPlatform } from '@/utils/platform';
import {
SETTINGS_SEARCH_ITEMS,
type SettingsSearchContext,
+ type SettingsSearchTab,
TAB_SEARCH_EN_KEYWORDS,
TAB_SEARCH_KEYWORDS_KEYS,
} from './items';
@@ -33,10 +33,46 @@ export interface SettingsSearchResult {
icon?: IconProps['icon'];
key: string;
label: string;
- tab: SettingsTabs;
+ tab: SettingsSearchTab;
url: string;
}
+export interface SettingsSearchCategoryGroup {
+ items: {
+ /** Navigation URL; derived from `key` via `getTabUrl` when omitted */
+ href?: string;
+ icon?: IconProps['icon'];
+ /** Search tab key: matches `SETTINGS_SEARCH_ITEMS[].tab` and the keyword tables */
+ key: SettingsSearchTab;
+ label: string;
+ }[];
+ key: string;
+ title: string;
+}
+
+/**
+ * Which settings surface the search runs on. The personal sidebar indexes
+ * everything its pages render; the workspace sidebar narrows item-level
+ * entries to tabs whose pages are the personal ones (same anchors).
+ */
+export interface SettingsSearchScope {
+ /** Visible sidebar groups — tab entries and tab visibility come from here */
+ categoryGroups: SettingsSearchCategoryGroup[];
+ /**
+ * Tabs that also get item-level and catalog entries (provider names, IM
+ * channels, …). Defaults to every visible tab.
+ */
+ itemTabs?: ReadonlySet<SettingsSearchTab>;
+ /**
+ * Tabs that own their keywords in this scope: other tab and item entries drop
+ * those keywords, so a setting that moved to its own tab here is not also
+ * found on the page that no longer renders it.
+ */
+ keywordOwnerTabs?: readonly SettingsSearchTab[];
+ /** Builtin provider detail URL; defaults to the personal provider page */
+ providerUrl?: (providerId: string) => string;
+}
+
interface IndexedEntry extends SettingsSearchResult {
/** Lowercased searchable texts (label / desc / keywords / …) */
haystack: string[];
@@ -48,9 +84,11 @@ interface IndexedEntry extends SettingsSearchResult {
pinyinBase: string[];
}
-export const getTabUrl = (tab: SettingsTabs) =>
+export const getTabUrl = (tab: SettingsSearchTab) =>
tab === SettingsTabs.Provider ? '/settings/provider/all' : `/settings/${tab}`;
+const getPersonalProviderUrl = (providerId: string) => `/settings/provider/${providerId}`;
+
/** Split a localized comma-separated keyword string (supports CJK commas) */
const splitKeywords = (text: string) =>
text
@@ -61,12 +99,14 @@ const splitKeywords = (text: string) =>
/**
* Search visible settings by the current-locale label text plus registered
* keywords, fuzzy-matched via Fuse and pinyin-augmented for Han labels. Tab
- * entries derive from `useCategory` (inheriting its feature-flag / platform
- * gating and `href` overrides); item-level entries come from
- * `SETTINGS_SEARCH_ITEMS` and are dropped when their tab is not visible.
+ * entries derive from the scope's sidebar groups (inheriting their
+ * feature-flag / permission gating and `href` overrides); item-level entries
+ * come from `SETTINGS_SEARCH_ITEMS` and are dropped when their tab is not
+ * visible or not in `scope.itemTabs`.
*/
export const useSettingsSearch = (
query: string,
+ scope: SettingsSearchScope,
): {
/**
* True while the pinyin dict chunk is still loading for a Han-text index —
@@ -78,7 +118,12 @@ export const useSettingsSearch = (
results: SettingsSearchResult[];
} => {
const { t } = useTranslation(['setting', 'labs', 'electron', 'subscription', 'spend', 'auth']);
- const categoryGroups = useCategory();
+ const {
+ categoryGroups,
+ itemTabs,
+ keywordOwnerTabs,
+ providerUrl = getPersonalProviderUrl,
+ } = scope;
const { hideDocs, showAiImage } = useServerConfigStore(featureFlagsSelectors);
const enableBusinessFeatures = useServerConfigStore(serverConfigSelectors.enableBusinessFeatures);
const enableGatewayMode = useServerConfigStore(serverConfigSelectors.enableGatewayMode);
@@ -112,9 +157,25 @@ export const useSettingsSearch = (
// Tab-level entries first so they rank above item-level matches.
const entries: IndexedEntry[] = [];
const visibleTabs = new Map<
- SettingsTabs,
+ SettingsSearchTab,
{ groupTitle: string; icon?: IconProps['icon']; label: string; url: string }
>();
+ // Tab info for item-level / catalog entries, honoring `itemTabs`
+ const getItemTab = (tab: SettingsSearchTab) =>
+ !itemTabs || itemTabs.has(tab) ? visibleTabs.get(tab) : undefined;
+
+ // English floor + localized enrichment (deduped: on en-US they overlap)
+ const getTabKeywords = (tab: SettingsSearchTab) => {
+ const keywordsKey = TAB_SEARCH_KEYWORDS_KEYS[tab];
+ return [
+ ...(TAB_SEARCH_EN_KEYWORDS[tab] ?? []),
+ ...(keywordsKey ? splitKeywords(t(keywordsKey as never) as string) : []),
+ ];
+ };
+ const ownerTabs = new Set(keywordOwnerTabs);
+ const ownedKeywords = new Set(keywordOwnerTabs?.flatMap(getTabKeywords));
+ const withoutOwnedKeywords = (tab: SettingsSearchTab, keywords: string[]) =>
+ ownerTabs.has(tab) ? keywords : keywords.filter((keyword) => !ownedKeywords.has(keyword));
for (const group of categoryGroups) {
for (const item of group.items) {
@@ -132,13 +193,10 @@ export const useSettingsSearch = (
url,
});
- const keywordsKey = TAB_SEARCH_KEYWORDS_KEYS[item.key];
- // English floor + localized enrichment (deduped: on en-US they overlap)
const texts = Array.from(
new Set([
item.label.toLowerCase(),
- ...(TAB_SEARCH_EN_KEYWORDS[item.key] ?? []),
- ...(keywordsKey ? splitKeywords(t(keywordsKey as never) as string) : []),
+ ...withoutOwnedKeywords(item.key, getTabKeywords(item.key)),
]),
);
@@ -156,14 +214,17 @@ export const useSettingsSearch = (
}
for (const def of SETTINGS_SEARCH_ITEMS) {
- const tabInfo = visibleTabs.get(def.tab);
+ const tabInfo = getItemTab(def.tab);
if (!tabInfo) continue;
if (def.visible && !def.visible(ctx)) continue;
const ns = def.ns ?? 'setting';
const label = t(def.labelKey as never, { ns }) as string;
const desc = def.descKey ? (t(def.descKey as never, { ns }) as string) : undefined;
- const keywordTexts = (def.keywords ?? []).map((text) => text.toLowerCase());
+ const keywordTexts = withoutOwnedKeywords(
+ def.tab,
+ (def.keywords ?? []).map((text) => text.toLowerCase()),
+ );
entries.push({
anchor: def.anchor,
@@ -183,7 +244,7 @@ export const useSettingsSearch = (
// renders so a search for the platform name deep-links to that row.
// Those rows come from the business notification section, so they only
// exist with business features on.
- const notificationTab = visibleTabs.get(SettingsTabs.Notification);
+ const notificationTab = getItemTab(SettingsTabs.Notification);
if (notificationTab && enableBusinessFeatures)
for (const platform of SUPPORTED_MESSENGER_PLATFORMS) {
entries.push({
@@ -204,7 +265,7 @@ export const useSettingsSearch = (
// link, so these navigate to the tab itself. Availability ultimately
// depends on the Market API, but this static catalog is what the page
// renders from.
- const connectorTab = visibleTabs.get(SettingsTabs.Connector);
+ const connectorTab = getItemTab(SettingsTabs.Connector);
if (connectorTab)
for (const connector of LOBEHUB_SKILL_PROVIDERS) {
entries.push({
@@ -222,7 +283,7 @@ export const useSettingsSearch = (
// Model providers rank last: builtin names/ids (e.g. "OpenAI") link straight
// to the provider detail page. Custom providers need an async store fetch and
// are intentionally not indexed.
- const providerTab = visibleTabs.get(SettingsTabs.Provider);
+ const providerTab = getItemTab(SettingsTabs.Provider);
if (providerTab)
for (const provider of DEFAULT_MODEL_PROVIDER_LIST) {
entries.push({
@@ -233,13 +294,16 @@ export const useSettingsSearch = (
label: provider.name,
pinyinBase: [],
tab: SettingsTabs.Provider,
- url: `/settings/provider/${provider.id}`,
+ url: providerUrl(provider.id),
});
}
return entries;
}, [
categoryGroups,
+ itemTabs,
+ keywordOwnerTabs,
+ providerUrl,
t,
disableEmailPassword,
enableBusinessFeatures,
diff --git a/src/features/Workspace/workspaceAwarePath.ts b/src/features/Workspace/workspaceAwarePath.ts
index 2003c23ed56..575dd30fbf0 100644
--- a/src/features/Workspace/workspaceAwarePath.ts
+++ b/src/features/Workspace/workspaceAwarePath.ts
@@ -44,6 +44,8 @@ export const WORKSPACE_SETTINGS_TABS: ReadonlySet<string> = new Set([
'audit-log',
'billing',
'budget',
+ // Personal chat-assist preferences, reachable by every member.
+ 'chat-preference',
'connector',
'credential',
// Legacy alias for `credential` — the routers keep a redirect, so prefixed
diff --git a/src/features/WorkspaceSetting/Layout.tsx b/src/features/WorkspaceSetting/Layout.tsx
index f6c30d27dab..522b45e8701 100644
--- a/src/features/WorkspaceSetting/Layout.tsx
+++ b/src/features/WorkspaceSetting/Layout.tsx
@@ -6,6 +6,7 @@ import { useTranslation } from 'react-i18next';
import { Outlet, useMatch } from 'react-router';
import NavHeader from '@/features/NavHeader';
+import { useSettingsAnchorScroll } from '@/features/SettingsSearch/anchor';
import { RouteSkeletonChromeProvider } from '@/spa/router/routeSkeletonChrome';
import { WorkspaceSettingsTabs } from '@/types/workspaceSettings';
@@ -19,6 +20,7 @@ const COMPACT_HEADER_TABS = new Set<string>([
WorkspaceSettingsTabs.Appearance,
WorkspaceSettingsTabs.Billing,
WorkspaceSettingsTabs.Budget,
+ WorkspaceSettingsTabs.ChatPreference,
WorkspaceSettingsTabs.Creds,
WorkspaceSettingsTabs.Credits,
WorkspaceSettingsTabs.Devices,
@@ -80,6 +82,8 @@ const WorkspaceSettingsContentLayout: FC = memo(() => {
const categories = useWorkspaceSettingCategory();
const match = useMatch('/:workspaceSlug/settings/:tab/*');
const activeTab = match?.params.tab;
+ // Settings-search results deep-link to `#anchor` rows on these pages.
+ useSettingsAnchorScroll();
// The Profile nav item is labelled with the user's name (like the personal
// sidebar); the page header keeps the generic title instead.
const title =
diff --git a/src/features/WorkspaceSetting/SideBar/Body.tsx b/src/features/WorkspaceSetting/SideBar/Body.tsx
index da34d17f8b1..7259a81d718 100644
--- a/src/features/WorkspaceSetting/SideBar/Body.tsx
+++ b/src/features/WorkspaceSetting/SideBar/Body.tsx
@@ -6,18 +6,24 @@ import { Link } from 'react-router';
import { useActiveWorkspaceSlug } from '@/business/client/hooks/useActiveWorkspaceSlug';
import NavItem from '@/features/NavPanel/components/NavItem';
+import { SearchSection } from '@/features/SettingsSearch';
import { useWorkspaceAwareNavigate } from '@/features/Workspace/useWorkspaceAwareNavigate';
import { useActiveLocation } from '@/hooks/useActiveLocation';
import { DEFAULT_WORKSPACE_SETTINGS_TAB, WorkspaceSettingsTabs } from '@/types/workspaceSettings';
import { isModifierClick } from '@/utils/navigation';
import { useWorkspaceSettingCategory, WorkspaceSettingsGroupKey } from '../hooks/useCategory';
+import {
+ getWorkspaceSettingsTabUrl,
+ useWorkspaceSettingsSearchScope,
+} from '../hooks/useSettingsSearchScope';
const Body = memo(() => {
const navigate = useWorkspaceAwareNavigate();
const location = useActiveLocation();
const slug = useActiveWorkspaceSlug();
const groups = useWorkspaceSettingCategory();
+ const searchScope = useWorkspaceSettingsSearchScope(slug, groups);
const activeTab = useMemo(() => {
if (!slug) return DEFAULT_WORKSPACE_SETTINGS_TAB;
@@ -31,49 +37,55 @@ const Body = memo(() => {
if (!slug) return null;
return (
- <Flexbox paddingInline={4}>
- <Accordion
- gap={8}
- indicatorPlacement="inline"
- styles={{ trigger: { paddingBlock: 4, paddingInline: '8px 4px' } }}
- defaultValue={[
- WorkspaceSettingsGroupKey.Account,
- WorkspaceSettingsGroupKey.General,
- WorkspaceSettingsGroupKey.Subscription,
- WorkspaceSettingsGroupKey.Agent,
- WorkspaceSettingsGroupKey.Admin,
- WorkspaceSettingsGroupKey.System,
- WorkspaceSettingsGroupKey.Developer,
- ]}
- items={groups.map((group) => ({
- key: group.key,
- title: (
- <Text ellipsis fontSize={12} type={'secondary'} weight={500}>
- {group.title}
- </Text>
- ),
- children: (
- <Flexbox gap={1} paddingBlock={1}>
- {group.items.map((item) => {
- const url = `/${slug}/settings/${item.key}`;
- return (
- <Link
- key={item.key}
- to={url}
- onClick={(e) => {
- if (isModifierClick(e)) return;
- e.preventDefault();
- navigate(url);
- }}
- >
- <NavItem active={activeTab === item.key} icon={item.icon} title={item.label} />
- </Link>
- );
- })}
- </Flexbox>
- ),
- }))}
- />
+ <Flexbox gap={4} paddingInline={4}>
+ <SearchSection scope={searchScope}>
+ <Accordion
+ gap={8}
+ indicatorPlacement="inline"
+ styles={{ trigger: { paddingBlock: 4, paddingInline: '8px 4px' } }}
+ defaultValue={[
+ WorkspaceSettingsGroupKey.Account,
+ WorkspaceSettingsGroupKey.General,
+ WorkspaceSettingsGroupKey.Subscription,
+ WorkspaceSettingsGroupKey.Agent,
+ WorkspaceSettingsGroupKey.Admin,
+ WorkspaceSettingsGroupKey.System,
+ WorkspaceSettingsGroupKey.Developer,
+ ]}
+ items={groups.map((group) => ({
+ key: group.key,
+ title: (
+ <Text ellipsis fontSize={12} type={'secondary'} weight={500}>
+ {group.title}
+ </Text>
+ ),
+ children: (
+ <Flexbox gap={1} paddingBlock={1}>
+ {group.items.map((item) => {
+ const url = getWorkspaceSettingsTabUrl(slug, item.key);
+ return (
+ <Link
+ key={item.key}
+ to={url}
+ onClick={(e) => {
+ if (isModifierClick(e)) return;
+ e.preventDefault();
+ navigate(url);
+ }}
+ >
+ <NavItem
+ active={activeTab === item.key}
+ icon={item.icon}
+ title={item.label}
+ />
+ </Link>
+ );
+ })}
+ </Flexbox>
+ ),
+ }))}
+ />
+ </SearchSection>
</Flexbox>
);
});
diff --git a/src/features/WorkspaceSetting/hooks/useCategory.test.tsx b/src/features/WorkspaceSetting/hooks/useCategory.test.tsx
index 0021097a48d..530ce701cfc 100644
--- a/src/features/WorkspaceSetting/hooks/useCategory.test.tsx
+++ b/src/features/WorkspaceSetting/hooks/useCategory.test.tsx
@@ -83,6 +83,7 @@ describe('workspace settings useCategory', () => {
WorkspaceSettingsTabs.Profile,
WorkspaceSettingsTabs.Appearance,
WorkspaceSettingsTabs.Hotkey,
+ WorkspaceSettingsTabs.ChatPreference,
WorkspaceSettingsTabs.Messenger,
]);
expect(generalGroup?.items.map((item) => item.key)).not.toContain(
diff --git a/src/features/WorkspaceSetting/hooks/useCategory.tsx b/src/features/WorkspaceSetting/hooks/useCategory.tsx
index 027a91f75f1..05fd27c01fb 100644
--- a/src/features/WorkspaceSetting/hooks/useCategory.tsx
+++ b/src/features/WorkspaceSetting/hooks/useCategory.tsx
@@ -22,6 +22,7 @@ import {
KeyRound,
Map,
MessageCircleIcon,
+ MessagesSquareIcon,
MonitorSmartphoneIcon,
PaletteIcon,
ScrollText,
@@ -123,6 +124,14 @@ export const useWorkspaceSettingCategory = (): WorkspaceSettingCategoryGroup[] =
key: WorkspaceSettingsTabs.Hotkey,
label: t('tab.hotkey'),
},
+ // Follow-up chips / input completion act on the member's own chat
+ // surface, so every role configures them here — the workspace
+ // Service Model page stays admin-only.
+ {
+ icon: MessagesSquareIcon,
+ key: WorkspaceSettingsTabs.ChatPreference,
+ label: t('tab.chatPreference'),
+ },
// The System Bot binding is a per-user identity (owned by userId,
// not the workspace); reaching a workspace's agents happens via the
// scope selector on the page itself.
diff --git a/src/features/WorkspaceSetting/hooks/useSettingsSearchScope.test.ts b/src/features/WorkspaceSetting/hooks/useSettingsSearchScope.test.ts
new file mode 100644
index 00000000000..6ee8e04da63
--- /dev/null
+++ b/src/features/WorkspaceSetting/hooks/useSettingsSearchScope.test.ts
@@ -0,0 +1,104 @@
+import { renderHook } from '@testing-library/react';
+import { createElement, type ReactNode } from 'react';
+import { describe, expect, it } from 'vitest';
+
+import { useSettingsSearch } from '@/features/SettingsSearch';
+import { ServerConfigStoreProvider } from '@/store/serverConfig/Provider';
+import { WorkspaceSettingsTabs } from '@/types/workspaceSettings';
+
+import { type WorkspaceSettingCategoryGroup, WorkspaceSettingsGroupKey } from './useCategory';
+import { useWorkspaceSettingsSearchScope } from './useSettingsSearchScope';
+
+const memberGroups: WorkspaceSettingCategoryGroup[] = [
+ {
+ items: [
+ { icon: null, key: WorkspaceSettingsTabs.Profile, label: 'Profile' },
+ { icon: null, key: WorkspaceSettingsTabs.ChatPreference, label: 'Chat Preferences' },
+ ],
+ key: WorkspaceSettingsGroupKey.Account,
+ title: 'Account',
+ },
+ {
+ items: [
+ { icon: null, key: WorkspaceSettingsTabs.Members, label: 'Members' },
+ { icon: null, key: WorkspaceSettingsTabs.Stats, label: 'Statistics' },
+ { icon: null, key: WorkspaceSettingsTabs.Notification, label: 'Notifications' },
+ ],
+ key: WorkspaceSettingsGroupKey.General,
+ title: 'Workspace',
+ },
+];
+
+const adminGroups: WorkspaceSettingCategoryGroup[] = [
+ ...memberGroups,
+ {
+ items: [
+ { icon: null, key: WorkspaceSettingsTabs.Provider, label: 'AI Providers' },
+ { icon: null, key: WorkspaceSettingsTabs.ServiceModel, label: 'Service Model' },
+ ],
+ key: WorkspaceSettingsGroupKey.Agent,
+ title: 'Agent',
+ },
+];
+
+const search = (query: string, groups: WorkspaceSettingCategoryGroup[]) => {
+ const { result } = renderHook(
+ () => {
+ const scope = useWorkspaceSettingsSearchScope('acme', groups);
+ return useSettingsSearch(query, scope);
+ },
+ {
+ wrapper: ({ children }: { children?: ReactNode }) =>
+ createElement(ServerConfigStoreProvider, null, children),
+ },
+ );
+ return result.current.results;
+};
+
+describe('workspace settings search scope', () => {
+ it('links workspace-only tabs under the workspace slug', () => {
+ expect(search('members', memberGroups)[0]).toMatchObject({
+ url: '/acme/settings/members',
+ });
+ });
+
+ it('matches the personal stats keywords on the workspace statistics tab', () => {
+ expect(search('analytics', memberGroups).map((result) => result.url)).toContain(
+ '/acme/settings/statistics',
+ );
+ });
+
+ it('deep-links follow-up suggestions to the chat preferences row for members', () => {
+ const urls = search('follow up', memberGroups).map((result) => result.url);
+
+ expect(urls).toContain('/acme/settings/chat-preference#chat-preference-followUpAction');
+ // Service Model is admin-only: hidden from the sidebar, so not searchable
+ expect(urls.some((url) => url.includes('service-model'))).toBe(false);
+ });
+
+ it('sends admins searching follow-up only to chat preferences', () => {
+ const urls = search('follow up', adminGroups).map((result) => result.url);
+
+ expect(urls).toContain('/acme/settings/chat-preference#chat-preference-followUpAction');
+ // The workspace Service Model page no longer renders these rows
+ expect(urls.some((url) => url.includes('service-model'))).toBe(false);
+ });
+
+ it('keeps admin-only tabs searchable for admins', () => {
+ const urls = search('prompt rewrite', adminGroups).map((result) => result.url);
+
+ expect(urls).toContain('/acme/settings/service-model#service-model-optional-features');
+ expect(search('openai', adminGroups).map((result) => result.url)).toContain(
+ '/acme/settings/provider/openai',
+ );
+ });
+
+ it('indexes only the tab for workspace pages that differ from the personal ones', () => {
+ const results = search('notification', memberGroups);
+
+ expect(results.map((result) => result.key)).toContain(
+ `tab-${WorkspaceSettingsGroupKey.General}-${WorkspaceSettingsTabs.Notification}`,
+ );
+ expect(results.some((result) => result.key.startsWith('item-notification'))).toBe(false);
+ });
+});
diff --git a/src/features/WorkspaceSetting/hooks/useSettingsSearchScope.ts b/src/features/WorkspaceSetting/hooks/useSettingsSearchScope.ts
new file mode 100644
index 00000000000..72f0f93bcc0
--- /dev/null
+++ b/src/features/WorkspaceSetting/hooks/useSettingsSearchScope.ts
@@ -0,0 +1,67 @@
+import { useMemo } from 'react';
+
+import type { SettingsSearchScope, SettingsSearchTab } from '@/features/SettingsSearch';
+import { SettingsTabs } from '@/store/global/initialState';
+import { WorkspaceSettingsTabs } from '@/types/workspaceSettings';
+
+import type { WorkspaceSettingCategoryGroup } from './useCategory';
+
+/**
+ * Workspace tabs whose page is the personal settings page (or renders the same
+ * anchored rows), so item-level search results can deep-link into them.
+ * Billing, credits, storage, notification, … render workspace-specific pages
+ * and only get tab-level entries.
+ */
+const ITEM_TABS: ReadonlySet<SettingsSearchTab> = new Set<SettingsSearchTab>([
+ SettingsTabs.Advanced,
+ SettingsTabs.Appearance,
+ SettingsTabs.Connector,
+ SettingsTabs.Hotkey,
+ SettingsTabs.Labs,
+ SettingsTabs.Profile,
+ SettingsTabs.Provider,
+ SettingsTabs.ServiceModel,
+ WorkspaceSettingsTabs.ChatPreference,
+]);
+
+/**
+ * Follow-up / input completion live on Chat Preferences here; the workspace
+ * Service Model page hides them, so its keywords must not match them either.
+ */
+const KEYWORD_OWNER_TABS: readonly SettingsSearchTab[] = [WorkspaceSettingsTabs.ChatPreference];
+
+/** Workspace tab keys whose value differs from the matching personal tab */
+const SEARCH_TAB_ALIASES: Partial<Record<WorkspaceSettingsTabs, SettingsSearchTab>> = {
+ [WorkspaceSettingsTabs.Stats]: SettingsTabs.Stats,
+};
+
+export const getWorkspaceSettingsTabUrl = (slug: string, tab: WorkspaceSettingsTabs) =>
+ `/${slug}/settings/${tab}`;
+
+/**
+ * Settings-search scope for the workspace sidebar: indexes exactly the tabs
+ * the sidebar shows (inheriting its permission gating), linking into
+ * `/:slug/settings/*`.
+ */
+export const useWorkspaceSettingsSearchScope = (
+ slug: string | null | undefined,
+ groups: WorkspaceSettingCategoryGroup[],
+): SettingsSearchScope =>
+ useMemo(
+ () => ({
+ categoryGroups: groups.map((group) => ({
+ items: group.items.map((item) => ({
+ href: slug ? getWorkspaceSettingsTabUrl(slug, item.key) : undefined,
+ icon: item.icon,
+ key: SEARCH_TAB_ALIASES[item.key] ?? item.key,
+ label: item.label,
+ })),
+ key: group.key,
+ title: group.title,
+ })),
+ itemTabs: ITEM_TABS,
+ keywordOwnerTabs: KEYWORD_OWNER_TABS,
+ providerUrl: (providerId: string) => `/${slug}/settings/provider/${providerId}`,
+ }),
+ [groups, slug],
+ );
diff --git a/src/routes/(main)/[workspaceSlug]/settings/chat-preference/index.tsx b/src/routes/(main)/[workspaceSlug]/settings/chat-preference/index.tsx
new file mode 100644
index 00000000000..731c215ba04
--- /dev/null
+++ b/src/routes/(main)/[workspaceSlug]/settings/chat-preference/index.tsx
@@ -0,0 +1,14 @@
+'use client';
+
+import { ChatAssistForm } from '@/features/ServiceModel';
+
+/**
+ * Personal chat-assist preferences under `/:workspaceSlug/settings/chat-preference`.
+ * User-scoped and open to every role; the workspace shell renders the compact
+ * header.
+ */
+const WorkspaceChatPreferenceSetting = () => <ChatAssistForm />;
+
+WorkspaceChatPreferenceSetting.displayName = 'WorkspaceChatPreferenceSetting';
+
+export default WorkspaceChatPreferenceSetting;
diff --git a/src/routes/(main)/[workspaceSlug]/settings/service-model/index.test.tsx b/src/routes/(main)/[workspaceSlug]/settings/service-model/index.test.tsx
index 3a7dedd5c77..8a4e5944ddb 100644
--- a/src/routes/(main)/[workspaceSlug]/settings/service-model/index.test.tsx
+++ b/src/routes/(main)/[workspaceSlug]/settings/service-model/index.test.tsx
@@ -14,7 +14,11 @@ vi.mock('@/business/client/hooks/useIsWorkspaceLoading', () => ({
}));
vi.mock('@/features/Settings/service-model', () => ({
- default: () => <div data-testid="service-model-page">service model settings</div>,
+ default: ({ hidePersonalPreferences }: { hidePersonalPreferences?: boolean }) => (
+ <div data-hide-personal={String(!!hidePersonalPreferences)} data-testid="service-model-page">
+ service model settings
+ </div>
+ ),
}));
describe('WorkspaceServiceModelSetting', () => {
@@ -25,6 +29,13 @@ describe('WorkspaceServiceModelSetting', () => {
expect(screen.getByTestId('service-model-page')).toHaveTextContent('service model settings');
});
+ it('leaves the personal chat-assist rows to the Chat Preferences tab', () => {
+ managePermission.allowed = true;
+ render(<WorkspaceServiceModelSetting />);
+
+ expect(screen.getByTestId('service-model-page')).toHaveAttribute('data-hide-personal', 'true');
+ });
+
it('renders forbidden screen without manage_settings permission', () => {
managePermission.allowed = false;
render(<WorkspaceServiceModelSetting />);
diff --git a/src/routes/(main)/[workspaceSlug]/settings/service-model/index.tsx b/src/routes/(main)/[workspaceSlug]/settings/service-model/index.tsx
index c881fcb8ab1..7214b41007c 100644
--- a/src/routes/(main)/[workspaceSlug]/settings/service-model/index.tsx
+++ b/src/routes/(main)/[workspaceSlug]/settings/service-model/index.tsx
@@ -5,7 +5,9 @@ import WorkspaceAdminOnly from '@/features/WorkspaceSetting/AdminOnly';
const WorkspaceServiceModelSetting = () => (
<WorkspaceAdminOnly>
- <Page showSettingHeader={false} />
+ {/* Follow-up / input completion are personal: members edit them on the
+ Chat Preferences tab, so admins don't get a second entry here. */}
+ <Page hidePersonalPreferences showSettingHeader={false} />
</WorkspaceAdminOnly>
);
diff --git a/src/routes/(mobile)/settings/_layout/Header.test.tsx b/src/routes/(mobile)/settings/_layout/Header.test.tsx
index db2e13f42d9..99ebf3c6092 100644
--- a/src/routes/(mobile)/settings/_layout/Header.test.tsx
+++ b/src/routes/(mobile)/settings/_layout/Header.test.tsx
@@ -37,6 +37,7 @@ describe('mobile settings Header', () => {
['credits', 'subscription:tab.credits'],
['devices', 'setting:tab.devices'],
['service-model', 'setting:tab.serviceModel'],
+ ['chat-preference', 'setting:tab.chatPreference'],
])('resolves the workspace %s title', (tab, title) => {
renderHeader(tab);
diff --git a/src/routes/(mobile)/settings/_layout/Header.tsx b/src/routes/(mobile)/settings/_layout/Header.tsx
index 9e03a00244b..d2eb1ce94cf 100644
--- a/src/routes/(mobile)/settings/_layout/Header.tsx
+++ b/src/routes/(mobile)/settings/_layout/Header.tsx
@@ -30,9 +30,10 @@ const TAB_TITLE_KEY: Partial<Record<SettingsTabs, string>> = {
};
const WORKSPACE_TAB_TITLE_KEY: Record<string, string> = {
- budget: 'subscription:tab.budget',
- general: 'setting:workspaceSetting.tab.general',
- members: 'setting:workspaceSetting.tab.members',
+ 'budget': 'subscription:tab.budget',
+ 'chat-preference': 'setting:tab.chatPreference',
+ 'general': 'setting:workspaceSetting.tab.general',
+ 'members': 'setting:workspaceSetting.tab.members',
};
const Header = memo(() => {
diff --git a/src/services/user/index.ts b/src/services/user/index.ts
index 1d4b47da5a1..ba7da27fbab 100644
--- a/src/services/user/index.ts
+++ b/src/services/user/index.ts
@@ -3,6 +3,7 @@ import { type MarkdownPatchHunk } from '@lobechat/markdown-patch';
import type {
ConfirmOnboardingUnderstandingInput,
OnboardingUnderstandingPollingResult,
+ PersonalSystemAgentKey,
RetryOnboardingUnderstandingProviderInput,
ReviseOnboardingUnderstandingInput,
StartOnboardingUnderstandingInput,
@@ -138,6 +139,13 @@ export class UserService {
return lambdaClient.user.updateToolIntervention.mutate(value);
};
+ updatePersonalSystemAgent = async (
+ key: PersonalSystemAgentKey,
+ value: { enabled?: boolean; model?: string; provider?: string },
+ ) => {
+ return lambdaClient.user.updatePersonalSystemAgent.mutate({ key, value });
+ };
+
updateToolChannels = async (value: { crawlerImpls?: string[]; searchProviders?: string[] }) => {
return lambdaClient.user.updateToolChannels.mutate(value);
};
diff --git a/src/spa/router/desktopRouter.shared.tsx b/src/spa/router/desktopRouter.shared.tsx
index 1bd12389682..62b219cb046 100644
--- a/src/spa/router/desktopRouter.shared.tsx
+++ b/src/spa/router/desktopRouter.shared.tsx
@@ -39,15 +39,12 @@ import ResourceHomeSkeleton from '@/components/Skeleton/ResourceHome';
import ProviderSettingsSkeleton, {
ProviderDetailSkeleton,
} from '@/components/Skeleton/Settings/Provider';
-import { createSettingsSectionsSkeleton } from '@/components/Skeleton/Settings/Sections';
-import { WORKSPACE_SETTINGS_SECTION_SHAPES } from '@/components/Skeleton/Settings/sectionShapes';
import { createSurfaceSkeleton } from '@/components/Skeleton/Surface';
import { agentDocumentRouteMeta } from '@/features/AgentDocumentPage/routeMeta';
import { goalDetailRouteMeta, goalsRouteMeta } from '@/features/AgentGoals/routeMeta';
import { taskRouteMeta, tasksRouteMeta } from '@/features/AgentTasks/routeMeta';
import { agentsRouteMeta } from '@/features/AgentViewAll/routeMeta';
import { dashboardRouteMeta, dashboardsRouteMeta } from '@/features/Dashboard/routeMeta';
-import DevicesPageSkeleton from '@/features/DeviceManager/Skeleton';
import { pageRouteMeta } from '@/features/Pages/routeMeta';
import {
projectAcceptanceRouteMeta,
@@ -92,22 +89,12 @@ import { scheduledTaskListLoader } from '@/spa/router/scheduledTaskListLoader';
import { taskWorkspaceChildren } from '@/spa/router/taskWorkspaceRoutes';
import { withSegmentFallback } from '@/spa/router/withSegmentFallback';
import { worksLoader } from '@/spa/router/worksLoader';
+import { workspaceSettingsContentRoute } from '@/spa/router/workspaceSettingsRoutes';
import { SettingsTabs } from '@/store/global/initialState';
import { dynamicElement, dynamicLayout, ErrorBoundary, redirectElement } from '@/utils/router';
export { ResourceCategorySkeleton };
-// Workspace settings tabs made of stacked filled groups. The content layout
-// declares `chrome='body'` and draws the header + padded container, so inside
-// it these render only the sections.
-const workspaceSettingsSkeletons = {
- billing: createSettingsSectionsSkeleton(WORKSPACE_SETTINGS_SECTION_SHAPES.billing),
- budget: createSettingsSectionsSkeleton(WORKSPACE_SETTINGS_SECTION_SHAPES.budget),
- credits: createSettingsSectionsSkeleton(WORKSPACE_SETTINGS_SECTION_SHAPES.credits),
- plans: createSettingsSectionsSkeleton(WORKSPACE_SETTINGS_SECTION_SHAPES.plans),
- usage: createSettingsSectionsSkeleton(WORKSPACE_SETTINGS_SECTION_SHAPES.usage),
-};
-
const agentChatElement = dynamicElement(
() => loadRouteWithBuiltinToolSurfaces(() => import('@/routes/(main)/agent')),
'Desktop > Chat',
@@ -1410,300 +1397,7 @@ const createMainAreaChildrenDefinition = (options: MainAreaRouteOptions = {}): R
handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('list') }) },
path: 'connector',
},
- // Padded tabs share a centered, max-width container layout.
- {
- children: [
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/general'),
- 'Desktop > Workspace > Settings > General',
- ),
- handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('form') }) },
- path: 'general',
- },
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/members'),
- 'Desktop > Workspace > Settings > Members',
- ),
- handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('list') }) },
- path: 'members',
- },
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/teams'),
- 'Desktop > Workspace > Settings > Teams',
- ),
- handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('list') }) },
- path: 'teams',
- },
- // Team detail — the page reads the team id from the route param.
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/teams'),
- 'Desktop > Workspace > Settings > Teams > Detail',
- ),
- handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('form') }) },
- path: 'teams/:teamId',
- },
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/notification'),
- 'Desktop > Workspace > Settings > Notification',
- ),
- handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('form') }) },
- path: 'notification',
- },
- // Channel detail level of the two-level notification settings —
- // the page reads the channel id from the `sub` route param.
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/notification'),
- 'Desktop > Workspace > Settings > Notification > Channel',
- ),
- handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('form') }) },
- path: 'notification/:sub',
- },
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/statistics'),
- 'Desktop > Workspace > Settings > Statistics',
- ),
- handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('grid') }) },
- path: 'statistics',
- },
- // Legacy `/:slug/settings/stats` URLs — kept for deep-links.
- {
- element: redirectElement('../statistics'),
- path: 'stats',
- },
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/plans'),
- 'Desktop > Workspace > Settings > Plans',
- ),
- handle: { meta: routeMeta({ Skeleton: workspaceSettingsSkeletons.plans }) },
- path: 'plans',
- },
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/billing'),
- 'Desktop > Workspace > Settings > Billing',
- ),
- handle: { meta: routeMeta({ Skeleton: workspaceSettingsSkeletons.billing }) },
- path: 'billing',
- },
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/budget'),
- 'Desktop > Workspace > Settings > Budget',
- ),
- handle: { meta: routeMeta({ Skeleton: workspaceSettingsSkeletons.budget }) },
- path: 'budget',
- },
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/credits'),
- 'Desktop > Workspace > Settings > Credits',
- ),
- handle: { meta: routeMeta({ Skeleton: workspaceSettingsSkeletons.credits }) },
- path: 'credits',
- },
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/usage'),
- 'Desktop > Workspace > Settings > Usage',
- ),
- handle: { meta: routeMeta({ Skeleton: workspaceSettingsSkeletons.usage }) },
- path: 'usage',
- },
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/service-model'),
- 'Desktop > Workspace > Settings > Service Model',
- ),
- handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('form') }) },
- path: 'service-model',
- },
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/credential'),
- 'Desktop > Workspace > Settings > Credential',
- ),
- handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('form') }) },
- path: 'credential',
- },
- // Legacy `/:slug/settings/creds` URLs — kept for deep-links.
- {
- element: redirectElement('../credential'),
- path: 'creds',
- },
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/apikey'),
- 'Desktop > Workspace > Settings > API Key',
- ),
- handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('list') }) },
- path: 'apikey',
- },
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/oauth-apps'),
- 'Desktop > Workspace > Settings > OAuth Apps',
- ),
- handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('list') }) },
- path: 'oauth-apps',
- },
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/oauth-apps'),
- 'Desktop > Workspace > Settings > OAuth App Detail',
- ),
- handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('list') }) },
- path: 'oauth-apps/:sub',
- },
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/audit-log'),
- 'Desktop > Workspace > Settings > Audit Log',
- ),
- handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('list') }) },
- path: 'audit-log',
- },
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/labels'),
- 'Desktop > Workspace > Settings > Labels',
- ),
- handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('list') }) },
- path: 'labels',
- },
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/storage'),
- 'Desktop > Workspace > Settings > Storage',
- ),
- handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('list') }) },
- path: 'storage',
- },
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/devices'),
- 'Desktop > Workspace > Settings > Devices',
- ),
- handle: { meta: routeMeta({ Skeleton: DevicesPageSkeleton }) },
- path: 'devices',
- },
- // Device detail level — the page reads the device id from `sub`.
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/devices'),
- 'Desktop > Workspace > Settings > Devices > Detail',
- ),
- handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('detail') }) },
- path: 'devices/:sub',
- },
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/environments'),
- 'Desktop > Workspace > Settings > Environments',
- ),
- handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('list') }) },
- path: 'environments',
- },
- // Account-level tabs mirrored inside the workspace so members can
- // adjust user settings without leaving the workspace. Same pages
- // as personal `/settings/*`; only the chrome is workspace-owned.
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/profile'),
- 'Desktop > Workspace > Settings > Profile',
- ),
- handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('form') }) },
- path: 'profile',
- },
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/appearance'),
- 'Desktop > Workspace > Settings > Appearance',
- ),
- handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('form') }) },
- path: 'appearance',
- },
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/hotkey'),
- 'Desktop > Workspace > Settings > Hotkey',
- ),
- handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('form') }) },
- path: 'hotkey',
- },
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/messenger'),
- 'Desktop > Workspace > Settings > Messenger',
- ),
- handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('list') }) },
- path: 'messenger',
- },
- // Platform detail level — the page reads the platform from `sub`.
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/messenger'),
- 'Desktop > Workspace > Settings > Messenger > Platform',
- ),
- handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('list') }) },
- path: 'messenger/:sub',
- },
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/integrations'),
- 'Desktop > Workspace > Settings > Integrations',
- ),
- handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('list') }) },
- path: 'integrations',
- },
- // Integration detail level — the page reads the integration from `sub`.
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/integrations'),
- 'Desktop > Workspace > Settings > Integrations > Detail',
- ),
- handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('list') }) },
- path: 'integrations/:sub',
- },
- // Developer tools mirrored inside the workspace (user preferences).
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/advanced'),
- 'Desktop > Workspace > Settings > Advanced',
- ),
- handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('form') }) },
- path: 'advanced',
- },
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/labs'),
- 'Desktop > Workspace > Settings > Labs',
- ),
- handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('form') }) },
- path: 'labs',
- },
- {
- element: dynamicElement(
- () => import('@/routes/(main)/[workspaceSlug]/settings/about'),
- 'Desktop > Workspace > Settings > About',
- ),
- handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('form') }) },
- path: 'about',
- },
- ],
- element: dynamicLayout(
- () => import('@/routes/(main)/[workspaceSlug]/settings/_content-layout'),
- 'Desktop > Workspace > Settings > Content Layout',
- { preloadId: 'settings' },
- ),
- },
+ workspaceSettingsContentRoute,
],
element: dynamicLayout(
() => import('@/routes/(main)/[workspaceSlug]/settings/_layout'),
diff --git a/src/spa/router/desktopRouter.sync.test.tsx b/src/spa/router/desktopRouter.sync.test.tsx
index 0c03da5a762..531c411f2dc 100644
--- a/src/spa/router/desktopRouter.sync.test.tsx
+++ b/src/spa/router/desktopRouter.sync.test.tsx
@@ -80,6 +80,7 @@ async function readRouterSources() {
'desktopRouter.config.tsx',
'desktopRouter.config.desktop.tsx',
'taskWorkspaceRoutes.tsx',
+ 'workspaceSettingsRoutes.tsx',
].map((filename) => readFile(path.join(process.cwd(), 'src/spa/router', filename), 'utf8')),
);
}
diff --git a/src/spa/router/mobileRouter.config.tsx b/src/spa/router/mobileRouter.config.tsx
index 2b48bcbb907..4716ffa728c 100644
--- a/src/spa/router/mobileRouter.config.tsx
+++ b/src/spa/router/mobileRouter.config.tsx
@@ -507,6 +507,13 @@ export const mobileRoutes: RouteObject[] = [
),
path: 'hotkey',
},
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/chat-preference'),
+ 'Mobile > Workspace > Settings > Chat Preference',
+ ),
+ path: 'chat-preference',
+ },
{
element: dynamicElement(
() => import('@/routes/(main)/[workspaceSlug]/settings/messenger'),
diff --git a/src/spa/router/workspaceSettingsRoutes.tsx b/src/spa/router/workspaceSettingsRoutes.tsx
new file mode 100644
index 00000000000..8b5e2b7f10f
--- /dev/null
+++ b/src/spa/router/workspaceSettingsRoutes.tsx
@@ -0,0 +1,327 @@
+import type { RouteObject } from 'react-router';
+
+import { createSettingsSectionsSkeleton } from '@/components/Skeleton/Settings/Sections';
+import { WORKSPACE_SETTINGS_SECTION_SHAPES } from '@/components/Skeleton/Settings/sectionShapes';
+import { createSurfaceSkeleton } from '@/components/Skeleton/Surface';
+import DevicesPageSkeleton from '@/features/DeviceManager/Skeleton';
+import { routeMeta } from '@/spa/router/routeMeta';
+import { dynamicElement, dynamicLayout, redirectElement } from '@/utils/router';
+
+// Workspace settings tabs made of stacked filled groups. The content layout
+// declares `chrome='body'` and draws the header + padded container, so inside
+// it these render only the sections.
+const workspaceSettingsSkeletons = {
+ billing: createSettingsSectionsSkeleton(WORKSPACE_SETTINGS_SECTION_SHAPES.billing),
+ budget: createSettingsSectionsSkeleton(WORKSPACE_SETTINGS_SECTION_SHAPES.budget),
+ credits: createSettingsSectionsSkeleton(WORKSPACE_SETTINGS_SECTION_SHAPES.credits),
+ plans: createSettingsSectionsSkeleton(WORKSPACE_SETTINGS_SECTION_SHAPES.plans),
+ usage: createSettingsSectionsSkeleton(WORKSPACE_SETTINGS_SECTION_SHAPES.usage),
+};
+
+/**
+ * Padded `/:slug/settings/*` tabs, sharing the centered max-width content
+ * layout. Mounted under the workspace settings shell in
+ * `desktopRouter.shared.tsx`; full-bleed tabs (provider, skill, connector)
+ * stay there.
+ */
+export const workspaceSettingsContentRoute: RouteObject = {
+ children: [
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/general'),
+ 'Desktop > Workspace > Settings > General',
+ ),
+ handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('form') }) },
+ path: 'general',
+ },
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/members'),
+ 'Desktop > Workspace > Settings > Members',
+ ),
+ handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('list') }) },
+ path: 'members',
+ },
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/teams'),
+ 'Desktop > Workspace > Settings > Teams',
+ ),
+ handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('list') }) },
+ path: 'teams',
+ },
+ // Team detail — the page reads the team id from the route param.
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/teams'),
+ 'Desktop > Workspace > Settings > Teams > Detail',
+ ),
+ handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('form') }) },
+ path: 'teams/:teamId',
+ },
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/notification'),
+ 'Desktop > Workspace > Settings > Notification',
+ ),
+ handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('form') }) },
+ path: 'notification',
+ },
+ // Channel detail level of the two-level notification settings —
+ // the page reads the channel id from the `sub` route param.
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/notification'),
+ 'Desktop > Workspace > Settings > Notification > Channel',
+ ),
+ handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('form') }) },
+ path: 'notification/:sub',
+ },
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/statistics'),
+ 'Desktop > Workspace > Settings > Statistics',
+ ),
+ handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('grid') }) },
+ path: 'statistics',
+ },
+ // Legacy `/:slug/settings/stats` URLs — kept for deep-links.
+ {
+ element: redirectElement('../statistics'),
+ path: 'stats',
+ },
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/plans'),
+ 'Desktop > Workspace > Settings > Plans',
+ ),
+ handle: { meta: routeMeta({ Skeleton: workspaceSettingsSkeletons.plans }) },
+ path: 'plans',
+ },
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/billing'),
+ 'Desktop > Workspace > Settings > Billing',
+ ),
+ handle: { meta: routeMeta({ Skeleton: workspaceSettingsSkeletons.billing }) },
+ path: 'billing',
+ },
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/budget'),
+ 'Desktop > Workspace > Settings > Budget',
+ ),
+ handle: { meta: routeMeta({ Skeleton: workspaceSettingsSkeletons.budget }) },
+ path: 'budget',
+ },
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/credits'),
+ 'Desktop > Workspace > Settings > Credits',
+ ),
+ handle: { meta: routeMeta({ Skeleton: workspaceSettingsSkeletons.credits }) },
+ path: 'credits',
+ },
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/usage'),
+ 'Desktop > Workspace > Settings > Usage',
+ ),
+ handle: { meta: routeMeta({ Skeleton: workspaceSettingsSkeletons.usage }) },
+ path: 'usage',
+ },
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/service-model'),
+ 'Desktop > Workspace > Settings > Service Model',
+ ),
+ handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('form') }) },
+ path: 'service-model',
+ },
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/credential'),
+ 'Desktop > Workspace > Settings > Credential',
+ ),
+ handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('form') }) },
+ path: 'credential',
+ },
+ // Legacy `/:slug/settings/creds` URLs — kept for deep-links.
+ {
+ element: redirectElement('../credential'),
+ path: 'creds',
+ },
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/apikey'),
+ 'Desktop > Workspace > Settings > API Key',
+ ),
+ handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('list') }) },
+ path: 'apikey',
+ },
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/oauth-apps'),
+ 'Desktop > Workspace > Settings > OAuth Apps',
+ ),
+ handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('list') }) },
+ path: 'oauth-apps',
+ },
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/oauth-apps'),
+ 'Desktop > Workspace > Settings > OAuth App Detail',
+ ),
+ handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('list') }) },
+ path: 'oauth-apps/:sub',
+ },
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/audit-log'),
+ 'Desktop > Workspace > Settings > Audit Log',
+ ),
+ handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('list') }) },
+ path: 'audit-log',
+ },
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/labels'),
+ 'Desktop > Workspace > Settings > Labels',
+ ),
+ handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('list') }) },
+ path: 'labels',
+ },
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/storage'),
+ 'Desktop > Workspace > Settings > Storage',
+ ),
+ handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('list') }) },
+ path: 'storage',
+ },
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/devices'),
+ 'Desktop > Workspace > Settings > Devices',
+ ),
+ handle: { meta: routeMeta({ Skeleton: DevicesPageSkeleton }) },
+ path: 'devices',
+ },
+ // Device detail level — the page reads the device id from `sub`.
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/devices'),
+ 'Desktop > Workspace > Settings > Devices > Detail',
+ ),
+ handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('detail') }) },
+ path: 'devices/:sub',
+ },
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/environments'),
+ 'Desktop > Workspace > Settings > Environments',
+ ),
+ handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('list') }) },
+ path: 'environments',
+ },
+ // Account-level tabs mirrored inside the workspace so members can
+ // adjust user settings without leaving the workspace. Same pages
+ // as personal `/settings/*`; only the chrome is workspace-owned.
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/profile'),
+ 'Desktop > Workspace > Settings > Profile',
+ ),
+ handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('form') }) },
+ path: 'profile',
+ },
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/appearance'),
+ 'Desktop > Workspace > Settings > Appearance',
+ ),
+ handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('form') }) },
+ path: 'appearance',
+ },
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/hotkey'),
+ 'Desktop > Workspace > Settings > Hotkey',
+ ),
+ handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('form') }) },
+ path: 'hotkey',
+ },
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/chat-preference'),
+ 'Desktop > Workspace > Settings > Chat Preference',
+ ),
+ handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('form') }) },
+ path: 'chat-preference',
+ },
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/messenger'),
+ 'Desktop > Workspace > Settings > Messenger',
+ ),
+ handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('list') }) },
+ path: 'messenger',
+ },
+ // Platform detail level — the page reads the platform from `sub`.
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/messenger'),
+ 'Desktop > Workspace > Settings > Messenger > Platform',
+ ),
+ handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('list') }) },
+ path: 'messenger/:sub',
+ },
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/integrations'),
+ 'Desktop > Workspace > Settings > Integrations',
+ ),
+ handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('list') }) },
+ path: 'integrations',
+ },
+ // Integration detail level — the page reads the integration from `sub`.
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/integrations'),
+ 'Desktop > Workspace > Settings > Integrations > Detail',
+ ),
+ handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('list') }) },
+ path: 'integrations/:sub',
+ },
+ // Developer tools mirrored inside the workspace (user preferences).
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/advanced'),
+ 'Desktop > Workspace > Settings > Advanced',
+ ),
+ handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('form') }) },
+ path: 'advanced',
+ },
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/labs'),
+ 'Desktop > Workspace > Settings > Labs',
+ ),
+ handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('form') }) },
+ path: 'labs',
+ },
+ {
+ element: dynamicElement(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/about'),
+ 'Desktop > Workspace > Settings > About',
+ ),
+ handle: { meta: routeMeta({ Skeleton: createSurfaceSkeleton('form') }) },
+ path: 'about',
+ },
+ ],
+ element: dynamicLayout(
+ () => import('@/routes/(main)/[workspaceSlug]/settings/_content-layout'),
+ 'Desktop > Workspace > Settings > Content Layout',
+ { preloadId: 'settings' },
+ ),
+};
diff --git a/src/store/user/slices/settings/action.test.ts b/src/store/user/slices/settings/action.test.ts
index ef91e43f9e3..cdc5e5c87d5 100644
--- a/src/store/user/slices/settings/action.test.ts
+++ b/src/store/user/slices/settings/action.test.ts
@@ -12,6 +12,7 @@ import { merge } from '@/utils/merge';
// Mock userService
vi.mock('@/services/user', () => ({
userService: {
+ updatePersonalSystemAgent: vi.fn(),
updateToolChannels: vi.fn(),
updateToolIntervention: vi.fn(),
updateUserSettings: vi.fn(),
@@ -236,6 +237,94 @@ describe('SettingsAction', () => {
});
});
+ describe('updatePersonalSystemAgent', () => {
+ beforeEach(() => {
+ vi.clearAllMocks();
+ });
+
+ it('should write through the per-entry endpoint instead of setSettings', async () => {
+ const { result } = renderHook(() => useUserStore());
+
+ await act(async () => {
+ await result.current.updatePersonalSystemAgent('followUpAction', { enabled: false });
+ });
+
+ expect(userService.updatePersonalSystemAgent).toHaveBeenCalledWith('followUpAction', {
+ enabled: false,
+ });
+ // The whole-settings write carries every systemAgent entry, which a
+ // workspace member is not allowed to change.
+ expect(userService.updateUserSettings).not.toHaveBeenCalled();
+ expect(result.current.settings.systemAgent?.followUpAction?.enabled).toBe(false);
+ });
+
+ it('should send rapid writes to one entry one at a time, in call order', async () => {
+ const { result } = renderHook(() => useUserStore());
+ const resolvers: Array<() => void> = [];
+ vi.mocked(userService.updatePersonalSystemAgent).mockImplementation(
+ () => new Promise((resolve) => resolvers.push(() => resolve(undefined as any))),
+ );
+
+ let first!: Promise<void>;
+ let second!: Promise<void>;
+ act(() => {
+ first = result.current.updatePersonalSystemAgent('followUpAction', {
+ model: 'model-a',
+ provider: 'openai',
+ });
+ second = result.current.updatePersonalSystemAgent('followUpAction', {
+ model: 'model-b',
+ provider: 'openai',
+ });
+ });
+
+ // model-b is not sent until model-a has committed, so it cannot be overwritten
+ await vi.waitFor(() =>
+ expect(userService.updatePersonalSystemAgent).toHaveBeenCalledTimes(1),
+ );
+ expect(userService.updatePersonalSystemAgent).toHaveBeenLastCalledWith('followUpAction', {
+ model: 'model-a',
+ provider: 'openai',
+ });
+
+ await act(async () => {
+ resolvers[0]();
+ await first;
+ });
+ await vi.waitFor(() =>
+ expect(userService.updatePersonalSystemAgent).toHaveBeenCalledTimes(2),
+ );
+ expect(userService.updatePersonalSystemAgent).toHaveBeenLastCalledWith('followUpAction', {
+ model: 'model-b',
+ provider: 'openai',
+ });
+
+ await act(async () => {
+ resolvers[1]();
+ await second;
+ });
+ });
+
+ it('should revalidate and rethrow when the write fails', async () => {
+ const refreshUserState = vi.fn().mockResolvedValue(undefined);
+ useUserStore.setState({ refreshUserState });
+ const { result } = renderHook(() => useUserStore());
+ vi.mocked(userService.updatePersonalSystemAgent).mockRejectedValueOnce(
+ new Error('network error'),
+ );
+
+ let write!: Promise<void>;
+ act(() => {
+ write = result.current.updatePersonalSystemAgent('inputCompletion', { enabled: true });
+ });
+
+ // The caller still sees the failure (save hint shows retry) ...
+ await expect(write).rejects.toThrow('network error');
+ // ... and the unsaved optimistic value is replaced by the server state
+ expect(refreshUserState).toHaveBeenCalledTimes(1);
+ });
+ });
+
describe('updateToolChannels', () => {
beforeEach(() => {
vi.clearAllMocks();
diff --git a/src/store/user/slices/settings/action.ts b/src/store/user/slices/settings/action.ts
index e28c5c631a9..5434fc3effe 100644
--- a/src/store/user/slices/settings/action.ts
+++ b/src/store/user/slices/settings/action.ts
@@ -8,6 +8,7 @@ import type { StoreSetter } from '@/store/types';
import type { UserStore } from '@/store/user';
import type { LobeAgentSettings } from '@/types/session';
import type {
+ PersonalSystemAgentKey,
SystemAgentItem,
UserGeneralConfig,
UserKeyVaults,
@@ -45,6 +46,9 @@ export class UserSettingsActionImpl {
*/
#toolChannelsWrite: Promise<unknown> = Promise.resolve();
+ /** Latest queued write per personal system-agent entry; see updatePersonalSystemAgent. */
+ readonly #personalSystemAgentWrites = new Map<PersonalSystemAgentKey, Promise<unknown>>();
+
constructor(set: Setter, get: () => UserStore, _api?: unknown) {
void _api;
this.#set = set;
@@ -285,6 +289,45 @@ export class UserSettingsActionImpl {
await this.#get().refreshUserState();
};
+ /**
+ * Personal chat-assist entries (follow-up chips, input completion) go through
+ * a dedicated per-entry merge: inside a workspace the generic settings write
+ * would be rejected for members, since it carries the whole `systemAgent`
+ * column, and it would rewrite sibling entries from this tab's snapshot.
+ */
+ updatePersonalSystemAgent = async (
+ key: PersonalSystemAgentKey,
+ value: { enabled?: boolean; model?: string; provider?: string },
+ ): Promise<void> => {
+ this.#set(
+ { settings: merge(this.#get().settings, { systemAgent: { [key]: value } }) },
+ false,
+ 'optimistic_updatePersonalSystemAgent',
+ );
+
+ // Writes to one entry run in call order, so a slower earlier save (model A)
+ // cannot land after a later one (model B). A failed earlier write must not
+ // block later ones; its caller still receives its own rejection.
+ const write = (this.#personalSystemAgentWrites.get(key) ?? Promise.resolve())
+ .catch(() => {})
+ .then(() => userService.updatePersonalSystemAgent(key, value));
+ this.#personalSystemAgentWrites.set(key, write);
+
+ try {
+ await write;
+ } catch (error) {
+ // Chat reads these settings directly, so drop the unsaved optimistic
+ // value. The rejection still reaches the caller for its retry state.
+ await this.#get()
+ .refreshUserState()
+ .catch(() => {});
+ throw error;
+ }
+ // Only the latest write refreshes: an intermediate refresh would pull a
+ // value that a queued write is about to replace.
+ if (this.#personalSystemAgentWrites.get(key) === write) await this.#get().refreshUserState();
+ };
+
updateToolChannels = async (channels: {
crawlerImpls?: string[];
searchProviders?: string[];
diff --git a/src/types/workspaceSettings.ts b/src/types/workspaceSettings.ts
index 5e684590bd7..846158e84f7 100644
--- a/src/types/workspaceSettings.ts
+++ b/src/types/workspaceSettings.ts
@@ -13,6 +13,7 @@ export enum WorkspaceSettingsTabs {
AuditLog = 'audit-log',
Billing = 'billing',
Budget = 'budget',
+ ChatPreference = 'chat-preference',
Connector = 'connector',
Credits = 'credits',
Creds = 'credential',