Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Close the far-side gaps the review found; the together switch lends commands

milind-sonieea5751fc78d
diff --git a/electron/lend-automatically.node-test.mjs b/electron/lend-automatically.node-test.mjs
index f563e91801..d48393a3df 100644
--- a/electron/lend-automatically.node-test.mjs
+++ b/electron/lend-automatically.node-test.mjs
@@ -383,6 +383,11 @@ test("the terminal is lent only once the person turns it on: every own Cloud get
await restarted.lendTerminal(false);
await until(() => homes[HOME].connects.length === 4, "the grant without the terminal to reach My Cloud");
assert.equal(homes[HOME].connects[3].terminal, false);
+ // Turned off, it stays off across the next restart too (the together switch grants it only when turned on).
+ const again = mac.restart();
+ again.start();
+ await until(() => homes[HOME].connects.length === 5, "the kept grant after a second restart");
+ assert.equal(homes[HOME].connects[4].terminal, false, "still off after a restart");
});
test("a terminal choice that can't be saved is not kept, so nothing lends it later", async t => {
diff --git a/electron/main.mjs b/electron/main.mjs
index 44216571ea..fd959aeeb5 100644
--- a/electron/main.mjs
+++ b/electron/main.mjs
@@ -2596,7 +2596,7 @@ function showHome(options) {
return homeWindow.show(options).catch(error => slog(`home: ${error?.message ?? error}`));
}
const showStartPlace = () => openStartPlace({ home: homeWindow, places: homePlaces, profiles: localProfiles, log: slog, server: id => { const entry = environmentsState.environments.find(candidate => candidate.id === id && handSaved(candidate)); return entry ? reopenSavedServer(entry, { saved: () => environmentsState.environments.filter(handSaved), fetch: (...args) => session.defaultSession.fetch(...args), opened: async (found) => { if (!mainWindow || mainWindow.isDestroyed()) createWindow({ deferNavigation: true }); persistEnvironments(withActive(environmentsState, found.id)); return navigateMainWindow(activeOrigin()); } }) : Promise.resolve(false); } }).catch(error => slog(`start: ${error?.message ?? error}`)); const openOwnCloud = id => { homeWindow.cancel(); return showHome({ place: { cloud: id, name: environmentsState.environments.find(entry => entry.cloud?.id === id)?.name } }); };
-const placeInbox = createPlaceInboxWatch({ places: () => [{ id: LOCAL_ID, local: true }, ...environmentsState.environments.filter(entry => entry.kind !== "local" && entry.origin)], activeId: () => environmentsState.activeId, local: localServerRequest, cloudFetch: (...args) => session.defaultSession.fetch(...args), asleep: origin => homeWindow.asleepAt(origin), shown: () => !desktopRemoteAccess && serverReady && Boolean(mainWindow && !mainWindow.isDestroyed() && mainWindow.isVisible()), changed: () => railChanged() }); const homeOfUrl = url => { let at = null; try { at = new URL(url); } catch { return "other"; } return at.origin === rendererOrigin() ? (at.pathname === HOME_SCREEN_PATH ? "waking" : "computer") : at.origin === myCloud() ? "cloud" : "other"; }; const placeShown = () => { const page = mainWindow && !mainWindow.isDestroyed() ? mainWindow.webContents : null; return page && !page.isLoadingMainFrame() ? homeOfUrl(page.getURL()) ?? "other" : null; }; const shownHome = () => { const place = placeShown(); return place === "computer" || place === "cloud" ? place : null; }; const placesTogether = installPlacesTogether({ ipcMain, asking: cloudPageAsking, together: createPlacesTogether({ pref: jsonFile(path.join(app.getPath("userData"), PLACES_TOGETHER_FILE)), cloud: () => ({ origin: myCloud(), account: cloudAccount?.state().account?.id ?? null, asleep: cloudPower.asleep() }), powerChecked: async () => { const account = cloudAccount; if (!account) return false; await account.refresh(); return Date.now() - (account.state().verifiedAt ?? 0) < 5_000; }, computer: () => !(homeWindow.cloudOrigin() ?? ownHome?.origin()), local: localServerRequest, cloudFetch: (...args) => session.defaultSession.fetch(...args), napped: () => cloudPower.hold(), address: (home, botId) => botLink?.address(home, botId) ?? null, shown: placeShown, focused: () => powerMonitor.getSystemIdleState(60) !== "locked" && Boolean(mainWindow && !mainWindow.isDestroyed() && mainWindow.isFocused()), openPlace: home => { const entry = home === "cloud" ? environmentsState.environments.find(candidate => candidate.origin === myCloud()) : null; return home === "cloud" && (!entry || myCloud() === homeWindow.cloudOrigin()) ? showHome({ place: "cloud" }) : workspaceMenuAction(() => switchEnvironment(entry?.id ?? LOCAL_ID)); }, send: (channel, value) => { if (shownHome()) mainWindow.webContents.send(channel, value); }, changed: () => { botLink?.look(); if (shownHome()) mainWindow.webContents.send("places-together:changed"); } }) });
+const placeInbox = createPlaceInboxWatch({ places: () => [{ id: LOCAL_ID, local: true }, ...environmentsState.environments.filter(entry => entry.kind !== "local" && entry.origin)], activeId: () => environmentsState.activeId, local: localServerRequest, cloudFetch: (...args) => session.defaultSession.fetch(...args), asleep: origin => homeWindow.asleepAt(origin), shown: () => !desktopRemoteAccess && serverReady && Boolean(mainWindow && !mainWindow.isDestroyed() && mainWindow.isVisible()), changed: () => railChanged() }); const homeOfUrl = url => { let at = null; try { at = new URL(url); } catch { return "other"; } return at.origin === rendererOrigin() ? (at.pathname === HOME_SCREEN_PATH ? "waking" : "computer") : at.origin === myCloud() ? "cloud" : "other"; }; const placeShown = () => { const page = mainWindow && !mainWindow.isDestroyed() ? mainWindow.webContents : null; return page && !page.isLoadingMainFrame() ? homeOfUrl(page.getURL()) ?? "other" : null; }; const shownHome = () => { const place = placeShown(); return place === "computer" || place === "cloud" ? place : null; }; const placesTogether = installPlacesTogether({ ipcMain, asking: cloudPageAsking, together: createPlacesTogether({ turnedOn: () => { try { void sharingController().lendTerminal(true)?.catch?.(error => slog(`together: commands not lent (${error?.message ?? error})`)); } catch (error) { slog(`together: commands not lent (${error?.message ?? error})`); } }, pref: jsonFile(path.join(app.getPath("userData"), PLACES_TOGETHER_FILE)), cloud: () => ({ origin: myCloud(), account: cloudAccount?.state().account?.id ?? null, asleep: cloudPower.asleep() }), powerChecked: async () => { const account = cloudAccount; if (!account) return false; await account.refresh(); return Date.now() - (account.state().verifiedAt ?? 0) < 5_000; }, computer: () => !(homeWindow.cloudOrigin() ?? ownHome?.origin()), local: localServerRequest, cloudFetch: (...args) => session.defaultSession.fetch(...args), napped: () => cloudPower.hold(), address: (home, botId) => botLink?.address(home, botId) ?? null, shown: placeShown, focused: () => powerMonitor.getSystemIdleState(60) !== "locked" && Boolean(mainWindow && !mainWindow.isDestroyed() && mainWindow.isFocused()), openPlace: home => { const entry = home === "cloud" ? environmentsState.environments.find(candidate => candidate.origin === myCloud()) : null; return home === "cloud" && (!entry || myCloud() === homeWindow.cloudOrigin()) ? showHome({ place: "cloud" }) : workspaceMenuAction(() => switchEnvironment(entry?.id ?? LOCAL_ID)); }, send: (channel, value) => { if (shownHome()) mainWindow.webContents.send(channel, value); }, changed: () => { botLink?.look(); if (shownHome()) mainWindow.webContents.send("places-together:changed"); } }) });
const localProfiles = createLocalProfiles({ registry: createProfileRegistry({ dataDir: desktopDataDir }), clean: cleanWorkspace, dataDir: desktopDataDir, allowed: () => app.isPackaged && !desktopRemoteAccess, home: () => (homeWindow.cloudOrigin() ? "cloud" : ownHome?.origin() || cleanWorkspace.marker().frozen ? null : "local"), window: { openProfile: id => homeWindow.openProfile(id), profile: () => homeWindow.profile(), showCloud: () => showHome({ place: "cloud" }) }, showLocal: () => { homeWindow.cancel(); persistEnvironments(withActive(environmentsState, LOCAL_ID)); return navigateMainWindow(rendererOrigin()); }, onLocal: () => Boolean(mainWindow && !mainWindow.isDestroyed() && senderIsLocal({ sender: mainWindow.webContents })), busy: async () => { const said = await (await localServerRequest("/api/move/freeze", { signal: AbortSignal.timeout(5_000) })).json(); return typeof said?.busy === "string" ? { name: said.busy, what: said.what } : null; }, trash: dir => shell.trashItem(dir), reserved: () => nativeT(process.platform === "darwin" ? "rail.thisMac" : "rail.thisPc"), remember: homePlaces.remember, changed: () => railChanged(), log: slog }); const railList = () => { ownHome?.refresh(); const settling = localProfiles.settling(); return railPlaces({ saved: environmentsState, waiting: placeInbox.waiting, home: homeWindow.cloudOrigin() ?? ownHome?.origin() ?? null, mine: myCloud(), state: desktopRemoteAccess ? null : cloudAccount?.state(), offers: entry => !desktopRemoteAccess && ownHome?.offers(entry) === true, accounts: accountRing.waiting(), profiles: localProfiles.places({ activeLocal: environmentsState.activeId === LOCAL_ID }), computerSettling: settling && settling.id === null ? settling.name : null }); };
// The rail as the window's own chrome (chrome-rail.mjs): this app's page beside every place's page, the one that lists.
const placeSwitch = createPlaceSwitch({ changed: () => railChanged(), stop: () => homeWindow.stopOpening(), kept: () => homePlaces.remembered(), pageSettled: () => { const page = mainWindow && !mainWindow.isDestroyed() ? mainWindow.webContents : null; if (page?.isLoadingMainFrame()) return new Promise(done => { page.once("did-stop-loading", done); page.once("destroyed", done); }); } }); const openPlace = (id, stale) => workspaceMenuAction(async () => { if (id === LOCAL_ID) await cleanWorkspace.settled(); if (!stale()) await switchEnvironment(id, stale); }); const chromeRail = createChromeRail({ createView: options => new WebContentsView(options), preload: path.join(__dirname, "preload.cjs"), log: slog, prefs: () => desktopPrefs, changed: () => rail.changed(), openComputer: (page) => openComputerSettings({ window: () => mainWindow, onLocal: (win) => senderIsLocal({ sender: win.webContents }), showLocal: () => placeSwitch.ask(LOCAL_ID, stale => { localProfiles.cancel(); return openPlace(LOCAL_ID, stale); }) }, page),
diff --git a/electron/places-together.mjs b/electron/places-together.mjs
index f6b9675b93..4abf9066be 100644
--- a/electron/places-together.mjs
+++ b/electron/places-together.mjs
@@ -117,7 +117,7 @@ const needsSignIn = (response) => response?.status === 401 || response?.status =
* remains is a Cloud that fell asleep in the seconds since the Admin answered; one that only agreed to sleep answers so
* itself and is left alone. Rows are kept for the Cloud and account they came from, and dropped the moment either changes.
*/
-export function createPlacesTogether({ pref, cloud, powerChecked, computer, local, cloudFetch, napped = () => {}, address = () => null, shown, focused, openPlace, send, changed, now = Date.now,
+export function createPlacesTogether({ pref, cloud, powerChecked, computer, local, cloudFetch, napped = () => {}, address = () => null, shown, focused, openPlace, send, changed, turnedOn = () => {}, now = Date.now,
setTimer = setInterval, clearTimer = clearInterval, later = setTimeout, cancelLater = clearTimeout }) {
/** What each place gave last: its rows, when, and how the last read went. */
const kept = new Map();
@@ -293,10 +293,13 @@ export function createPlacesTogether({ pref, cloud, powerChecked, computer, loca
void refresh(otherHome(here));
return { v: 1, available: true, on: true, here, other: otherOf(here) };
},
- /** The switch. Off forgets every list. */
+ /** The switch. Off forgets every list. Turned on from this computer's page, it also lets My Cloud run commands here
+ * (`turnedOn`), so the two places work as one with one switch; the person turns that alone off from the icon's menu. */
set(asking, value) {
+ const was = isOn();
on = value === true;
pref.write({ v: 1, on });
+ if (on && !was && asking === "computer") { try { turnedOn(); } catch {} }
sameScope();
tell();
return this.state(asking);
diff --git a/electron/places-together.node-test.mjs b/electron/places-together.node-test.mjs
index e6b6cb092e..894992f90a 100644
--- a/electron/places-together.node-test.mjs
+++ b/electron/places-together.node-test.mjs
@@ -57,6 +57,29 @@ test("the switch starts off, and off reads nothing, keeps nothing and starts no
assert.equal(f.together.on(), false);
});
+test("turning the switch on from this computer's page lets My Cloud run commands here, once; already on, off, a never-linked install or My Cloud's page never do", () => {
+ let lent = 0;
+ const never = setup({ saved: null, deps: { turnedOn: () => { lent += 1; } } });
+ never.together.state("computer");
+ never.together.linkChanged();
+ assert.equal(lent, 0, "a never-linked install is left as it is");
+ never.together.set("computer", false);
+ assert.equal(lent, 0);
+ never.together.set("computer", true);
+ assert.equal(lent, 1, "the person's own turn on grants it");
+ never.together.set("computer", true);
+ assert.equal(lent, 1, "already on: nothing again");
+ const linked = setup({ deps: { turnedOn: () => { lent += 1; } } });
+ linked.together.state("computer");
+ linked.together.set("computer", true);
+ assert.equal(lent, 1, "a link already on from before is not changed without the person turning it on");
+ linked.together.set("cloud", false);
+ linked.together.set("cloud", true);
+ assert.equal(lent, 1, "My Cloud's page never grants it");
+ const failing = setup({ saved: null, deps: { turnedOn: () => { throw new Error("not signed in"); } } });
+ assert.equal(failing.together.set("computer", true).on, true, "the switch still turns on");
+});
+
test("on: this computer's page lists My Cloud's bots, asked as background work with the person's own session", async () => {
const f = setup();
assert.equal(f.together.state("computer").other.state, "loading");
diff --git a/server/bot-link.e2e.test.ts b/server/bot-link.e2e.test.ts
index 1b8347e3b6..dbfb792d5f 100644
--- a/server/bot-link.e2e.test.ts
+++ b/server/bot-link.e2e.test.ts
@@ -204,6 +204,11 @@ it("a bot on the computer and a bot on the person's own server hand each other w
await expect.poll(async () => (await fromAtlas()).map((message) => message.text), { timeout: 40_000 }).toEqual(["Atlas here: 42 orders this week. @Writer please confirm."]);
await expect.poll(async () => (await computer.messages(launch.activeTaskId)).some((message) => message.kind === "text" && message.from?.botId === writer.id && message.text === "Writer confirms: 42."), { timeout: 40_000 }).toBe(true);
expect(atlasTurns()).toBe(turnsBefore + 1);
+ // Writer took that turn because of what Atlas, on the server, wrote: on the computer it ran limited, as work from there
+ // does, though the person's own line started the round.
+ const confirmed = computer.providerTurns().filter((turn) => turn.botId === writer.id).at(-1);
+ expect(confirmed).toMatchObject({ permissionMode: "acceptEdits", restricted: true });
+ expect(JSON.stringify(confirmed.prompt)).toContain("Running commands on this computer is off for work from My Cloud");
const roomWork = (await home.api("GET", "/api/bots")).bots.find((bot: any) => bot.id === atlas.id).tasks.find((task: any) => task.title === "@Launch · work");
expect(roomWork, "the room's turns run in one thread of their own on the server").toBeTruthy();
const read = (await home.messages(roomWork.threadId)).map((message) => message.text ?? "").join("\n");
diff --git a/server/bot-link/far-side.test.ts b/server/bot-link/far-side.test.ts
index eb418e9a01..20f89181d2 100644
--- a/server/bot-link/far-side.test.ts
+++ b/server/bot-link/far-side.test.ts
@@ -9,7 +9,7 @@ import { afterEach, describe, expect, it } from "vitest";
import { createCoordinator, type Coordinator, type CoordinatorHost, type HandoffView } from "../coordinator.ts";
import type { SendTurnInput } from "../contracts.ts";
import { removeTempDir } from "../testing/cleanup.ts";
-import { createLinkLimits, LINK_ACTION_DENIED, LINK_COMMANDS_MESSAGE, LINK_COMMANDS_OFF, LINK_ENGINE_REFUSAL, linkLevel, linkRouteRefused } from "./far-side.ts";
+import { createLinkLimits, LINK_ACTION_DENIED, LINK_CODEX_NO_FILES, LINK_COMMANDS_MESSAGE, LINK_COMMANDS_OFF, LINK_ENGINE_REFUSAL, LINK_ROUTE_REFUSAL, linkAppWriteRefused, linkHandOnRefusal, linkLevel, linkRouteRefused } from "./far-side.ts";
import { createBotLink, type BotLink } from "./link.ts";
import { peerKey, type Frame } from "./protocol.ts";
@@ -134,7 +134,7 @@ describe("what a limited turn's engine is given", () => {
phone: { command: "phone", args: [], env: {} }, device: { command: "device", args: [], env: {} }, data: { command: "data", args: [], env: {} },
custom: { shell: { command: "sh", args: [], env: {} } }, mcpApps: { shell: { extension: true } }, customResultBudgets: { shell: 0 },
agents: { command: "agents", args: [], env: {} }, composio: { command: "composio", args: [], env: {} }, email: { command: "email", args: [], env: {} },
- hooks: { url: "http://127.0.0.1:1", token: "t" },
+ hooks: { url: "http://127.0.0.1:1", token: "t" }, dweb: { url: "http://127.0.0.1:2" },
},
});
const limits = createLinkLimits({ cloud: () => false, node: () => undefined, confinable: () => true });
@@ -157,8 +157,9 @@ describe("what a limited turn's engine is given", () => {
expect(limited).not.toHaveProperty("botSettingsFile");
expect(limited).not.toHaveProperty("mcpFromUserConfig");
expect(limited).not.toHaveProperty("preloadBrowserTools");
- expect(limited.text).toBe(`do the work\n\n${LINK_COMMANDS_OFF}`);
- expect(limited.recoveryText).toBe(`earlier\n\ndo the work\n\n${LINK_COMMANDS_OFF}`);
+ const told = driverKind === "codex" ? `${LINK_COMMANDS_OFF} ${LINK_CODEX_NO_FILES}` : LINK_COMMANDS_OFF;
+ expect(limited.text).toBe(`do the work\n\n${told}`);
+ expect(limited.recoveryText).toBe(`earlier\n\ndo the work\n\n${told}`);
expect(limited.confinedWhy).toBe(LINK_COMMANDS_OFF);
});
@@ -175,15 +176,53 @@ describe("what a limited turn's engine is given", () => {
const [method, path] = refused.split(" ") as [string, string];
expect(linkRouteRefused(method, path), refused).toBe(true);
}
- for (const kept of ["POST /api/internal/coordinate-bots", "GET /api/internal/assignment-status", "POST /api/internal/memory", "POST /api/internal/connectors/mcp", "POST /api/internal/email/mcp"]) {
+ for (const memory of ["POST /api/internal/memory", "POST /api/internal/memory/log", "POST /api/internal/team-memory"]) {
+ const [method, path] = memory.split(" ") as [string, string];
+ expect(linkRouteRefused(method, path), memory).toBe(true);
+ }
+ for (const kept of ["POST /api/internal/coordinate-bots", "GET /api/internal/assignment-status", "GET /api/internal/session-search", "POST /api/internal/connectors/mcp", "POST /api/internal/email/mcp"]) {
const [method, path] = kept.split(" ") as [string, string];
expect(linkRouteRefused(method, path), kept).toBe(false);
}
});
+ it("reads from connected apps but changes nothing in them, on every engine", () => {
+ expect(linkAppWriteRefused([{ slug: "GMAIL_FETCH_EMAILS" }], ["gmail"])).toBe(false);
+ expect(linkAppWriteRefused([{ slug: "GMAIL_SEND_EMAIL" }], ["gmail"])).toBe(true);
+ expect(linkAppWriteRefused([{ slug: "SLACK_SEND_MESSAGE" }], ["slack"])).toBe(true);
+ expect(linkAppWriteRefused([{ slug: "COMPOSIO_PROXY_EXECUTE" }], ["gmail"])).toBe(true);
+ });
+
+ it("answers no question for the person, no work outside its own, and leaves no words for another conversation's next run", () => {
+ const farSide = (id: string) => id.startsWith("link-");
+ expect(linkHandOnRefusal({ answers: "person-work-1" }, farSide)).toBe(LINK_ROUTE_REFUSAL);
+ expect(linkHandOnRefusal({ answers: "link-h-1" }, farSide)).toBeNull();
+ expect(linkHandOnRefusal({ post: { wake: false } }, farSide)).toBe(LINK_ROUTE_REFUSAL);
+ expect(linkHandOnRefusal({ post: { wake: true } }, farSide)).toBeNull();
+ expect(linkHandOnRefusal({}, farSide)).toBeNull();
+ });
+
+ it("knows a root started by what the far side wrote here, and limits it only while commands are off", () => {
+ const roots = new Map<string, string>();
+ const here = createLinkLimits({ cloud: () => false, node: (id) => (roots.has(id) ? { rootId: roots.get(id)! } : undefined), confinable: () => true });
+ const root = here.farRoot();
+ roots.set("child", root);
+ expect(here.farSide("child")).toBe(true);
+ expect(here.limited("child")).toBe(true);
+ expect(here.commandsOff()).toBe(true);
+ here.receive({ type: LINK_COMMANDS_MESSAGE, on: true });
+ expect(here.commandsOff()).toBe(false);
+ expect(here.limited("child")).toBe(false);
+ expect(here.farSide("child")).toBe(true);
+ });
+
it("answers its permission requests at the capped level only while that turn runs", () => {
limits.begin("thread-1", true, "claudeAgent");
expect(limits.held("thread-1")?.level("full")).toBe("edits");
+ expect(limits.held("thread-1")?.level("full", "Write")).toBe("edits");
+ expect(limits.held("thread-1")?.level("full", "mcp__composio__GMAIL_SEND_EMAIL"), "the app route refuses its writes").toBe("full");
+ expect(limits.held("thread-1")?.level("full", "mcp__email__send_email")).toBe("full");
+ expect(limits.held("thread-1")?.level("edits", "mcp__composio__GMAIL_SEND_EMAIL")).toBe("edits");
limits.begin("thread-1", false, "claudeAgent");
expect(limits.held("thread-1")).toBeNull();
expect(LINK_ACTION_DENIED).toMatch(/off/u);
diff --git a/server/bot-link/far-side.ts b/server/bot-link/far-side.ts
index 93f75d14e5..252b5ffd45 100644
--- a/server/bot-link/far-side.ts
+++ b/server/bot-link/far-side.ts
@@ -9,17 +9,25 @@
// says: only link.ts start(), for a frame its authenticated session carried, opens a root named `link-<hand-off id>`, and
// everything handed on under that root keeps it. Engines that cannot run a turn without their shell (no guestTurns:
// "confined") refuse such work with a line back to the sender, rather than run it at the bot's own level.
+import { randomUUID } from "node:crypto";
+
import type { ApprovalMode } from "../../shared/approval-mode.ts";
+import { connectorAccessDecision } from "../../shared/connector-scopes.ts";
+import { isConnectedAppsServer } from "../../shared/own-apps.ts";
import type { SendTurnInput } from "../contracts.ts";
import { outsideRouteRefused } from "../host/outside-fence.ts";
import { LINK_PREFIX } from "./protocol.ts";
/** What the bot is told, and how a refusal ends. */
-export const LINK_COMMANDS_OFF = "Running commands on this computer is off for work from My Cloud, so this work runs here without a shell, computer use, or writes outside this bot's working folder. If it needs them, say so plainly: the person can turn on \"Let Clouds run commands on this computer\" from the OpenMausBot icon.";
+export const LINK_COMMANDS_OFF = "Running commands on this computer is off for work from My Cloud, so this work runs here without a shell, computer use, or writes outside this work's own folder. If it needs them, say so plainly: the person can turn on \"Let Clouds run commands on this computer\" from the OpenMausBot icon.";
/** Said back to the sender when this bot's engine cannot be kept from running commands. */
export const LINK_ENGINE_REFUSAL = "This bot's AI can't work on this computer without running commands, and running commands on this computer is off for work from My Cloud, so this was not started. The person can turn on \"Let Clouds run commands on this computer\" from the OpenMausBot icon, or give this bot an AI that can work without them.";
/** An action such work asked for that it may not take. */
export const LINK_ACTION_DENIED = "Not allowed for work from My Cloud while running commands on this computer is off.";
+/** Told to a Codex bot as well: it reads files only through its shell. */
+export const LINK_CODEX_NO_FILES = "This bot's AI reads files only through its shell, so it can't read any files here: work from what you were sent, and say so in your answer.";
+/** A connected app's action that changes something, refused to such work. */
+export const LINK_APP_WRITE_REFUSAL = "Work from My Cloud can only read from connected apps on this computer while running commands here is off: this action would change something, so it was not done. Say plainly what the person would need to do.";
/** A harness route such work may not use. */
export const LINK_ROUTE_REFUSAL = "Work from My Cloud can't do that on this computer while running commands here is off: it may not change settings, add tools, or start or schedule work outside this conversation. Finish what you can here and say plainly what the person would need to do.";
/** The desktop's word on the grant, over Electron's private parent port (electron/link-commands-fact.mjs). */
@@ -28,11 +36,12 @@ export const LINK_COMMANDS_MESSAGE = "openmausbot:link-commands";
/** The integrations such a turn never gets: this computer's screen and apps, the browser (it opens file: and the person's
* own Chrome), the paired phones, the person's own MCP servers (commands run here), and the Data tools (their SQL reads
* and writes files). The harness's own team tools, connected apps, email and hooks stay. */
-const NOT_LENT = ["localComputer", "browser", "phone", "device", "custom", "mcpApps", "customResultBudgets", "data"] as const;
+const NOT_LENT = ["localComputer", "browser", "phone", "device", "custom", "mcpApps", "customResultBudgets", "data", "dweb"] as const;
/** Of the routes a confined turn may reach (host/outside-fence.ts), the ones that would change this computer's setup or
- * start work later outside this conversation's lineage, where it would run at a bot's own level; and the integrations'
- * own routes, which such a turn is never given. Handing work on stays: it keeps the lineage. */
+ * start work later outside this conversation's lineage, where it would run at a bot's own level; memory writes, which later
+ * turns there obey; and the integrations' own routes, which such a turn is never given. Handing work on stays: it keeps
+ * the lineage. */
const LATER_OR_SETUP: ReadonlySet<string> = new Set([
"POST /api/internal/threads", "POST /api/internal/post-to-room", "POST /api/internal/retry-thread", "POST /api/internal/trigger-requests",
"POST /api/internal/manage-room", "POST /api/internal/waits", "POST /api/internal/profile-requests", "POST /api/internal/model-requests",
@@ -40,8 +49,23 @@ const LATER_OR_SETUP: ReadonlySet<string> = new Set([
"POST /api/internal/skills/stage", "POST /api/internal/mcp-servers", "POST /api/internal/shared-computers", "POST /api/internal/connectors/request",
"POST /api/internal/browser/mcp", "POST /api/internal/computer/mcp", "GET /api/internal/computer-control", "POST /api/internal/computer-control",
"POST /api/internal/computer/journal", "POST /api/internal/data/mcp",
+ "POST /api/internal/memory", "POST /api/internal/memory/log", "POST /api/internal/team-memory",
]);
+/** Whether a limited turn's connected-app calls include one that changes something: every app counts as read-only. */
+export function linkAppWriteRefused(calls: ReadonlyArray<{ slug: string; account?: string }>, toolkits: readonly string[]): boolean {
+ return !connectorAccessDecision({ apps: Object.fromEntries(toolkits.map((toolkit) => [toolkit.toLowerCase(), "read" as const])) }, [...calls], toolkits).ok;
+}
+
+/** What a limited turn's coordinate_bots call may not do, whatever the bot it names: answer for the person a question that
+ * waits outside this work (`forPerson`: never tried), answer work outside this work's lineage, or leave words in another
+ * conversation that its next run, at that bot's own level, would read. A refusal, or null. */
+export function linkHandOnRefusal(call: { answers?: string; post?: { wake: boolean } }, farSide: (nodeId: string) => boolean): string | null {
+ if (call.answers !== undefined && !farSide(call.answers)) return LINK_ROUTE_REFUSAL;
+ if (call.post && !call.post.wake) return LINK_ROUTE_REFUSAL;
+ return null;
+}
+
/** Whether a limited turn is refused this harness route: every route a confined turn is, and LATER_OR_SETUP. */
export function linkRouteRefused(method: string, path: string): boolean {
return outsideRouteRefused(method, path) || LATER_OR_SETUP.has(`${method.toUpperCase()} ${path}`);
@@ -73,6 +97,13 @@ export function linkLevel(own: ApprovalMode, driverKind: string | undefined): Ap
return own;
}
+/** A tool of the connected apps or Email, whose own routes refuse such work anything but reads (linkAppWriteRefused,
+ * the Email host's read-only mode): so the engine's ask for it is answered at the bot's own level. */
+const readsOnlyHere = (tool: string | undefined): boolean => {
+ const server = tool?.startsWith("mcp__") ? tool.split("__")[1] ?? "" : "";
+ return isConnectedAppsServer(server) || server === "email";
+};
+
export function createLinkLimits(deps: LinkLimitsDeps) {
let commandsLent = false;
/** The conversations a limited turn runs in now, with its engine kind. */
@@ -82,6 +113,12 @@ export function createLinkLimits(deps: LinkLimitsDeps) {
return {
/** This coordinated turn is work from the far side, and running commands is not lent: it runs limited. */
limited: (nodeId: string | undefined): boolean => off() && fromFarSide(nodeId, deps.node),
+ /** Work started here by what the far side wrote (a far member's answer in a room here) runs limited while commands are off. */
+ commandsOff: (): boolean => off(),
+ /** Whether coordinated work traces to the far side, grant or not. */
+ farSide: (nodeId: string): boolean => fromFarSide(nodeId, deps.node),
+ /** The root id for a turn started by what the far side wrote: everything handed on under it is known as the far side's. */
+ farRoot: (): ReturnType<typeof randomUUID> => `${LINK_PREFIX}here-${randomUUID()}`,
/** At accept: why this bot cannot take work from the far side now (its engine always has a shell), or null. */
acceptRefusal: (bot: { id: string }): string | null => (off() && !deps.confinable(bot) ? LINK_ENGINE_REFUSAL : null),
/** The turn's input as its engine gets it. Unlimited: the same object, untouched. */
@@ -90,11 +127,11 @@ export function createLinkLimits(deps: LinkLimitsDeps) {
const { botSettingsFile: _settings, mcpFromUserConfig: _userMcp, preloadBrowserTools: _browser, approvalModeNow, ...rest } = turn;
const integrations = turn.integrations ? { ...turn.integrations } : undefined;
for (const key of NOT_LENT) if (integrations) delete integrations[key];
- const kind = instance.driverKind;
+ const kind = instance.driverKind, told = kind === "codex" ? `${LINK_COMMANDS_OFF} ${LINK_CODEX_NO_FILES}` : LINK_COMMANDS_OFF;
return {
...rest, linkLimited: true, confinedWhy: LINK_COMMANDS_OFF,
- text: `${turn.text}\n\n${LINK_COMMANDS_OFF}`,
- ...(turn.recoveryText !== undefined ? { recoveryText: `${turn.recoveryText}\n\n${LINK_COMMANDS_OFF}` } : {}),
+ text: `${turn.text}\n\n${told}`,
+ ...(turn.recoveryText !== undefined ? { recoveryText: `${turn.recoveryText}\n\n${told}` } : {}),
approvalMode: linkLevel(turn.approvalMode ?? "full", kind),
...(approvalModeNow ? { approvalModeNow: () => linkLevel(approvalModeNow(), kind) } : {}),
...(integrations ? { integrations } : {}),
@@ -105,10 +142,10 @@ export function createLinkLimits(deps: LinkLimitsDeps) {
if (limited) running.set(threadId, driverKind); else running.delete(threadId);
},
/** The limited turn running in this conversation, if any: what its permission requests are answered at. */
- held(threadId: string): { level(own: ApprovalMode): ApprovalMode } | null {
+ held(threadId: string): { level(own: ApprovalMode, tool?: string): ApprovalMode } | null {
if (!running.has(threadId)) return null;
const kind = running.get(threadId);
- return { level: (own) => linkLevel(own, kind) };
+ return { level: (own, tool) => (readsOnlyHere(tool) ? own : linkLevel(own, kind)) };
},
/** The desktop said whether every Cloud of the person's own may run commands here. True when the message was this. */
receive(message: unknown): boolean {
diff --git a/server/bot-link/link.ts b/server/bot-link/link.ts
index 1c145277ed..616470fe62 100644
--- a/server/bot-link/link.ts
+++ b/server/bot-link/link.ts
@@ -10,13 +10,16 @@
// hand-off, its result and its stop go only to the place they belong to.
//
// Security: the link joins only servers the same person signs in to as owner (server/routes/bot-link.ts), and work that
-// crosses it counts as the person's own, as it does between two bots of one place. Work the Cloud hands a computer
-// follows the person's grant to their Clouds on that computer (server/bot-link/far-side.ts): while "Let Clouds run
-// commands on this computer" is off, it runs there with no shell, computer use, reads outside its working folders or
-// writes outside its working folder, and an engine that can't be held to that refuses it. Work a computer hands its Cloud
-// runs in the Cloud's box. Still open: what comes back (results, files) is read by the person's own turns at their
-// level; a limited turn's writes to its working folder and memory are read by later turns there; the grant is read when
-// each turn starts. Turning the link off on the computer ends all of it.
+// crosses it counts as the person's own, as it does between two bots of one place. Work the Cloud hands a computer, and
+// any turn there that what the Cloud wrote started (a far room member's answer that names a bot), follows the person's
+// grant to their Clouds on that computer (server/bot-link/far-side.ts; turning this link on grants it, the OpenMausBot
+// icon takes it back). While "Let Clouds run commands on this computer" is off, such a turn runs in its thread's own
+// scratch folder with no shell, computer use, browser, phones, own MCP servers, Data tools or reads outside that folder;
+// connected apps and Email only read; it writes no memory, schedules nothing, changes no setting, answers nothing for the
+// person and leaves no words in another conversation; an engine that can't be held to that refuses it. Work a computer
+// hands its Cloud runs in the Cloud's box. Still open: what comes back (results, files, a far member's line in a room) is
+// read by the person's own turns at their level, and the grant is read when each turn starts. Turning the link off on
+// the computer ends all of it.
import { createHash } from "node:crypto";
import { existsSync, mkdirSync, readdirSync, readFileSync, rmSync, statSync } from "node:fs";
import { basename, join } from "node:path";
diff --git a/server/drivers/claude.test.ts b/server/drivers/claude.test.ts
index 09d6f6f35d..8ec9a874f7 100644
--- a/server/drivers/claude.test.ts
+++ b/server/drivers/claude.test.ts
@@ -935,8 +935,9 @@ describe("ClaudeDriver turns (fake CLI)", () => {
writeFileSync(join(folder, ".mcp.json"), JSON.stringify({ mcpServers: { planted: { command: "sh", args: ["-c", "id"] } } }));
const dump = join(scratch, "dump-link.json");
process.env.FAKE_CLAUDE_DUMP = dump;
- await instance.adapter.sendTurn({ threadId: "t-link", text: "hello", approvalMode: "edits", linkLimited: true, cwd: folder,
- integrations: { agents: { command: process.execPath, args: ["fixture-agents"], env: {} } } });
+ await instance.adapter.sendTurn({ threadId: "t-link", text: "hello", approvalMode: "edits", linkLimited: true, cwd: folder, userSkillsDir: join(scratch, "user-skills"),
+ integrations: { agents: { command: process.execPath, args: ["fixture-agents"], env: {} }, composio: { command: process.execPath, args: ["fixture-apps"], env: {} },
+ email: { command: process.execPath, args: ["fixture-email"], env: {} } } });
await recorder.until((e) => e.type === "turn.completed");
const seen = JSON.parse(readFileSync(dump, "utf8")) as { argv: string[]; settings: any; mcpConfig: any };
const after = (flag: string) => seen.argv[seen.argv.indexOf(flag) + 1];
@@ -946,7 +947,9 @@ describe("ClaudeDriver turns (fake CLI)", () => {
expect(seen.settings.permissions).toMatchObject({ blockReadsOutsideWorkingDirectories: true });
expect(seen.settings.permissions.deny).toEqual(expect.arrayContaining(["Bash", "PowerShell", "WebFetch"]));
expect(Object.keys(seen.mcpConfig.mcpServers)).not.toContain("planted");
- expect(after("--allowedTools").split(",")).toContain("mcp__agents");
+ // Only the harness's own tools run unasked: a connected app's or Email's tool asks, and the harness answers it.
+ expect(after("--allowedTools").split(",").filter((name) => !name.startsWith("mcp__ogb")).sort()).toEqual(["mcp__agents"]);
+ expect(seen.argv, "the person's skills folder is not a working folder").not.toContain("--add-dir");
expect(recorder.events.find((e) => e.type === "turn.completed")).toMatchObject({ ok: true });
await expect(instance.adapter.sendTurn({ threadId: "t-link-full", text: "hello", approvalMode: "full", linkLimited: true }))
.rejects.toThrow("runs here only in Ask or Auto-accept edits");
diff --git a/server/drivers/claude.ts b/server/drivers/claude.ts
index 6b8107ad94..f0598a6134 100644
--- a/server/drivers/claude.ts
+++ b/server/drivers/claude.ts
@@ -1007,7 +1007,7 @@ export const ClaudeDriver: ProviderDriver<ClaudeConfig> = {
// Without these every turn gets this machine's MCP servers, connectors, skills, hooks and CLAUDE.md (one desktop: 407 tools, ~10k tokens).
if (!turn.mcpFromUserConfig && claudeCliSupports(turnCliVersion, "--strict-mcp-config")) args.push("--strict-mcp-config");
if (projectSettingsOnly) args.push("--setting-sources", "project");
- if (turn.userSkillsDir) args.push("--add-dir", turn.userSkillsDir);
+ if (turn.userSkillsDir && !shellOff(turn)) args.push("--add-dir", turn.userSkillsDir);
}
const compactWindow = autoCompactWindow(turnEnvironment, injected.model);
const passedAutocompact = Boolean(compactWindow) && ownCli && cliHasAutocompact === true; if (compactWindow && passedAutocompact) args.push("--autocompact", compactWindow);
@@ -1098,7 +1098,7 @@ export const ClaudeDriver: ProviderDriver<ClaudeConfig> = {
mcpServers.ogb = { command: process.execPath, args: [PERM_PROXY_PATH, socketPath], env: permissionEnv, alwaysLoad: true };
allowed.push("mcp__ogb", ...gateQueryTools(mcpServers));
// A guest pre-allows only harness tools; anything else (the browser can open file:) asks.
- if (turn.guestConfined) allowed.splice(0, allowed.length, ...allowed.filter((name) => name === "mcp__ogb" || name === "mcp__agents"));
+ if (shellOff(turn)) allowed.splice(0, allowed.length, ...allowed.filter((name) => name === "mcp__ogb" || name === "mcp__agents"));
const env = withEndpointFolder(environment(config.endpointModels ? undefined : turnModel), config, () => retryState.delete(threadId)); if (ownHttp) withLoopbackNoProxy(env); env.PATH = turnEnvironment.PATH; // launch the copy this turn checked, not one a newer PATH finds
// The MCP config carries credentials and argv is readable via `ps`: a 0600 file, removed at settle.
let mcpConfigPath: string | null = null;
diff --git a/server/email/host.test.ts b/server/email/host.test.ts
index c47bf525c3..665706b4c9 100644
--- a/server/email/host.test.ts
+++ b/server/email/host.test.ts
@@ -178,6 +178,16 @@ describe("a turn's Email tools", () => {
expect(tools.filter((tool) => !tool.annotations.readOnlyHint).map((tool) => tool.name)).toEqual(["EMAIL_SEND_MESSAGE"]);
});
+ it("in read-only mode (work from the person's other place) lists and runs only its reads, and says why for a send", async () => {
+ const { host } = await fixture(ALL_READS);
+ const { tools } = await host.handle({ method: "tools/list" }, { botId: "b1", threadId: "t1" }, () => {}, "Only reads here.") as unknown as { tools: Array<{ name: string }> };
+ expect(tools.map((tool) => tool.name)).toEqual(EMAIL_READ_TOOL_NAMES);
+ const sent = await host.handle({ method: "tools/call", params: { name: "EMAIL_SEND_MESSAGE", arguments: { to: ["[email protected]"], subject: "s", text: "b" } } }, { botId: "b1", threadId: "t1" }, () => {}, "Only reads here.");
+ expect(JSON.stringify(sent)).toContain("Only reads here.");
+ const read = await host.handle({ method: "tools/call", params: { name: "EMAIL_LIST_MAILBOXES", arguments: {} } }, { botId: "b1", threadId: "t1" }, () => {}, "Only reads here.");
+ expect(JSON.stringify(read)).toContain("INBOX");
+ });
+
it("a turn no longer active is refused before anything runs", async () => {
const { host, marked } = await fixture(ALL_READS);
await expect(host.handle({ method: "tools/call", params: { name: "EMAIL_LIST_MESSAGES", arguments: {} } }, { botId: "b1", threadId: "t1" }, () => { throw new Error("ended"); })).rejects.toThrow("ended");
diff --git a/server/email/host.ts b/server/email/host.ts
index 00086f084d..6a484cd448 100644
--- a/server/email/host.ts
+++ b/server/email/host.ts
@@ -4,7 +4,7 @@
import { readdirSync, rmSync } from "node:fs";
import { join } from "node:path";
-import { EMAIL_MCP_SERVER, EMAIL_SLUG, type EmailToolName } from "../../shared/email.ts";
+import { EMAIL_MCP_SERVER, EMAIL_READ_TOOL_NAMES, EMAIL_SLUG, type EmailToolName } from "../../shared/email.ts";
import { connectorAccessDecision, describeConnectorScopes, type ConnectorScopes } from "../../shared/connector-scopes.ts";
import type { ConnectorToolGrant } from "../../shared/wire.ts";
import { connectorRefusalText, connectorScopeRefusalText, evaluateConnectorTools } from "../connector-verdict.ts";
@@ -140,10 +140,14 @@ export function createEmailHost(deps: EmailHostDeps) {
toolListing: () => (service.status().state === "unavailable" ? null : { email: EMAIL_TOOLS.map(({ name, description }) => ({ name, description })) }),
/** The JSON-RPC entry the harness proxy reaches: tools/list (what this bot may run) and tools/call (validate, verdict, run). */
- async handle(body: unknown, capability: { botId: string; threadId: string }, assertActive: () => void): Promise<{ tools: EmailTool[]; instructions: string } | EmailToolResult> {
+ /** `readOnly`: only the reading tools, and what any other answers (work from the person's other place, server/bot-link/far-side.ts). */
+ async handle(body: unknown, capability: { botId: string; threadId: string }, assertActive: () => void, readOnly?: string): Promise<{ tools: EmailTool[]; instructions: string } | EmailToolResult> {
const request = (body ?? {}) as { method?: unknown; params?: unknown };
// Re-read the live bot on every call, so a permission change wins over a request authenticated under the old one.
- const verdict = (name: string): Verdict => { const bot = deps.bot(capability.botId); return bot ? emailAccess(bot, name) : { ok: false, text: "This bot no longer exists.", rule: "bot" }; };
+ const verdict = (name: string): Verdict => {
+ if (readOnly !== undefined && !(EMAIL_READ_TOOL_NAMES as readonly string[]).includes(name)) return { ok: false, text: readOnly, rule: "read-only" };
+ const bot = deps.bot(capability.botId); return bot ? emailAccess(bot, name) : { ok: false, text: "This bot no longer exists.", rule: "bot" };
+ };
if (request.method === "tools/list") {
assertActive();
return { tools: EMAIL_TOOLS.filter((tool) => verdict(tool.name).ok), instructions: EMAIL_INSTRUCTIONS };
diff --git a/server/index.ts b/server/index.ts
index 7405e75fea..d86fda684a 100644
--- a/server/index.ts
+++ b/server/index.ts
@@ -572,7 +572,7 @@ import { PhoneSecretBridge, PhoneSecretSubmissionRegistry } from "./phone-secret
// Keep these two last, so loading the route table leaves module start-up order as is.
import { gzipTunnelReplies, json, onJsonBody, parsedBodyOf, readBody } from "./harness/http.ts";
import { holdBodyDeadline } from "./body-deadline.ts";
-import { createNoAiNotice } from "./host/no-ai-notice.ts"; import { PASS, ROUTES, dispatchRoutes } from "./routes/table.ts"; import { createBotLinkHost } from "./host/bot-link-host.ts"; import { createLinkLimits, LINK_ACTION_DENIED, LINK_COMMANDS_OFF, LINK_ENGINE_REFUSAL, LINK_ROUTE_REFUSAL, linkRouteRefused } from "./bot-link/far-side.ts"; import { followRoomMentions } from "./host/bot-link-rooms.ts"; import { standInAmong, standInWriteRefusal } from "./host/stand-in-guard.ts"; import { isBotLinkHeldPath, linkSessionRefusal } from "./routes/bot-link.ts"; import { createSecretCards } from "./host/secret-cards.ts"; import { createInternalCredentialRequestRoutes, createSecretCardRoutes } from "./routes/secret-cards.ts"; import { applyIncludedPagesMessage, pagesAccess, pagesNotOffered } from "./pages/access.ts"; import { createPublishedPages } from "./pages/service.ts"; import { createInternalToolRoutes } from "./routes/internal-tools.ts"; import { createHelperSuggestionRoutes } from "./routes/helper-suggestion.ts"; import { createXConnectorRoutes } from "./routes/x-connector.ts"; import { createMoveFreeze, switchAutomationsOff } from "./move-freeze.ts"; import { createMoveFreezeRoutes } from "./routes/move-freeze.ts"; import { createMoveWaits } from "./move-waits.ts"; import { assertBotHere, botMoveRefusal, createBotMoves } from "./bot-moves.ts"; import { createBotMoveRoutes } from "./routes/bot-moves.ts"; import { createTeamMoveIn, moveInRefusal } from "./team-move-in.ts";
+import { createNoAiNotice } from "./host/no-ai-notice.ts"; import { PASS, ROUTES, dispatchRoutes } from "./routes/table.ts"; import { createBotLinkHost } from "./host/bot-link-host.ts"; import { createLinkLimits, LINK_ACTION_DENIED, LINK_APP_WRITE_REFUSAL, LINK_COMMANDS_OFF, LINK_ENGINE_REFUSAL, LINK_ROUTE_REFUSAL, linkAppWriteRefused, linkHandOnRefusal, linkRouteRefused } from "./bot-link/far-side.ts"; import { followRoomMentions } from "./host/bot-link-rooms.ts"; import { standInAmong, standInWriteRefusal } from "./host/stand-in-guard.ts"; import { isBotLinkHeldPath, linkSessionRefusal } from "./routes/bot-link.ts"; import { createSecretCards } from "./host/secret-cards.ts"; import { createInternalCredentialRequestRoutes, createSecretCardRoutes } from "./routes/secret-cards.ts"; import { applyIncludedPagesMessage, pagesAccess, pagesNotOffered } from "./pages/access.ts"; import { createPublishedPages } from "./pages/service.ts"; import { createInternalToolRoutes } from "./routes/internal-tools.ts"; import { createHelperSuggestionRoutes } from "./routes/helper-suggestion.ts"; import { createXConnectorRoutes } from "./routes/x-connector.ts"; import { createMoveFreeze, switchAutomationsOff } from "./move-freeze.ts"; import { createMoveFreezeRoutes } from "./routes/move-freeze.ts"; import { createMoveWaits } from "./move-waits.ts"; import { assertBotHere, botMoveRefusal, createBotMoves } from "./bot-moves.ts"; import { createBotMoveRoutes } from "./routes/bot-moves.ts"; import { createTeamMoveIn, moveInRefusal } from "./team-move-in.ts";
import { createHostedSlackRoutes } from "./routes/hosted-slack.ts";
import { createBotPresetRoutes } from "./routes/bot-presets.ts"; import { createWorkspaceBannerRoutes, workspaceBannerStore, workspaceBannerSummary } from "./routes/workspace-banner.ts";
import { createBotMemoryRoutes } from "./routes/bot-memory.ts"; import { createBotLibraryRoutes } from "./routes/bot-library.ts";
@@ -3463,7 +3463,7 @@ type GroupTurnOperation = {
queuedQueueIds?: string[];
line?: RoomRoundLine;
/** The person's room line this run answers (its member turns, mentions included, act for whoever wrote it), or the handed-on work it does. */
- requestMessageId?: string; handedFor?: HandedRun; /** Whether a person's own line started this run, or the work handed on to it traces to one (usage-caps.ts). */ personStarted?: boolean; /** A coordinated run that already started carries on: no usage cap refuses it. */ continuesRun?: boolean;
+ requestMessageId?: string; handedFor?: HandedRun; /** Whether a person's own line started this run, or the work handed on to it traces to one (usage-caps.ts). */ personStarted?: boolean; /** A coordinated run that already started carries on: no usage cap refuses it. */ continuesRun?: boolean; /** Started by what a far member of the room wrote (server/bot-link/far-side.ts). */ farSide?: boolean;
goalRun?: LiveGoalRun; /** What the person pointed at in a member's page; taken once by the page's bot (takeRoomPick). */ pick?: RoomPick;
};
@@ -3841,7 +3841,7 @@ const questionRouting = createQuestionRouting({ store, handedInUnproven, active:
steer: async (threadId, text) => canSteerThread(threadId) && (await steerThread(threadId, text)) !== "refused", mayReach: outsideLineage.mayReach });
const remoteTeammates = new RemoteTeammates(); const remoteHandoff = createRemoteHandoff({ teammates: remoteTeammates, coordinator: () => coordinator, localBots: () => store.bots, botName: (id) => store.bot(id)?.name, outside: (threadId) => (outsideLineage.outsideDrivenThread(threadId) || outsideLineage.cloudGuestDriven(threadId) ? OUTSIDE_STAYS_HERE : undefined), file: join(DATA_DIR, "remote-teammate-work.json"), log: (line) => console.error(line) }); const handoffFiles = createHandoffFiles({ dataDir: DATA_DIR, attachmentsDir: ATTACHMENTS_DIR, botName: (id) => store.bot(id)?.name, node: (id) => coordinator.node(id), children: (id) => coordinator.children(id), discard: deleteAttachment, threadsReferencing, changes: (listener) => store.onChange(listener), log: (line) => console.error(line),
worksInOwnFolder: (botId, threadId) => turnsRunInOwnFolder(botId, threadId, store.taskByThread(botId, threadId)?.cwd, store.bot(botId)?.cwd, Boolean(store.groupByThread(threadId))), vmHome: (botId) => localVmMode(cfg) === "per-bot" ? perBotLocalVmTarget(botId).workspaceDir : null, withheld: (child, parent) => Boolean(roomHandoffProblem(child, parent)) || keptPrivate({ child: teamHost.privateTo(child.threadId), parent: teamHost.privateTo(parent.threadId) }) });
-const titleHandedThread = createHandedThreadTitle({ store, gate: threadTitleGate, generate: generateThreadTitle }); const botLink = createBotLinkHost({ roomLine: (threadId, key, params) => serverLine(threadLanguage(threadId), key, params), roomWindow: (threadId, reader) => roomTranscript.window(threadId, userNameFor(threadId), undefined, reader), roomOpener: (botId, threadId) => handoffOpener({ botId, threadId }, threadId), roomChanged: (groupId) => { const room = store.group(groupId); if (room) broadcast({ kind: "group", group: publicGroupState(room) }); }, roomFollow: followRoomMentions<GroupTurnOperation>({ members: (groupId) => (store.group(groupId)?.memberIds ?? []).map((id) => store.bot(id)).filter((bot): bot is BotRecord => Boolean(bot)), mentioned: (text, members) => roomResponders(text, members, { kind: "mentions" }), begin: beginGroupTurnOperation, finish: finishGroupTurnOperation, queue: groupQueues, wait: waitForChatRoomMember, run: (groupId, threadId, botId, hop, spoken, operation) => runGroupMemberTurn(groupId, threadId, botId, hop, spoken, undefined, undefined, () => operation.cancelled, undefined, undefined, undefined, undefined, operation) }), dataDir: DATA_DIR, environmentId: ENVIRONMENT_ID, store, coordinator: () => coordinator, kick: () => handoffTicks.kick(), level: (bot) => approvalModeForTurn(bot, true, bot.threadId), titleHanded: titleHandedThread, refusal: (bot) => botMoveRefusal(bot) ?? linkLimits.acceptRefusal(bot), language: (threadId) => threadLanguage(threadId), personName: personNameIn, sessions, power: () => cloudPower, files: handoffFiles, storeFile: (path, name, root) => saveBotAttachment({ path, name, roots: [root], byContent: true }), log: (line) => console.error(line), local: (auth) => auth.kind === "loopback" && auth.trust !== "service" && !CLOUD_HOME && !HOSTED_WORKSPACE, owner: (auth) => !sharedMembership() && !HOSTED_WORKSPACE && (ownHome.owner(auth) || (CLOUD_PERSONAL && cloudOwnerSession(auth))) }); ROUTES.push(botLink.routes); const handoffTicks = createHandoffTicks(), coordinator: Coordinator = createCoordinator({
+const titleHandedThread = createHandedThreadTitle({ store, gate: threadTitleGate, generate: generateThreadTitle }); const botLink = createBotLinkHost({ roomLine: (threadId, key, params) => serverLine(threadLanguage(threadId), key, params), roomWindow: (threadId, reader) => roomTranscript.window(threadId, userNameFor(threadId), undefined, reader), roomOpener: (botId, threadId) => handoffOpener({ botId, threadId }, threadId), roomChanged: (groupId) => { const room = store.group(groupId); if (room) broadcast({ kind: "group", group: publicGroupState(room) }); }, roomFollow: followRoomMentions<GroupTurnOperation>({ members: (groupId) => (store.group(groupId)?.memberIds ?? []).map((id) => store.bot(id)).filter((bot): bot is BotRecord => Boolean(bot)), mentioned: (text, members) => roomResponders(text, members, { kind: "mentions" }), begin: (groupId, threadId, botIds) => Object.assign(beginGroupTurnOperation(groupId, threadId, botIds), { farSide: true }), finish: finishGroupTurnOperation, queue: groupQueues, wait: waitForChatRoomMember, run: (groupId, threadId, botId, hop, spoken, operation) => runGroupMemberTurn(groupId, threadId, botId, hop, spoken, undefined, undefined, () => operation.cancelled, undefined, undefined, undefined, undefined, operation) }), dataDir: DATA_DIR, environmentId: ENVIRONMENT_ID, store, coordinator: () => coordinator, kick: () => handoffTicks.kick(), level: (bot) => approvalModeForTurn(bot, true, bot.threadId), titleHanded: titleHandedThread, refusal: (bot) => botMoveRefusal(bot) ?? linkLimits.acceptRefusal(bot), language: (threadId) => threadLanguage(threadId), personName: personNameIn, sessions, power: () => cloudPower, files: handoffFiles, storeFile: (path, name, root) => saveBotAttachment({ path, name, roots: [root], byContent: true }), log: (line) => console.error(line), local: (auth) => auth.kind === "loopback" && auth.trust !== "service" && !CLOUD_HOME && !HOSTED_WORKSPACE, owner: (auth) => !sharedMembership() && !HOSTED_WORKSPACE && (ownHome.owner(auth) || (CLOUD_PERSONAL && cloudOwnerSession(auth))) }); ROUTES.push(botLink.routes); const handoffTicks = createHandoffTicks(), coordinator: Coordinator = createCoordinator({
dataDir: DATA_DIR, restartCut: restartCutStop({ dataDir: DATA_DIR, lines: (threadId) => store.activePath(threadId) }),
now: Date.now, wrote: () => { handoffTicks.kick(); handoffStatus.changed(); }, handoffLimit: { refusal: (botId, open, origin) => botHolds.handoff(botId) ?? starterCaps.handoffs.refusal(botId, open) ?? usageCapGate.handoff(botId, origin) },
log: line => console.error("coordinator:", line),
@@ -6438,7 +6438,7 @@ bus.subscribe((event: RuntimeEvent) => {
// No command the owner saved answers for a guest-driven turn.
const guestDriven = cloudGuestDriven(event.threadId) || botApiThread(event.threadId), linkHeld = linkLimits.held(event.threadId); // work from the far side: its own capped level, no saved grant, never a card
const ownApprovalMode = (who: BotRecord) => liveApprovalMode(who, event.threadId, isInternalTurn(event.threadId));
- const effectiveApprovalMode = !asker || guestDriven ? "ask" : linkHeld ? linkHeld.level(ownApprovalMode(asker))
+ const effectiveApprovalMode = !asker || guestDriven ? "ask" : linkHeld ? linkHeld.level(ownApprovalMode(asker), event.tool)
: group && speaker?.botId === asker.id ? roomTurnLevels.forRequest(event.threadId, asker.id, () => ownApprovalMode(asker))
: ownApprovalMode(asker);
const notAsked = !permission && asker && event.requestId ? questionRouting.notAsked({ botId: asker.id, threadId: event.threadId, level: effectiveApprovalMode, question: event.summary }) : undefined;
@@ -7703,7 +7703,7 @@ async function beginTurn(
const contextOrder = context.map(m => m.id);
const transcript = selection.transcript.map(({ role, text }) => ({ role, text }));
// Engines keep a session in the folder it started in, so a thread that follows its bot to the bot's working folder starts a new one there.
- const followed = folderToFollow(bot, threadId, task.cwd, { worksInFolders: supportsWorkspaceFiles(instance.driverKind), keepsPrivateFolder: guestConfined || cloudGuestOpened(threadId) });
+ const followed = folderToFollow(bot, threadId, task.cwd, { worksInFolders: supportsWorkspaceFiles(instance.driverKind), keepsPrivateFolder: guestConfined || linkLimited || cloudGuestOpened(threadId) });
const strictResume = instance.adapter.capabilities.strictResume === true;
const externalContextMarker = isExternalContextMarker(task.lastInstanceId) ? task.lastInstanceId : undefined;
const resuming = resumePlan({ task, instanceId, strictResume, compacted: selection.compacted, recordId: record?.id, folderChanged: followed !== undefined,
@@ -7807,7 +7807,7 @@ async function beginTurn(
privateWorkspace
? store.pinTaskCwd(bot.id, threadId, privateWorkspace, { privateOnly: cloudGuestOpened(threadId) || botApiThread(threadId) })
: null;
- const cwd = pinnedCwd ?? undefined;
+ const cwd = (linkLimited ? privateWorkspace : pinnedCwd) ?? undefined; // work from the far side: the thread's own scratch folder, never the person's
const checkpointCwd = cwd && cwd !== privateWorkspace ? cwd : undefined;
const dwebUrl = process.env.DWEB_URL?.trim();
if (dwebUrl) integrations.dweb = { url: dwebUrl };
@@ -9528,7 +9528,7 @@ async function runClaimedGroupMemberTurn(
}
const roomPolicyRefusal = instance ? policyModelRefusal(instance) : undefined;
if (!groupSpeakers.has(threadId)) { guestDrivenTurns.delete(threadId); linkLimits.begin(threadId, false, undefined); }
- const roomGuestConfined = cloudGuestDriven(threadId) || cloudGuestDrivenHandoff(orchestration?.roomHandoffId), roomLinkLimited = linkLimits.limited(orchestration?.roomHandoffId);
+ const roomGuestConfined = cloudGuestDriven(threadId) || cloudGuestDrivenHandoff(orchestration?.roomHandoffId), roomLinkLimited = linkLimits.limited(orchestration?.roomHandoffId) || (operation?.farSide === true && linkLimits.commandsOff());
const roomGuestRefusal = roomGuestConfined && instance?.adapter.capabilities.guestTurns !== "confined" ? guestEngineRefusal(threadId) : roomLinkLimited && instance?.adapter.capabilities.guestTurns !== "confined" ? LINK_ENGINE_REFUSAL : undefined;
if (!instance || roomPolicyRefusal || roomGuestRefusal) {
const message = roomPolicyRefusal ?? roomGuestRefusal ?? `${bot.name}'s model is unavailable`;
@@ -9557,7 +9557,7 @@ async function runClaimedGroupMemberTurn(
onDispatchError?.(message);
return true;
}
- const internalGeneration = beginInternalCapabilityGeneration(threadId);
+ const internalGeneration = beginInternalCapabilityGeneration(threadId, operation?.farSide && !orchestration?.coordination ? linkLimits.farRoot() : undefined);
if (orchestration?.roomHandoffId) gmailDrafts.forRoomTurn(internalGeneration, orchestration.roomHandoffId);
if (operation) roomTurnStarted(internalGeneration, operation);
if (roomGuestConfined) guestDrivenTurns.set(threadId, internalGeneration); if (roomLinkLimited) linkLimits.begin(threadId, true, instance.driverKind);
@@ -9989,7 +9989,7 @@ async function runClaimedGroupMemberTurn(
const worksInWorkspace = supportsWorkspaceFiles(instance.driverKind);
const workspace = worksInWorkspace ? ensureWorkspace(bot.id, appLanguage()) : undefined;
// The room's folder pins at its first dispatch, so a room that already worked somewhere never has its folder moved.
- const cwd = workspace && cloudGuestOpened(threadId)
+ const cwd = workspace && (cloudGuestOpened(threadId) || roomLinkLimited)
? ensureTaskWorkspaceWithSkills(bot.id, threadId, skillsHost.turnImports(bot, threadId, instance))
: groupTurnCwd(workspace, () => store.pinGroupCwd(readyGroup.id, threadId));
assertRoomFolder(cwd); if (workspace && bot.memoryEnabled !== false) beginMemoryTurn(teamHost.layer(bot.id, threadId), threadId); if (workspace) { botBox.lend(bot.id, threadId, teamHost.layerDirs(bot.id, threadId)); teamFilesHost.beginTurn(bot.id, threadId); }
@@ -12978,7 +12978,7 @@ const handleRequest = async (req: IncomingMessage, res: ServerResponse) => {
}) });
}
// The mail passwords stay here; the agent process holds only the turn's capability, and every call gets the live bot's verdict.
- if (method === "POST" && path === EMAIL_INTERNAL_MCP_PATH) { return json(res, 200, { result: await emailHost.handle(await readInternalBody(), internalCapability, requireActiveInternalCapability) }); }
+ if (method === "POST" && path === EMAIL_INTERNAL_MCP_PATH) { return json(res, 200, { result: await emailHost.handle(await readInternalBody(), internalCapability, requireActiveInternalCapability, linkLimits.held(internalCapability.threadId) ? LINK_APP_WRITE_REFUSAL : undefined) }); }
if (method === "POST" && path === PHONE_INTERNAL_MCP_PATH) {
return json(res, 200, { result: await phones.handle(await readInternalBody(), internalCapability, requireActiveInternalCapability) });
}
@@ -13506,7 +13506,7 @@ const handleRequest = async (req: IncomingMessage, res: ServerResponse) => {
if (fresh && !EXTERNAL && internalCapability.openedThreads >= MAX_THREADS_OPENED_PER_TURN) {
return refuse(429, `You have already opened ${MAX_THREADS_OPENED_PER_TURN} threads this turn, which is the limit. Do not retry — finish your turn and tell the person which threads you still wanted to open, so they can open them or ask you again.`);
}
- const steersOwn = !destination && botIds.length === 1 && botIds[0] === internalSender.id && ownThreads.steersOwn(call.thread, internalSender.id, address.threadId), { post } = call, postsOwn = Boolean(post) && botIds[0] === internalSender.id, toSelf = Boolean(call.ownThread) || steersOwn || postsOwn || ownThreads.answersOwn(call.answers, internalSender.id);
+ const steersOwn = !destination && botIds.length === 1 && botIds[0] === internalSender.id && ownThreads.steersOwn(call.thread, internalSender.id, address.threadId), { post } = call, postsOwn = Boolean(post) && botIds[0] === internalSender.id, toSelf = Boolean(call.ownThread) || steersOwn || postsOwn || ownThreads.answersOwn(call.answers, internalSender.id); if (linkLimits.held(internalCapability.threadId)) { const why = linkHandOnRefusal({ ...(call.answers ? { answers: call.answers } : {}), ...(post ? { post } : {}) }, linkLimits.farSide); if (why) return refuse(403, why); }
for (const target of targets) {
// Echo only the id the caller sent, never a bot's name.
const addressed = store.bot(target.botId);
@@ -13541,7 +13541,7 @@ const handleRequest = async (req: IncomingMessage, res: ServerResponse) => {
// Work a person's request hands on opens in the receiving bot's chat with them when it may use their own apps.
const opener = (room ? null : handOnFor) ?? openerFrom(address.threadId); if (!room) personalReach.checkHandOn(internalSender, recipient, address.threadId, opener, call.answers ? { threadId: coordinator.node(call.answers)?.threadId } : undefined);
// A Chief answers, for the person, the question a teammate it manages waits on in a thread the Chief did not open.
- let lends = mode === "work" && (CLOUD_HOME ? handsOnLending(internalCapability) : !store.groupByThread(internalCapability.threadId) && sharedComputerPrincipal(internalCapability) === OWN_SERVER_LENDER); const forPerson = EXTERNAL || room || fresh || post || call.answers || mode !== "work" || call.thread === "standing" || !teammatePrompts.actsForPerson(internalSender, internalCapability.threadId) || !canManage(internalSender, recipient) || !threadReadableFrom(internalCapability.threadId)(call.thread) || !asksActingPerson(internalCapability.threadId, store.groupByThread(internalCapability.threadId) ? internalCapability.generation : undefined)(call.thread, recipient.id) ? undefined : await questionRouting.answerForPerson({ lends, sender: internalSender, senderThreadId: address.threadId, target: recipient, threadId: call.thread, message: call.message });
+ let lends = mode === "work" && (CLOUD_HOME ? handsOnLending(internalCapability) : !store.groupByThread(internalCapability.threadId) && sharedComputerPrincipal(internalCapability) === OWN_SERVER_LENDER); const forPerson = EXTERNAL || room || fresh || post || call.answers || linkLimits.held(internalCapability.threadId) || mode !== "work" || call.thread === "standing" || !teammatePrompts.actsForPerson(internalSender, internalCapability.threadId) || !canManage(internalSender, recipient) || !threadReadableFrom(internalCapability.threadId)(call.thread) || !asksActingPerson(internalCapability.threadId, store.groupByThread(internalCapability.threadId) ? internalCapability.generation : undefined)(call.thread, recipient.id) ? undefined : await questionRouting.answerForPerson({ lends, sender: internalSender, senderThreadId: address.threadId, target: recipient, threadId: call.thread, message: call.message });
if (forPerson) { if (forPerson.outcome === "failed") refused.push(forPerson.detail); else answeredForPerson.add(forPerson); receipts.push(forPerson); continue; }
const startedHere = (task: TaskRecord) => !CLOUD_TEAM || threadStarters.get(task.threadId) === opener, reachable = (task: TaskRecord) => outsideLineage.mayReach(address.threadId, task.threadId), standing = room || fresh ? undefined : workThreadFor(store, { botId: target.botId, botName: recipient.name, fromBotId: internalSender.id, fromThreadId: address.threadId, thread: call.thread, notice: mode === "notify", any: Boolean(post),
answering: coordinator.answersTo(internalCapability.roomHandoffId ?? generation), also: startedHere, reach: reachable });
@@ -14238,7 +14238,7 @@ const handleRequest = async (req: IncomingMessage, res: ServerResponse) => {
// A room turn can run at a Chief's delegated level, which only the room handoff carries.
const sendsFreely = () => roomTurnLevels.forRequest(internalCapability.threadId, internalCapability.botId,
() => sourceApprovalMode(internalCapability.botId, internalCapability.threadId)) === "full"; const sandbox = appSandboxRule(body, sendsFreely);
- const access = connectorAccessDecision(currentSender.connectorScopes, connectorCalls, serviceSlugs);
+ const access = connectorAccessDecision(currentSender.connectorScopes, connectorCalls, serviceSlugs); if (linkLimits.held(internalCapability.threadId) && linkAppWriteRefused(connectorCalls, serviceSlugs)) return refuseOutbound(LINK_APP_WRITE_REFUSAL);
if (!access.ok) {
const described = describeTool(access.slug);
const appName = described.app ?? access.toolkit;
diff --git a/src/components/PlacesTogetherSwitch.tsx b/src/components/PlacesTogetherSwitch.tsx
index 7f7efb1c23..d36126c9ff 100644
--- a/src/components/PlacesTogetherSwitch.tsx
+++ b/src/components/PlacesTogetherSwitch.tsx
@@ -16,7 +16,7 @@ export function PlacesTogetherSwitch() {
return <SettingsGroup block="together">
<SettingsRows>
<div data-places-together={together.on ? "on" : "off"} className="contents">
- <SettingRow title={t("together.switch.title")} tag={t("settings.early.tag")} subtitle={t("together.switch.line")}
+ <SettingRow title={t("together.switch.title")} tag={t("settings.early.tag")} subtitle={`${t("together.switch.line")} ${t("together.switch.commands")}`}
message={failed ? <span role="alert" className="block text-danger">{t("together.switch.failed")}</span> : undefined}>
<Switch checked={together.on} disabled={busy} aria-label={t("together.switch.title")} onClick={turn} />
</SettingRow>
diff --git a/src/locales/de.json b/src/locales/de.json
index d5eab38d61..742aa72027 100644
--- a/src/locales/de.json
+++ b/src/locales/de.json
@@ -4185,6 +4185,7 @@
"remote.tailscale.needsApproval": "Dieser Computer wartet auf die Genehmigung in Ihrem Tailscale-Netzwerk. Genehmigen Sie ihn in der Tailscale-Admin-Konsole und versuchen Sie es dann erneut.",
"together.switch.title": "Dieser Computer und Meine Cloud zusammen",
"together.switch.line": "Standardmäßig aus. Die Bots der Cloud und die Bots dieses Computers stehen in einer Liste, und jeder öffnet sich dort, wo er läuft.",
+ "together.switch.commands": "Wenn du es einschaltest, dürfen die Bots von Meine Cloud auch Befehle auf diesem Computer ausführen; das kannst du über das OpenMausBot-Symbol wieder ausschalten.",
"together.switch.failed": "Das konnte nicht gespeichert werden. Versuch es noch einmal.",
"server.rooms.linkedAway": "{bot} läuft auf {place}, das gerade aus ist oder schläft. Die Antwort kommt hier, sobald {place} wieder da ist.",
"server.rooms.linkedGone": "{bot} läuft auf {place}. Die Verbindung zu {place} ist gerade aus; eine Antwort kommt hier erst, wenn sie zurück ist.",
diff --git a/src/locales/en.json b/src/locales/en.json
index de43bb8b37..16ce990b4f 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -11479,6 +11479,7 @@
"together.state.offlineComputer": "This computer's bots can't be read right now.",
"together.switch.title": "This computer and My Cloud together",
"together.switch.line": "Off by default. The Cloud's bots and this computer's bots show in one list, and each opens where it lives.",
+ "together.switch.commands": "Turning it on also lets My Cloud's bots run commands on this computer; you can turn that off from the OpenMausBot icon.",
"together.switch.failed": "That couldn't be saved. Try again.",
"together.state.signin": "Open My Cloud once to sign in.",
"sidebar.newBotOn.computer": "New bot on this computer",
diff --git a/src/locales/es.json b/src/locales/es.json
index 6836429772..1f13631aa4 100644
--- a/src/locales/es.json
+++ b/src/locales/es.json
@@ -6513,6 +6513,7 @@
"remote.tailscale.needsApproval": "Este ordenador espera la aprobación en tu red de Tailscale. Apruébalo en la consola de administración de Tailscale y vuelve a intentarlo.",
"together.switch.title": "Este equipo y My Cloud juntos",
"together.switch.line": "Desactivado de forma predeterminada. Los bots del Cloud y los de este equipo aparecen en una sola lista, y cada uno se abre donde está.",
+ "together.switch.commands": "Al activarlo, los bots de My Cloud también pueden ejecutar comandos en este equipo; puedes desactivarlo desde el icono de OpenMausBot.",
"together.switch.failed": "No se pudo guardar. Inténtalo de nuevo.",
"imageGen.complexity.label": "Nivel de detalle",
"imageGen.complexity.help": "Cuánto detalle tienen las imágenes de GPT-Image-2.6. Más bajo es más simple y rápido.",
diff --git a/src/locales/fr.json b/src/locales/fr.json
index 840dfcc112..fc5f815301 100644
--- a/src/locales/fr.json
+++ b/src/locales/fr.json
@@ -3921,6 +3921,7 @@
"remote.tailscale.needsApproval": "Cet ordinateur attend d'être approuvé sur votre réseau Tailscale. Approuvez-le dans la console d'administration Tailscale, puis réessayez.",
"together.switch.title": "Cet ordinateur et Mon Cloud ensemble",
"together.switch.line": "Désactivé par défaut. Les bots du Cloud et ceux de cet ordinateur s'affichent dans une seule liste, et chacun s'ouvre là où il se trouve.",
+ "together.switch.commands": "L'activer permet aussi aux bots de Mon Cloud d'exécuter des commandes sur cet ordinateur ; vous pouvez désactiver cela depuis l'icône OpenMausBot.",
"together.switch.failed": "Impossible d'enregistrer. Réessayez.",
"imageGen.complexity.label": "Niveau de détail",
"imageGen.complexity.help": "Le niveau de détail des images GPT-Image-2.6. Plus bas, c'est plus simple et plus rapide.",
diff --git a/src/locales/hi.json b/src/locales/hi.json
index 3e276f887a..5d62c0d813 100644
--- a/src/locales/hi.json
+++ b/src/locales/hi.json
@@ -3773,6 +3773,7 @@
"remote.tailscale.needsApproval": "यह कंप्यूटर आपके Tailscale नेटवर्क पर मंज़ूरी का इंतज़ार कर रहा है। Tailscale एडमिन कंसोल में इसे मंज़ूर करें, फिर दोबारा कोशिश करें।",
"together.switch.title": "यही कंप्यूटर और मेरा क्लाउड एक साथ",
"together.switch.line": "डिफ़ॉल्ट रूप से बंद। क्लाउड के बॉट और इस कंप्यूटर के बॉट एक ही सूची में दिखते हैं, और हर बॉट वहीं खुलता है जहाँ वह है।",
+ "together.switch.commands": "इसे चालू करने पर मेरा क्लाउड के बॉट इस कंप्यूटर पर कमांड भी चला सकते हैं; इसे आप OpenMausBot आइकन से बंद कर सकते हैं।",
"together.switch.failed": "इसे सहेजा नहीं जा सका। फिर से कोशिश करें।",
"imageGen.complexity.label": "विवरण स्तर",
"imageGen.complexity.help": "GPT-Image-2.6 की छवियाँ कितनी विस्तृत हों। कम का मतलब सरल और तेज़।",
diff --git a/src/locales/it.json b/src/locales/it.json
index 57bf1dd39b..0f6fd31352 100644
--- a/src/locales/it.json
+++ b/src/locales/it.json
@@ -11360,6 +11360,7 @@
"together.state.offlineComputer": "I bot del computer non possono essere letti in questo momento.",
"together.switch.title": "Questo computer e Il mio Cloud insieme",
"together.switch.line": "Disattivato per impostazione predefinita. I bot del Cloud e quelli di questo computer compaiono in un unico elenco, e ognuno si apre dove si trova.",
+ "together.switch.commands": "Attivandolo, i bot di Il mio Cloud possono anche eseguire comandi su questo computer; puoi disattivarlo dall'icona di OpenMausBot.",
"together.switch.failed": "Non è stato possibile salvare. Riprova.",
"together.state.signin": "Aprire il mio cloud una volta per accedere.",
"sidebar.newBotOn.computer": "Nuovo bot su questo computer",
diff --git a/src/locales/ja.json b/src/locales/ja.json
index 75da991a2e..9072b62c63 100644
--- a/src/locales/ja.json
+++ b/src/locales/ja.json
@@ -8051,6 +8051,7 @@
"remote.tailscale.needsApproval": "このコンピューターは Tailscale ネットワークでの承認を待っています。Tailscale の管理コンソールで承認してから、もう一度お試しください。",
"together.switch.title": "このコンピューターと My Cloud をまとめる",
"together.switch.line": "既定ではオフです。Cloud のボットとこのコンピューターのボットを 1 つの一覧に表示し、それぞれがある場所で開きます。",
+ "together.switch.commands": "オンにすると、My Cloud のボットがこのコンピューターでコマンドも実行できるようになります。OpenMausBot アイコンからオフにできます。",
"together.switch.failed": "保存できませんでした。もう一度お試しください。",
"imageGen.complexity.label": "詳細レベル",
"imageGen.complexity.help": "GPT-Image-2.6 の画像の詳細さ。低いほどシンプルで高速です。",
diff --git a/src/locales/ko.json b/src/locales/ko.json
index 89d41ec73a..bc3d7c449f 100644
--- a/src/locales/ko.json
+++ b/src/locales/ko.json
@@ -7741,6 +7741,7 @@
"remote.tailscale.needsApproval": "이 컴퓨터는 Tailscale 네트워크에서 승인을 기다리고 있습니다. Tailscale 관리 콘솔에서 승인한 다음 다시 시도하세요.",
"together.switch.title": "이 컴퓨터와 내 클라우드 함께 보기",
"together.switch.line": "기본값은 꺼짐입니다. 클라우드의 봇과 이 컴퓨터의 봇이 하나의 목록에 표시되며, 각 봇은 자기가 있는 곳에서 열립니다.",
+ "together.switch.commands": "켜면 내 클라우드의 봇이 이 컴퓨터에서 명령도 실행할 수 있습니다. OpenMausBot 아이콘에서 끌 수 있습니다.",
"together.switch.failed": "저장하지 못했습니다. 다시 시도하세요.",
"imageGen.complexity.label": "세부 수준",
"imageGen.complexity.help": "GPT-Image-2.6 이미지의 세부 정도입니다. 낮을수록 단순하고 빠릅니다.",
diff --git a/src/locales/pl.json b/src/locales/pl.json
index d7f5b01845..1ed4eda39c 100644
--- a/src/locales/pl.json
+++ b/src/locales/pl.json
@@ -7212,6 +7212,7 @@
"remote.tailscale.needsApproval": "Ten komputer czeka na zatwierdzenie w Twojej sieci Tailscale. Zatwierdź go w konsoli administracyjnej Tailscale, a potem spróbuj ponownie.",
"together.switch.title": "Ten komputer i My Cloud razem",
"together.switch.line": "Domyślnie wyłączone. Boty z Cloud i boty z tego komputera są na jednej liście, a każdy otwiera się tam, gdzie działa.",
+ "together.switch.commands": "Włączenie pozwala też botom z My Cloud uruchamiać polecenia na tym komputerze; możesz to wyłączyć w ikonie OpenMausBot.",
"together.switch.failed": "Nie udało się zapisać. Spróbuj ponownie.",
"imageGen.complexity.label": "Poziom szczegółowości",
"imageGen.complexity.help": "Jak szczegółowe są obrazy GPT-Image-2.6. Niższy poziom jest prostszy i szybszy.",
diff --git a/src/locales/pt-br.json b/src/locales/pt-br.json
index e029989906..cf589577e1 100644
--- a/src/locales/pt-br.json
+++ b/src/locales/pt-br.json
@@ -11443,6 +11443,7 @@
"together.state.offlineComputer": "Não é possível ler os bots deste computador agora.",
"together.switch.title": "Este computador e o My Cloud juntos",
"together.switch.line": "Desativado por padrão. Os bots do Cloud e os deste computador aparecem em uma só lista, e cada um abre onde está.",
+ "together.switch.commands": "Ao ativar, os bots do My Cloud também podem executar comandos neste computador; você pode desativar isso pelo ícone do OpenMausBot.",
"together.switch.failed": "Não foi possível salvar. Tente de novo.",
"together.state.signin": "Abra o My Cloud uma vez para entrar.",
"sidebar.newBotOn.computer": "Novo bot neste computador",
diff --git a/src/locales/ru.json b/src/locales/ru.json
index 5bc9904602..565f08a4e7 100644
--- a/src/locales/ru.json
+++ b/src/locales/ru.json
@@ -7266,6 +7266,7 @@
"remote.tailscale.needsApproval": "Этот компьютер ждёт одобрения в вашей сети Tailscale. Одобрите его в консоли администратора Tailscale, затем попробуйте снова.",
"together.switch.title": "Этот компьютер и Моё облако вместе",
"together.switch.line": "По умолчанию выключено. Боты из облака и боты этого компьютера показаны в одном списке, и каждый открывается там, где он находится.",
+ "together.switch.commands": "Если включить, боты из «Моё облако» смогут также выполнять команды на этом компьютере; это можно выключить через значок OpenMausBot.",
"together.switch.failed": "Не удалось сохранить. Попробуйте ещё раз.",
"imageGen.complexity.label": "Уровень детализации",
"imageGen.complexity.help": "Насколько детализированы изображения GPT-Image-2.6. Ниже — проще и быстрее.",
diff --git a/src/locales/source-hashes.json b/src/locales/source-hashes.json
index 7516669f46..c4439e918f 100644
--- a/src/locales/source-hashes.json
+++ b/src/locales/source-hashes.json
@@ -3958,6 +3958,7 @@
"server.routines.card.onceContinues": "47f36e2af395ab1cc4c1fa758a4e169404e1e0164fb07d2ad82914228cf99297",
"together.switch.title": "2829f92e4a9012d2265d7a82806d5750743ca14c0600d688485825dd4272938a",
"together.switch.line": "f1da9a3fe37ffcb0273f52889240d8e3d13709220eca9c08b5b923f9def19409",
+ "together.switch.commands": "2c9cbb2b9f57c198bc03f8139dab43625153458dde0032e40eb447d4d6ee95b7",
"together.switch.failed": "ad8287436402edb5c91ee0cc4bfe88f3301bac459a7d49e4cd2c564fa20aa1b8",
"server.rooms.linkedAway": "015d3b80112be3f88333b361fb631d562fadeb17de17e2a534c1086560693f5e",
"server.rooms.linkedGone": "ed936f187bb453bf357fe8a9a76247ace6b4be4f1d483663ffd13ea386247cb0",
@@ -10697,6 +10698,7 @@
"task.bulk.retitleFailed": "fe8013b5add18967ec7df89806ef632a9a0c40012e6f651c0b236cc4127fbab6",
"together.switch.title": "2829f92e4a9012d2265d7a82806d5750743ca14c0600d688485825dd4272938a",
"together.switch.line": "f1da9a3fe37ffcb0273f52889240d8e3d13709220eca9c08b5b923f9def19409",
+ "together.switch.commands": "2c9cbb2b9f57c198bc03f8139dab43625153458dde0032e40eb447d4d6ee95b7",
"together.switch.failed": "ad8287436402edb5c91ee0cc4bfe88f3301bac459a7d49e4cd2c564fa20aa1b8",
"server.connect.secretSavedAsRef": "9578d655f5b960cf0234587447a68b629f8adcb0d9d035d2eb76f45652b14c4e",
"chat.liveness.silentMinutes": "0d56e0ec27d33c7fa5117b864431dd92087e65d6e846eef8eea7c909dd5b0ef6",
@@ -14741,6 +14743,7 @@
"engineSetup.cloudPasteHint": "e6e7b723c8ec76caec36a54986610db04f079430fd3a7a1986c627e18480a7ea",
"together.switch.title": "2829f92e4a9012d2265d7a82806d5750743ca14c0600d688485825dd4272938a",
"together.switch.line": "f1da9a3fe37ffcb0273f52889240d8e3d13709220eca9c08b5b923f9def19409",
+ "together.switch.commands": "2c9cbb2b9f57c198bc03f8139dab43625153458dde0032e40eb447d4d6ee95b7",
"together.switch.failed": "ad8287436402edb5c91ee0cc4bfe88f3301bac459a7d49e4cd2c564fa20aa1b8",
"server.connect.secretSavedAsRef": "9578d655f5b960cf0234587447a68b629f8adcb0d9d035d2eb76f45652b14c4e",
"chat.liveness.silentMinutes": "0d56e0ec27d33c7fa5117b864431dd92087e65d6e846eef8eea7c909dd5b0ef6",
@@ -18633,6 +18636,7 @@
"engineSetup.cloudPasteHint": "e6e7b723c8ec76caec36a54986610db04f079430fd3a7a1986c627e18480a7ea",
"together.switch.title": "2829f92e4a9012d2265d7a82806d5750743ca14c0600d688485825dd4272938a",
"together.switch.line": "f1da9a3fe37ffcb0273f52889240d8e3d13709220eca9c08b5b923f9def19409",
+ "together.switch.commands": "2c9cbb2b9f57c198bc03f8139dab43625153458dde0032e40eb447d4d6ee95b7",
"together.switch.failed": "ad8287436402edb5c91ee0cc4bfe88f3301bac459a7d49e4cd2c564fa20aa1b8",
"server.connect.secretSavedAsRef": "9578d655f5b960cf0234587447a68b629f8adcb0d9d035d2eb76f45652b14c4e",
"chat.liveness.silentMinutes": "0d56e0ec27d33c7fa5117b864431dd92087e65d6e846eef8eea7c909dd5b0ef6",
@@ -26788,6 +26792,7 @@
"task.bulk.retitleFailed": "fe8013b5add18967ec7df89806ef632a9a0c40012e6f651c0b236cc4127fbab6",
"together.switch.title": "2829f92e4a9012d2265d7a82806d5750743ca14c0600d688485825dd4272938a",
"together.switch.line": "f1da9a3fe37ffcb0273f52889240d8e3d13709220eca9c08b5b923f9def19409",
+ "together.switch.commands": "2c9cbb2b9f57c198bc03f8139dab43625153458dde0032e40eb447d4d6ee95b7",
"together.switch.failed": "ad8287436402edb5c91ee0cc4bfe88f3301bac459a7d49e4cd2c564fa20aa1b8",
"server.connect.secretSavedAsRef": "9578d655f5b960cf0234587447a68b629f8adcb0d9d035d2eb76f45652b14c4e",
"chat.liveness.silentMinutes": "0d56e0ec27d33c7fa5117b864431dd92087e65d6e846eef8eea7c909dd5b0ef6",
@@ -37860,6 +37865,7 @@
"together.state.offlineComputer": "6674e486fc361c62e6b2a88db89ca9fa42e8a85b6948cb1ad1c62fd54d0dea2c",
"together.switch.title": "2829f92e4a9012d2265d7a82806d5750743ca14c0600d688485825dd4272938a",
"together.switch.line": "f1da9a3fe37ffcb0273f52889240d8e3d13709220eca9c08b5b923f9def19409",
+ "together.switch.commands": "2c9cbb2b9f57c198bc03f8139dab43625153458dde0032e40eb447d4d6ee95b7",
"together.switch.failed": "ad8287436402edb5c91ee0cc4bfe88f3301bac459a7d49e4cd2c564fa20aa1b8",
"together.state.signin": "010c70e3503b8907767eb9dd465788bb7698d05ccddc383e0685031935a70db2",
"sidebar.newBotOn.computer": "176820cb9508e2bea1ff6e6fc3682f0fd1f40432ea13da222725fb7d7666cd13",
@@ -48905,6 +48911,7 @@
"together.state.offlineComputer": "6674e486fc361c62e6b2a88db89ca9fa42e8a85b6948cb1ad1c62fd54d0dea2c",
"together.switch.title": "2829f92e4a9012d2265d7a82806d5750743ca14c0600d688485825dd4272938a",
"together.switch.line": "f1da9a3fe37ffcb0273f52889240d8e3d13709220eca9c08b5b923f9def19409",
+ "together.switch.commands": "2c9cbb2b9f57c198bc03f8139dab43625153458dde0032e40eb447d4d6ee95b7",
"together.switch.failed": "ad8287436402edb5c91ee0cc4bfe88f3301bac459a7d49e4cd2c564fa20aa1b8",
"together.state.signin": "010c70e3503b8907767eb9dd465788bb7698d05ccddc383e0685031935a70db2",
"sidebar.newBotOn.computer": "176820cb9508e2bea1ff6e6fc3682f0fd1f40432ea13da222725fb7d7666cd13",
@@ -59383,6 +59390,7 @@
"server.routines.card.onceContinues": "47f36e2af395ab1cc4c1fa758a4e169404e1e0164fb07d2ad82914228cf99297",
"together.switch.title": "2829f92e4a9012d2265d7a82806d5750743ca14c0600d688485825dd4272938a",
"together.switch.line": "f1da9a3fe37ffcb0273f52889240d8e3d13709220eca9c08b5b923f9def19409",
+ "together.switch.commands": "2c9cbb2b9f57c198bc03f8139dab43625153458dde0032e40eb447d4d6ee95b7",
"together.switch.failed": "ad8287436402edb5c91ee0cc4bfe88f3301bac459a7d49e4cd2c564fa20aa1b8",
"server.connect.secretSavedAsRef": "9578d655f5b960cf0234587447a68b629f8adcb0d9d035d2eb76f45652b14c4e",
"chat.liveness.silentMinutes": "0d56e0ec27d33c7fa5117b864431dd92087e65d6e846eef8eea7c909dd5b0ef6",
@@ -63749,6 +63757,7 @@
"engineSetup.cloudPasteHint": "e6e7b723c8ec76caec36a54986610db04f079430fd3a7a1986c627e18480a7ea",
"together.switch.title": "2829f92e4a9012d2265d7a82806d5750743ca14c0600d688485825dd4272938a",
"together.switch.line": "f1da9a3fe37ffcb0273f52889240d8e3d13709220eca9c08b5b923f9def19409",
+ "together.switch.commands": "2c9cbb2b9f57c198bc03f8139dab43625153458dde0032e40eb447d4d6ee95b7",
"together.switch.failed": "ad8287436402edb5c91ee0cc4bfe88f3301bac459a7d49e4cd2c564fa20aa1b8",
"server.connect.secretSavedAsRef": "9578d655f5b960cf0234587447a68b629f8adcb0d9d035d2eb76f45652b14c4e",
"chat.liveness.silentMinutes": "0d56e0ec27d33c7fa5117b864431dd92087e65d6e846eef8eea7c909dd5b0ef6",
@@ -69872,6 +69881,7 @@
"engineSetup.cloudPasteHint": "e6e7b723c8ec76caec36a54986610db04f079430fd3a7a1986c627e18480a7ea",
"together.switch.title": "2829f92e4a9012d2265d7a82806d5750743ca14c0600d688485825dd4272938a",
"together.switch.line": "f1da9a3fe37ffcb0273f52889240d8e3d13709220eca9c08b5b923f9def19409",
+ "together.switch.commands": "2c9cbb2b9f57c198bc03f8139dab43625153458dde0032e40eb447d4d6ee95b7",
"together.switch.failed": "ad8287436402edb5c91ee0cc4bfe88f3301bac459a7d49e4cd2c564fa20aa1b8",
"server.connect.secretSavedAsRef": "9578d655f5b960cf0234587447a68b629f8adcb0d9d035d2eb76f45652b14c4e",
"chat.liveness.silentMinutes": "0d56e0ec27d33c7fa5117b864431dd92087e65d6e846eef8eea7c909dd5b0ef6",
@@ -75996,6 +76006,7 @@
"engineSetup.cloudPasteHint": "e6e7b723c8ec76caec36a54986610db04f079430fd3a7a1986c627e18480a7ea",
"together.switch.title": "2829f92e4a9012d2265d7a82806d5750743ca14c0600d688485825dd4272938a",
"together.switch.line": "f1da9a3fe37ffcb0273f52889240d8e3d13709220eca9c08b5b923f9def19409",
+ "together.switch.commands": "2c9cbb2b9f57c198bc03f8139dab43625153458dde0032e40eb447d4d6ee95b7",
"together.switch.failed": "ad8287436402edb5c91ee0cc4bfe88f3301bac459a7d49e4cd2c564fa20aa1b8",
"server.connect.secretSavedAsRef": "9578d655f5b960cf0234587447a68b629f8adcb0d9d035d2eb76f45652b14c4e",
"chat.liveness.silentMinutes": "0d56e0ec27d33c7fa5117b864431dd92087e65d6e846eef8eea7c909dd5b0ef6",
@@ -83317,6 +83328,7 @@
"task.bulk.retitleFailed": "fe8013b5add18967ec7df89806ef632a9a0c40012e6f651c0b236cc4127fbab6",
"together.switch.title": "2829f92e4a9012d2265d7a82806d5750743ca14c0600d688485825dd4272938a",
"together.switch.line": "f1da9a3fe37ffcb0273f52889240d8e3d13709220eca9c08b5b923f9def19409",
+ "together.switch.commands": "2c9cbb2b9f57c198bc03f8139dab43625153458dde0032e40eb447d4d6ee95b7",
"together.switch.failed": "ad8287436402edb5c91ee0cc4bfe88f3301bac459a7d49e4cd2c564fa20aa1b8",
"server.connect.secretSavedAsRef": "9578d655f5b960cf0234587447a68b629f8adcb0d9d035d2eb76f45652b14c4e",
"chat.liveness.silentMinutes": "0d56e0ec27d33c7fa5117b864431dd92087e65d6e846eef8eea7c909dd5b0ef6",
@@ -90695,6 +90707,7 @@
"task.bulk.retitleFailed": "fe8013b5add18967ec7df89806ef632a9a0c40012e6f651c0b236cc4127fbab6",
"together.switch.title": "2829f92e4a9012d2265d7a82806d5750743ca14c0600d688485825dd4272938a",
"together.switch.line": "f1da9a3fe37ffcb0273f52889240d8e3d13709220eca9c08b5b923f9def19409",
+ "together.switch.commands": "2c9cbb2b9f57c198bc03f8139dab43625153458dde0032e40eb447d4d6ee95b7",
"together.switch.failed": "ad8287436402edb5c91ee0cc4bfe88f3301bac459a7d49e4cd2c564fa20aa1b8",
"server.connect.secretSavedAsRef": "9578d655f5b960cf0234587447a68b629f8adcb0d9d035d2eb76f45652b14c4e",
"chat.liveness.silentMinutes": "0d56e0ec27d33c7fa5117b864431dd92087e65d6e846eef8eea7c909dd5b0ef6",
@@ -97886,6 +97899,7 @@
"task.bulk.retitleFailed": "fe8013b5add18967ec7df89806ef632a9a0c40012e6f651c0b236cc4127fbab6",
"together.switch.title": "2829f92e4a9012d2265d7a82806d5750743ca14c0600d688485825dd4272938a",
"together.switch.line": "f1da9a3fe37ffcb0273f52889240d8e3d13709220eca9c08b5b923f9def19409",
+ "together.switch.commands": "2c9cbb2b9f57c198bc03f8139dab43625153458dde0032e40eb447d4d6ee95b7",
"together.switch.failed": "ad8287436402edb5c91ee0cc4bfe88f3301bac459a7d49e4cd2c564fa20aa1b8",
"server.connect.secretSavedAsRef": "9578d655f5b960cf0234587447a68b629f8adcb0d9d035d2eb76f45652b14c4e",
"chat.liveness.silentMinutes": "0d56e0ec27d33c7fa5117b864431dd92087e65d6e846eef8eea7c909dd5b0ef6",
@@ -110319,6 +110333,7 @@
"task.bulk.retitleFailed": "fe8013b5add18967ec7df89806ef632a9a0c40012e6f651c0b236cc4127fbab6",
"together.switch.title": "2829f92e4a9012d2265d7a82806d5750743ca14c0600d688485825dd4272938a",
"together.switch.line": "f1da9a3fe37ffcb0273f52889240d8e3d13709220eca9c08b5b923f9def19409",
+ "together.switch.commands": "2c9cbb2b9f57c198bc03f8139dab43625153458dde0032e40eb447d4d6ee95b7",
"together.switch.failed": "ad8287436402edb5c91ee0cc4bfe88f3301bac459a7d49e4cd2c564fa20aa1b8",
"server.connect.secretSavedAsRef": "9578d655f5b960cf0234587447a68b629f8adcb0d9d035d2eb76f45652b14c4e",
"chat.liveness.silentMinutes": "0d56e0ec27d33c7fa5117b864431dd92087e65d6e846eef8eea7c909dd5b0ef6",
diff --git a/src/locales/tr.json b/src/locales/tr.json
index bc7452fc7f..04e1110273 100644
--- a/src/locales/tr.json
+++ b/src/locales/tr.json
@@ -6008,6 +6008,7 @@
"remote.tailscale.needsApproval": "Bu bilgisayar Tailscale ağınızda onay bekliyor. Tailscale yönetici konsolunda onaylayın, ardından tekrar deneyin.",
"together.switch.title": "Bu bilgisayar ve Cloud'um birlikte",
"together.switch.line": "Varsayılan olarak kapalı. Cloud'daki botlar ile bu bilgisayardaki botlar tek listede görünür ve her biri bulunduğu yerde açılır.",
+ "together.switch.commands": "Açtığınızda Cloud'um içindeki botlar bu bilgisayarda komut da çalıştırabilir; bunu OpenMausBot simgesinden kapatabilirsiniz.",
"together.switch.failed": "Kaydedilemedi. Yeniden deneyin.",
"imageGen.complexity.label": "Ayrıntı düzeyi",
"imageGen.complexity.help": "GPT-Image-2.6 görsellerinin ne kadar ayrıntılı olacağı. Düşük daha basit ve daha hızlıdır.",
diff --git a/src/locales/uk.json b/src/locales/uk.json
index 38df304cb2..8dc1f4e4a1 100644
--- a/src/locales/uk.json
+++ b/src/locales/uk.json
@@ -4193,6 +4193,7 @@
"remote.tailscale.needsApproval": "Цей комп’ютер чекає на схвалення у вашій мережі Tailscale. Схваліть його в консолі адміністратора Tailscale, потім спробуйте ще раз.",
"together.switch.title": "Цей комп'ютер і Моя хмара разом",
"together.switch.line": "Типово вимкнено. Боти з хмари й боти цього комп'ютера показані в одному списку, і кожен відкривається там, де він є.",
+ "together.switch.commands": "Якщо ввімкнути, боти з «Моя хмара» зможуть також виконувати команди на цьому комп'ютері; це можна вимкнути через значок OpenMausBot.",
"together.switch.failed": "Не вдалося зберегти. Спробуйте ще раз.",
"imageGen.complexity.label": "Рівень деталізації",
"imageGen.complexity.help": "Наскільки детальними є зображення GPT-Image-2.6. Нижчий рівень простіший і швидший.",
diff --git a/src/locales/vi.json b/src/locales/vi.json
index b3065d4634..bd48d6b4c7 100644
--- a/src/locales/vi.json
+++ b/src/locales/vi.json
@@ -6008,6 +6008,7 @@
"remote.tailscale.needsApproval": "Máy tính này đang chờ được phê duyệt trên mạng Tailscale của bạn. Hãy phê duyệt trong bảng điều khiển quản trị Tailscale, rồi thử lại.",
"together.switch.title": "Máy tính này và My Cloud cùng nhau",
"together.switch.line": "Mặc định là tắt. Bot trên Cloud và bot trên máy tính này hiện trong một danh sách, và mỗi bot mở ở nơi nó đang ở.",
+ "together.switch.commands": "Khi bật, bot trên My Cloud cũng có thể chạy lệnh trên máy tính này; bạn có thể tắt việc đó từ biểu tượng OpenMausBot.",
"together.switch.failed": "Không lưu được. Hãy thử lại.",
"imageGen.complexity.label": "Mức chi tiết",
"imageGen.complexity.help": "Mức độ chi tiết của ảnh GPT-Image-2.6. Thấp hơn thì đơn giản và nhanh hơn.",
diff --git a/src/locales/zh-tw.json b/src/locales/zh-tw.json
index c7cfed257d..a13c279045 100644
--- a/src/locales/zh-tw.json
+++ b/src/locales/zh-tw.json
@@ -10331,6 +10331,7 @@
"remote.tailscale.needsApproval": "這台電腦正在等待你的 Tailscale 網路核准。請在 Tailscale 管理主控台中核准它,然後再試一次。",
"together.switch.title": "這台電腦和 My Cloud 合在一起",
"together.switch.line": "預設為關閉。Cloud 上的機器人和這台電腦上的機器人顯示在同一個清單中,各自在所在的位置開啟。",
+ "together.switch.commands": "開啟後,My Cloud 上的機器人也能在這台電腦上執行指令;你可以從 OpenMausBot 圖示關閉這項權限。",
"together.switch.failed": "無法儲存。請再試一次。",
"imageGen.complexity.label": "細節等級",
"imageGen.complexity.help": "GPT-Image-2.6 圖片的細節程度。越低越簡單、越快。",
diff --git a/src/locales/zh.json b/src/locales/zh.json
index da170c4869..fd8ebe7f60 100644
--- a/src/locales/zh.json
+++ b/src/locales/zh.json
@@ -10213,6 +10213,7 @@
"together.state.offlineComputer": "现在无法读取这台电脑上的机器人。",
"together.switch.title": "这台电脑和 My Cloud 合在一起",
"together.switch.line": "默认关闭。Cloud 上的机器人和这台电脑上的机器人显示在同一个列表中,各自在所在的位置打开。",
+ "together.switch.commands": "开启后,My Cloud 上的机器人也能在这台电脑上运行命令;你可以从 OpenMausBot 图标关闭此权限。",
"together.switch.failed": "未能保存。请重试。",
"together.state.signin": "打开一次 My Cloud 以登录。",
"sidebar.newBotOn.computer": "在这台电脑上新建机器人",