Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Train fix (#8106, #8129): Thai everywhere a language list is kept; the Pi retry test writes its script once
milind-sonieeceb80388a4
diff --git a/electron/lending-words.mjs b/electron/lending-words.mjsindex 80c587bc2f..fa9a7cfb92 100644--- a/electron/lending-words.mjs+++ b/electron/lending-words.mjs@@ -178,6 +178,22 @@ export const WORDS = Object.freeze({"lending.action.invalid": "Некорректный запрос","lending.action.other": "Другой запрос",}),+ "th": Object.freeze({+ "lending.activity.title": "กิจกรรมบนคอมพิวเตอร์เครื่องนี้",+ "lending.activity.empty": "ยังไม่มีกิจกรรม คำขอทั้งหมดจากบอทจะแสดงที่นี่ รวมถึงคำขอที่ถูกปฏิเสธ",+ "lending.activity.refused": "ปฏิเสธแล้ว",+ "lending.action.listFiles": "แสดงรายการโฟลเดอร์",+ "lending.action.readFile": "อ่านไฟล์",+ "lending.action.writeFile": "บันทึกไฟล์",+ "lending.action.deleteFile": "ลบไฟล์",+ "lending.action.runCommand": "เรียกใช้คำสั่ง",+ "lending.action.screenTools": "ตรวจสอบแอปและตัวควบคุมหน้าจอ",+ "lending.action.screen": "ใช้แอปและหน้าจอ",+ "lending.action.website": "เปิดเว็บไซต์",+ "lending.action.chrome": "ใช้ Chrome ของคุณ",+ "lending.action.invalid": "คำขอมีรูปแบบไม่ถูกต้อง",+ "lending.action.other": "คำขออื่น",+ }),"tr": Object.freeze({"lending.activity.title": "Bu bilgisayardaki etkinlik","lending.activity.empty": "Henüz hiçbir şey yok. Oradaki botlardan gelen reddedilenler dahil tüm istekler burada listelenecektir.",diff --git a/server/drivers/pi-mcp-extension.test.ts b/server/drivers/pi-mcp-extension.test.tsindex 679376cdcc..1f2d1edd36 100644--- a/server/drivers/pi-mcp-extension.test.ts+++ b/server/drivers/pi-mcp-extension.test.ts@@ -198,7 +198,7 @@ describe("Pi MCP tool names and output bounds", () => {describe("StdioMcp", () => {it("advertises the MCP Apps extension and retries without it when a server refuses", async () => {const dump = join(tempDir(), "init.jsonl");- const script = fakeMcpScript(`+ const script = (`import { appendFileSync } from "node:fs";let buffer = "";process.stdin.setEncoding("utf8");diff --git a/shared/announcements.ts b/shared/announcements.tsindex bbffd7b3ea..84526db636 100644--- a/shared/announcements.ts+++ b/shared/announcements.ts@@ -51,7 +51,7 @@ export type AnnouncementPeople = (typeof ANNOUNCEMENT_PEOPLE)[number];export const ANNOUNCEMENT_CONDITIONS = ["no_api_key", "one_bot_only", "no_routine"] as const;export type AnnouncementCondition = (typeof ANNOUNCEMENT_CONDITIONS)[number];/** The app's languages, as its language menu lists them (localeChoices). */-export const ANNOUNCEMENT_LOCALES = ["en", "de", "es", "fr", "hi", "ja", "pt-br", "zh", "zh-tw", "uk", "vi", "tr", "pl", "ru", "it", "ko"] as const;+export const ANNOUNCEMENT_LOCALES = ["en", "de", "es", "fr", "hi", "ja", "pt-br", "zh", "zh-tw", "uk", "vi", "tr", "pl", "ru", "it", "ko", "th"] as const;export const AUDIENCE_KEYS = ["minVersion", "maxVersion", "platforms", "surfaces", "plans", "people", "languages", "when"] as const;// Control characters, and the ones that reorder or hide text (bidi overrides and isolates, zero-width joiners).diff --git a/src/lib/move-changes.test.ts b/src/lib/move-changes.test.tsindex 7e4df5b051..2cf86ae917 100644--- a/src/lib/move-changes.test.ts+++ b/src/lib/move-changes.test.ts@@ -45,7 +45,7 @@ describe("the move step's lines, in words", () => {const holes = (text: string) => [...text.matchAll(/\{(\w+)\}/gu)].map((match) => match[1]).sort();const dir = new URL("../locales/", import.meta.url);const packs = readdirSync(dir).filter((file) => file.endsWith(".json") && file !== "en.json" && file !== "source-hashes.json");- expect(packs.length).toBe(15);+ expect(packs.length).toBe(16);for (const file of packs) {const pack = JSON.parse(readFileSync(new URL(file, dir), "utf8")) as Record<string, string>;for (const key of keys) {