Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
chore(release): bump version to 0.1.151 (#5149)
github-actions[bot]b33a1c6437e2
diff --git a/electron/cua-launch.test.mjs b/electron/cua-launch.test.mjsindex f8f1371cf2..577177fc4c 100644--- a/electron/cua-launch.test.mjs+++ b/electron/cua-launch.test.mjs@@ -5,11 +5,13 @@ import { dirname, join } from "node:path";import { fileURLToPath } from "node:url";import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";-const fixture = vi.hoisted(() => ({ home: "", script: "", socketReady: false, children: [], calls: [], embeddedDelays: [], hosts: [], handlers: new Map() }));+const fixture = vi.hoisted(() => ({ home: "", script: "", socketReady: false, children: [], calls: [], embeddedDelays: [], hosts: [], hostOptions: [], handlers: new Map() }));vi.mock("electron", () => ({ app: { isPackaged: false, getPath: () => fixture.home }, ipcMain: { handle: (name, handler) => fixture.handlers.set(name, handler) } }));vi.mock("@trycua/cua-driver/embedded", () => ({EmbeddedCuaDriverHost: class {constructor() { this.delay = fixture.embeddedDelays.shift(); fixture.hosts.push(this); }+ static withOptions(options) { fixture.hostOptions.push(options); return new this(); }+ waitForExit() { return new Promise((resolve) => { this.exit = resolve; }); }async start({ signal }) {if (this.delay === "until-abort") {await new Promise((_, reject) => signal.addEventListener("abort", () => reject(signal.reason), { once: true }));@@ -78,6 +80,7 @@ beforeEach(async () => {fixture.calls = [];fixture.embeddedDelays = [];fixture.hosts = [];+ fixture.hostOptions = [];fixture.handlers.clear();vi.stubEnv("OPENMAUSBOT_CUA_EMBEDDED", "1");vi.stubEnv("CUA_DRIVER_PATH", "/fixture/cua-driver");@@ -209,6 +212,33 @@ describe.skipIf(process.platform !== "darwin")("async standalone CUA launch (isoexpect(JSON.parse(readFileSync(join(fixture.home, "cua-connection.json"), "utf8")).mode).toBe("unavailable");});+ it("restarts a helper that died by itself and says so while it is down", async () => {+ fixture.embeddedDelays = [1, 1, 1];+ const listener = vi.fn();+ cua.setCuaStateListener(listener);+ await expect(cua.startCua()).resolves.toMatchObject({ mode: "embedded" });+ await expect.poll(() => typeof fixture.hosts[0].exit).toBe("function");++ fixture.hosts[0].exit({ generation: "a", code: 1, success: false });+ await expect.poll(() => JSON.parse(readFileSync(join(fixture.home, "cua-connection.json"), "utf8")).mode).toBe("unavailable");+ expect(listener.mock.lastCall[0]).toMatchObject({ mode: "unavailable", reason: expect.stringContaining("restarting") });++ await expect.poll(() => fixture.hosts.length, { timeout: 5_000 }).toBe(2);+ await expect.poll(() => JSON.parse(readFileSync(join(fixture.home, "cua-connection.json"), "utf8")).mode, { timeout: 5_000 }).toBe("embedded");+ expect(fixture.hostOptions[1].socketPath).toBe(fixture.hostOptions[0].socketPath);+ expect(fixture.hostOptions[0].socketPath).toContain("cua-omb-");+ });++ it("does not restart a helper the app stopped", async () => {+ fixture.embeddedDelays = [1, 1];+ await cua.startCua();+ await expect.poll(() => typeof fixture.hosts[0].exit).toBe("function");+ await cua.stopCua();+ fixture.hosts[0].exit({ generation: "a", code: 0, success: true });+ await new Promise((resolve) => setTimeout(resolve, 1_200));+ expect(fixture.hosts).toHaveLength(1);+ });+it("cancels concurrent IPC retries during replacement startup", async () => {fixture.embeddedDelays = [1, "until-abort"];await cua.startCua();diff --git a/electron/cua-restart.mjs b/electron/cua-restart.mjsnew file mode 100644index 0000000000..2d89971be9--- /dev/null+++ b/electron/cua-restart.mjs@@ -0,0 +1,80 @@+// Computer control's helper can die while the app runs. It is started again by itself a bounded number of times, and+// what is true meanwhile is what readiness says.+export const HELPER_RESTARTING = "Computer control stopped because its helper crashed. OpenMausBot is restarting it.";+export const HELPER_KEEPS_CRASHING =+ "Computer control's helper keeps crashing, so OpenMausBot stopped restarting it. Quit and reopen OpenMausBot to try again.";++export const RESTART_WAITS_MS = [1_000, 5_000, 15_000];+/** A helper that ran this long was fine: the next crash starts a new count. */+export const STABLE_AFTER_MS = 120_000;++/**+ * `restart()` resolves true when a working helper is back, false when it is not, and "needs-person" when only the person+ * can fix why (the reason already published stays). `report(reason)` publishes why computer control is down.+ * `started()` after any start that gave a working helper; `exited(detail)` when a working one died; `reset()` when the+ * person restarts it or the app stops it, which cancels a waiting restart and forgets the count.+ */+export function createHelperRestarts({+ restart,+ report,+ log = () => {},+ now = Date.now,+ waitsMs = RESTART_WAITS_MS,+ stableAfterMs = STABLE_AFTER_MS,+ setTimer = setTimeout,+ clearTimer = clearTimeout,+}) {+ let failures = 0;+ let startedAt = null;+ let timer = null;+ let epoch = 0;++ const tryAgain = () => {+ if (failures >= waitsMs.length) {+ log(`helper kept crashing; stopped after ${failures} restarts`);+ report(HELPER_KEEPS_CRASHING);+ return;+ }+ const wait = waitsMs[failures++];+ const run = ++epoch;+ report(HELPER_RESTARTING);+ timer = setTimer(async () => {+ timer = null;+ let back = false;+ try {+ back = await restart();+ } catch (error) {+ log(`helper restart failed: ${error?.message ?? error}`);+ }+ if (run !== epoch || back === "needs-person") return;+ if (back) startedAt = now();+ else tryAgain();+ }, wait);+ timer.unref?.();+ };++ return {+ started() {+ startedAt = now();+ },+ exited(detail) {+ if (startedAt !== null && now() - startedAt >= stableAfterMs) failures = 0;+ startedAt = null;+ log(`helper exited: ${detail}`);+ tryAgain();+ },+ reset() {+ epoch++;+ if (timer !== null) clearTimer(timer);+ timer = null;+ failures = 0;+ startedAt = null;+ },+ };+}++/** The Linux runtime publishes its own connection records; a died daemon and a ready one are what restarts need from them. */+export function followLinuxConnection(restarts, connection) {+ if (connection?.status === "ready") restarts.started();+ else if (connection?.reasonCode === "daemon-exited") restarts.exited(`exit ${connection.exitCode ?? connection.exitSignal ?? "unknown"}`);+}diff --git a/electron/cua-restart.test.mjs b/electron/cua-restart.test.mjsnew file mode 100644index 0000000000..7b59e8d82e--- /dev/null+++ b/electron/cua-restart.test.mjs@@ -0,0 +1,102 @@+import { afterEach, describe, expect, it, vi } from "vitest";+import { createHelperRestarts, followLinuxConnection, HELPER_KEEPS_CRASHING, HELPER_RESTARTING, RESTART_WAITS_MS } from "./cua-restart.mjs";++afterEach(() => vi.useRealTimers());++function restarts({ back = () => true } = {}) {+ vi.useFakeTimers();+ const reports = [];+ const calls = [];+ const keeper = createHelperRestarts({+ restart: async () => { calls.push(Date.now()); return back(calls.length); },+ report: (reason) => reports.push(reason),+ });+ return { keeper, reports, calls };+}++describe("restarting a helper that dies", () => {+ it("says it is restarting at once and restarts after the first wait", async () => {+ const { keeper, reports, calls } = restarts();+ keeper.started();+ keeper.exited("code 1");+ expect(reports).toEqual([HELPER_RESTARTING]);+ expect(calls).toHaveLength(0);+ await vi.advanceTimersByTimeAsync(RESTART_WAITS_MS[0] - 1);+ expect(calls).toHaveLength(0);+ await vi.advanceTimersByTimeAsync(1);+ expect(calls).toHaveLength(1);+ });++ it("waits longer each time, then stops and says so when it keeps dying", async () => {+ const { keeper, reports, calls } = restarts();+ keeper.started();+ for (const wait of RESTART_WAITS_MS) {+ keeper.exited("crash");+ await vi.advanceTimersByTimeAsync(wait);+ }+ expect(calls).toHaveLength(RESTART_WAITS_MS.length);+ keeper.exited("crash");+ await vi.advanceTimersByTimeAsync(600_000);+ expect(calls).toHaveLength(RESTART_WAITS_MS.length);+ expect(reports.at(-1)).toBe(HELPER_KEEPS_CRASHING);+ });++ it("keeps trying while a restart fails, within the same bound", async () => {+ const { keeper, reports, calls } = restarts({ back: () => false });+ keeper.exited("crash");+ await vi.advanceTimersByTimeAsync(600_000);+ expect(calls).toHaveLength(RESTART_WAITS_MS.length);+ expect(reports.at(-1)).toBe(HELPER_KEEPS_CRASHING);+ });++ it("starts a new count after the helper has run for a while", async () => {+ const { keeper, reports, calls } = restarts();+ keeper.started();+ keeper.exited("crash");+ await vi.advanceTimersByTimeAsync(RESTART_WAITS_MS[0]);+ keeper.exited("crash");+ await vi.advanceTimersByTimeAsync(RESTART_WAITS_MS[1]);+ await vi.advanceTimersByTimeAsync(120_000);+ keeper.exited("crash");+ await vi.advanceTimersByTimeAsync(RESTART_WAITS_MS[0]);+ expect(calls).toHaveLength(3);+ expect(reports.every((reason) => reason === HELPER_RESTARTING)).toBe(true);+ });++ it("stops and leaves the published reason when only the person can fix it", async () => {+ const { keeper, reports, calls } = restarts({ back: () => "needs-person" });+ keeper.exited("crash");+ await vi.advanceTimersByTimeAsync(600_000);+ expect(calls).toHaveLength(1);+ expect(reports).toEqual([HELPER_RESTARTING]);+ });++ it("a person's restart cancels the waiting restart and forgets the count", async () => {+ const { keeper, calls } = restarts();+ keeper.exited("crash");+ keeper.reset();+ await vi.advanceTimersByTimeAsync(600_000);+ expect(calls).toHaveLength(0);+ });+});++describe("following the Linux runtime", () => {+ const spies = () => ({ started: vi.fn(), exited: vi.fn() });++ it("counts a died daemon as an exit and a ready one as started", () => {+ const restarts = spies();+ followLinuxConnection(restarts, { status: "error", reasonCode: "daemon-exited", exitCode: 139 });+ expect(restarts.exited).toHaveBeenCalledWith("exit 139");+ followLinuxConnection(restarts, { status: "ready" });+ expect(restarts.started).toHaveBeenCalledOnce();+ });++ it("ignores every other change, such as the person turning it off", () => {+ const restarts = spies();+ followLinuxConnection(restarts, { status: "disabled", reasonCode: "opt-in-required" });+ followLinuxConnection(restarts, { status: "error", reasonCode: "wayland-health-lost" });+ followLinuxConnection(restarts, null);+ expect(restarts.started).not.toHaveBeenCalled();+ expect(restarts.exited).not.toHaveBeenCalled();+ });+});diff --git a/electron/cua-windows-isolation.test.mjs b/electron/cua-windows-isolation.test.mjsindex f9ff155102..b0232ce8d9 100644--- a/electron/cua-windows-isolation.test.mjs+++ b/electron/cua-windows-isolation.test.mjs@@ -10,7 +10,9 @@ vi.mock("electron", () => ({}));vi.mock("@trycua/cua-driver/embedded", () => ({EmbeddedCuaDriverHost: class {- constructor(binary, bundleId) { this.binary = binary; this.bundleId = bundleId; fixture.hosts.push(this); }+ constructor(options) { this.binary = options.binaryPath; this.bundleId = options.hostBundleId; this.options = options; fixture.hosts.push(this); }+ static withOptions(options) { return new this(options); }+ waitForExit() { return new Promise(() => {}); }start(options) { return fixture.start(options); }stop = vi.fn(async () => {});uniffiDestroy = vi.fn();diff --git a/electron/cua.mjs b/electron/cua.mjsindex 9c2808714c..333b4b7f4e 100644--- a/electron/cua.mjs+++ b/electron/cua.mjs@@ -8,11 +8,14 @@ import { promisify } from "node:util";import { setTimeout as delay } from "node:timers/promises";import fs from "node:fs";import net from "node:net";+import os from "node:os";import path from "node:path";import { pathToFileURL } from "node:url";import localOriginModule from "./local-origin.cjs";import { createLocalComputerGrant } from "./local-computer-grant.mjs";import { driverFailure } from "./cua-failure.mjs";+import { createHelperRestarts, followLinuxConnection } from "./cua-restart.mjs";+import { missingPermissions } from "./lent-screen-failures.mjs";const { localOnly } = localOriginModule;@@ -47,6 +50,7 @@ const WIN_INSTALLED_DRIVERS = [path.join(app.getPath("home"), "AppData", "Local", "Programs", "CuaDriver", "cua-driver.exe"),];let embeddedHost = null;+let embeddedGeneration = null;let startupAbort = null;/** On Windows a start that failed for a reason that passes (a slow first start while the system scans the new helper)* is tried again by itself after these waits; a blocked or missing helper is not. */@@ -67,6 +71,17 @@ const localComputerGrant = createLocalComputerGrant({connection: () => connectionStore.get(),log: (line) => console.error(`[cua] ${line}`),});+const helperRestarts = createHelperRestarts({+ restart: async () => {+ if (process.platform === "linux") return (await (await ensureLinuxRuntime()).retry())?.status === "ready";+ const connection = await startCua({ attempt: RETRY_AFTER_MS.length });+ if (connection?.mode === "embedded" || connection?.mode === "standalone") return true;+ return driverBlocked(connection?.reason) || missingPermissions(connection?.reason).length > 0 ? "needs-person" : false;+ },+ // Linux already published its own unavailable record: a legacy-shaped one would not fit its schema.+ report: (reason) => { if (process.platform !== "linux") persistAndNotify({ mode: "unavailable", reason }); },+ log: (line) => console.error(`[cua] ${line}`),+});function ensureLinuxRuntime({ recheck = false } = {}) {if (linuxRuntime && !(recheck && linuxRuntimeAwaitsPlugin)) return Promise.resolve(linuxRuntime);@@ -110,7 +125,10 @@ async function loadLinuxRuntime() {getUserData: () => app.getPath("userData"),connectionStore,bundledDriverPath,- onChange: (connection) => notifyState(connection),+ onChange: (connection) => {+ notifyState(connection);+ followLinuxConnection(helperRestarts, connection);+ },});} catch (error) {console.error("[cua] Bundled Linux driver failed integrity validation:", error);@@ -240,6 +258,12 @@ async function attachStandalone(signal) {};}+function embeddedSocketPath() {+ if (process.platform === "win32") return `\\\\.\\pipe\\cua-omb-${process.pid}`;+ const preferred = path.join(os.tmpdir(), `cua-omb-${process.pid}.sock`);+ return preferred.length < 100 ? preferred : `/tmp/cua-omb-${process.pid}.sock`;+}+async function startEmbedded(binary, signal) {// The packaged app ships no general node_modules, so a bare package import only works in dev.const sdk = await loadEmbeddedSdk();@@ -256,11 +280,24 @@ async function startEmbedded(binary, signal) {}}// The native SDK owns the child lifecycle but exposes no windowsHide option.- const host = new sdk.EmbeddedCuaDriverHost(resolveEmbeddedDriverBinary(binary), HOST_BUNDLE_ID);+ const host = sdk.EmbeddedCuaDriverHost.withOptions({+ binaryPath: resolveEmbeddedDriverBinary(binary),+ hostBundleId: HOST_BUNDLE_ID,+ // The SDK's default socket has the start's random id in it; a fixed one stays valid for a bridge that outlives a restart.+ socketPath: embeddedSocketPath(),+ approveCapabilityManifest: false,+ approveSessionPolicy: false,+ dangerouslyBypassApprovals: false,+ environment: [],+ inheritStderr: true,+ noOverlay: false,+ captureStderr: false,+ });try {const conn = await host.start({ signal });signal.throwIfAborted();embeddedHost = host;+ embeddedGeneration = conn.generation;return {mode: "embedded",socketPath: conn.socketPath,@@ -337,6 +374,8 @@ export async function startCua({ attempt = 0 } = {}) {}signal.throwIfAborted();+ if (nextConnection.mode === "embedded") watchEmbeddedHost(embeddedHost, embeddedGeneration);+ if (nextConnection.mode === "embedded" || nextConnection.mode === "standalone") helperRestarts.started();if (process.platform === "win32" && nextConnection.mode === "unavailable" && !driverBlocked(nextConnection.reason) && attempt < RETRY_AFTER_MS.length) {retryTimer = setTimeout(() => { retryTimer = null; void startCua({ attempt: attempt + 1 }).catch(() => {}); }, RETRY_AFTER_MS[attempt]);retryTimer.unref?.();@@ -344,6 +383,21 @@ export async function startCua({ attempt = 0 } = {}) {return persistAndNotify(nextConnection);}+function watchEmbeddedHost(host, generation) {+ const gone = (detail) => {+ // An exit we asked for is not a crash: stopCua forgets the host first.+ if (host !== embeddedHost) return;+ embeddedHost = null;+ embeddedGeneration = null;+ void host.stop().catch(() => {}).finally(() => host.uniffiDestroy?.());+ helperRestarts.exited(detail);+ };+ void host.waitForExit(generation).then(+ (exit) => gone(`code ${exit?.code ?? "none"}`),+ (error) => gone(driverFailure(error)),+ );+}+export async function cuaPermissionsStatus() {const binary = resolveDriverBinary();if (!binary) return { available: false };@@ -362,6 +416,7 @@ export async function cuaPermissionsStatus() {}export async function stopCua() {+ helperRestarts.reset();clearTimeout(retryTimer);retryTimer = null;lifecycleGeneration++;@@ -377,6 +432,7 @@ export async function stopCua() {}const host = embeddedHost;embeddedHost = null;+ embeddedGeneration = null;if (host) {try {await host.stop();@@ -425,6 +481,7 @@ function restartCua() {export async function requestComputerUse() {if (process.platform === "darwin" || process.platform === "win32") return restartCua();if (process.platform !== "linux") return null;+ helperRestarts.reset();try {await (await ensureLinuxRuntime({ recheck: true })).enable();} catch (error) {@@ -445,6 +502,7 @@ export function registerCuaIpc() {if (process.platform !== "linux") {return { enabled: false, status: "unavailable", reasonCode: "unsupported-platform" };}+ helperRestarts.reset();try {await (await ensureLinuxRuntime({ recheck: true })).enable();} catch (error) {@@ -456,6 +514,7 @@ export function registerCuaIpc() {if (process.platform !== "linux") {return { enabled: false, status: "unavailable", reasonCode: "unsupported-platform" };}+ helperRestarts.reset();try {await (await ensureLinuxRuntime()).disable();} catch (error) {@@ -468,6 +527,7 @@ export function registerCuaIpc() {if (process.platform !== "linux") {return { enabled: false, status: "unavailable", reasonCode: "unsupported-platform" };}+ helperRestarts.reset();try {await (await ensureLinuxRuntime({ recheck: true })).retry();} catch (error) {diff --git a/package.json b/package.jsonindex 8d3b452440..4e396b9581 100644--- a/package.json+++ b/package.json@@ -1,7 +1,7 @@{"name": "openmausbot","private": true,- "version": "0.1.150",+ "version": "0.1.151","description": "A local-first chat app for running a team of AI agents.","homepage": "https://github.com/milind-soni/OpenMausBot","repository": {@@ -107,7 +107,7 @@"@novnc/novnc": "1.7.0","@resvg/resvg-js": "2.6.2","@tanstack/react-virtual": "^3.14.13",- "@trycua/cua-driver": "0.41.3",+ "@trycua/cua-driver": "0.45.4","ag-grid-community": "36.2.0","ag-grid-react": "36.2.0","ajv": "8.20.0",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex c787603913..021533865e 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -58,8 +58,8 @@ importers:specifier: ^3.14.13'@trycua/cua-driver':- specifier: 0.41.3- version: 0.41.3+ specifier: 0.45.4+ version: 0.45.4ag-grid-community:specifier: 36.2.0version: 36.2.0@@ -2203,40 +2203,40 @@ packages:'@tanstack/[email protected]':resolution: {integrity: sha512-+ILjvtHup6Y2hzQ6YzwMgX1Q+oQpxEGOXCEsCNaPoIP0VxMbizIBTmYTDtkerkIQS8/CbP1BRuyt8V/8BCsy1g==}- '@trycua/[email protected]':- resolution: {integrity: sha512-xWFbTdw0KG6iH31fOZtRsgXLms8sH3JXHLkw23xeZxjfGP+vtnZocc8FJD+rXPN16HyTdppzgl8buDmj/OiuWQ==}+ '@trycua/[email protected]':+ resolution: {integrity: sha512-GbfwaQOqfM8C2pWa8KwrJmfjCrn0vSHA8TDX5Q5QvZIuXahJ3HhG/E8XS50U0dJ68LS3JrYxfUMLFe/aZHZPag==}cpu: [arm64]os: [darwin]- '@trycua/[email protected]':- resolution: {integrity: sha512-Wl62ToMCHrgMTkXbBy9+VXQo5UnFV12nzumWaen/UPTowLXuJZhZ3dePTyKCe7+WdKYkdek79uVKaexjFigyVw==}+ '@trycua/[email protected]':+ resolution: {integrity: sha512-gaG20Gfy4IyAtQHGN58bzBPbkHsvEFI9q2yJLj2hsMhhAEr2f2Q+KzgBctEAeREKdeDFEj76ZTY4j8djNyEPug==}cpu: [x64]os: [darwin]- '@trycua/[email protected]':- resolution: {integrity: sha512-aMGP+vZdj+8736b7IX+RyBxA1Rd2FQMFSBBWHLmGL8Ci+XSucEPqkTFPyRtgH6czLIX7/W8+6+O0YEMzB6ua/A==}+ '@trycua/[email protected]':+ resolution: {integrity: sha512-uZfWggYuNMw+8DwYQusSMjwnGVG+hggpt9hHvt3TcsZQkHfCsSodUrJwcYthPd/56JB8LVbN0homNUvtUxJg7g==}cpu: [arm64]os: [linux]libc: [glibc]- '@trycua/[email protected]':- resolution: {integrity: sha512-XhxiSDiBvKFBCKsqo6PsMpQcaotpa6vUiwEqv5B7CQUdr3EkSkiKOWFPBkW8TXkUHaXhopF9DVlD+3QvzzLwnA==}+ '@trycua/[email protected]':+ resolution: {integrity: sha512-0GKOrcy5dB1XHMbBNMvfQCQctQo4+3CbsIICDPKfFmsuEcf5xMzqWiYKTO1Oqvj1eREpvXy5hmOG9sjRqJ290g==}cpu: [x64]os: [linux]libc: [glibc]- '@trycua/[email protected]':- resolution: {integrity: sha512-+NEzrM4eyB0MlQ170Zya8bqNzgG/QXIHADRB6kzc2+L0rqqUsH+h+QauvE/8gBMmtgC9X87H2OIEKwjBLtHVNw==}+ '@trycua/[email protected]':+ resolution: {integrity: sha512-9GjI+vJVlLquEXjf0ye6sfmB27enNtDCq79f/2TofL3haRpgqO6Ru5Nzk3x+2e57wfFBBTRqoDy014kIhsQ9zg==}cpu: [arm64]os: [win32]- '@trycua/[email protected]':- resolution: {integrity: sha512-ynsmwzt0GtU2AUXVSEcbWUU2AyORIY93DEylULMLAUEa49P0fSa7CWyUEqB6uCvFMq/WSPwq0sGO4J8n9S2AdQ==}+ '@trycua/[email protected]':+ resolution: {integrity: sha512-Kj3m4+ICZTdzqrWEF0h7OWxRGH/x9wLM6RQrEuEuwinsZ1YwGchQTL/Er5k+xwDfHGZFmGbOWayRoR6bUPWdiw==}cpu: [x64]os: [win32]- '@trycua/[email protected]':- resolution: {integrity: sha512-WNAnUUdAVmb7ful1TcXgbuD1QxPHFyeVB9U53SsZgkW2lOSoTkc+zIYIDyDCRWa6W4qGv2ao0x6Ew7O9XvPwyw==}+ '@trycua/[email protected]':+ resolution: {integrity: sha512-ykqV/6l6bB3zTEdFklpTYUSFFJ6dk059FerPU/5AYt7XIhyOxfj+2AW5G+jcNMcnKCXJtAHkG3QaYx7JL88aKg==}'@types/[email protected]':resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==}@@ -7105,35 +7105,35 @@ snapshots:'@tanstack/[email protected]': {}- '@trycua/[email protected]':+ '@trycua/[email protected]':optional: true- '@trycua/[email protected]':+ '@trycua/[email protected]':optional: true- '@trycua/[email protected]':+ '@trycua/[email protected]':optional: true- '@trycua/[email protected]':+ '@trycua/[email protected]':optional: true- '@trycua/[email protected]':+ '@trycua/[email protected]':optional: true- '@trycua/[email protected]':+ '@trycua/[email protected]':optional: true- '@trycua/[email protected]':+ '@trycua/[email protected]':dependencies:'@ubjs/core': 0.31.0-3'@ubjs/node': 0.31.0-3optionalDependencies:- '@trycua/cua-driver-darwin-arm64': 0.41.3- '@trycua/cua-driver-darwin-x64': 0.41.3- '@trycua/cua-driver-linux-arm64-gnu': 0.41.3- '@trycua/cua-driver-linux-x64-gnu': 0.41.3- '@trycua/cua-driver-win32-arm64-msvc': 0.41.3- '@trycua/cua-driver-win32-x64-msvc': 0.41.3+ '@trycua/cua-driver-darwin-arm64': 0.45.4+ '@trycua/cua-driver-darwin-x64': 0.45.4+ '@trycua/cua-driver-linux-arm64-gnu': 0.45.4+ '@trycua/cua-driver-linux-x64-gnu': 0.45.4+ '@trycua/cua-driver-win32-arm64-msvc': 0.45.4+ '@trycua/cua-driver-win32-x64-msvc': 0.45.4'@types/[email protected]':dependencies:diff --git a/scripts/ci-scope.mjs b/scripts/ci-scope.mjsindex 3f1d4bdda4..3bfd3fb874 100644--- a/scripts/ci-scope.mjs+++ b/scripts/ci-scope.mjs@@ -51,6 +51,8 @@ export const VITEST_SUBSETS = {part: "locale tests",files: ["src/",+ "electron/cua-launch.test.mjs",+ "electron/cua-windows-isolation.test.mjs","electron/menu.test.mjs","electron/updater.test.mjs","scripts/generate-locale.test.mjs",diff --git a/scripts/ci-scope.test.ts b/scripts/ci-scope.test.tsindex 74a10ac87a..2e4504b120 100644--- a/scripts/ci-scope.test.ts+++ b/scripts/ci-scope.test.ts@@ -188,6 +188,8 @@ describe("CI outputs", () => {expect(out.jobs).toEqual(["build", "vitest"]);expect(VITEST_SUBSETS["locale-tests"].files).toEqual(["src/",+ "electron/cua-launch.test.mjs",+ "electron/cua-windows-isolation.test.mjs","electron/menu.test.mjs","electron/updater.test.mjs","scripts/generate-locale.test.mjs",diff --git a/scripts/prepare-cua-win.mjs b/scripts/prepare-cua-win.mjsindex b5afe7f999..79d0a8a4c5 100644--- a/scripts/prepare-cua-win.mjs+++ b/scripts/prepare-cua-win.mjs@@ -21,9 +21,9 @@ const sdkPackage = JSON.parse(await readFile(join(sdkRoot, "package.json"), "utfconst expectedVersion = String(sdkPackage.version);const release = {- version: "0.41.3",- file: "cua-driver-rs-0.41.3-windows-x86_64-binary.zip",- sha256: "915ebda0a94651c03d2ca24a2f0d8f12206c539375856af06939490ea7bdf5a7",+ version: "0.45.4",+ file: "cua-driver-rs-0.45.4-windows-x86_64-binary.zip",+ sha256: "949927b4cb0519c6fb1377878d67d79a8d6fae7bc56cbed17c7aa26448d82cb5",};if (expectedVersion !== release.version) {diff --git a/scripts/prepare-cua.mjs b/scripts/prepare-cua.mjsindex 6f83eaf48e..82356de98b 100644--- a/scripts/prepare-cua.mjs+++ b/scripts/prepare-cua.mjs@@ -24,9 +24,9 @@ const dependencyRoot = join(sdkRoot, "..", "..");const sdkPackage = JSON.parse(await readFile(join(sdkRoot, "package.json"), "utf8"));const expectedVersion = String(sdkPackage.version);const release = {- version: "0.41.3",- file: "cua-driver-rs-0.41.3-darwin-universal-binary.tar.gz",- sha256: "af23b26a6e2e1cd0917536244ca0050b1447f2d344c958cdb79bfb3342282268",+ version: "0.45.4",+ file: "cua-driver-rs-0.45.4-darwin-universal-binary.tar.gz",+ sha256: "7dff49530847419828770a1737788cd50642026c0d679a9a4ef383259db94ac5",};if (expectedVersion !== release.version) {throw new Error(diff --git a/scripts/testing/file-size-ratchet.test.ts b/scripts/testing/file-size-ratchet.test.tsindex 6eff03a011..482ffc0ed4 100644--- a/scripts/testing/file-size-ratchet.test.ts+++ b/scripts/testing/file-size-ratchet.test.ts@@ -18,7 +18,7 @@ const LISTED_FROM = 1000;const LINES: Record<string, number> = {"server/index.ts": 15630,"src/state/store.tsx": 3349,- "electron/main.mjs": 3178,+ "electron/main.mjs": 3175,"server/store.ts": 2303,"src/components/Sidebar.tsx": 1689,"server/drivers/claude.ts": 2090,@@ -34,7 +34,7 @@ const LINES: Record<string, number> = {"src/components/LocalComputerSection.tsx": 1452,"src/components/CursorAvatar.tsx": 1324,"server/skills.ts": 1380,- "server/composio.ts": 1091,+ "server/composio.ts": 1046,"server/vps-computer.ts": 1292,"scripts/mcp-server.ts": 1412,"server/boat.ts": 1258,diff --git a/server/cloud-lending-browser.e2e.test.ts b/server/cloud-lending-browser.e2e.test.tsindex ce5a5bc9de..f82e417d92 100644--- a/server/cloud-lending-browser.e2e.test.ts+++ b/server/cloud-lending-browser.e2e.test.ts@@ -291,7 +291,7 @@ it("a locked screen says to unlock it, and works once unlocked", async () => {it("a quarantined driver says how to restore it; restored, the next action works without a restart", async () => {screen.set("exit");const stopped = await screenCall("get_desktop_state");- expect(said(stopped)).toMatch(/^Computer control stopped on this computer: its helper, cua-driver, exited\. Try the action once more/);+ expect(said(stopped)).toMatch(/^Computer control stopped on this computer because its helper exited and OpenMausBot is restarting it by itself, so try the action once more\b.*Protection history/);const working = driver;driver = { mcpCommand: join(home, "Program Files", "OpenMausBot", "resources", "cua-driver.exe"), mcpArgs: ["mcp"], mcpEnv: {} };const missing = await screenCall("get_desktop_state");diff --git a/server/drivers/claude-catalog.test.ts b/server/drivers/claude-catalog.test.tsindex 64f873f0e5..6df51e0883 100644--- a/server/drivers/claude-catalog.test.ts+++ b/server/drivers/claude-catalog.test.ts@@ -16,7 +16,8 @@ afterEach(() => {describe("readClaudeModelCatalog", () => {it("returns the official models when settings are missing", () => {expect(readClaudeModelCatalog({ HOME: join(tmpdir(), "omb-claude-missing-home") })).toEqual(STATIC_CLAUDE_MODELS);- expect(STATIC_CLAUDE_MODELS.options.slice(0, 2)).toEqual([+ expect(STATIC_CLAUDE_MODELS.options.slice(0, 3)).toEqual([+ { id: "claude-fable-5-2", label: "Claude Fable 5.2", contextWindow: 1_000_000 },{ id: "claude-fable-5-1", label: "Claude Fable 5.1" },{ id: "claude-fable-5", label: "Claude Fable 5" },]);diff --git a/server/drivers/claude-model-extras.ts b/server/drivers/claude-model-extras.tsindex 90dedb48e4..3de975fd86 100644--- a/server/drivers/claude-model-extras.ts+++ b/server/drivers/claude-model-extras.ts@@ -56,6 +56,7 @@ export function claudeModelExtras(settings: Record<string, unknown>, env: Recordexport const STATIC_CLAUDE_MODELS: ModelCatalog = {default: "claude-sonnet-5",options: [+ { id: "claude-fable-5-2", label: "Claude Fable 5.2", contextWindow: 1_000_000 },{ id: "claude-fable-5-1", label: "Claude Fable 5.1" },{ id: "claude-fable-5", label: "Claude Fable 5" },{ id: "claude-opus-5-5", label: "Claude Opus 5.5", contextWindow: 1_000_000 },diff --git a/server/lent-screen-guidance.test.ts b/server/lent-screen-guidance.test.tsindex 5d7eda6e6c..1539a88456 100644--- a/server/lent-screen-guidance.test.ts+++ b/server/lent-screen-guidance.test.ts@@ -38,7 +38,7 @@ describe("a lent screen's answers carry the fix", () => {expect(texts(quarantined)).toHaveLength(1);expect(texts(quarantined)[0]).toMatch(/^Computer control could not start on this computer: its helper, cua-driver, is missing or blocked\. .*Protection history/);expect(JSON.stringify(quarantined)).not.toContain("Ana");- expect(texts(lentScreenResult(call("click"), failed("Computer-control transport closed")))[0]).toMatch(/^Computer control stopped on this computer: .*Try the action once more/);+ expect(texts(lentScreenResult(call("click"), failed("Computer-control transport closed")))[0]).toMatch(/^Computer control stopped on this computer because .*try the action once more/);expect(texts(lentScreenResult(call("click"), failed("Computer control is unavailable. Enable it in the local app and grant OS permissions first.")))[0]).toMatch(/^Computer control is not running on this computer\./);expect(texts(lentScreenResult(call("click"), failed("fetch failed")))[0]).toMatch(/restart OpenMausBot on that computer/);});diff --git a/server/lent-screen-guidance.ts b/server/lent-screen-guidance.tsindex f9d39d4e6c..551918c309 100644--- a/server/lent-screen-guidance.ts+++ b/server/lent-screen-guidance.ts@@ -23,7 +23,7 @@ const RAW_FAILURES: ReadonlyArray<[RegExp, string]> = [[/\bspawn\b.*\bcua-driver(?:\.exe)?\b.*\b(?:ENOENT|EPERM|EACCES|EBUSY|UNKNOWN)\b|\bcua-driver binary not found\b/iu,"Computer control could not start on this computer: its helper, cua-driver, is missing or blocked. Tell the person in one sentence: Windows Security may have quarantined it, so on that PC open Windows Security → Virus & threat protection → Protection history, restore or allow cua-driver.exe (or reinstall OpenMausBot), then restart OpenMausBot. Do not retry until they say it is fixed."],[/^Computer-control transport closed$/u,- "Computer control stopped on this computer: its helper, cua-driver, exited. Try the action once more; if it fails the same way, tell the person that Windows Security may have quarantined cua-driver.exe (restore it from Protection history, or reinstall OpenMausBot) and to restart OpenMausBot."],+ "Computer control stopped on this computer because its helper exited and OpenMausBot is restarting it by itself, so try the action once more in a few seconds, and if it fails the same way, tell the person to quit and reopen OpenMausBot on that computer (on Windows, after restoring cua-driver.exe from Windows Security's Protection history if it was quarantined)."],[/^Computer control is unavailable\. Enable it in the local app and grant OS permissions first\.$/u,"Computer control is not running on this computer. Tell the person in one sentence to open OpenMausBot on it: on Windows, restore cua-driver.exe if Windows Security quarantined it (Protection history) or reinstall; on a Mac, allow Accessibility and Screen Recording for OpenMausBot. Then try again."],// Older desktops say this for any failed screen check, though it is rarely a person.diff --git a/server/local-computer-proxy.ts b/server/local-computer-proxy.tsindex 41284a7f43..dbc3a21dfc 100644--- a/server/local-computer-proxy.ts+++ b/server/local-computer-proxy.ts@@ -3,6 +3,7 @@ import { runMcpBridge } from "./mcp-bridge.ts";import { augmentedPath } from "./env-path.ts";import { localComputerCallQuery, localComputerRelay, localComputerResultLine } from "./local-computer-guidance.ts";import { journalUrl } from "./saved-steps/journal-tap.ts";+import { COMPUTER_HELPER_STOPPED } from "../shared/your-computer.ts";const {OMB_CUA_COMMAND: command,@@ -39,4 +40,5 @@ runMcpBridge({...(journal === "1" ? { journal: { url: journalUrl(url!), token: token! } } : {}),rewriteResponse: localComputerResultLine,relay: localComputerRelay(platform ?? process.platform),+ respawn: { stopped: COMPUTER_HELPER_STOPPED },});diff --git a/server/mcp-bridge.respawn.test.ts b/server/mcp-bridge.respawn.test.tsnew file mode 100644index 0000000000..af10f71ded--- /dev/null+++ b/server/mcp-bridge.respawn.test.ts@@ -0,0 +1,195 @@+import { spawn, type ChildProcessWithoutNullStreams } from "node:child_process";+import { existsSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from "node:fs";+import { createServer } from "node:http";+import type { AddressInfo } from "node:net";+import { tmpdir } from "node:os";+import { join, resolve } from "node:path";+import { pathToFileURL } from "node:url";+import { afterEach, describe, expect, it } from "vitest";++import { COMPUTER_HELPER_STOPPED } from "../shared/your-computer.ts";+import { createChildCalls } from "./mcp-bridge.ts";++const STOPPED = "Computer control stopped; try again in a few seconds.";+const homes: string[] = [];+const bridges: ChildProcessWithoutNullStreams[] = [];++afterEach(() => {+ for (const bridge of bridges.splice(0)) if (bridge.exitCode === null) bridge.kill("SIGKILL");+ for (const home of homes.splice(0)) rmSync(home, { recursive: true, force: true });+});++function bridgeHome(helperBody: string) {+ const home = mkdtempSync(join(tmpdir(), "omb-bridge-respawn-"));+ homes.push(home);+ const log = join(home, "helper.log");+ const helper = join(home, "fake-helper.mjs");+ writeFileSync(helper, `+import { appendFileSync } from "node:fs";+import readline from "node:readline";+const logFile = ${JSON.stringify(log)};+const send = (frame) => process.stdout.write(JSON.stringify(frame) + "\\n");+appendFileSync(logFile, "start\\n");+readline.createInterface({ input: process.stdin }).on("line", (line) => {+ const frame = JSON.parse(line);+ if (frame.method === "initialize") { appendFileSync(logFile, "initialize " + JSON.stringify(frame.params) + "\\n"); send({ jsonrpc: "2.0", id: frame.id, result: { protocolVersion: "2025-06-18", capabilities: {}, serverInfo: { name: "fake", version: "9.9.9" } } }); return; }+ if (frame.method === "notifications/initialized") { appendFileSync(logFile, "initialized\\n"); return; }+ ${helperBody}+});+`);+ const entry = join(home, "bridge-entry.ts");+ writeFileSync(entry, `+import { runMcpBridge } from ${JSON.stringify(pathToFileURL(resolve("server/mcp-bridge.ts")).href)};+runMcpBridge({ command: process.execPath, args: [${JSON.stringify(helper)}], label: "fake", respawn: { stopped: ${JSON.stringify(STOPPED)} } });+`);+ return { home, log, entry, helper };+}++function startBridge(entry: string, env: NodeJS.ProcessEnv = {}) {+ const bridge = spawn(process.execPath, ["--experimental-strip-types", "--no-warnings", entry], { stdio: ["pipe", "pipe", "pipe"], cwd: resolve("."), env: { ...process.env, PATH: process.env.PATH ?? "", ...env } });+ bridges.push(bridge);+ let buffered = "";+ const frames: any[] = [];+ const waiters: Array<() => void> = [];+ bridge.stdout.on("data", (chunk) => {+ buffered += chunk.toString("utf8");+ let newline: number;+ while ((newline = buffered.indexOf("\n")) !== -1) {+ frames.push(JSON.parse(buffered.slice(0, newline)));+ buffered = buffered.slice(newline + 1);+ for (const wake of waiters.splice(0)) wake();+ }+ });+ const reply = async (id: number, timeoutMs = 15_000) => {+ const deadline = Date.now() + timeoutMs;+ for (;;) {+ const found = frames.find((frame) => frame.id === id);+ if (found) return found;+ const left = deadline - Date.now();+ if (left <= 0) throw new Error(`no reply to ${id}`);+ await new Promise<void>((settle) => {+ const timer = setTimeout(settle, left);+ waiters.push(() => { clearTimeout(timer); settle(); });+ });+ }+ };+ const write = (frame: unknown) => bridge.stdin.write(JSON.stringify(frame) + "\n");+ const initialize = async (id: number) => {+ write({ jsonrpc: "2.0", id, method: "initialize", params: { protocolVersion: "2025-06-18", capabilities: {}, clientInfo: { name: "agent", version: "1" } } });+ await reply(id);+ write({ jsonrpc: "2.0", method: "notifications/initialized" });+ };+ const call = (id: number, name: string) => write({ jsonrpc: "2.0", id, method: "tools/call", params: { name, arguments: {} } });+ return { bridge, reply, call, initialize };+}++const CRASHES = `+ if (frame.method === "tools/call" && ["crash", "click"].includes(frame.params.name)) process.exit(1);+ if (frame.method === "tools/call") send({ jsonrpc: "2.0", id: frame.id, result: { content: [{ type: "text", text: "ok" }] } });+`;++describe("the bridge survives a helper that dies", () => {+ it("answers the call the helper died under, then a new helper serves the next call", async () => {+ const { log, entry } = bridgeHome(CRASHES);+ const { bridge, call, reply, initialize } = startBridge(entry);+ await initialize(1);+ call(2, "echo");+ expect((await reply(2)).result.content[0].text).toBe("ok");++ call(3, "crash");+ const stopped = await reply(3);+ expect(stopped.result.isError).toBe(true);+ expect(JSON.stringify(stopped)).toContain(STOPPED);+ expect(JSON.stringify(stopped)).not.toMatch(/transport closed/i);+ expect(bridge.exitCode).toBeNull();++ call(4, "echo");+ expect((await reply(4)).result.content[0].text).toBe("ok");+ const helperLog = readFileSync(log, "utf8");+ expect(helperLog.match(/^start$/gm)).toHaveLength(2);+ expect(helperLog.match(/^initialize /gm)).toHaveLength(2);+ expect(helperLog.match(/^initialized$/gm)).toHaveLength(2);+ expect(helperLog).toContain('"clientInfo":{"name":"agent"');+ bridge.stdin.end();+ await new Promise((settle) => bridge.once("close", settle));+ }, 30_000);++ it("says the helper stopped when it does not come back, and stays up for the next call", async () => {+ const { helper, entry } = bridgeHome(CRASHES);+ const { bridge, call, reply, initialize } = startBridge(entry);+ await initialize(1);+ call(2, "echo");+ await reply(2);+ call(3, "crash");+ await reply(3);+ writeFileSync(helper, "process.exit(1);\n");+ const asked = Date.now();+ call(4, "echo");+ const answer = await reply(4, 20_000);+ expect(answer.result.isError).toBe(true);+ expect(JSON.stringify(answer)).toContain(STOPPED);+ expect(Date.now() - asked).toBeLessThan(15_000);+ expect(bridge.exitCode).toBeNull();+ bridge.stdin.end();+ await new Promise((settle) => bridge.once("close", settle));+ }, 45_000);++ it("without respawn the bridge still ends with its helper", async () => {+ const { entry, home } = bridgeHome(CRASHES);+ const body = readFileSync(entry, "utf8").replace(/ respawn: \{[^}]*\} /, " ");+ expect(body).not.toContain("respawn:");+ const plain = join(home, "bridge-entry-plain.ts");+ writeFileSync(plain, body);+ const { bridge, call, initialize } = startBridge(plain);+ await initialize(1);+ const closed = new Promise<number | null>((settle) => bridge.once("close", settle));+ call(2, "crash");+ await expect(Promise.race([closed, new Promise((settle) => setTimeout(() => settle("timeout"), 15_000))])).resolves.not.toBe("timeout");+ expect(existsSync(home)).toBe(true);+ }, 30_000);+});++describe("the local computer proxy", () => {+ it.each([+ ["a forwarded call", "darwin", "crash"],+ ["a call the bridge relays itself", "win32", "click"],+ ])("keeps the agent's connection through a driver crash under %s and tells the bot in plain words", async (_label, platform, tool) => {+ const { helper } = bridgeHome(CRASHES);+ const gate = createServer((_request, response) => {+ response.setHeader("content-type", "application/json");+ response.end(JSON.stringify({ held: false, helpOpen: false }));+ });+ await new Promise<void>((settle) => gate.listen(0, "127.0.0.1", settle));+ try {+ const { port } = gate.address() as AddressInfo;+ const { bridge, call, reply, initialize } = startBridge(resolve("server/local-computer-proxy.ts"), {+ OMB_CUA_COMMAND: process.execPath,+ OMB_CUA_ARGS: JSON.stringify([helper]),+ OMB_CUA_PLATFORM: platform,+ OMB_CONTROL_URL: `http://127.0.0.1:${port}/control`,+ OMB_CONTROL_TOKEN: "fixture-token",+ OMB_COMPUTER_JOURNAL: "0",+ });+ await initialize(1);+ call(2, tool);+ const stopped = await reply(2);+ expect(stopped.result).toMatchObject({ isError: true, content: [{ type: "text", text: COMPUTER_HELPER_STOPPED }] });+ expect(JSON.stringify(stopped)).not.toMatch(/transport closed/i);+ call(3, "echo");+ expect((await reply(3)).result.content[0].text).toBe("ok");+ bridge.stdin.end();+ await new Promise((settle) => bridge.once("close", settle));+ } finally {+ await new Promise((settle) => gate.close(settle));+ }+ }, 30_000);+});++describe("createChildCalls", () => {+ it("answers with the plain sentence when given one", async () => {+ const children = createChildCalls(() => {}, STOPPED);+ const waiting = children.forCall(undefined).call("click", {});+ children.close();+ await expect(waiting).resolves.toMatchObject({ isError: true, content: [{ text: STOPPED }] });+ });+});diff --git a/server/mcp-bridge.ts b/server/mcp-bridge.tsindex 75fd56deae..a398d6cca1 100644--- a/server/mcp-bridge.ts+++ b/server/mcp-bridge.ts@@ -118,6 +118,9 @@ export interface BridgeOptions {/** A tools/call the bridge carries out itself through the child, answering the agent with what this resolves to; null* forwards the frame as it came. Frames after it wait, so the agent's calls still act in order. */relay?: (call: ToolCall, child: ChildCalls) => Promise<unknown> | null;+ /** The child can die and come back behind this bridge (the app restarts the driver), so the agent's connection stays up:+ * calls that were waiting are answered with `stopped`, and the next call starts a new child. */+ respawn?: { stopped: string };}/** MCP stdio is one JSON-RPC frame per line, so line boundaries are the only safe place to inspect or inject. */@@ -267,7 +270,7 @@ function relayableCall(line: string): { id: unknown; call: ToolCall; meta: unkno}/** The bridge's own calls on the child, under ids the agent never sees. */-export function createChildCalls(write: (line: string) => void) {+export function createChildCalls(write: (line: string) => void, closedText = "Computer-control transport closed") {let sequence = 0;let driverVersion: string | undefined;let closed = false;@@ -277,7 +280,7 @@ export function createChildCalls(write: (line: string) => void) {forCall(meta: unknown): ChildCalls {return {call(name, args) {- if (closed) return Promise.resolve(failed("Computer-control transport closed"));+ if (closed) return Promise.resolve(failed(closedText));const id = `${OWN_ID}${++sequence}`;return new Promise((resolve) => {waiting.set(id, resolve);@@ -311,24 +314,32 @@ export function createChildCalls(write: (line: string) => void) {/** The child is gone: every call still waiting, and any made later, ends as a failure. */close() {closed = true;- for (const resolve of waiting.values()) resolve(failed("Computer-control transport closed"));+ for (const resolve of waiting.values()) resolve(failed(closedText));waiting.clear();},};}+/** How long a call waits, in steps, for a dead child to come back before the agent is told it stopped. */+const RESPAWN_WAITS_MS = [0, 500, 1_500, 3_000];+const RESPAWN_INITIALIZE_MS = 5_000;+export function runMcpBridge(options: BridgeOptions): void {const env = options.env ?? { ...process.env, PATH: augmentedPath() };const { command, args } = resolveCliSpawn(options.command, options.args, env);- const child = spawn(command, args, {- shell: false,- env,- stdio: ["pipe", "pipe", "pipe"],- });-- // docker may exit before it drains stdin; pipe() leaves this error unhandled.- child.stdin.on("error", () => {});- child.stderr.pipe(process.stderr);+ const respawn = options.respawn;+ const spawnChild = () => {+ const proc = spawn(command, args, {+ shell: false,+ env,+ stdio: ["pipe", "pipe", "pipe"],+ });+ // docker may exit before it drains stdin; pipe() leaves this error unhandled.+ proc.stdin.on("error", () => {});+ proc.stderr.pipe(process.stderr, { end: false });+ return proc;+ };+ let child = spawnChild();const client = options.gate? createControlClient({ url: options.gate.url, token: options.gate.token })@@ -343,11 +354,100 @@ export function runMcpBridge(options: BridgeOptions): void {// Injected responses must never land inside one of the child's half-written frames.const rewrite = options.rewriteResponse ?? ((line: string) => line);const respond = (line: string) => reply(line, textOnlyErrorResultLine(rewrite(toolLists.rewriteResponse(line))));- const children = createChildCalls((line) => child.stdin.write(line + "\n"));+ const newChildCalls = () => createChildCalls((line) => child.stdin.write(line + "\n"), respawn?.stopped);+ let children = newChildCalls();++ let childGone = false;+ let stopping = false;+ let revival: Promise<boolean> | null = null;+ let initializeParams: unknown;+ const waitingOnChild = new Map<string, { id: unknown; method: unknown; meta: unknown }>();++ const answerStopped = (id: unknown, method: unknown, meta: unknown, text: string) => {+ if (id === undefined || id === null) return;+ answer(JSON.stringify(method === "tools/call"+ ? { jsonrpc: "2.0", id, result: completeFor(meta, failed(text)) }+ : { jsonrpc: "2.0", id, error: { code: -32000, message: text } }));+ };+ const noteRequest = (line: string) => {+ let frame: any = null;+ try {+ frame = JSON.parse(line);+ } catch {+ return null;+ }+ if (frame?.method === "initialize") initializeParams = frame.params;+ if (frame?.id !== undefined && frame.id !== null && frame.method) {+ waitingOnChild.set(JSON.stringify(frame.id), { id: frame.id, method: frame.method, meta: frame.params?._meta });+ }+ return frame;+ };+ const noteResponse = (line: string) => {+ if (waitingOnChild.size === 0) return;+ try {+ const id = JSON.parse(line)?.id;+ if (id !== undefined) waitingOnChild.delete(JSON.stringify(id));+ } catch {}+ };++ /** A new child, past its initialize handshake (the proxy refuses calls before it), or false when it did not come up. */+ const startChild = () => new Promise<boolean>((resolve) => {+ const proc = spawnChild();+ const handshake = `${OWN_ID}init-${Date.now()}`;+ let settled = false;+ const finish = (up: boolean) => {+ if (settled) return;+ settled = true;+ clearTimeout(timer);+ if (!up) proc.kill("SIGKILL");+ resolve(up);+ };+ const timer = setTimeout(() => finish(false), RESPAWN_INITIALIZE_MS);+ timer.unref?.();+ const adopt = () => {+ child = proc;+ children = newChildCalls();+ childGone = false;+ watchChild(proc);+ finish(true);+ };+ proc.once("error", () => finish(false));+ proc.once("close", () => finish(false));+ wireChildOutput(proc, (line) => {+ if (!line.includes(handshake)) return false;+ proc.stdin.write('{"jsonrpc":"2.0","method":"notifications/initialized"}\n');+ adopt();+ children.take(line);+ return true;+ });+ if (initializeParams === undefined) {+ adopt();+ return;+ }+ proc.stdin.write(JSON.stringify({ jsonrpc: "2.0", id: handshake, method: "initialize", params: initializeParams }) + "\n");+ });++ const reviveChild = async () => {+ for (const wait of RESPAWN_WAITS_MS) {+ await new Promise((settle) => setTimeout(settle, wait));+ if (await startChild()) return true;+ }+ return false;+ };+ /** Waits for a dead child to come back. Frames are sent one at a time, so at most one revival runs. */+ const childAlive = () => (childGone ? (revival ??= reviveChild().finally(() => { revival = null; })) : Promise.resolve(true));+const send = async (line: string) => {+ if (respawn && !(await childAlive())) {+ const frame = noteRequest(line);+ if (frame) answerStopped(frame.id, frame.method, frame.params?._meta, respawn.stopped);+ waitingOnChild.clear();+ return;+ }const frame = line.includes('"tools/call"') ? relayableCall(line) : null;const relayed = frame && options.relay?.(frame.call, children.forCall(frame.meta));if (!frame || !relayed) {+ if (respawn) noteRequest(line);child.stdin.write(line + "\n");return;}@@ -359,7 +459,7 @@ export function runMcpBridge(options: BridgeOptions): void {};let sending: Promise<void> = Promise.resolve();const forward = (line: string): void | Promise<void> => {- if (!options.relay) {+ if (!options.relay && !respawn) {child.stdin.write(line + "\n");return;}@@ -387,11 +487,16 @@ export function runMcpBridge(options: BridgeOptions): void {void pendingInput.finally(() => child.stdin.end());});- const outbound = createLineSplitter((line) => {- if (!children.take(line)) respond(line);- });- child.stdout.on("data", (chunk) => outbound.push(chunk));- child.stdout.on("end", () => outbound.flush());+ const wireChildOutput = (proc: typeof child, take: (line: string) => boolean) => {+ const outbound = createLineSplitter((line) => {+ if (take(line) || children.take(line)) return;+ if (respawn) noteResponse(line);+ respond(line);+ });+ proc.stdout.on("data", (chunk) => outbound.push(chunk));+ proc.stdout.on("end", () => outbound.flush());+ };+ wireChildOutput(child, () => false);const detach = () => {process.stdin.off("data", onStdin);@@ -422,23 +527,47 @@ export function runMcpBridge(options: BridgeOptions): void {child.stderr.on("data", touch);}- child.on("error", (error) => {- process.stderr.write(`could not connect to ${options.label}: ${error.message}\n`);- process.exitCode = 1;- watchdog?.stop();- children.close();- detach();- });- child.on("close", (code, signal) => {- if (signal) process.stderr.write(`${options.label} connection ended with ${signal}\n`);- // process.exit() here would discard buffered stdout mid-frame: set exitCode and let stdio drain.- process.exitCode = process.exitCode ?? code ?? 1;- watchdog?.stop();+ const childLost = (proc: typeof child) => {+ if (!respawn || proc !== child) return;+ childGone = true;children.close();- detach();- });+ for (const { id, method, meta } of waitingOnChild.values()) answerStopped(id, method, meta, respawn.stopped);+ waitingOnChild.clear();+ process.stderr.write(`${options.label}: its helper stopped; a new one starts on the next call\n`);+ if (stopping) detach();+ };+ function watchChild(proc: typeof child) {+ proc.on("error", (error) => {+ process.stderr.write(`could not connect to ${options.label}: ${error.message}\n`);+ if (respawn) {+ childLost(proc);+ return;+ }+ process.exitCode = 1;+ watchdog?.stop();+ children.close();+ detach();+ });+ proc.on("close", (code, signal) => {+ if (respawn) {+ childLost(proc);+ return;+ }+ if (signal) process.stderr.write(`${options.label} connection ended with ${signal}\n`);+ // process.exit() here would discard buffered stdout mid-frame: set exitCode and let stdio drain.+ process.exitCode = process.exitCode ?? code ?? 1;+ watchdog?.stop();+ children.close();+ detach();+ });+ }+ watchChild(child);for (const signal of ["SIGTERM", "SIGINT"] as const) {- process.on(signal, () => child.kill(signal));+ process.on(signal, () => {+ stopping = true;+ if (childGone) process.exit(0);+ child.kill(signal);+ });}}diff --git a/server/model-context-window.test.ts b/server/model-context-window.test.tsindex 011c0ecb5f..cbd3f79408 100644--- a/server/model-context-window.test.ts+++ b/server/model-context-window.test.ts@@ -22,6 +22,15 @@ describe("model context window fallback", () => {expect(modelContextWindow("claude-opus-5-5garbage")).toBe(200_000);expect(modelContextWindow("omlx::claude-opus-5-5")).toBe(200_000);expect(modelContextWindow("claude-opus-5[1m]")).toBe(1_000_000);+ expect(modelContextWindow("claude-fable-5-2")).toBe(1_000_000);+ expect(modelContextWindow("claude-fable-5.2")).toBe(1_000_000);+ expect(modelContextWindow("openrouter/anthropic/claude-fable-5.2")).toBe(1_000_000);+ expect(modelContextWindow("anthropic.claude-fable-5-2")).toBe(1_000_000);+ expect(modelContextWindow("claude-fable-5-20")).toBe(200_000);+ expect(modelContextWindow("claude-fable-5-2-local")).toBe(200_000);+ expect(modelContextWindow("omlx::claude-fable-5-2")).toBe(200_000);+ expect(modelContextWindow("claude-fable-5-1")).toBe(200_000);+ expect(modelContextWindow("claude-fable-5")).toBe(200_000);expect(modelContextWindow("gpt-5.6-sol")).toBe(272_000);expect(modelContextWindow("gpt-4.1-mini")).toBe(1_000_000);expect(modelContextWindow("gemini-2.5-pro")).toBe(1_000_000);diff --git a/server/model-context-window.ts b/server/model-context-window.tsindex 4a881ef57f..86fefb0cf4 100644--- a/server/model-context-window.ts+++ b/server/model-context-window.ts@@ -5,8 +5,8 @@ export function modelContextWindow(model: string | undefined): number | undefineconst local = injectedContextWindow(model);if (local) return local;const id = model.toLowerCase();- // Opus 5.5 and Sonnet 5.5 are 1M without a `[1m]` suffix: only the exact slug, alone or after a slash or provider dot.- if (/(?:^|[/.])claude-(?:opus|sonnet)-5(?:-5|\.5)$/.test(id)) return 1_000_000;+ // Opus 5.5, Sonnet 5.5 and Fable 5.2 are 1M without a `[1m]` suffix: only the exact slug, alone or after a slash or provider dot.+ if (/(?:^|[/.])claude-(?:(?:opus|sonnet)-5(?:-5|\.5)|fable-5(?:-2|\.2))$/.test(id)) return 1_000_000;if (/claude/.test(id) || /^(opus|sonnet|haiku|fable)\b/.test(id)) return /\[1m\]|-1m\b|1m-context/.test(id) ? 1_000_000 : 200_000;if (/^(gpt-5|o[34]\b|codex)/.test(id)) return 272_000;if (id.startsWith("gpt-4.1")) return 1_000_000;diff --git a/server/model-prices.test.ts b/server/model-prices.test.tsindex b4260c67b6..1d027da0d6 100644--- a/server/model-prices.test.ts+++ b/server/model-prices.test.ts@@ -29,6 +29,9 @@ describe("built-in list prices", () => {it("looks models up case-insensitively, through catalog aliases, and follows announced price changes", () => {expect(listPriceFor("MiniMax-M3")).toEqual({ inputPerMillion: 0.3, cachedInputPerMillion: 0.06, outputPerMillion: 1.2 });expect(listPriceFor("gpt-5.5")).toEqual({ inputPerMillion: 5, cachedInputPerMillion: 0.5, outputPerMillion: 30 });+ for (const fable of ["claude-fable-5-2", "anthropic/claude-fable-5.2"]) {+ expect(listPriceFor(fable), fable).toEqual({ inputPerMillion: 8, cachedInputPerMillion: 0.2, outputPerMillion: 40 });+ }expect(listPriceFor("gemini-3.8-flash-high", new Date("2026-12-31T23:00:00Z"))?.inputPerMillion).toBe(0.75);expect(listPriceFor("gemini-3.8-flash", new Date("2027-01-01T00:00:00Z"))).toEqual({ inputPerMillion: 1.5, cachedInputPerMillion: 0.15, outputPerMillion: 7.5 });});diff --git a/server/model-prices.ts b/server/model-prices.tsindex 257722720f..28c3f4228e 100644--- a/server/model-prices.ts+++ b/server/model-prices.ts@@ -39,6 +39,7 @@ export const LIST_PRICES: Readonly<Record<string, ListPrice>> = {// gpt-5.3-codex-spark has no published API price: unpriced.// Anthropic: base input, cache hit, output. No long-context tier, except that a Haiku 5.5 prompt over 100,000 tokens costs 5x.+ "claude-fable-5-2": price(ANTHROPIC, 8, 0.2, 40, { asOf: "2026-11-10" }),"claude-fable-5-1": price(ANTHROPIC, 10, 0.25, 50),"claude-fable-5": price(ANTHROPIC, 10, 1, 50),"claude-opus-5": price(ANTHROPIC, 5, 0.5, 25),@@ -74,6 +75,7 @@ export const LIST_PRICES: Readonly<Record<string, ListPrice>> = {"openai/gpt-5.4": price(OPENROUTER, 2.5, 0.25, 15),"openai/gpt-5.4-mini": price(OPENROUTER, 0.75, 0.075, 4.5),"openai/gpt-5.3-codex": price(OPENROUTER, 1.75, 0.175, 14),+ "anthropic/claude-fable-5.2": price(OPENROUTER, 8, 0.2, 40, { asOf: "2026-11-10" }),"anthropic/claude-fable-5.1": price(OPENROUTER, 10, 0.25, 50),"anthropic/claude-fable-5": price(OPENROUTER, 10, 1, 50),"anthropic/claude-opus-5": price(OPENROUTER, 5, 0.5, 25),diff --git a/shared/your-computer.ts b/shared/your-computer.tsindex afae010834..8f01756a3b 100644--- a/shared/your-computer.ts+++ b/shared/your-computer.ts@@ -27,6 +27,10 @@ export const YOUR_COMPUTER_TOOL = "use_your_computer";/** A failed turn's line starts with this when the desktop app's own driver is not ready; the app adds the permission fix. */export const THIS_COMPUTER_NOT_READY = "OpenMausBot can't use this computer yet — ";+/** What a bot is told when the computer-control helper dies under it: the app restarts the helper by itself. */+export const COMPUTER_HELPER_STOPPED =+ "Computer control on this computer stopped because its helper crashed and OpenMausBot is restarting it by itself, so try the same action once more in a few seconds, and if it fails the same way, tell the person computer control is not working and to quit and reopen OpenMausBot.";+const BROWSERS: Record<string, string> = {chrome: "Chrome", "google chrome": "Chrome", chromium: "Chromium", safari: "Safari", firefox: "Firefox","mozilla firefox": "Firefox", edge: "Edge", "microsoft edge": "Edge", msedge: "Edge", brave: "Brave", "brave browser": "Brave",diff --git a/src/locales/source-hashes.json b/src/locales/source-hashes.jsonindex 7ad17134c3..de7b7fa8c2 100644--- a/src/locales/source-hashes.json+++ b/src/locales/source-hashes.json@@ -3447,7 +3447,9 @@"settings.simple.more.limits": "dffb64dc70011ecf3ef3ad62cdd271f08f1b86601d7c2bc54f91978a32ca8cf4","settings.simple.more.open": "ed077f3d8125d60dca1979c7133601bd187d47c73ed9975028f677e49e709942","memory.journal.actor.teamSetup": "f36c1b27c9eb8da8e6f4df8b6b437eb805508fdb04b145ec229102dff39c96e9",- "memory.journal.instructions": "57dca9eafc1de092ccb80dfa72f853edcdb3b3e00f9b103f65e83e12aa7cbbc3"+ "memory.journal.instructions": "57dca9eafc1de092ccb80dfa72f853edcdb3b3e00f9b103f65e83e12aa7cbbc3",+ "newLook.title": "3c4ded0b090c0a2b897e799d4be4cd0eeec602209ad0851c1ab630dfa6762c09",+ "newLook.body": "c579dd8801158623c79d316c57b335e106281b19e30d3459892441b7bcd54b2e"},"es": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -9543,7 +9545,9 @@"settings.simple.more.limits": "dffb64dc70011ecf3ef3ad62cdd271f08f1b86601d7c2bc54f91978a32ca8cf4","settings.simple.more.open": "ed077f3d8125d60dca1979c7133601bd187d47c73ed9975028f677e49e709942","memory.journal.actor.teamSetup": "f36c1b27c9eb8da8e6f4df8b6b437eb805508fdb04b145ec229102dff39c96e9",- "memory.journal.instructions": "57dca9eafc1de092ccb80dfa72f853edcdb3b3e00f9b103f65e83e12aa7cbbc3"+ "memory.journal.instructions": "57dca9eafc1de092ccb80dfa72f853edcdb3b3e00f9b103f65e83e12aa7cbbc3",+ "newLook.title": "3c4ded0b090c0a2b897e799d4be4cd0eeec602209ad0851c1ab630dfa6762c09",+ "newLook.body": "c579dd8801158623c79d316c57b335e106281b19e30d3459892441b7bcd54b2e"},"fr": {"pro.fromPrice": "a48a04a457d60b08b54fc83e7a6c4584ffedb1e23621859084900c8521a3af7b",@@ -12856,7 +12860,9 @@"settings.simple.more.limits": "dffb64dc70011ecf3ef3ad62cdd271f08f1b86601d7c2bc54f91978a32ca8cf4","settings.simple.more.open": "ed077f3d8125d60dca1979c7133601bd187d47c73ed9975028f677e49e709942","memory.journal.actor.teamSetup": "f36c1b27c9eb8da8e6f4df8b6b437eb805508fdb04b145ec229102dff39c96e9",- "memory.journal.instructions": "57dca9eafc1de092ccb80dfa72f853edcdb3b3e00f9b103f65e83e12aa7cbbc3"+ "memory.journal.instructions": "57dca9eafc1de092ccb80dfa72f853edcdb3b3e00f9b103f65e83e12aa7cbbc3",+ "newLook.title": "3c4ded0b090c0a2b897e799d4be4cd0eeec602209ad0851c1ab630dfa6762c09",+ "newLook.body": "c579dd8801158623c79d316c57b335e106281b19e30d3459892441b7bcd54b2e"},"hi": {"pro.fromPrice": "a48a04a457d60b08b54fc83e7a6c4584ffedb1e23621859084900c8521a3af7b",@@ -16021,7 +16027,9 @@"settings.simple.more.limits": "dffb64dc70011ecf3ef3ad62cdd271f08f1b86601d7c2bc54f91978a32ca8cf4","settings.simple.more.open": "ed077f3d8125d60dca1979c7133601bd187d47c73ed9975028f677e49e709942","memory.journal.actor.teamSetup": "f36c1b27c9eb8da8e6f4df8b6b437eb805508fdb04b145ec229102dff39c96e9",- "memory.journal.instructions": "57dca9eafc1de092ccb80dfa72f853edcdb3b3e00f9b103f65e83e12aa7cbbc3"+ "memory.journal.instructions": "57dca9eafc1de092ccb80dfa72f853edcdb3b3e00f9b103f65e83e12aa7cbbc3",+ "newLook.title": "3c4ded0b090c0a2b897e799d4be4cd0eeec602209ad0851c1ab630dfa6762c09",+ "newLook.body": "c579dd8801158623c79d316c57b335e106281b19e30d3459892441b7bcd54b2e"},"ja": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -23794,7 +23802,9 @@"settings.simple.more.limits": "dffb64dc70011ecf3ef3ad62cdd271f08f1b86601d7c2bc54f91978a32ca8cf4","settings.simple.more.open": "ed077f3d8125d60dca1979c7133601bd187d47c73ed9975028f677e49e709942","memory.journal.actor.teamSetup": "f36c1b27c9eb8da8e6f4df8b6b437eb805508fdb04b145ec229102dff39c96e9",- "memory.journal.instructions": "57dca9eafc1de092ccb80dfa72f853edcdb3b3e00f9b103f65e83e12aa7cbbc3"+ "memory.journal.instructions": "57dca9eafc1de092ccb80dfa72f853edcdb3b3e00f9b103f65e83e12aa7cbbc3",+ "newLook.title": "3c4ded0b090c0a2b897e799d4be4cd0eeec602209ad0851c1ab630dfa6762c09",+ "newLook.body": "c579dd8801158623c79d316c57b335e106281b19e30d3459892441b7bcd54b2e"},"pt-br": {"voice.gemini.keyPlaceholder": "8c87ba2043a4a89d63c90cae8a6dafd5cbd193652e923b97988e381a74773e10",@@ -33716,7 +33726,49 @@"native.dialog.resetSavedKeys.button": "32910a15265787f53a3554f97da5787c04a7ada90822edcc7776a471b8ee3d8a","native.dialog.resetSavedKeys.failed": "e663cbf1d28235aee568f1cd2b3c837697c355d0de071f557053f0c61bba2a54","connectors.resetSavedKeys": "764411710357197d3d55fbf646d0ea6249c4236cbc635e0b4212b8d92cf5dea6",- "connectors.savedKeysUnreadable": "6a639d5ea19bf20de5ce7551bea2ccc330cfbd5085d0906a3ec9ece6959c4470"+ "connectors.savedKeysUnreadable": "6a639d5ea19bf20de5ce7551bea2ccc330cfbd5085d0906a3ec9ece6959c4470",+ "settings.section.vault": "5d55c415e356dd7b59f329aa5c83a34ee10c3803516ac569fde5e68804a7e06c",+ "newLook.title": "3c4ded0b090c0a2b897e799d4be4cd0eeec602209ad0851c1ab630dfa6762c09",+ "newLook.body": "c579dd8801158623c79d316c57b335e106281b19e30d3459892441b7bcd54b2e",+ "settings.vault.title": "5d55c415e356dd7b59f329aa5c83a34ee10c3803516ac569fde5e68804a7e06c",+ "settings.vault.subtitle": "bf4c7aa113cfea45e0476ae1c37bb38cbcddfc19a0251d83add7f3fbb871a29e",+ "settings.vault.adminOnly": "7af6e368ff2acf55789041492750d831d7ffb3a2f7e0f01b273385fd1a398610",+ "settings.vault.loading": "5e8596af8bfdd823c815d5655d0f7dffdf72bc94a881d3eaa708c79c06fe2ac9",+ "settings.vault.loadError": "0e106906a32d54500fe7431bb3554d41f431f4d433fa99e656dbc63907dd65d6",+ "settings.vault.empty": "e7e59d4d82d03af6f8595fffff2823815ffafa56b6b0746e7297cf977a60d35c",+ "settings.vault.noMatch": "6701dfede769d7ad8e1c50718e3147d14d959b7c1838040c8e976b6a494170a9",+ "settings.vault.search": "7e118aaa5496a8dea195437a2acdd05645f5c6e001452bef552492d553c6ef58",+ "settings.vault.filter": "0df6f1cad36c49da768a6efdcc2c4be102f5729f7381cb53e4ff8061d17eaeb6",+ "settings.vault.filter.all": "a52ace420f2175d08b1577a1bea5445e36801229c074ef9ed6c55a73401fd9c2",+ "settings.vault.filter.logins": "543eb6e59b2d9076bcd19e7217a2437aa8f9f26de4e313560f4ca0827225a787",+ "settings.vault.filter.secrets": "c3257bfc227520fbdfbdda4a99c9518034a85991e4efd7d9185f3b638c25fa7f",+ "settings.vault.add": "9fd728c66c9a256b121472dabf32a34317aed01d8427d70ec830289cf23a7cc8",+ "settings.vault.addLogin": "366e8aa8a3b105699eab3db43b81c642216da54c3cefe568034d22d95139f5b7",+ "settings.vault.addSecret": "98aa52b34c8f07fdee84d8ee2bf3a3f92c0e26bd090c92c0fac6085cf9c14f50",+ "settings.vault.importEnv": "c982c0c6bc43d858301aacce5c60f2fb36523f283dbde13aacd4b6c635b8462d",+ "settings.vault.secret.name": "dcd1d5223f73b3a965c07e3ff5dbee3eedcfedb806686a05b9b3868a2c3d6d50",+ "settings.vault.secret.namePlaceholder": "e83d9f58b3d6b9d7337007288400728d61da78370df2c0440023eadaa91f2b72",+ "settings.vault.secret.nameHint": "ce87b19c3d143055055c8aa5f5f87c94d9958a35803fd8e1569a2d043b75184f",+ "settings.vault.secret.value": "7e32a729b1226ed1270f282a8c63054d09b26bc9ec53ea69771ce38158dfade8",+ "settings.vault.secret.valueKeep": "ffa4ccf8f04c78cbca0691bc195c8a9848034449b79a8884b2e7b97b29178d1d",+ "settings.vault.secret.save": "159d4d3a2736d659eb1febed18fc6a6fde37bba35d7cb7c27f26b977f8c90f22",+ "settings.vault.secret.changeFor": "0363a167876e9179899bd7981e353849d0a56e6e1631f27d1f4b0ef8bc71ebd9",+ "settings.vault.secret.deleteFor": "3cf8146e529f1e4296d40d7ea32ffc63bc2647d416851ed43921bfedf3097cb3",+ "settings.vault.secret.saveError": "d6bf6dd5144c2b4e47fbc83b584b92c82ba37801428cd7bc51a9bc897ec56063",+ "settings.vault.secret.private": "c81fcb52282004f55ddfa97909b93b0bf98b2088c250f512bc23d3bf51a986da",+ "settings.vault.env.label": "5e82754ee20e32cb92f05bc5f060d3015973f7802e8c6a19e20d778c1a717c09",+ "settings.vault.env.hint": "8994087ae2fa589ccde38e9b6b29fff4cccc22effac110486696674492e91786",+ "settings.vault.env.submit": "2cff9baabf56ca002610e113bc94deb6ededddfc3c130365b6e88ed5195bf774",+ "settings.vault.env.none": "fee049d33f16993907344b6ce4e1b03f38352ed57c883134e6d1a346929b279e",+ "settings.vault.env.done": "f66181e7d9a518ac8b7813ef19f28f56566f7484fea390420b8ec2e428694909",+ "settings.vault.keys.title": "ec41fda1390a0c024a35054dde0fee1763295f2d3dbd8b71cee7cad0546d216b",+ "settings.vault.keys.hint": "860ea9f17239ada3a2c81f9305e50a9d101f11b4f9d4038f61ffb92dc05bda2d",+ "settings.vault.manager": "1b18716ef9e3f4af0e934fd068dc59d40c88a1b7b7fc4e0516fa59aed697a832",+ "keys.where.vault": "ea4a5c37649daa07538a6b98ef38e37df34fef0fa524490958cc7d2d99884373",+ "vault.choices.secret": "674c8e779f1cf487aed7a0bac207212a9c6befdc477c36831bb03db9d0ea687c",+ "vault.choices.login": "b8882ff1b3da41df0ede863cc92e631ac828ab4f964f4e66ef751edf1ad18576",+ "vault.choices.note": "ac0cee8d6047623427bb117e12f74028b2297651c85cbc69bf018af03bb47a98",+ "vault.choices.error": "fc55267ee3d6c9b47bf7f2e4e04bebfae80778636ee69db98ec55e699f90ea88"},"zh": {"pro.fromPrice": "a48a04a457d60b08b54fc83e7a6c4584ffedb1e23621859084900c8521a3af7b",@@ -41376,7 +41428,9 @@"settings.simple.more.limits": "dffb64dc70011ecf3ef3ad62cdd271f08f1b86601d7c2bc54f91978a32ca8cf4","settings.simple.more.open": "ed077f3d8125d60dca1979c7133601bd187d47c73ed9975028f677e49e709942","memory.journal.actor.teamSetup": "f36c1b27c9eb8da8e6f4df8b6b437eb805508fdb04b145ec229102dff39c96e9",- "memory.journal.instructions": "57dca9eafc1de092ccb80dfa72f853edcdb3b3e00f9b103f65e83e12aa7cbbc3"+ "memory.journal.instructions": "57dca9eafc1de092ccb80dfa72f853edcdb3b3e00f9b103f65e83e12aa7cbbc3",+ "newLook.title": "3c4ded0b090c0a2b897e799d4be4cd0eeec602209ad0851c1ab630dfa6762c09",+ "newLook.body": "c579dd8801158623c79d316c57b335e106281b19e30d3459892441b7bcd54b2e"},"zh-tw": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -51209,7 +51263,9 @@"settings.simple.more.limits": "dffb64dc70011ecf3ef3ad62cdd271f08f1b86601d7c2bc54f91978a32ca8cf4","settings.simple.more.open": "ed077f3d8125d60dca1979c7133601bd187d47c73ed9975028f677e49e709942","memory.journal.actor.teamSetup": "f36c1b27c9eb8da8e6f4df8b6b437eb805508fdb04b145ec229102dff39c96e9",- "memory.journal.instructions": "57dca9eafc1de092ccb80dfa72f853edcdb3b3e00f9b103f65e83e12aa7cbbc3"+ "memory.journal.instructions": "57dca9eafc1de092ccb80dfa72f853edcdb3b3e00f9b103f65e83e12aa7cbbc3",+ "newLook.title": "3c4ded0b090c0a2b897e799d4be4cd0eeec602209ad0851c1ab630dfa6762c09",+ "newLook.body": "c579dd8801158623c79d316c57b335e106281b19e30d3459892441b7bcd54b2e"},"uk": {"pro.fromPrice": "a48a04a457d60b08b54fc83e7a6c4584ffedb1e23621859084900c8521a3af7b",@@ -54815,7 +54871,9 @@"settings.simple.more.limits": "dffb64dc70011ecf3ef3ad62cdd271f08f1b86601d7c2bc54f91978a32ca8cf4","settings.simple.more.open": "ed077f3d8125d60dca1979c7133601bd187d47c73ed9975028f677e49e709942","memory.journal.actor.teamSetup": "f36c1b27c9eb8da8e6f4df8b6b437eb805508fdb04b145ec229102dff39c96e9",- "memory.journal.instructions": "57dca9eafc1de092ccb80dfa72f853edcdb3b3e00f9b103f65e83e12aa7cbbc3"+ "memory.journal.instructions": "57dca9eafc1de092ccb80dfa72f853edcdb3b3e00f9b103f65e83e12aa7cbbc3",+ "newLook.title": "3c4ded0b090c0a2b897e799d4be4cd0eeec602209ad0851c1ab630dfa6762c09",+ "newLook.body": "c579dd8801158623c79d316c57b335e106281b19e30d3459892441b7bcd54b2e"},"vi": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -60411,7 +60469,9 @@"settings.simple.more.limits": "dffb64dc70011ecf3ef3ad62cdd271f08f1b86601d7c2bc54f91978a32ca8cf4","settings.simple.more.open": "ed077f3d8125d60dca1979c7133601bd187d47c73ed9975028f677e49e709942","memory.journal.actor.teamSetup": "f36c1b27c9eb8da8e6f4df8b6b437eb805508fdb04b145ec229102dff39c96e9",- "memory.journal.instructions": "57dca9eafc1de092ccb80dfa72f853edcdb3b3e00f9b103f65e83e12aa7cbbc3"+ "memory.journal.instructions": "57dca9eafc1de092ccb80dfa72f853edcdb3b3e00f9b103f65e83e12aa7cbbc3",+ "newLook.title": "3c4ded0b090c0a2b897e799d4be4cd0eeec602209ad0851c1ab630dfa6762c09",+ "newLook.body": "c579dd8801158623c79d316c57b335e106281b19e30d3459892441b7bcd54b2e"},"tr": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -66007,7 +66067,9 @@"settings.simple.more.limits": "dffb64dc70011ecf3ef3ad62cdd271f08f1b86601d7c2bc54f91978a32ca8cf4","settings.simple.more.open": "ed077f3d8125d60dca1979c7133601bd187d47c73ed9975028f677e49e709942","memory.journal.actor.teamSetup": "f36c1b27c9eb8da8e6f4df8b6b437eb805508fdb04b145ec229102dff39c96e9",- "memory.journal.instructions": "57dca9eafc1de092ccb80dfa72f853edcdb3b3e00f9b103f65e83e12aa7cbbc3"+ "memory.journal.instructions": "57dca9eafc1de092ccb80dfa72f853edcdb3b3e00f9b103f65e83e12aa7cbbc3",+ "newLook.title": "3c4ded0b090c0a2b897e799d4be4cd0eeec602209ad0851c1ab630dfa6762c09",+ "newLook.body": "c579dd8801158623c79d316c57b335e106281b19e30d3459892441b7bcd54b2e"},"pl": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -72865,7 +72927,9 @@"settings.simple.more.limits": "dffb64dc70011ecf3ef3ad62cdd271f08f1b86601d7c2bc54f91978a32ca8cf4","settings.simple.more.open": "ed077f3d8125d60dca1979c7133601bd187d47c73ed9975028f677e49e709942","memory.journal.actor.teamSetup": "f36c1b27c9eb8da8e6f4df8b6b437eb805508fdb04b145ec229102dff39c96e9",- "memory.journal.instructions": "57dca9eafc1de092ccb80dfa72f853edcdb3b3e00f9b103f65e83e12aa7cbbc3"+ "memory.journal.instructions": "57dca9eafc1de092ccb80dfa72f853edcdb3b3e00f9b103f65e83e12aa7cbbc3",+ "newLook.title": "3c4ded0b090c0a2b897e799d4be4cd0eeec602209ad0851c1ab630dfa6762c09",+ "newLook.body": "c579dd8801158623c79d316c57b335e106281b19e30d3459892441b7bcd54b2e"},"ru": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -79785,7 +79849,9 @@"settings.simple.more.limits": "dffb64dc70011ecf3ef3ad62cdd271f08f1b86601d7c2bc54f91978a32ca8cf4","settings.simple.more.open": "ed077f3d8125d60dca1979c7133601bd187d47c73ed9975028f677e49e709942","memory.journal.actor.teamSetup": "f36c1b27c9eb8da8e6f4df8b6b437eb805508fdb04b145ec229102dff39c96e9",- "memory.journal.instructions": "57dca9eafc1de092ccb80dfa72f853edcdb3b3e00f9b103f65e83e12aa7cbbc3"+ "memory.journal.instructions": "57dca9eafc1de092ccb80dfa72f853edcdb3b3e00f9b103f65e83e12aa7cbbc3",+ "newLook.title": "3c4ded0b090c0a2b897e799d4be4cd0eeec602209ad0851c1ab630dfa6762c09",+ "newLook.body": "c579dd8801158623c79d316c57b335e106281b19e30d3459892441b7bcd54b2e"},"it": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -86505,7 +86571,9 @@"settings.simple.more.limits": "dffb64dc70011ecf3ef3ad62cdd271f08f1b86601d7c2bc54f91978a32ca8cf4","settings.simple.more.open": "ed077f3d8125d60dca1979c7133601bd187d47c73ed9975028f677e49e709942","memory.journal.actor.teamSetup": "f36c1b27c9eb8da8e6f4df8b6b437eb805508fdb04b145ec229102dff39c96e9",- "memory.journal.instructions": "57dca9eafc1de092ccb80dfa72f853edcdb3b3e00f9b103f65e83e12aa7cbbc3"+ "memory.journal.instructions": "57dca9eafc1de092ccb80dfa72f853edcdb3b3e00f9b103f65e83e12aa7cbbc3",+ "newLook.title": "3c4ded0b090c0a2b897e799d4be4cd0eeec602209ad0851c1ab630dfa6762c09",+ "newLook.body": "c579dd8801158623c79d316c57b335e106281b19e30d3459892441b7bcd54b2e"},"ko": {"connectedWorkspaces.localTitle": "7d6deafeab011d734c3fdd1bfd6f69544fbb746a004019269bdb48544b01164b",@@ -93947,7 +94015,9 @@"settings.simple.more.limits": "dffb64dc70011ecf3ef3ad62cdd271f08f1b86601d7c2bc54f91978a32ca8cf4","settings.simple.more.open": "ed077f3d8125d60dca1979c7133601bd187d47c73ed9975028f677e49e709942","memory.journal.actor.teamSetup": "f36c1b27c9eb8da8e6f4df8b6b437eb805508fdb04b145ec229102dff39c96e9",- "memory.journal.instructions": "57dca9eafc1de092ccb80dfa72f853edcdb3b3e00f9b103f65e83e12aa7cbbc3"+ "memory.journal.instructions": "57dca9eafc1de092ccb80dfa72f853edcdb3b3e00f9b103f65e83e12aa7cbbc3",+ "newLook.title": "3c4ded0b090c0a2b897e799d4be4cd0eeec602209ad0851c1ab630dfa6762c09",+ "newLook.body": "c579dd8801158623c79d316c57b335e106281b19e30d3459892441b7bcd54b2e"}}}