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.

💄 style(execution-target): pin This computer to the top on desktop (#23017)

Rdmclin27f100a733e96
diff --git a/locales/ar/chat.json b/locales/ar/chat.json
index 5089e7fa56e..273d506dde9 100644
--- a/locales/ar/chat.json
+++ b/locales/ar/chat.json
@@ -1367,7 +1367,6 @@
"heteroAgent.apiMode.labDisabled.action": "تمكين في المختبرات",
"heteroAgent.apiMode.labDisabled.desc": "قم بتشغيله في الإعدادات → المختبرات، أو قم بتبديل هذا الوكيل إلى مصادقة الاشتراك.",
"heteroAgent.apiMode.labDisabled.title": "ربط المزود هو تجربة مختبرات",
- "heteroAgent.apiMode.localOnly.desc": "قم بتبديل بيئة التنفيذ إلى الجهاز المحلي، أو استخدم مصادقة الاشتراك.",
"heteroAgent.apiMode.localOnly.title": "يتطلب وضع API تنفيذًا محليًا على سطح المكتب",
"heteroAgent.apiMode.modelUnavailable": "النموذج \"{{providerId}}/{{model}}\" معطل أو لم يعد متاحًا.",
"heteroAgent.apiMode.protocolMismatch": "المزود \"{{providerId}}\" لا يوفر بروتوكولًا مدعومًا من قبل {{agentType}}.",
@@ -1520,8 +1519,6 @@
"heteroAgent.executionTarget.infoTooltip": "اختر مكان تشغيل هذا الوكيل. يمكن للجهاز قراءة وكتابة الملفات أو تشغيل جهاز كمبيوتر؛ يعمل Cloud Sandbox في بيئة مؤقتة معزولة.",
"heteroAgent.executionTarget.loadFailed": "تعذر تحميل الأجهزة.",
"heteroAgent.executionTarget.loading": "جارٍ تحميل الأجهزة...",
- "heteroAgent.executionTarget.local": "هذا الجهاز",
- "heteroAgent.executionTarget.localDesc": "تشغيل كعملية محلية على تطبيق سطح المكتب هذا",
"heteroAgent.executionTarget.localSandbox": "صندوق الرمل المحلي",
"heteroAgent.executionTarget.localSandboxDesc": "تشغيل على هذا الكمبيوتر، مع أوامر محدودة في دليل العمل ودون شبكة",
"heteroAgent.executionTarget.localSandboxDescNetwork": "تشغيل على هذا الكمبيوتر، مع أوامر محدودة في دليل العمل وفي نطاقات المطورين الشائعة",
@@ -1529,7 +1526,6 @@
"heteroAgent.executionTarget.localSandboxSetUp": "إعداد",
"heteroAgent.executionTarget.localSandboxUnavailable": "غير متوفر على هذا الجهاز: {{reason}}",
"heteroAgent.executionTarget.manage": "إدارة",
- "heteroAgent.executionTarget.noDevices": "لا توجد أجهزة بعيدة حتى الآن. قم بتثبيت تطبيق سطح المكتب أو قم بتشغيل `lh connect` على جهاز آخر.",
"heteroAgent.executionTarget.noWorkspaceDevices": "لا توجد أجهزة مساحة عمل حتى الآن. قم بتشغيل `{{cmd}}` على جهاز لتسجيله لكل عضو.",
"heteroAgent.executionTarget.none": "لا يوجد جهاز",
"heteroAgent.executionTarget.noneDesc": "لم يتم تمكين أي جهاز",
diff --git a/locales/bg-BG/chat.json b/locales/bg-BG/chat.json
index 87f4a5a38e9..0ce0a69b4d6 100644
--- a/locales/bg-BG/chat.json
+++ b/locales/bg-BG/chat.json
@@ -1367,7 +1367,6 @@
"heteroAgent.apiMode.labDisabled.action": "Активирайте в Labs",
"heteroAgent.apiMode.labDisabled.desc": "Включете го в Настройки → Labs или превключете този агент към удостоверяване чрез абонамент.",
"heteroAgent.apiMode.labDisabled.title": "Свързването с доставчик е експеримент в Labs",
- "heteroAgent.apiMode.localOnly.desc": "Превключете средата за изпълнение на Локално устройство или използвайте удостоверяване чрез абонамент.",
"heteroAgent.apiMode.localOnly.title": "Режимът API изисква локално изпълнение на настолен компютър",
"heteroAgent.apiMode.modelUnavailable": "Моделът \"{{providerId}}/{{model}}\" е деактивиран или вече не е наличен.",
"heteroAgent.apiMode.protocolMismatch": "Доставчикът \"{{providerId}}\" не предоставя протокол, поддържан от {{agentType}}.",
@@ -1522,8 +1521,6 @@
"heteroAgent.executionTarget.infoTooltip": "Изберете къде да работи този агент. Устройство може да чете и записва файлове или да управлява компютър; Cloud Sandbox работи в изолирана временна среда.",
"heteroAgent.executionTarget.loadFailed": "Не можа да зареди устройствата.",
"heteroAgent.executionTarget.loading": "Зареждане на устройства...",
- "heteroAgent.executionTarget.local": "Това устройство",
- "heteroAgent.executionTarget.localDesc": "Изпълнява се като локален процес в това десктоп приложение",
"heteroAgent.executionTarget.localSandbox": "Локална пясъчник среда",
"heteroAgent.executionTarget.localSandboxDesc": "Изпълнява се на този компютър, с команди, ограничени до работната директория и без мрежа",
"heteroAgent.executionTarget.localSandboxDescNetwork": "Изпълнява се на този компютър, с команди, ограничени до работната директория и до общи домейни за разработчици",
@@ -1531,7 +1528,6 @@
"heteroAgent.executionTarget.localSandboxSetUp": "Настройване",
"heteroAgent.executionTarget.localSandboxUnavailable": "Не е налично на това устройство: {{reason}}",
"heteroAgent.executionTarget.manage": "Управление",
- "heteroAgent.executionTarget.noDevices": "Все още няма отдалечени устройства. Инсталирайте десктоп приложението или изпълнете `lh connect` на друга машина.",
"heteroAgent.executionTarget.noWorkspaceDevices": "Все още няма устройства в работното пространство. Изпълнете `{{cmd}}` на машина, за да я регистрирате за всеки член.",
"heteroAgent.executionTarget.none": "Няма устройство",
"heteroAgent.executionTarget.noneDesc": "Няма активирано устройство",
diff --git a/locales/de-DE/chat.json b/locales/de-DE/chat.json
index ba74dac8fc6..33b642efaa5 100644
--- a/locales/de-DE/chat.json
+++ b/locales/de-DE/chat.json
@@ -1367,7 +1367,6 @@
"heteroAgent.apiMode.labDisabled.action": "In Labs aktivieren",
"heteroAgent.apiMode.labDisabled.desc": "Aktivieren Sie es unter Einstellungen → Labs oder wechseln Sie diesen Agenten zur Abonnement-Authentifizierung.",
"heteroAgent.apiMode.labDisabled.title": "Provider-Bindung ist ein Labs-Experiment",
- "heteroAgent.apiMode.localOnly.desc": "Wechseln Sie die Ausführungsumgebung auf das lokale Gerät oder verwenden Sie die Abonnement-Authentifizierung.",
"heteroAgent.apiMode.localOnly.title": "API-Modus erfordert lokale Ausführung auf dem Desktop",
"heteroAgent.apiMode.modelUnavailable": "Das Modell \"{{providerId}}/{{model}}\" ist deaktiviert oder nicht mehr verfügbar.",
"heteroAgent.apiMode.protocolMismatch": "Der Anbieter \"{{providerId}}\" stellt kein Protokoll bereit, das von {{agentType}} unterstützt wird.",
@@ -1520,8 +1519,6 @@
"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",
"heteroAgent.executionTarget.localSandbox": "Lokale Sandbox",
"heteroAgent.executionTarget.localSandboxDesc": "Auf diesem Computer ausführen, mit Befehlen, die auf das Arbeitsverzeichnis beschränkt sind, und ohne Netzwerkzugriff",
"heteroAgent.executionTarget.localSandboxDescNetwork": "Auf diesem Computer ausführen, mit Befehlen, die auf das Arbeitsverzeichnis und auf gängige Entwickler-Domains beschränkt sind",
@@ -1529,7 +1526,6 @@
"heteroAgent.executionTarget.localSandboxSetUp": "Einrichten",
"heteroAgent.executionTarget.localSandboxUnavailable": "Auf diesem Gerät nicht verfügbar: {{reason}}",
"heteroAgent.executionTarget.manage": "Verwalten",
- "heteroAgent.executionTarget.noDevices": "Noch keine Remote-Geräte. Installieren Sie die Desktop-App oder führen Sie `lh connect` auf einer anderen Maschine aus.",
"heteroAgent.executionTarget.noWorkspaceDevices": "Noch keine Arbeitsbereichsgeräte. Führen Sie `{{cmd}}` auf einem Gerät aus, um es für jedes Mitglied zu registrieren.",
"heteroAgent.executionTarget.none": "Kein Gerät",
"heteroAgent.executionTarget.noneDesc": "Kein Gerät aktiviert",
diff --git a/locales/en-US/chat.json b/locales/en-US/chat.json
index 2274d3c20f5..e03ecf7cf58 100644
--- a/locales/en-US/chat.json
+++ b/locales/en-US/chat.json
@@ -1371,7 +1371,7 @@
"heteroAgent.apiMode.labDisabled.action": "Enable in Labs",
"heteroAgent.apiMode.labDisabled.desc": "Turn it on in Settings → Labs, or switch this agent to Subscription authentication.",
"heteroAgent.apiMode.labDisabled.title": "Provider binding is a Labs experiment",
- "heteroAgent.apiMode.localOnly.desc": "Switch the execution environment to Local device, or use Subscription authentication.",
+ "heteroAgent.apiMode.localOnly.desc": "Switch the execution environment to This computer, or use Subscription authentication.",
"heteroAgent.apiMode.localOnly.title": "API mode requires Desktop local execution",
"heteroAgent.apiMode.modelUnavailable": "The model \"{{providerId}}/{{model}}\" is disabled or no longer available.",
"heteroAgent.apiMode.protocolMismatch": "The provider \"{{providerId}}\" does not expose a protocol supported by {{agentType}}.",
@@ -1517,6 +1517,7 @@
"heteroAgent.codexQuota.totalEarned_other": "{{count}} earned in total",
"heteroAgent.executionTarget.auto": "Auto",
"heteroAgent.executionTarget.autoDesc": "Use an online device automatically, picking one when several are available",
+ "heteroAgent.executionTarget.builtinGroup": "Built-in",
"heteroAgent.executionTarget.downloadDesktop": "Get Desktop App",
"heteroAgent.executionTarget.downloadDesktopDesc": "Run agents with access to your computer",
"heteroAgent.executionTarget.downloadDesktopTitle": "Get the desktop app",
@@ -1524,8 +1525,8 @@
"heteroAgent.executionTarget.infoTooltip": "Choose where this Agent runs. A device can read and write files or operate a computer; Cloud Sandbox runs in an isolated temporary environment.",
"heteroAgent.executionTarget.loadFailed": "Couldn’t load devices.",
"heteroAgent.executionTarget.loading": "Loading devices…",
- "heteroAgent.executionTarget.local": "Local device",
- "heteroAgent.executionTarget.localDesc": "Run as a local process on this desktop app",
+ "heteroAgent.executionTarget.local": "This computer",
+ "heteroAgent.executionTarget.localDesc": "Runs right here, with access to your files and tools",
"heteroAgent.executionTarget.localSandbox": "Local sandbox",
"heteroAgent.executionTarget.localSandboxDesc": "Run on this computer, with commands limited to the working directory and no network",
"heteroAgent.executionTarget.localSandboxDescNetwork": "Run on this computer, with commands limited to the working directory and to common developer domains",
@@ -1533,7 +1534,7 @@
"heteroAgent.executionTarget.localSandboxSetUp": "Set up",
"heteroAgent.executionTarget.localSandboxUnavailable": "Not available on this device: {{reason}}",
"heteroAgent.executionTarget.manage": "Manage",
- "heteroAgent.executionTarget.noDevices": "No remote devices yet. Run `lh connect` on another machine to add one.",
+ "heteroAgent.executionTarget.noDevices": "No other devices yet. Run `lh connect` on another computer to add one.",
"heteroAgent.executionTarget.noWorkspaceDevices": "No workspace devices yet. Run `{{cmd}}` on a machine to enroll it for every member.",
"heteroAgent.executionTarget.none": "No device",
"heteroAgent.executionTarget.noneDesc": "No device enabled",
@@ -1541,6 +1542,7 @@
"heteroAgent.executionTarget.online": "Online",
"heteroAgent.executionTarget.onlineConnections_one": "Online · {{count}} connection",
"heteroAgent.executionTarget.onlineConnections_other": "Online · {{count}} connections",
+ "heteroAgent.executionTarget.otherDevicesGroup": "Other devices",
"heteroAgent.executionTarget.personalGroup": "Private Devices",
"heteroAgent.executionTarget.presenceChecking": "Checking status…",
"heteroAgent.executionTarget.projectDevicesHint": "Only devices with this project's working directory are listed. Add a directory for another device in the project settings.",
@@ -1553,7 +1555,6 @@
"heteroAgent.executionTarget.switchTopic.content": "This topic has been running on {{name}}, where its working directory and agent session are kept. After switching, its next turn starts a fresh session in the new environment. New topics will use this choice too.",
"heteroAgent.executionTarget.switchTopic.ok": "Switch",
"heteroAgent.executionTarget.switchTopic.title": "Move this topic to another environment?",
- "heteroAgent.executionTarget.thisDevice": "This device",
"heteroAgent.executionTarget.title": "Execution Environment",
"heteroAgent.executionTarget.topicTag": "This topic",
"heteroAgent.executionTarget.unknownDevice": "Unknown device",
diff --git a/locales/es-ES/chat.json b/locales/es-ES/chat.json
index ad474f950c9..2acd618b255 100644
--- a/locales/es-ES/chat.json
+++ b/locales/es-ES/chat.json
@@ -1367,7 +1367,6 @@
"heteroAgent.apiMode.labDisabled.action": "Habilitar en Labs",
"heteroAgent.apiMode.labDisabled.desc": "Actívalo en Configuración → Labs, o cambia este agente a autenticación por Suscripción.",
"heteroAgent.apiMode.labDisabled.title": "La vinculación del proveedor es un experimento de Labs",
- "heteroAgent.apiMode.localOnly.desc": "Cambia el entorno de ejecución al dispositivo Local, o utiliza la autenticación por Suscripción.",
"heteroAgent.apiMode.localOnly.title": "El modo API requiere ejecución local en el escritorio",
"heteroAgent.apiMode.modelUnavailable": "El modelo \"{{providerId}}/{{model}}\" está deshabilitado o ya no está disponible.",
"heteroAgent.apiMode.protocolMismatch": "El proveedor \"{{providerId}}\" no expone un protocolo compatible con {{agentType}}.",
@@ -1520,8 +1519,6 @@
"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",
"heteroAgent.executionTarget.localSandbox": "Sandbox local",
"heteroAgent.executionTarget.localSandboxDesc": "Ejecutar en este ordenador, con comandos limitados al directorio de trabajo y sin red",
"heteroAgent.executionTarget.localSandboxDescNetwork": "Ejecutar en este ordenador, con comandos limitados al directorio de trabajo y a dominios comunes de desarrolladores",
@@ -1529,7 +1526,6 @@
"heteroAgent.executionTarget.localSandboxSetUp": "Configurar",
"heteroAgent.executionTarget.localSandboxUnavailable": "No disponible en este dispositivo: {{reason}}",
"heteroAgent.executionTarget.manage": "Gestionar",
- "heteroAgent.executionTarget.noDevices": "Aún no hay dispositivos remotos. Instala la aplicación de escritorio o ejecuta `lh connect` en otra máquina.",
"heteroAgent.executionTarget.noWorkspaceDevices": "Aún no hay dispositivos en el espacio de trabajo. Ejecuta `{{cmd}}` en una máquina para inscribirla para cada miembro.",
"heteroAgent.executionTarget.none": "Sin dispositivo",
"heteroAgent.executionTarget.noneDesc": "No hay dispositivos habilitados",
diff --git a/locales/fa-IR/chat.json b/locales/fa-IR/chat.json
index 5b13c6ec49a..2d3f5edf5cb 100644
--- a/locales/fa-IR/chat.json
+++ b/locales/fa-IR/chat.json
@@ -1367,7 +1367,6 @@
"heteroAgent.apiMode.labDisabled.action": "فعال‌سازی در آزمایشگاه‌ها",
"heteroAgent.apiMode.labDisabled.desc": "آن را در تنظیمات → آزمایشگاه‌ها فعال کنید، یا این عامل را به احراز هویت اشتراکی تغییر دهید.",
"heteroAgent.apiMode.labDisabled.title": "اتصال ارائه‌دهنده یک آزمایش در آزمایشگاه‌ها است",
- "heteroAgent.apiMode.localOnly.desc": "محیط اجرا را به دستگاه محلی تغییر دهید، یا از احراز هویت اشتراکی استفاده کنید.",
"heteroAgent.apiMode.localOnly.title": "حالت API نیاز به اجرای محلی در دسکتاپ دارد",
"heteroAgent.apiMode.modelUnavailable": "مدل \"{{providerId}}/{{model}}\" غیرفعال یا دیگر در دسترس نیست.",
"heteroAgent.apiMode.protocolMismatch": "ارائه‌دهنده \"{{providerId}}\" پروتکلی را ارائه نمی‌دهد که توسط {{agentType}} پشتیبانی شود.",
@@ -1522,8 +1521,6 @@
"heteroAgent.executionTarget.infoTooltip": "محل اجرای این عامل را انتخاب کنید. یک دستگاه می‌تواند فایل‌ها را بخواند و بنویسد یا یک کامپیوتر را اجرا کند؛ محیط ابری Sandbox در یک محیط موقت ایزوله اجرا می‌شود.",
"heteroAgent.executionTarget.loadFailed": "دستگاه‌ها بارگذاری نشدند.",
"heteroAgent.executionTarget.loading": "در حال بارگذاری دستگاه‌ها...",
- "heteroAgent.executionTarget.local": "این دستگاه",
- "heteroAgent.executionTarget.localDesc": "به عنوان یک فرآیند محلی در این برنامه دسکتاپ اجرا شود",
"heteroAgent.executionTarget.localSandbox": "محیط ایزوله محلی",
"heteroAgent.executionTarget.localSandboxDesc": "اجرا روی این کامپیوتر، با دستورات محدود به دایرکتوری کاری و بدون شبکه",
"heteroAgent.executionTarget.localSandboxDescNetwork": "اجرا روی این کامپیوتر، با دستورات محدود به دایرکتوری کاری و دامنه‌های معمول توسعه‌دهندگان",
@@ -1531,7 +1528,6 @@
"heteroAgent.executionTarget.localSandboxSetUp": "راه‌اندازی",
"heteroAgent.executionTarget.localSandboxUnavailable": "در این دستگاه در دسترس نیست: {{reason}}",
"heteroAgent.executionTarget.manage": "مدیریت",
- "heteroAgent.executionTarget.noDevices": "هنوز هیچ دستگاه از راه دوری وجود ندارد. برنامه دسکتاپ را نصب کنید یا `lh connect` را روی یک ماشین دیگر اجرا کنید.",
"heteroAgent.executionTarget.noWorkspaceDevices": "هنوز هیچ دستگاهی در فضای کاری وجود ندارد. دستور `{{cmd}}` را روی یک دستگاه اجرا کنید تا برای همه اعضا ثبت شود.",
"heteroAgent.executionTarget.none": "بدون دستگاه",
"heteroAgent.executionTarget.noneDesc": "هیچ دستگاهی فعال نشده است",
diff --git a/locales/fr-FR/chat.json b/locales/fr-FR/chat.json
index a001798f5a2..9f84831c280 100644
--- a/locales/fr-FR/chat.json
+++ b/locales/fr-FR/chat.json
@@ -1367,7 +1367,6 @@
"heteroAgent.apiMode.labDisabled.action": "Activer dans Labs",
"heteroAgent.apiMode.labDisabled.desc": "Activez-le dans Paramètres → Labs, ou passez cet agent à l'authentification par abonnement.",
"heteroAgent.apiMode.labDisabled.title": "L'association au fournisseur est une expérimentation Labs",
- "heteroAgent.apiMode.localOnly.desc": "Passez l'environnement d'exécution à un appareil local, ou utilisez l'authentification par abonnement.",
"heteroAgent.apiMode.localOnly.title": "Le mode API nécessite une exécution locale sur le bureau",
"heteroAgent.apiMode.modelUnavailable": "Le modèle \"{{providerId}}/{{model}}\" est désactivé ou n'est plus disponible.",
"heteroAgent.apiMode.protocolMismatch": "Le fournisseur \"{{providerId}}\" n'expose pas un protocole pris en charge par {{agentType}}.",
@@ -1522,8 +1521,6 @@
"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",
"heteroAgent.executionTarget.localSandbox": "Bac à sable local",
"heteroAgent.executionTarget.localSandboxDesc": "Exécuter sur cet ordinateur, avec des commandes limitées au répertoire de travail et sans réseau",
"heteroAgent.executionTarget.localSandboxDescNetwork": "Exécuter sur cet ordinateur, avec des commandes limitées au répertoire de travail et aux domaines courants des développeurs",
@@ -1531,7 +1528,6 @@
"heteroAgent.executionTarget.localSandboxSetUp": "Configurer",
"heteroAgent.executionTarget.localSandboxUnavailable": "Non disponible sur cet appareil : {{reason}}",
"heteroAgent.executionTarget.manage": "Gérer",
- "heteroAgent.executionTarget.noDevices": "Aucun appareil distant pour le moment. Installez l'application de bureau ou exécutez `lh connect` sur une autre machine.",
"heteroAgent.executionTarget.noWorkspaceDevices": "Aucun appareil de l'espace de travail pour le moment. Exécutez `{{cmd}}` sur une machine pour l'inscrire pour chaque membre.",
"heteroAgent.executionTarget.none": "Aucun appareil",
"heteroAgent.executionTarget.noneDesc": "Aucun appareil activé",
diff --git a/locales/it-IT/chat.json b/locales/it-IT/chat.json
index 60a5802092f..7bb4479dffe 100644
--- a/locales/it-IT/chat.json
+++ b/locales/it-IT/chat.json
@@ -1367,7 +1367,6 @@
"heteroAgent.apiMode.labDisabled.action": "Abilita nei Labs",
"heteroAgent.apiMode.labDisabled.desc": "Attivalo in Impostazioni → Labs, oppure passa questo agente all'autenticazione tramite Abbonamento.",
"heteroAgent.apiMode.labDisabled.title": "Il collegamento al provider è un esperimento Labs",
- "heteroAgent.apiMode.localOnly.desc": "Passa l'ambiente di esecuzione al dispositivo Locale, oppure utilizza l'autenticazione tramite Abbonamento.",
"heteroAgent.apiMode.localOnly.title": "La modalità API richiede l'esecuzione locale su Desktop",
"heteroAgent.apiMode.modelUnavailable": "Il modello \"{{providerId}}/{{model}}\" è disabilitato o non più disponibile.",
"heteroAgent.apiMode.protocolMismatch": "Il provider \"{{providerId}}\" non espone un protocollo supportato da {{agentType}}.",
@@ -1522,8 +1521,6 @@
"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",
"heteroAgent.executionTarget.localSandbox": "Sandbox locale",
"heteroAgent.executionTarget.localSandboxDesc": "Esegui su questo computer, con comandi limitati alla directory di lavoro e senza rete",
"heteroAgent.executionTarget.localSandboxDescNetwork": "Esegui su questo computer, con comandi limitati alla directory di lavoro e ai domini comuni per sviluppatori",
@@ -1531,7 +1528,6 @@
"heteroAgent.executionTarget.localSandboxSetUp": "Configura",
"heteroAgent.executionTarget.localSandboxUnavailable": "Non disponibile su questo dispositivo: {{reason}}",
"heteroAgent.executionTarget.manage": "Gestisci",
- "heteroAgent.executionTarget.noDevices": "Nessun dispositivo remoto ancora. Installa l'app desktop o esegui `lh connect` su un'altra macchina.",
"heteroAgent.executionTarget.noWorkspaceDevices": "Nessun dispositivo di workspace al momento. Esegui `{{cmd}}` su una macchina per registrarla per ogni membro.",
"heteroAgent.executionTarget.none": "Nessun dispositivo",
"heteroAgent.executionTarget.noneDesc": "Nessun dispositivo abilitato",
diff --git a/locales/ja-JP/chat.json b/locales/ja-JP/chat.json
index 57822799d58..0d4dcb0b09a 100644
--- a/locales/ja-JP/chat.json
+++ b/locales/ja-JP/chat.json
@@ -1367,7 +1367,6 @@
"heteroAgent.apiMode.labDisabled.action": "Labsで有効化",
"heteroAgent.apiMode.labDisabled.desc": "設定 → Labsで有効化するか、このエージェントをサブスクリプション認証に切り替えてください。",
"heteroAgent.apiMode.labDisabled.title": "プロバイダーのバインディングはLabsの実験機能です",
- "heteroAgent.apiMode.localOnly.desc": "実行環境をローカルデバイスに切り替えるか、サブスクリプション認証を使用してください。",
"heteroAgent.apiMode.localOnly.title": "APIモードにはデスクトップのローカル実行が必要です",
"heteroAgent.apiMode.modelUnavailable": "モデル「{{providerId}}/{{model}}」は無効化されているか、利用できなくなっています。",
"heteroAgent.apiMode.protocolMismatch": "プロバイダー \"{{providerId}}\" は {{agentType}} がサポートするプロトコルを公開していません。",
@@ -1522,8 +1521,6 @@
"heteroAgent.executionTarget.infoTooltip": "このエージェントが実行される場所を選択してください。デバイスはファイルの読み書きやコンピュータの操作が可能です。クラウドサンドボックスは隔離された一時的な環境で実行されます。",
"heteroAgent.executionTarget.loadFailed": "デバイスを読み込めませんでした。",
"heteroAgent.executionTarget.loading": "デバイスを読み込み中…",
- "heteroAgent.executionTarget.local": "このデバイス",
- "heteroAgent.executionTarget.localDesc": "このデスクトップアプリでローカルプロセスとして実行",
"heteroAgent.executionTarget.localSandbox": "ローカルサンドボックス",
"heteroAgent.executionTarget.localSandboxDesc": "このコンピュータで実行します。コマンドは作業ディレクトリに限定され、ネットワークは使用できません。",
"heteroAgent.executionTarget.localSandboxDescNetwork": "このコンピュータで実行します。コマンドは作業ディレクトリと一般的な開発者ドメインに限定されます。",
@@ -1531,7 +1528,6 @@
"heteroAgent.executionTarget.localSandboxSetUp": "セットアップ",
"heteroAgent.executionTarget.localSandboxUnavailable": "このデバイスでは利用できません: {{reason}}",
"heteroAgent.executionTarget.manage": "管理",
- "heteroAgent.executionTarget.noDevices": "リモートデバイスがまだありません。デスクトップアプリをインストールするか、別のマシンで `lh connect` を実行してください。",
"heteroAgent.executionTarget.noWorkspaceDevices": "まだワークスペースデバイスがありません。マシンで `{{cmd}}` を実行して、すべてのメンバーのために登録してください。",
"heteroAgent.executionTarget.none": "デバイスなし",
"heteroAgent.executionTarget.noneDesc": "有効なデバイスがありません",
diff --git a/locales/ko-KR/chat.json b/locales/ko-KR/chat.json
index 1b081610bec..7e504044e41 100644
--- a/locales/ko-KR/chat.json
+++ b/locales/ko-KR/chat.json
@@ -1367,7 +1367,6 @@
"heteroAgent.apiMode.labDisabled.action": "랩에서 활성화",
"heteroAgent.apiMode.labDisabled.desc": "설정 → 랩에서 활성화하거나 이 에이전트를 구독 인증으로 전환하세요.",
"heteroAgent.apiMode.labDisabled.title": "제공자 바인딩은 랩 실험입니다",
- "heteroAgent.apiMode.localOnly.desc": "실행 환경을 로컬 장치로 전환하거나 구독 인증을 사용하세요.",
"heteroAgent.apiMode.localOnly.title": "API 모드는 데스크톱 로컬 실행이 필요합니다",
"heteroAgent.apiMode.modelUnavailable": "모델 \"{{providerId}}/{{model}}\"이(가) 비활성화되었거나 더 이상 사용할 수 없습니다.",
"heteroAgent.apiMode.protocolMismatch": "제공자 \"{{providerId}}\"는 {{agentType}}가 지원하는 프로토콜을 제공하지 않습니다.",
@@ -1520,8 +1519,6 @@
"heteroAgent.executionTarget.infoTooltip": "이 에이전트가 실행되는 위치를 선택하세요. 장치는 파일을 읽고 쓰거나 컴퓨터를 작동시킬 수 있으며, 클라우드 샌드박스는 격리된 임시 환경에서 실행됩니다.",
"heteroAgent.executionTarget.loadFailed": "장치를 로드할 수 없습니다.",
"heteroAgent.executionTarget.loading": "장치 로드 중…",
- "heteroAgent.executionTarget.local": "이 장치",
- "heteroAgent.executionTarget.localDesc": "이 데스크톱 앱에서 로컬 프로세스로 실행",
"heteroAgent.executionTarget.localSandbox": "로컬 샌드박스",
"heteroAgent.executionTarget.localSandboxDesc": "이 컴퓨터에서 실행되며, 명령은 작업 디렉토리로 제한되고 네트워크는 차단됩니다.",
"heteroAgent.executionTarget.localSandboxDescNetwork": "이 컴퓨터에서 실행되며, 명령은 작업 디렉토리와 일반 개발자 도메인으로 제한됩니다.",
@@ -1529,7 +1526,6 @@
"heteroAgent.executionTarget.localSandboxSetUp": "설정",
"heteroAgent.executionTarget.localSandboxUnavailable": "이 장치에서 사용할 수 없음: {{reason}}",
"heteroAgent.executionTarget.manage": "관리",
- "heteroAgent.executionTarget.noDevices": "아직 원격 장치가 없습니다. 데스크톱 앱을 설치하거나 다른 기기에서 `lh connect`를 실행하세요.",
"heteroAgent.executionTarget.noWorkspaceDevices": "아직 워크스페이스 장치가 없습니다. 모든 구성원을 위해 기기를 등록하려면 `{{cmd}}`를 실행하세요.",
"heteroAgent.executionTarget.none": "장치 없음",
"heteroAgent.executionTarget.noneDesc": "활성화된 장치가 없습니다",
diff --git a/locales/nl-NL/chat.json b/locales/nl-NL/chat.json
index 5199ea6472f..33df605bc2c 100644
--- a/locales/nl-NL/chat.json
+++ b/locales/nl-NL/chat.json
@@ -1367,7 +1367,6 @@
"heteroAgent.apiMode.labDisabled.action": "Inschakelen in Labs",
"heteroAgent.apiMode.labDisabled.desc": "Schakel het in via Instellingen → Labs, of schakel deze agent over naar abonnementsauthenticatie.",
"heteroAgent.apiMode.labDisabled.title": "Providerbinding is een Labs-experiment",
- "heteroAgent.apiMode.localOnly.desc": "Schakel de uitvoeringsomgeving over naar Lokale apparaat, of gebruik authenticatie via Abonnement.",
"heteroAgent.apiMode.localOnly.title": "API-modus vereist lokale uitvoering op Desktop",
"heteroAgent.apiMode.modelUnavailable": "Het model \"{{providerId}}/{{model}}\" is uitgeschakeld of niet langer beschikbaar.",
"heteroAgent.apiMode.protocolMismatch": "De provider \"{{providerId}}\" biedt geen protocol dat wordt ondersteund door {{agentType}}.",
@@ -1522,8 +1521,6 @@
"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",
"heteroAgent.executionTarget.localSandbox": "Lokale sandbox",
"heteroAgent.executionTarget.localSandboxDesc": "Uitvoeren op deze computer, met opdrachten beperkt tot de werkmap en zonder netwerktoegang",
"heteroAgent.executionTarget.localSandboxDescNetwork": "Uitvoeren op deze computer, met opdrachten beperkt tot de werkmap en tot gangbare ontwikkelaarsdomeinen",
@@ -1531,7 +1528,6 @@
"heteroAgent.executionTarget.localSandboxSetUp": "Instellen",
"heteroAgent.executionTarget.localSandboxUnavailable": "Niet beschikbaar op dit apparaat: {{reason}}",
"heteroAgent.executionTarget.manage": "Beheren",
- "heteroAgent.executionTarget.noDevices": "Nog geen externe apparaten. Installeer de desktop-app of voer `lh connect` uit op een andere machine.",
"heteroAgent.executionTarget.noWorkspaceDevices": "Nog geen werkruimte-apparaten. Voer `{{cmd}}` uit op een machine om deze voor elk lid in te schrijven.",
"heteroAgent.executionTarget.none": "Geen apparaat",
"heteroAgent.executionTarget.noneDesc": "Geen apparaat ingeschakeld",
diff --git a/locales/pl-PL/chat.json b/locales/pl-PL/chat.json
index 3e76aec424a..73f95e0124f 100644
--- a/locales/pl-PL/chat.json
+++ b/locales/pl-PL/chat.json
@@ -1367,7 +1367,6 @@
"heteroAgent.apiMode.labDisabled.action": "Włącz w Labs",
"heteroAgent.apiMode.labDisabled.desc": "Włącz w Ustawieniach → Labs lub przełącz tego agenta na uwierzytelnianie Subskrypcji.",
"heteroAgent.apiMode.labDisabled.title": "Powiązanie dostawcy to eksperyment w Labs",
- "heteroAgent.apiMode.localOnly.desc": "Przełącz środowisko wykonawcze na urządzenie lokalne lub użyj uwierzytelniania Subskrypcji.",
"heteroAgent.apiMode.localOnly.title": "Tryb API wymaga lokalnego wykonania na komputerze",
"heteroAgent.apiMode.modelUnavailable": "Model \"{{providerId}}/{{model}}\" jest wyłączony lub już niedostępny.",
"heteroAgent.apiMode.protocolMismatch": "Dostawca \"{{providerId}}\" nie udostępnia protokołu obsługiwanego przez {{agentType}}.",
@@ -1520,8 +1519,6 @@
"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",
"heteroAgent.executionTarget.localSandbox": "Lokalna piaskownica",
"heteroAgent.executionTarget.localSandboxDesc": "Uruchom na tym komputerze, z poleceniami ograniczonymi do katalogu roboczego i bez dostępu do sieci",
"heteroAgent.executionTarget.localSandboxDescNetwork": "Uruchom na tym komputerze, z poleceniami ograniczonymi do katalogu roboczego i do popularnych domen deweloperskich",
@@ -1529,7 +1526,6 @@
"heteroAgent.executionTarget.localSandboxSetUp": "Skonfiguruj",
"heteroAgent.executionTarget.localSandboxUnavailable": "Niedostępne na tym urządzeniu: {{reason}}",
"heteroAgent.executionTarget.manage": "Zarządzaj",
- "heteroAgent.executionTarget.noDevices": "Brak zdalnych urządzeń. Zainstaluj aplikację desktopową lub uruchom `lh connect` na innej maszynie.",
"heteroAgent.executionTarget.noWorkspaceDevices": "Brak urządzeń w przestrzeni roboczej. Uruchom `{{cmd}}` na maszynie, aby zarejestrować ją dla każdego członka.",
"heteroAgent.executionTarget.none": "Brak urządzenia",
"heteroAgent.executionTarget.noneDesc": "Brak włączonego urządzenia",
diff --git a/locales/pt-BR/chat.json b/locales/pt-BR/chat.json
index ad4d753bc80..7ad84293973 100644
--- a/locales/pt-BR/chat.json
+++ b/locales/pt-BR/chat.json
@@ -1367,7 +1367,6 @@
"heteroAgent.apiMode.labDisabled.action": "Habilitar em Labs",
"heteroAgent.apiMode.labDisabled.desc": "Ative em Configurações → Labs, ou altere este agente para autenticação por Assinatura.",
"heteroAgent.apiMode.labDisabled.title": "Vinculação de provedor é um experimento de Labs",
- "heteroAgent.apiMode.localOnly.desc": "Altere o ambiente de execução para o dispositivo Local, ou use a autenticação por Assinatura.",
"heteroAgent.apiMode.localOnly.title": "O modo API requer execução local no Desktop",
"heteroAgent.apiMode.modelUnavailable": "O modelo \"{{providerId}}/{{model}}\" está desativado ou não está mais disponível.",
"heteroAgent.apiMode.protocolMismatch": "O provedor \"{{providerId}}\" não expõe um protocolo suportado por {{agentType}}.",
@@ -1520,8 +1519,6 @@
"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",
"heteroAgent.executionTarget.localSandbox": "Sandbox local",
"heteroAgent.executionTarget.localSandboxDesc": "Executar neste computador, com comandos limitados ao diretório de trabalho e sem rede",
"heteroAgent.executionTarget.localSandboxDescNetwork": "Executar neste computador, com comandos limitados ao diretório de trabalho e a domínios comuns de desenvolvedores",
@@ -1529,7 +1526,6 @@
"heteroAgent.executionTarget.localSandboxSetUp": "Configurar",
"heteroAgent.executionTarget.localSandboxUnavailable": "Não disponível neste dispositivo: {{reason}}",
"heteroAgent.executionTarget.manage": "Gerenciar",
- "heteroAgent.executionTarget.noDevices": "Nenhum dispositivo remoto ainda. Instale o aplicativo desktop ou execute `lh connect` em outra máquina.",
"heteroAgent.executionTarget.noWorkspaceDevices": "Ainda não há dispositivos no espaço de trabalho. Execute `{{cmd}}` em uma máquina para registrá-la para todos os membros.",
"heteroAgent.executionTarget.none": "Nenhum dispositivo",
"heteroAgent.executionTarget.noneDesc": "Nenhum dispositivo habilitado",
diff --git a/locales/ru-RU/chat.json b/locales/ru-RU/chat.json
index 1498795fd03..d670986cef8 100644
--- a/locales/ru-RU/chat.json
+++ b/locales/ru-RU/chat.json
@@ -1367,7 +1367,6 @@
"heteroAgent.apiMode.labDisabled.action": "Включить в Лабораториях",
"heteroAgent.apiMode.labDisabled.desc": "Включите это в Настройки → Лаборатории или переключите этого агента на аутентификацию по подписке.",
"heteroAgent.apiMode.labDisabled.title": "Привязка провайдера — это эксперимент в Лабораториях",
- "heteroAgent.apiMode.localOnly.desc": "Переключите среду выполнения на Локальное устройство или используйте аутентификацию по подписке.",
"heteroAgent.apiMode.localOnly.title": "Режим API требует локального выполнения на компьютере",
"heteroAgent.apiMode.modelUnavailable": "Модель \"{{providerId}}/{{model}}\" отключена или больше недоступна.",
"heteroAgent.apiMode.protocolMismatch": "Провайдер \"{{providerId}}\" не предоставляет протокол, поддерживаемый {{agentType}}.",
@@ -1520,8 +1519,6 @@
"heteroAgent.executionTarget.infoTooltip": "Выберите, где будет работать этот агент. Устройство может читать и записывать файлы или управлять компьютером; Cloud Sandbox работает в изолированной временной среде.",
"heteroAgent.executionTarget.loadFailed": "Не удалось загрузить устройства.",
"heteroAgent.executionTarget.loading": "Загрузка устройств…",
- "heteroAgent.executionTarget.local": "Это устройство",
- "heteroAgent.executionTarget.localDesc": "Запуск как локальный процесс в этом настольном приложении",
"heteroAgent.executionTarget.localSandbox": "Локальная песочница",
"heteroAgent.executionTarget.localSandboxDesc": "Запуск на этом компьютере с командами, ограниченными рабочей директорией и без сети",
"heteroAgent.executionTarget.localSandboxDescNetwork": "Запуск на этом компьютере с командами, ограниченными рабочей директорией и доступом к общим доменам разработчиков",
@@ -1529,7 +1526,6 @@
"heteroAgent.executionTarget.localSandboxSetUp": "Настроить",
"heteroAgent.executionTarget.localSandboxUnavailable": "Недоступно на этом устройстве: {{reason}}",
"heteroAgent.executionTarget.manage": "Управлять",
- "heteroAgent.executionTarget.noDevices": "Пока нет удаленных устройств. Установите настольное приложение или выполните команду `lh connect` на другой машине.",
"heteroAgent.executionTarget.noWorkspaceDevices": "Пока нет устройств рабочего пространства. Запустите `{{cmd}}` на машине, чтобы зарегистрировать её для каждого участника.",
"heteroAgent.executionTarget.none": "Нет устройства",
"heteroAgent.executionTarget.noneDesc": "Устройство не включено",
diff --git a/locales/tr-TR/chat.json b/locales/tr-TR/chat.json
index 31765d1d2bd..80d0316c096 100644
--- a/locales/tr-TR/chat.json
+++ b/locales/tr-TR/chat.json
@@ -1367,7 +1367,6 @@
"heteroAgent.apiMode.labDisabled.action": "Laboratuvarlarda Etkinleştir",
"heteroAgent.apiMode.labDisabled.desc": "Ayarlar → Laboratuvarlar bölümünden açın veya bu ajanı Abonelik kimlik doğrulamasına geçirin.",
"heteroAgent.apiMode.labDisabled.title": "Sağlayıcı bağlama bir Laboratuvar deneyi",
- "heteroAgent.apiMode.localOnly.desc": "Çalışma ortamını Yerel cihaza geçirin veya Abonelik kimlik doğrulamasını kullanın.",
"heteroAgent.apiMode.localOnly.title": "API modu Masaüstü yerel yürütme gerektirir",
"heteroAgent.apiMode.modelUnavailable": "\"{{providerId}}/{{model}}\" modeli devre dışı bırakılmış veya artık mevcut değil.",
"heteroAgent.apiMode.protocolMismatch": "\"{{providerId}}\" sağlayıcısı, {{agentType}} tarafından desteklenen bir protokol sunmuyor.",
@@ -1522,8 +1521,6 @@
"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",
"heteroAgent.executionTarget.localSandbox": "Yerel sanal alan",
"heteroAgent.executionTarget.localSandboxDesc": "Bu bilgisayarda çalıştırın, komutlar çalışma diziniyle sınırlıdır ve ağ erişimi yoktur",
"heteroAgent.executionTarget.localSandboxDescNetwork": "Bu bilgisayarda çalıştırın, komutlar çalışma diziniyle ve yaygın geliştirici alanlarıyla sınırlıdır",
@@ -1531,7 +1528,6 @@
"heteroAgent.executionTarget.localSandboxSetUp": "Kurulum yap",
"heteroAgent.executionTarget.localSandboxUnavailable": "Bu cihazda mevcut değil: {{reason}}",
"heteroAgent.executionTarget.manage": "Yönet",
- "heteroAgent.executionTarget.noDevices": "Henüz uzak cihaz yok. Masaüstü uygulamasını yükleyin veya başka bir makinede `lh connect` komutunu çalıştırın.",
"heteroAgent.executionTarget.noWorkspaceDevices": "Henüz çalışma alanı cihazı yok. Her üye için bir cihazı kaydetmek için bir makinede `{{cmd}}` komutunu çalıştırın.",
"heteroAgent.executionTarget.none": "Cihaz yok",
"heteroAgent.executionTarget.noneDesc": "Etkinleştirilmiş cihaz yok",
diff --git a/locales/vi-VN/chat.json b/locales/vi-VN/chat.json
index 17e97786721..782d22f0cee 100644
--- a/locales/vi-VN/chat.json
+++ b/locales/vi-VN/chat.json
@@ -1367,7 +1367,6 @@
"heteroAgent.apiMode.labDisabled.action": "Bật trong Labs",
"heteroAgent.apiMode.labDisabled.desc": "Bật trong Cài đặt → Labs, hoặc chuyển đổi agent này sang xác thực Đăng ký.",
"heteroAgent.apiMode.labDisabled.title": "Liên kết nhà cung cấp là một thử nghiệm trong Labs",
- "heteroAgent.apiMode.localOnly.desc": "Chuyển môi trường thực thi sang thiết bị cục bộ, hoặc sử dụng xác thực Đăng ký.",
"heteroAgent.apiMode.localOnly.title": "Chế độ API yêu cầu thực thi cục bộ trên máy tính",
"heteroAgent.apiMode.modelUnavailable": "Mô hình \"{{providerId}}/{{model}}\" đã bị vô hiệu hóa hoặc không còn khả dụng.",
"heteroAgent.apiMode.protocolMismatch": "Nhà cung cấp \"{{providerId}}\" không cung cấp giao thức được {{agentType}} hỗ trợ.",
@@ -1520,8 +1519,6 @@
"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",
"heteroAgent.executionTarget.localSandbox": "Hộp cát cục bộ",
"heteroAgent.executionTarget.localSandboxDesc": "Chạy trên máy tính này, với các lệnh bị giới hạn trong thư mục làm việc và không có mạng",
"heteroAgent.executionTarget.localSandboxDescNetwork": "Chạy trên máy tính này, với các lệnh bị giới hạn trong thư mục làm việc và các miền nhà phát triển thông thường",
@@ -1529,7 +1526,6 @@
"heteroAgent.executionTarget.localSandboxSetUp": "Thiết lập",
"heteroAgent.executionTarget.localSandboxUnavailable": "Không khả dụng trên thiết bị này: {{reason}}",
"heteroAgent.executionTarget.manage": "Quản lý",
- "heteroAgent.executionTarget.noDevices": "Chưa có thiết bị từ xa. Cài đặt ứng dụng máy tính để bàn hoặc chạy `lh connect` trên máy khác.",
"heteroAgent.executionTarget.noWorkspaceDevices": "Chưa có thiết bị không gian làm việc. Chạy `{{cmd}}` trên một máy để đăng ký cho mọi thành viên.",
"heteroAgent.executionTarget.none": "Không có thiết bị",
"heteroAgent.executionTarget.noneDesc": "Không có thiết bị được kích hoạt",
diff --git a/locales/zh-CN/chat.json b/locales/zh-CN/chat.json
index 1431ecb6f6d..07f71d5ef18 100644
--- a/locales/zh-CN/chat.json
+++ b/locales/zh-CN/chat.json
@@ -1371,7 +1371,7 @@
"heteroAgent.apiMode.labDisabled.action": "前往实验室开启",
"heteroAgent.apiMode.labDisabled.desc": "请在「设置 → 实验室」中开启,或将此 Agent 切换回订阅认证。",
"heteroAgent.apiMode.labDisabled.title": "服务商绑定是实验室功能",
- "heteroAgent.apiMode.localOnly.desc": "请将执行环境切换为本地设备,或改用订阅认证。",
+ "heteroAgent.apiMode.localOnly.desc": "请将执行环境切换为「这台电脑」,或改用订阅认证。",
"heteroAgent.apiMode.localOnly.title": "API 模式仅支持桌面端本地执行",
"heteroAgent.apiMode.modelUnavailable": "模型「{{providerId}}/{{model}}」已禁用或不再可用。",
"heteroAgent.apiMode.protocolMismatch": "服务商「{{providerId}}」未提供 {{agentType}} 支持的协议。",
@@ -1517,6 +1517,7 @@
"heteroAgent.codexQuota.totalEarned_other": "累计获得 {{count}} 次",
"heteroAgent.executionTarget.auto": "自动",
"heteroAgent.executionTarget.autoDesc": "自动使用在线设备,有多台时择一使用",
+ "heteroAgent.executionTarget.builtinGroup": "内置",
"heteroAgent.executionTarget.downloadDesktop": "下载桌面端",
"heteroAgent.executionTarget.downloadDesktopDesc": "让 Agent 直接连接你的电脑",
"heteroAgent.executionTarget.downloadDesktopTitle": "下载桌面端",
@@ -1524,8 +1525,8 @@
"heteroAgent.executionTarget.infoTooltip": "选择此代理运行的位置。设备可以读取和写入文件或操作计算机;云沙盒在隔离的临时环境中运行。",
"heteroAgent.executionTarget.loadFailed": "设备加载失败。",
"heteroAgent.executionTarget.loading": "正在加载设备…",
- "heteroAgent.executionTarget.local": "本地设备",
- "heteroAgent.executionTarget.localDesc": "在当前桌面端以本地进程运行",
+ "heteroAgent.executionTarget.local": "这台电脑",
+ "heteroAgent.executionTarget.localDesc": "直接在这里运行,可以使用你的文件和工具",
"heteroAgent.executionTarget.localSandbox": "本机沙箱",
"heteroAgent.executionTarget.localSandboxDesc": "在本机运行,命令仅能改动工作目录且无法联网",
"heteroAgent.executionTarget.localSandboxDescNetwork": "在本机运行,命令仅能改动工作目录,且仅可访问常用开发域名",
@@ -1533,7 +1534,7 @@
"heteroAgent.executionTarget.localSandboxSetUp": "启用",
"heteroAgent.executionTarget.localSandboxUnavailable": "此设备上不可用:{{reason}}",
"heteroAgent.executionTarget.manage": "管理",
- "heteroAgent.executionTarget.noDevices": "暂无远程设备。在另一台机器上执行 `lh connect` 即可接入。",
+ "heteroAgent.executionTarget.noDevices": "暂无其他设备。在另一台电脑上执行 `lh connect` 即可接入。",
"heteroAgent.executionTarget.noWorkspaceDevices": "暂无工作区设备。在一台机器上执行 `{{cmd}}` 即可注册,供所有成员使用。",
"heteroAgent.executionTarget.none": "无设备",
"heteroAgent.executionTarget.noneDesc": "不启用任何设备",
@@ -1541,6 +1542,7 @@
"heteroAgent.executionTarget.online": "在线",
"heteroAgent.executionTarget.onlineConnections_one": "在线 · {{count}} 个连接",
"heteroAgent.executionTarget.onlineConnections_other": "在线 · {{count}} 个连接",
+ "heteroAgent.executionTarget.otherDevicesGroup": "其他设备",
"heteroAgent.executionTarget.personalGroup": "私人设备",
"heteroAgent.executionTarget.presenceChecking": "正在确认状态…",
"heteroAgent.executionTarget.projectDevicesHint": "仅列出已绑定此项目工作目录的设备。其他设备可在项目设置中添加目录。",
@@ -1553,7 +1555,6 @@
"heteroAgent.executionTarget.switchTopic.content": "本话题一直在「{{name}}」上运行,工作目录和会话都保存在那里。切换后,下一轮会在新环境中开启新会话;之后的新话题也会使用这个选择。",
"heteroAgent.executionTarget.switchTopic.ok": "切换",
"heteroAgent.executionTarget.switchTopic.title": "将本话题切换到其他执行环境?",
- "heteroAgent.executionTarget.thisDevice": "本机",
"heteroAgent.executionTarget.title": "执行环境",
"heteroAgent.executionTarget.topicTag": "本话题",
"heteroAgent.executionTarget.unknownDevice": "未知设备",
diff --git a/locales/zh-TW/chat.json b/locales/zh-TW/chat.json
index 5310f563fb9..566ed377f5e 100644
--- a/locales/zh-TW/chat.json
+++ b/locales/zh-TW/chat.json
@@ -1367,7 +1367,6 @@
"heteroAgent.apiMode.labDisabled.action": "在實驗室中啟用",
"heteroAgent.apiMode.labDisabled.desc": "在「設定 → 實驗室」中啟用,或將此代理切換為訂閱驗證。",
"heteroAgent.apiMode.labDisabled.title": "提供者綁定是實驗室實驗功能",
- "heteroAgent.apiMode.localOnly.desc": "將執行環境切換至本地設備,或使用訂閱驗證。",
"heteroAgent.apiMode.localOnly.title": "API 模式需要桌面本地執行",
"heteroAgent.apiMode.modelUnavailable": "模型 \"{{providerId}}/{{model}}\" 已停用或不再可用。",
"heteroAgent.apiMode.protocolMismatch": "提供者「{{providerId}}」未提供 {{agentType}} 支援的協議。",
@@ -1522,8 +1521,6 @@
"heteroAgent.executionTarget.infoTooltip": "選擇此代理運行的位置。一個設備可以讀寫文件或操作計算機;雲端沙盒則在一個隔離的臨時環境中運行。",
"heteroAgent.executionTarget.loadFailed": "無法載入設備。",
"heteroAgent.executionTarget.loading": "正在載入設備…",
- "heteroAgent.executionTarget.local": "本機裝置",
- "heteroAgent.executionTarget.localDesc": "在此桌面應用程式中作為本地進程運行",
"heteroAgent.executionTarget.localSandbox": "本地沙盒",
"heteroAgent.executionTarget.localSandboxDesc": "在此電腦上運行,指令僅限於工作目錄且無網路連接",
"heteroAgent.executionTarget.localSandboxDescNetwork": "在此電腦上運行,指令僅限於工作目錄及常見的開發者域名",
@@ -1531,7 +1528,6 @@
"heteroAgent.executionTarget.localSandboxSetUp": "設置",
"heteroAgent.executionTarget.localSandboxUnavailable": "此設備上不可用:{{reason}}",
"heteroAgent.executionTarget.manage": "管理",
- "heteroAgent.executionTarget.noDevices": "尚無遠端設備。安裝桌面應用程式或在另一台機器上運行 `lh connect`。",
"heteroAgent.executionTarget.noWorkspaceDevices": "尚無工作區設備。在機器上執行 `{{cmd}}`,以便為每位成員註冊。",
"heteroAgent.executionTarget.none": "無設備",
"heteroAgent.executionTarget.noneDesc": "未啟用任何設備",
diff --git a/packages/locales/src/default/chat.ts b/packages/locales/src/default/chat.ts
index 569e9a32fd0..f3bc38687ac 100644
--- a/packages/locales/src/default/chat.ts
+++ b/packages/locales/src/default/chat.ts
@@ -894,7 +894,7 @@ export default {
'Turn it on in Settings → Labs, or switch this agent to Subscription authentication.',
'heteroAgent.apiMode.labDisabled.title': 'Provider binding is a Labs experiment',
'heteroAgent.apiMode.localOnly.desc':
- 'Switch the execution environment to Local device, or use Subscription authentication.',
+ 'Switch the execution environment to This computer, or use Subscription authentication.',
'heteroAgent.apiMode.localOnly.title': 'API mode requires Desktop local execution',
'heteroAgent.apiMode.modelUnavailable':
'The model "{{providerId}}/{{model}}" is disabled or no longer available.',
@@ -909,6 +909,7 @@ export default {
'heteroAgent.executionTarget.sandboxUnsupported':
'{{name}} currently runs only on a local or connected device',
'heteroAgent.executionTarget.auto': 'Auto',
+ 'heteroAgent.executionTarget.builtinGroup': 'Built-in',
'heteroAgent.executionTarget.autoDesc':
'Use an online device automatically, picking one when several are available',
'heteroAgent.executionTarget.fixedTip':
@@ -917,8 +918,8 @@ export default {
'Choose where this Agent runs. A device can read and write files or operate a computer; Cloud Sandbox runs in an isolated temporary environment.',
'heteroAgent.executionTarget.loadFailed': 'Couldn’t load devices.',
'heteroAgent.executionTarget.loading': 'Loading devices…',
- 'heteroAgent.executionTarget.local': 'Local device',
- 'heteroAgent.executionTarget.localDesc': 'Run as a local process on this desktop app',
+ 'heteroAgent.executionTarget.local': 'This computer',
+ 'heteroAgent.executionTarget.localDesc': 'Runs right here, with access to your files and tools',
'heteroAgent.executionTarget.localSandbox': 'Local sandbox',
'heteroAgent.executionTarget.localSandboxDesc':
'Run on this computer, with commands limited to the working directory and no network',
@@ -930,7 +931,7 @@ export default {
'heteroAgent.executionTarget.localSandboxUnavailable': 'Not available on this device: {{reason}}',
'heteroAgent.executionTarget.manage': 'Manage',
'heteroAgent.executionTarget.noDevices':
- 'No remote devices yet. Run `lh connect` on another machine to add one.',
+ 'No other devices yet. Run `lh connect` on another computer to add one.',
'heteroAgent.executionTarget.noWorkspaceDevices':
'No workspace devices yet. Run `{{cmd}}` on a machine to enroll it for every member.',
'heteroAgent.executionTarget.none': 'No device',
@@ -947,6 +948,7 @@ export default {
'heteroAgent.executionTarget.reconnect': 'Reconnect',
'heteroAgent.executionTarget.reconnectFailed':
'Could not reconnect this device. Make sure the desktop app is running, then try again.',
+ 'heteroAgent.executionTarget.otherDevicesGroup': 'Other devices',
'heteroAgent.executionTarget.personalGroup': 'Private Devices',
'heteroAgent.executionTarget.sandbox': 'Cloud Sandbox',
'heteroAgent.executionTarget.sandboxDesc': 'Runs in the cloud, no machine needed',
@@ -960,7 +962,6 @@ export default {
'This topic has been running on {{name}}, where its working directory and agent session are kept. After switching, its next turn starts a fresh session in the new environment. New topics will use this choice too.',
'heteroAgent.executionTarget.switchTopic.ok': 'Switch',
'heteroAgent.executionTarget.switchTopic.title': 'Move this topic to another environment?',
- 'heteroAgent.executionTarget.thisDevice': 'This device',
'heteroAgent.executionTarget.unknownDevice': 'Unknown device',
'heteroAgent.executionTarget.wake': 'Wake now',
'heteroAgent.executionTarget.wakeFailed': 'Could not wake this cloud device. Try again.',
diff --git a/src/features/ChatInput/ControlBar/DeviceOptionRow.tsx b/src/features/ChatInput/ControlBar/DeviceOptionRow.tsx
index 0dc661ce643..2b9c3e7c796 100644
--- a/src/features/ChatInput/ControlBar/DeviceOptionRow.tsx
+++ b/src/features/ChatInput/ControlBar/DeviceOptionRow.tsx
@@ -22,6 +22,8 @@ const styles = stylex.create({
interface DeviceOptionRowProps {
active: boolean;
device: DeviceListItem;
+ /** Replaces the machine name, e.g. "This computer" for this desktop's own row. */
+ label?: string;
onReconnect: () => void;
onSelect: () => void;
reconnecting: boolean;
@@ -35,6 +37,7 @@ interface DeviceOptionRowProps {
const DeviceOptionRow = ({
active,
device,
+ label,
onReconnect,
onSelect,
reconnecting,
@@ -58,7 +61,7 @@ const DeviceOptionRow = ({
active={active}
disabled={!selectable}
icon={<ExecutionTargetIcon devicePlatform={device.platform} target={'device'} />}
- label={device.friendlyName || device.hostname || device.deviceId}
+ label={label ?? (device.friendlyName || device.hostname || device.deviceId)}
tags={tags}
desc={
<>
diff --git a/src/features/ChatInput/ControlBar/HeteroDeviceSwitcher.tsx b/src/features/ChatInput/ControlBar/HeteroDeviceSwitcher.tsx
index b207697ccff..2a211048937 100644
--- a/src/features/ChatInput/ControlBar/HeteroDeviceSwitcher.tsx
+++ b/src/features/ChatInput/ControlBar/HeteroDeviceSwitcher.tsx
@@ -52,6 +52,7 @@ import DeviceOptionRow from './DeviceOptionRow';
import { getDevicePoolStatus } from './devicePoolStatus';
import OptionRow from './OptionRow';
import { reconnectDevice } from './reconnectDevice';
+import { isThisComputerDevice, splitThisComputerDevices } from './thisComputerDevices';
import { useSandboxNetworkToggle } from './useSandboxNetworkToggle';
import { useTopicAwareTargetSelect } from './useTopicAwareTargetSelect';
@@ -242,9 +243,8 @@ const HeteroDeviceSwitcher = memo<HeteroDeviceSwitcherProps>(({ agentId }) => {
mutate: refreshDevices,
} = useDeviceList();
- // The current machine's own gateway deviceId (desktop only), used to badge the
- // matching device row with a "This device" tag and show the local-process
- // description instead of the generic online/offline status.
+ // The current machine's own gateway deviceId (desktop only): what a `local`
+ // pick resolves to, so the topic tag can tell whether this topic runs here.
useElectronStore((s) => s.useFetchGatewayDeviceInfo)();
const gatewayDeviceInfo = useElectronStore((s) => s.gatewayDeviceInfo);
const currentDeviceId = isDesktop ? gatewayDeviceInfo?.deviceId : undefined;
@@ -474,7 +474,19 @@ const HeteroDeviceSwitcher = memo<HeteroDeviceSwitcherProps>(({ agentId }) => {
//
// Naming — Personal is reserved for the account-tier concept; workspace
// groupings say Private/Workspace (私人/工作区) instead.
- const { personal, privateWorkspace, workspace } = groupExecutionTargetDevices(devices);
+ //
+ // On desktop this machine's own rows leave those lists for the "This
+ // computer" entry at the top: picking it should feel like running here, not
+ // choosing one remote among many.
+ const { otherDevices, thisComputerDevices } = splitThisComputerDevices(
+ devicePoolForAgent(devices, isWorkspaceAgent),
+ {
+ activeDeviceId: executionTarget === 'device' ? boundDeviceId : undefined,
+ localMachineIds: isDesktop ? localMachineDeviceIds : [],
+ ownWorkspaceDeviceId: ownWorkspaceDevice?.deviceId,
+ },
+ );
+ const { personal, privateWorkspace, workspace } = groupExecutionTargetDevices(otherDevices);
const privateDevices = isWorkspaceAgent ? privateWorkspace : [];
const workspaceDevices = isWorkspaceAgent ? workspace : [];
const personalOnlyDevices = isWorkspaceAgent ? [] : personal;
@@ -504,6 +516,14 @@ const HeteroDeviceSwitcher = memo<HeteroDeviceSwitcherProps>(({ agentId }) => {
// machine is enrolled into the workspace pool.
const showWebDownloadCard = !isDesktop && !isWorkspaceAgent && isPoolEmpty;
const showWorkspaceEnrollHint = isWorkspaceAgent && isPoolEmpty;
+ // This machine is never "another device", so a pool holding only its own rows
+ // still gets the hint to connect a second machine.
+ const showNoOtherDevicesHint =
+ isDesktop &&
+ !isWorkspaceAgent &&
+ (isPoolEmpty || (poolStatus === 'devices' && otherDevices.length === 0));
+ const isThisComputerBound =
+ isDesktop && !!boundDevice && isThisComputerDevice(boundDevice, localMachineDeviceIds);
// Compute chip
let chipIcon: ReactNode = <ExecutionTargetIcon target={'sandbox'} />;
@@ -535,6 +555,12 @@ const HeteroDeviceSwitcher = memo<HeteroDeviceSwitcherProps>(({ agentId }) => {
boundDevice?.hostname ??
t('heteroAgent.executionTarget.unknownDevice'))
: t('heteroAgent.executionTarget.workspaceGroup');
+ // On desktop, this machine reads as "This computer" — elsewhere (web,
+ // mobile) it really is remote, so it keeps its machine name.
+ if (canShowExecutionTargetSelector && isThisComputerBound) {
+ chipIcon = <ExecutionTargetIcon target={'local'} />;
+ chipLabel = t('heteroAgent.executionTarget.local');
+ }
}
// A cwd with no recorded machine: naming the agent default here would pair
// it with a path that may live on another computer.
@@ -568,24 +594,20 @@ const HeteroDeviceSwitcher = memo<HeteroDeviceSwitcherProps>(({ agentId }) => {
return executionTarget === target;
};
- const renderDeviceRow = (d: NonNullable<typeof devices>[number]) => {
- const isCurrentMachine = localMachineDeviceIds.includes(d.deviceId);
- return (
- <DeviceOptionRow
- active={isActive('device', d.deviceId)}
- device={d}
- key={d.deviceId}
- reconnecting={reconnectingDeviceId === d.deviceId}
- tags={tagsFor(
- isActive('device', d.deviceId),
- // Users pick a machine, not a transport: tag this one as "This device".
- isCurrentMachine ? [t('heteroAgent.executionTarget.thisDevice')] : [],
- )}
- onReconnect={() => void handleReconnectDevice(d)}
- onSelect={() => void handleSelect('device', d.deviceId)}
- />
- );
- };
+ const showLocalRow = isDesktop && (!ownWorkspaceDevice || isActive('local'));
+ const renderDeviceRow = (d: DeviceListItem, { thisComputer = false } = {}) => (
+ <DeviceOptionRow
+ active={isActive('device', d.deviceId)}
+ device={d}
+ key={d.deviceId}
+ // Users pick a machine, not a transport: this one is "This computer".
+ label={thisComputer ? t('heteroAgent.executionTarget.local') : undefined}
+ reconnecting={reconnectingDeviceId === d.deviceId}
+ tags={tagsFor(isActive('device', d.deviceId))}
+ onReconnect={() => void handleReconnectDevice(d)}
+ onSelect={() => void handleSelect('device', d.deviceId)}
+ />
+ );
const content = (
<Flexbox style={{ maxWidth: 320, minWidth: 280 }}>
@@ -624,6 +646,33 @@ const HeteroDeviceSwitcher = memo<HeteroDeviceSwitcherProps>(({ agentId }) => {
</a>
)}
</div>
+ {/* This computer, alone at the top: on desktop the default is to run
+ right here, so it is not one more machine in a remote list. `local`
+ pins this desktop's personal `deviceId`; a workspace-agent `local`
+ pick lands in `users.preference.agentDeviceOverrides` — my per-user
+ override — so it never binds the workspace-shared `agencyConfig` or
+ coerces any other member's dispatch. Once this machine has its own
+ workspace row, that row stands in for it (through the gateway) and the
+ plain row stays only while it is still the active pick. */}
+ {showLocalRow ? (
+ <OptionRow
+ active={isActive('local')}
+ desc={t('heteroAgent.executionTarget.localDesc')}
+ icon={<ExecutionTargetIcon target={'local'} />}
+ label={t('heteroAgent.executionTarget.local')}
+ tags={tagsFor(isActive('local'))}
+ onClick={() => void handleSelect('local', undefined, false)}
+ />
+ ) : null}
+ {/* Next to the plain row (a bound personal row, or a workspace row while
+ `local` is still the pick) it keeps its machine name, so two rows
+ never both read "This computer". */}
+ {thisComputerDevices.map((d) => renderDeviceRow(d, { thisComputer: !showLocalRow }))}
+ {isDesktop ? (
+ <div {...stylex.props(styles.groupLabel)}>
+ {t('heteroAgent.executionTarget.builtinGroup')}
+ </div>
+ ) : null}
{isHetero ? null : (
<OptionRow
active={isActive('none')}
@@ -642,25 +691,7 @@ const HeteroDeviceSwitcher = memo<HeteroDeviceSwitcherProps>(({ agentId }) => {
onClick={() => void handleSelect('auto')}
/>
)}
- {/* `local` pins this desktop's personal `deviceId`. Available in both
- personal and workspace modes now : a workspace-agent
- `local` pick lands in `users.preference.agentDeviceOverrides` — my
- per-user override — so it never binds the workspace-shared
- `agencyConfig` or coerces any other member's dispatch. */}
- {/* Hidden once this machine has its own workspace row (listed below,
- tagged as this machine), unless it is still the active pick. */}
- {isDesktop && (!ownWorkspaceDevice || isActive('local')) ? (
- <OptionRow
- active={isActive('local')}
- desc={t('heteroAgent.executionTarget.localDesc')}
- icon={<ExecutionTargetIcon target={'local'} />}
- // 本机统一显示「本地设备」,不再带具体设备名称
- label={t('heteroAgent.executionTarget.local')}
- tags={tagsFor(isActive('local'))}
- onClick={() => void handleSelect('local', undefined, false)}
- />
- ) : null}
- {/* Same machine as the row above, fenced: writes confined to the working
+ {/* This machine, fenced: writes confined to the working
directory, network denied unless the switch opens the registry
allowlist. Shown even when the host can't provide a sandbox — disabled,
carrying the real reason, because "unavailable" here usually means
@@ -749,11 +780,18 @@ const HeteroDeviceSwitcher = memo<HeteroDeviceSwitcherProps>(({ agentId }) => {
</>
) : null}
</>
- ) : (
- <div {...stylex.props(styles.deviceList)}>
- {personalOnlyDevices.map((d) => renderDeviceRow(d))}
- </div>
- )
+ ) : personalOnlyDevices.length > 0 ? (
+ <>
+ {isDesktop ? (
+ <div {...stylex.props(styles.groupLabel)}>
+ {t('heteroAgent.executionTarget.otherDevicesGroup')}
+ </div>
+ ) : null}
+ <div {...stylex.props(styles.deviceList)}>
+ {personalOnlyDevices.map((d) => renderDeviceRow(d))}
+ </div>
+ </>
+ ) : null
) : null}
{poolStatus === 'loading' ? (
<div {...stylex.props(styles.empty)}>{t('heteroAgent.executionTarget.loading')}</div>
@@ -808,7 +846,7 @@ const HeteroDeviceSwitcher = memo<HeteroDeviceSwitcherProps>(({ agentId }) => {
/>
</a>
) : null}
- {isPoolEmpty && isDesktop && !isWorkspaceAgent ? (
+ {showNoOtherDevicesHint ? (
<div {...stylex.props(styles.empty)}>{t('heteroAgent.executionTarget.noDevices')}</div>
) : null}
</Flexbox>
diff --git a/src/features/ChatInput/ControlBar/__tests__/thisComputerDevices.test.ts b/src/features/ChatInput/ControlBar/__tests__/thisComputerDevices.test.ts
new file mode 100644
index 00000000000..caa6012111b
--- /dev/null
+++ b/src/features/ChatInput/ControlBar/__tests__/thisComputerDevices.test.ts
@@ -0,0 +1,57 @@
+import type { DeviceListItem } from '@lobechat/types';
+import { describe, expect, it } from 'vitest';
+
+import { splitThisComputerDevices } from '../thisComputerDevices';
+
+const device = (deviceId: string): DeviceListItem => ({ deviceId }) as DeviceListItem;
+const ids = (rows: DeviceListItem[]) => rows.map((row) => row.deviceId);
+
+describe('splitThisComputerDevices', () => {
+ const rows = [device('mine-personal'), device('zeabur'), device('hetzner')];
+
+ it('keeps this machine out of the other devices', () => {
+ const result = splitThisComputerDevices(rows, { localMachineIds: ['mine-personal'] });
+
+ expect(ids(result.otherDevices)).toEqual(['zeabur', 'hetzner']);
+ // The "This computer" row already covers running here.
+ expect(result.thisComputerDevices).toEqual([]);
+ });
+
+ it("lists this machine's workspace row under This computer", () => {
+ const result = splitThisComputerDevices([device('mine-workspace'), ...rows.slice(1)], {
+ localMachineIds: ['mine-personal', 'mine-workspace'],
+ ownWorkspaceDeviceId: 'mine-workspace',
+ });
+
+ expect(ids(result.thisComputerDevices)).toEqual(['mine-workspace']);
+ expect(ids(result.otherDevices)).toEqual(['zeabur', 'hetzner']);
+ });
+
+ it("keeps this machine's row visible while it is the active pick", () => {
+ const result = splitThisComputerDevices(rows, {
+ activeDeviceId: 'mine-personal',
+ localMachineIds: ['mine-personal'],
+ });
+
+ expect(ids(result.thisComputerDevices)).toEqual(['mine-personal']);
+ });
+
+ // Regression: a public workspace row this machine enrolled is a team device.
+ // It was dropped from both groups, so its publisher could not pick it.
+ it('keeps a public workspace row of this machine among the other devices', () => {
+ const shared = { ...device('mine-workspace'), scope: 'workspace', visibility: 'public' };
+ const result = splitThisComputerDevices([shared as DeviceListItem, ...rows.slice(1)], {
+ localMachineIds: ['mine-personal', 'mine-workspace'],
+ });
+
+ expect(ids(result.otherDevices)).toEqual(['mine-workspace', 'zeabur', 'hetzner']);
+ expect(result.thisComputerDevices).toEqual([]);
+ });
+
+ it('treats every row as another device off desktop', () => {
+ const result = splitThisComputerDevices(rows, { localMachineIds: [] });
+
+ expect(ids(result.otherDevices)).toEqual(['mine-personal', 'zeabur', 'hetzner']);
+ expect(result.thisComputerDevices).toEqual([]);
+ });
+});
diff --git a/src/features/ChatInput/ControlBar/thisComputerDevices.ts b/src/features/ChatInput/ControlBar/thisComputerDevices.ts
new file mode 100644
index 00000000000..e4c2c4e8540
--- /dev/null
+++ b/src/features/ChatInput/ControlBar/thisComputerDevices.ts
@@ -0,0 +1,50 @@
+import type { DeviceListItem } from '@lobechat/types';
+
+/**
+ * Whether a device row is this desktop itself. A workspace row shared as
+ * public is a team device, not "this machine" (same rule as
+ * `findOwnWorkspaceDevice`), even when this machine enrolled it.
+ */
+export const isThisComputerDevice = (device: DeviceListItem, localMachineIds: string[]) =>
+ localMachineIds.includes(device.deviceId) &&
+ !(device.scope === 'workspace' && device.visibility === 'public');
+
+/**
+ * Splits the picker's device rows into this machine's own rows and every other
+ * machine. `localMachineIds` are the ids this desktop holds
+ * (`useLocalMachineDeviceIds`), empty off-desktop — so web and mobile keep every
+ * row under its machine name, where each one really is remote. A public
+ * workspace row is a shared team device, so it is listed with the others even
+ * when this machine enrolled it.
+ *
+ * Of this machine's rows only the one that stands in for it stays visible: the
+ * workspace row it runs through (`ownWorkspaceDeviceId`), or whichever row is
+ * the active pick. Others are dropped — the "This computer" row already covers
+ * running here, and a second row naming the same machine reads as a remote.
+ */
+export const splitThisComputerDevices = (
+ devices: DeviceListItem[],
+ {
+ activeDeviceId,
+ localMachineIds,
+ ownWorkspaceDeviceId,
+ }: {
+ activeDeviceId?: string;
+ localMachineIds: string[];
+ ownWorkspaceDeviceId?: string;
+ },
+): { otherDevices: DeviceListItem[]; thisComputerDevices: DeviceListItem[] } => {
+ const thisComputerDevices: DeviceListItem[] = [];
+ const otherDevices: DeviceListItem[] = [];
+
+ for (const device of devices) {
+ if (!isThisComputerDevice(device, localMachineIds)) {
+ otherDevices.push(device);
+ continue;
+ }
+ if (device.deviceId === ownWorkspaceDeviceId || device.deviceId === activeDeviceId)
+ thisComputerDevices.push(device);
+ }
+
+ return { otherDevices, thisComputerDevices };
+};