Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
fix(routines): say a kept computer is set for the routine, not only from its chat
AdityaUmale2fd45d46bfad
diff --git a/src/lib/routine-display.test.ts b/src/lib/routine-display.test.tsindex e941aa5e37..7141422ad2 100644--- a/src/lib/routine-display.test.ts+++ b/src/lib/routine-display.test.ts@@ -86,9 +86,9 @@ describe("a run's status", () => {});describe("a routine that keeps its chat's computer", () => {- it("shows that computer, over the bot's Works on setting, and says where it came from", () => {+ it("shows that computer, over the bot's Works on setting, and says it is set for the routine", () => {const kept = (computer: "local" | "vm" | "cloud" | "browser", cloudHome = false) => routineRunsOn({ roomGoal: false, computer: "cloud", kept: computer, cloudHome });- const hint = "Kept from the chat it was made in. Change it in Edit.";+ const hint = "Set for this routine, so every run uses it. Change it in Edit.";expect(kept("vm")).toEqual({ label: "The bot's private desktop", hint });expect(kept("local")).toEqual({ label: "This computer", hint });expect(kept("browser")).toEqual({ label: "The built-in browser", hint });diff --git a/src/locales/de.json b/src/locales/de.jsonindex f225770537..feded2a87f 100644--- a/src/locales/de.json+++ b/src/locales/de.json@@ -1959,7 +1959,7 @@"routines.runsOn.botCloud": "Der Cloud-Desktop des Bots","routines.runsOn.botVm": "Der private Desktop des Bots","routines.runsOn.browser": "Der eingebaute Browser",- "routines.runsOn.keptHint": "Aus dem Chat übernommen, in dem sie erstellt wurde. Unter Bearbeiten änderbar.",+ "routines.runsOn.keptHint": "Für diese Routine festgelegt, jeder Lauf nutzt ihn. Unter Bearbeiten änderbar.","routines.computer.label": "Computer","routines.computer.worksOn": "Die Einstellung „Arbeitet auf“ des Bots","routines.computer.help": "Jeder Lauf arbeitet auf diesem Computer. Eine in einem Chat erstellte Routine behält den Computer dieses Chats.",diff --git a/src/locales/en.json b/src/locales/en.jsonindex 8a938625ec..c29aa2057f 100644--- a/src/locales/en.json+++ b/src/locales/en.json@@ -5933,7 +5933,7 @@"routines.runsOn.botCloud": "The bot's cloud desktop","routines.runsOn.botVm": "The bot's private desktop","routines.runsOn.browser": "The built-in browser",- "routines.runsOn.keptHint": "Kept from the chat it was made in. Change it in Edit.",+ "routines.runsOn.keptHint": "Set for this routine, so every run uses it. Change it in Edit.","routines.computer.label": "Computer","routines.computer.worksOn": "The bot's Works on setting","routines.computer.help": "Each run works on this computer. A routine made in a chat keeps that chat's computer.",diff --git a/src/locales/es.json b/src/locales/es.jsonindex e7c9fdeb9f..51ea70e837 100644--- a/src/locales/es.json+++ b/src/locales/es.json@@ -4074,7 +4074,7 @@"routines.runsOn.botCloud": "El escritorio en la nube del bot","routines.runsOn.botVm": "El escritorio privado del bot","routines.runsOn.browser": "El navegador integrado",- "routines.runsOn.keptHint": "Tomado del chat donde se creó. Cámbialo en Editar.",+ "routines.runsOn.keptHint": "Fijado para esta rutina; cada ejecución lo usa. Cámbialo en Editar.","routines.computer.label": "Equipo","routines.computer.worksOn": "El ajuste «Trabaja en» del bot","routines.computer.help": "Cada ejecución trabaja en este equipo. Una rutina creada en un chat conserva el equipo de ese chat.",diff --git a/src/locales/fr.json b/src/locales/fr.jsonindex 895e2fa6a9..04f864bf88 100644--- a/src/locales/fr.json+++ b/src/locales/fr.json@@ -1802,7 +1802,7 @@"routines.runsOn.botCloud": "Le bureau cloud du bot","routines.runsOn.botVm": "Le bureau privé du bot","routines.runsOn.browser": "Le navigateur intégré",- "routines.runsOn.keptHint": "Repris de la discussion où elle a été créée. Modifiable dans Modifier.",+ "routines.runsOn.keptHint": "Défini pour cette routine : chaque exécution l'utilise. Modifiable dans Modifier.","routines.computer.label": "Ordinateur","routines.computer.worksOn": "Le réglage « Travaille sur » du bot","routines.computer.help": "Chaque exécution travaille sur cet ordinateur. Une routine créée dans une discussion garde l'ordinateur de cette discussion.",diff --git a/src/locales/hi.json b/src/locales/hi.jsonindex 89c92d95ca..5db35bfc85 100644--- a/src/locales/hi.json+++ b/src/locales/hi.json@@ -1800,7 +1800,7 @@"routines.runsOn.botCloud": "बॉट का क्लाउड डेस्कटॉप","routines.runsOn.botVm": "बॉट का निजी डेस्कटॉप","routines.runsOn.browser": "बिल्ट-इन ब्राउज़र",- "routines.runsOn.keptHint": "जिस चैट में बना था, वहीं से लिया गया। इसे संपादित करें में बदलें।",+ "routines.runsOn.keptHint": "इस रूटीन के लिए तय है, हर रन इसी का उपयोग करता है। इसे संपादित करें में बदलें।","routines.computer.label": "कंप्यूटर","routines.computer.worksOn": "बॉट की \"काम करता है\" सेटिंग","routines.computer.help": "हर रन इसी कंप्यूटर पर काम करता है। किसी चैट में बना रूटीन उस चैट का कंप्यूटर रखता है।",diff --git a/src/locales/it.json b/src/locales/it.jsonindex 2e308e069c..fac93359a8 100644--- a/src/locales/it.json+++ b/src/locales/it.json@@ -5906,7 +5906,7 @@"routines.runsOn.botCloud": "Il desktop cloud del bot","routines.runsOn.botVm": "Il desktop privato del bot","routines.runsOn.browser": "Il browser integrato",- "routines.runsOn.keptHint": "Preso dalla chat in cui è stata creata. Cambialo in Modifica.",+ "routines.runsOn.keptHint": "Impostato per questa routine: ogni esecuzione lo usa. Cambialo in Modifica.","routines.computer.label": "Computer","routines.computer.worksOn": "L'impostazione «Lavora su» del bot","routines.computer.help": "Ogni esecuzione lavora su questo computer. Una routine creata in una chat mantiene il computer di quella chat.",diff --git a/src/locales/ja.json b/src/locales/ja.jsonindex 6cdf1df2a1..a5c9c0ddc0 100644--- a/src/locales/ja.json+++ b/src/locales/ja.json@@ -5041,7 +5041,7 @@"routines.runsOn.botCloud": "ボットのクラウドデスクトップ","routines.runsOn.botVm": "ボットの専用デスクトップ","routines.runsOn.browser": "内蔵ブラウザー",- "routines.runsOn.keptHint": "作成したチャットから引き継ぎました。編集で変更できます。",+ "routines.runsOn.keptHint": "このルーティン用に設定済みで、毎回の実行で使われます。編集で変更できます。","routines.computer.label": "コンピューター","routines.computer.worksOn": "ボットの作業先の設定","routines.computer.help": "毎回の実行はこのコンピューターで作業します。チャットで作成したルーティンは、そのチャットのコンピューターを使い続けます。",diff --git a/src/locales/ko.json b/src/locales/ko.jsonindex 3bd7b76999..bcee442dd4 100644--- a/src/locales/ko.json+++ b/src/locales/ko.json@@ -4835,7 +4835,7 @@"routines.runsOn.botCloud": "봇의 클라우드 데스크톱","routines.runsOn.botVm": "봇의 비공개 데스크톱","routines.runsOn.browser": "내장 브라우저",- "routines.runsOn.keptHint": "만든 채팅에서 가져왔습니다. 수정에서 바꿀 수 있습니다.",+ "routines.runsOn.keptHint": "이 루틴에 설정되어 매 실행에 사용됩니다. 수정에서 바꿀 수 있습니다.","routines.computer.label": "컴퓨터","routines.computer.worksOn": "봇의 작업 위치 설정","routines.computer.help": "매 실행이 이 컴퓨터에서 작업합니다. 채팅에서 만든 루틴은 그 채팅의 컴퓨터를 유지합니다.",diff --git a/src/locales/pl.json b/src/locales/pl.jsonindex 6fef523cd6..2a4bebdfcb 100644--- a/src/locales/pl.json+++ b/src/locales/pl.json@@ -4428,7 +4428,7 @@"routines.runsOn.botCloud": "Pulpit w chmurze bota","routines.runsOn.botVm": "Prywatny pulpit bota","routines.runsOn.browser": "Wbudowana przeglądarka",- "routines.runsOn.keptHint": "Przejęte z czatu, w którym ją utworzono. Zmień w Edytuj.",+ "routines.runsOn.keptHint": "Ustawiony dla tej rutyny, każde uruchomienie go używa. Zmień w Edytuj.","routines.computer.label": "Komputer","routines.computer.worksOn": "Ustawienie „Działa na” bota","routines.computer.help": "Każde uruchomienie działa na tym komputerze. Rutyna utworzona w czacie zachowuje komputer tego czatu.",diff --git a/src/locales/pt-br.json b/src/locales/pt-br.jsonindex 77d4732ea0..2b157e8b6a 100644--- a/src/locales/pt-br.json+++ b/src/locales/pt-br.json@@ -5562,7 +5562,7 @@"routines.runsOn.botCloud": "O desktop na nuvem do bot","routines.runsOn.botVm": "O desktop privado do bot","routines.runsOn.browser": "O navegador integrado",- "routines.runsOn.keptHint": "Mantido do chat em que foi criada. Mude em Editar.",+ "routines.runsOn.keptHint": "Definido para esta rotina; cada execução o usa. Mude em Editar.","routines.computer.label": "Computador","routines.computer.worksOn": "A configuração \"Trabalha em\" do bot","routines.computer.help": "Cada execução trabalha neste computador. Uma rotina criada em um chat mantém o computador desse chat.",diff --git a/src/locales/ru.json b/src/locales/ru.jsonindex 304ca8c386..4e0a2d85d8 100644--- a/src/locales/ru.json+++ b/src/locales/ru.json@@ -4476,7 +4476,7 @@"routines.runsOn.botCloud": "Облачный рабочий стол бота","routines.runsOn.botVm": "Личный рабочий стол бота","routines.runsOn.browser": "Встроенный браузер",- "routines.runsOn.keptHint": "Взято из чата, где она создана. Можно изменить в разделе «Изменить».",+ "routines.runsOn.keptHint": "Задан для этой рутины, его использует каждый запуск. Можно изменить в разделе «Изменить».","routines.computer.label": "Компьютер","routines.computer.worksOn": "Настройка бота «Работает на»","routines.computer.help": "Каждый запуск работает на этом компьютере. Рутина, созданная в чате, сохраняет компьютер этого чата.",diff --git a/src/locales/tr.json b/src/locales/tr.jsonindex 9c8a3c111e..27d121d57f 100644--- a/src/locales/tr.json+++ b/src/locales/tr.json@@ -3499,7 +3499,7 @@"routines.runsOn.botCloud": "Botun bulut masaüstü","routines.runsOn.botVm": "Botun özel masaüstü","routines.runsOn.browser": "Yerleşik tarayıcı",- "routines.runsOn.keptHint": "Oluşturulduğu sohbetten alındı. Düzenle'den değiştirin.",+ "routines.runsOn.keptHint": "Bu rutin için ayarlandı, her çalıştırma bunu kullanır. Düzenle'den değiştirin.","routines.computer.label": "Bilgisayar","routines.computer.worksOn": "Botun \"Çalıştığı ortam\" ayarı","routines.computer.help": "Her çalıştırma bu bilgisayarda çalışır. Bir sohbette oluşturulan rutin o sohbetin bilgisayarını korur.",diff --git a/src/locales/uk.json b/src/locales/uk.jsonindex 4210884c10..b4cb209e32 100644--- a/src/locales/uk.json+++ b/src/locales/uk.json@@ -2181,7 +2181,7 @@"routines.runsOn.botCloud": "Хмарний робочий стіл бота","routines.runsOn.botVm": "Приватний робочий стіл бота","routines.runsOn.browser": "Вбудований браузер",- "routines.runsOn.keptHint": "Взято з чату, де її створено. Змініть у розділі «Редагувати».",+ "routines.runsOn.keptHint": "Задано для цієї рутини, його використовує кожен запуск. Змініть у розділі «Редагувати».","routines.computer.label": "Комп'ютер","routines.computer.worksOn": "Налаштування бота «Працює на»","routines.computer.help": "Кожен запуск працює на цьому комп'ютері. Рутина, створена в чаті, зберігає комп'ютер цього чату.",diff --git a/src/locales/vi.json b/src/locales/vi.jsonindex ed9a1f4da1..9cb66a2716 100644--- a/src/locales/vi.json+++ b/src/locales/vi.json@@ -3499,7 +3499,7 @@"routines.runsOn.botCloud": "Desktop đám mây của bot","routines.runsOn.botVm": "Desktop riêng của bot","routines.runsOn.browser": "Trình duyệt tích hợp",- "routines.runsOn.keptHint": "Giữ từ cuộc trò chuyện đã tạo nó. Đổi trong Chỉnh sửa.",+ "routines.runsOn.keptHint": "Đã đặt cho tác vụ định kỳ này, mỗi lần chạy đều dùng nó. Đổi trong Chỉnh sửa.","routines.computer.label": "Máy tính","routines.computer.worksOn": "Cài đặt \"Chạy trên\" của bot","routines.computer.help": "Mỗi lần chạy làm việc trên máy tính này. Tác vụ định kỳ tạo trong một cuộc trò chuyện giữ máy tính của cuộc trò chuyện đó.",diff --git a/src/locales/zh-tw.json b/src/locales/zh-tw.jsonindex 873cca9e07..7a3215ab2d 100644--- a/src/locales/zh-tw.json+++ b/src/locales/zh-tw.json@@ -5228,7 +5228,7 @@"routines.runsOn.botCloud": "機器人的雲端桌面","routines.runsOn.botVm": "機器人的私人桌面","routines.runsOn.browser": "內建瀏覽器",- "routines.runsOn.keptHint": "沿用建立它的聊天。可在「編輯」中更改。",+ "routines.runsOn.keptHint": "已為此例行工作設定,每次執行都會使用。可在「編輯」中更改。","routines.computer.label": "電腦","routines.computer.worksOn": "機器人的「執行位置」設定","routines.computer.help": "每次執行都在這台電腦上工作。在聊天中建立的例行工作會沿用該聊天的電腦。",diff --git a/src/locales/zh.json b/src/locales/zh.jsonindex 70d4b0d834..0775687c65 100644--- a/src/locales/zh.json+++ b/src/locales/zh.json@@ -5894,7 +5894,7 @@"routines.runsOn.botCloud": "机器人的云端桌面","routines.runsOn.botVm": "机器人的私有桌面","routines.runsOn.browser": "内置浏览器",- "routines.runsOn.keptHint": "沿用创建它的聊天。可在“编辑”中更改。",+ "routines.runsOn.keptHint": "已为此例行任务设置,每次运行都会使用。可在“编辑”中更改。","routines.computer.label": "电脑","routines.computer.worksOn": "机器人的“工作位置”设置","routines.computer.help": "每次运行都在这台电脑上工作。在聊天中创建的例行任务会沿用该聊天的电脑。",