Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Bring your stuff lists My Cloud's bots, with one Move each
milind-soniec5c30119f9c
diff --git a/docs/team-cloud.md b/docs/team-cloud.mdindex 368ac5748a..5fa197bc5b 100644--- a/docs/team-cloud.md+++ b/docs/team-cloud.md@@ -397,6 +397,18 @@ or posts in one.On a My Cloud and on a desktop no bot has an owner: nothing is routed, and one Chief per department holds as before.Every bot still reaches every bot there.+## Bringing a bot in from My Cloud++Someone with a My Cloud moves a bot into a team from two places: **Move to Acme** in the bot's menu on My Cloud, and on the+team's own page in the desktop app, **Bring your stuff**, which lists My Cloud's bots with one **Move** each. Both say the+same before anything moves: who can use it there, what goes (instructions, skills, files, routines, their chats), what+stays on My Cloud (what the bot remembers, their connections, MausBot), and that there is no way back.++A team's server isn't the person's own, so its page gets less than My Cloud's does (`electron/team-move-main.mjs`). It reads+only the names of My Cloud's bots and which can go, and only while it is the window's active page and the Admin's verified+session says the person is in that team. It names a bot by id, and main reads the name from My Cloud. The confirm is main's+own window, in English, because a page could soften or skip one of its own.+## Who can use a botEach team bot is shared like a document: what everyone in the team gets, and a level for each person added. A person'sdiff --git a/electron/cloud-send.d.mts b/electron/cloud-send.d.mtsindex 6311a1e80d..676bbb061d 100644--- a/electron/cloud-send.d.mts+++ b/electron/cloud-send.d.mts@@ -104,6 +104,10 @@ export interface CloudSendPageBridge {teams?(): Promise<{ teams: Array<{ id: string; name: string; ready: boolean }> }>;/** Moves one bot into one of those teams (a real click). */moveToTeam?(botId: string, teamId: string, name: string): Promise<import("./team-move.mjs").TeamMoveView | null>;+ /** A team's own page: the bots its person has on My Cloud, and one moved in once they agree in main's own confirm. */+ teamBring?(): Promise<{ team?: { id: string; name: string; ready: boolean }; bots: Array<{ id: string; name: string; stays?: "default" | "chief" | "last" }> }>;+ teamBringMove?(botId: string): Promise<{ started: boolean; move: import("./team-move.mjs").TeamMoveView | null }>;+ teamBringStatus?(): Promise<import("./team-move.mjs").TeamMoveView | null>;teamRetry?(): Promise<import("./team-move.mjs").TeamMoveView | null>;/** Shows that team's page, where the bot now lives. */openTeam?(teamId: string): Promise<void>;diff --git a/electron/cloud-send.node-test.mjs b/electron/cloud-send.node-test.mjsindex d36aa90bb5..f72dce71da 100644--- a/electron/cloud-send.node-test.mjs+++ b/electron/cloud-send.node-test.mjs@@ -201,7 +201,7 @@ function preload({ remote = false, activation = false } = {}) {}test("the bridge: either page gets only the move's line and the switch that keeps this computer's bots here; its Try again, moving a bot into a team, and turning that switch go only from the person's click on My Cloud's page", async () => {- const keys = ["notice", "dismiss", "moveRetry", "teams", "moveToTeam", "teamRetry", "openTeam", "keepHere", "setKeepHere", "onNotice"];+ const keys = ["notice", "dismiss", "moveRetry", "teams", "moveToTeam", "teamRetry", "openTeam", "teamBring", "teamBringMove", "teamBringStatus", "keepHere", "setKeepHere", "onNotice"];const local = preload();assert.equal(local.bridge.cloudSend, undefined);assert.equal(local.bridge.cloudLogins, undefined);@@ -213,6 +213,7 @@ test("the bridge: either page gets only the move's line and the switch that keepawait assert.rejects(page.bridge.cloudSendPage.moveRetry(), /Try again/);await assert.rejects(page.bridge.cloudSendPage.moveToTeam("scout", "team-acme", "Scout"), /Choose Move/);await assert.rejects(page.bridge.cloudSendPage.teamRetry(), /Try again/);+ await assert.rejects(page.bridge.cloudSendPage.teamBringMove("scout"), /Choose Move/);await assert.rejects(page.bridge.cloudSendPage.setKeepHere(true), /Turn the switch/);await page.bridge.cloudSendPage.keepHere();assert.deepEqual(page.invoked.filter(([channel]) => channel.startsWith("cloud-send") || channel === "one-home:keep-set"), []);diff --git a/electron/main.mjs b/electron/main.mjsindex a3369f3856..5d6d56e3a2 100644--- a/electron/main.mjs+++ b/electron/main.mjs@@ -2634,7 +2634,7 @@ const ownCloudPage = event => {if (!origin || origin === myCloud() || !cloudAccount?.isOwnCloud(origin) || !cloudPageSenderAllowed(event, { contents, homeOrigin: origin, activeOrigin: origin })) return null;return otherOwnClouds(cloudAccount.state().clouds).find(cloud => cloud.origin === origin) ?? null;};-const updaterPageAllowed = event => cloudPageAsking(event) !== null || ownCloudPage(event) !== null;+const updaterPageAllowed = event => cloudPageAsking(event) !== null || ownCloudPage(event) !== null; const activePageOrigin = event => { const origin = activeEnvironment(environmentsState)?.origin, contents = mainWindow && !mainWindow.isDestroyed() ? mainWindow.webContents : null; return origin && cloudPageSenderAllowed(event, { contents, homeOrigin: origin, activeOrigin: origin }) ? origin : null; }; const confirmTeamMove = async words => mainWindow && !mainWindow.isDestroyed() && (await dialog.showMessageBox(mainWindow, { type: "warning", ...words, defaultId: 1, cancelId: 1, noLink: true })).response === 0;const updaterPageOffered = event => {if (updaterPageAllowed(event)) return true;if (desktopRemoteAccess || cloudSignInRestored) return false;@@ -2657,7 +2657,7 @@ const cloudLook = createCloudLook({ store: lookFile(() => path.join(app.getPath(const cloudBuy = installCloudBuy({ ipcMain, guard: localWorkspaceOnly, client: ensureCloudAccount, offersReady: cloudOffersReady, clipboard, look: cloudLook });const localServerRequest = (route, init = {}) => (serverProc && serverReady ? fetch(`http://127.0.0.1:${SERVER_PORT}${route}`, { ...init, redirect: "error", credentials: "omit", headers: { ...init.headers, [DESKTOP_MUTATION_HEADER]: desktopMutationToken } }) : Promise.reject(new Error("not running")));const teamProfileSeeds = createTeamProfileSeeds({ teamFetch: (...args) => session.defaultSession.fetch(...args), localRequest: localServerRequest, log: slog });-const oneHome = installOneHome({ ipcMain, clean: cleanWorkspace, cloudPage: cloudPageAsking, server: () => serverProc, cookieFetch: (...args) => session.defaultSession.fetch(...args), home: () => (myCloud() && cloudAccount ? { origin: myCloud(), grant: () => cloudAccount.pairHome() } : null), power: cloudPower, file: () => path.join(app.getPath("userData"), "cloud-send.json"), localRequest: localServerRequest, space: { disk: () => cloudPlanDisk(ensureCloudAccount().state()), grow: sizeGb => ensureCloudAccount().growDisk(sizeGb) }, reconnect: origin => signInCloudSession({ origin, mine: myCloud(), pair: () => ensureCloudAccount().pairHome(), fetch: (...args) => session.defaultSession.fetch(...args) }), window: () => (desktopRemoteAccess ? null : mainWindow), localOrigin: rendererOrigin, account: () => cloudAccount, journalFile: () => path.join(app.getPath("userData"), "one-home.json"), tempRoot: () => path.join(app.getPath("temp"), "openmaus-one-home"), lend: projects => sharingController().lendProjects(projects), phone: { paired: () => companionEnabledAtRest(), stop: () => stopDesktopCompanion({ remember: false }).then(() => {}), start: () => startDesktopCompanion({ waitForHosted: false, remember: false }).then(() => {}) }, openHome: () => void showHome({ place: "cloud" }), openTeam: team => void showHome({ place: { team: team.id, name: team.name } }), openLocal: () => void showHome(), restart: () => relaunchAfterDesktopRemoteChange(), version: app.getVersion(), log: slog, other: () => ownHome }); ownHome = installOwnHome({ localRequest: localServerRequest, fetch: (...args) => session.defaultSession.fetch(...args), environments: () => environmentsState.environments, handoff: what => oneHome.handoff(what), cloudJournal: () => oneHome.journal(), journal: jsonFile(path.join(app.getPath("userData"), "own-home.json")), choice: jsonFile(path.join(app.getPath("userData"), "own-home-choice.json")), sendState: jsonFile(path.join(app.getPath("userData"), "own-home-send.json")), lend: (projects, place) => sharingController().lendProjects(projects, place), phone: { paired: () => companionEnabledAtRest(), stop: () => stopDesktopCompanion({ remember: false }).then(() => {}), start: () => startDesktopCompanion({ waitForHosted: false, remember: false }).then(() => {}) }, openHome: place => void workspaceMenuAction(() => switchEnvironment(place.id)), lastInput: oneHome.lastInput, version: app.getVersion(), log: slog, onChange: () => { oneHome.publish(); computerSharing?.cloudChanged(); railChanged(); } }); twoPlaces = installTwoPlacesMain({ ipcMain, guard: localWorkspaceOnly, localRequest: localServerRequest, fetch: (...args) => session.defaultSession.fetch(...args), environments: () => environmentsState.environments, cloud: () => ({ origin: myCloud(), asleep: cloudPower.asleep() }), oneHome, ownHome, dismissed: jsonFile(path.join(app.getPath("userData"), "two-places.json")), account: () => cloudAccount, teamsRemembered: jsonFile(path.join(app.getPath("userData"), "team-places.json")), log: slog, tell: () => { if (mainWindow && !mainWindow.isDestroyed() && senderIsLocal({ sender: mainWindow.webContents })) mainWindow.webContents.send("two-places:changed"); } });+const oneHome = installOneHome({ ipcMain, clean: cleanWorkspace, cloudPage: cloudPageAsking, pageOrigin: activePageOrigin, confirmMove: confirmTeamMove, server: () => serverProc, cookieFetch: (...args) => session.defaultSession.fetch(...args), home: () => (myCloud() && cloudAccount ? { origin: myCloud(), grant: () => cloudAccount.pairHome() } : null), power: cloudPower, file: () => path.join(app.getPath("userData"), "cloud-send.json"), localRequest: localServerRequest, space: { disk: () => cloudPlanDisk(ensureCloudAccount().state()), grow: sizeGb => ensureCloudAccount().growDisk(sizeGb) }, reconnect: origin => signInCloudSession({ origin, mine: myCloud(), pair: () => ensureCloudAccount().pairHome(), fetch: (...args) => session.defaultSession.fetch(...args) }), window: () => (desktopRemoteAccess ? null : mainWindow), localOrigin: rendererOrigin, account: () => cloudAccount, journalFile: () => path.join(app.getPath("userData"), "one-home.json"), tempRoot: () => path.join(app.getPath("temp"), "openmaus-one-home"), lend: projects => sharingController().lendProjects(projects), phone: { paired: () => companionEnabledAtRest(), stop: () => stopDesktopCompanion({ remember: false }).then(() => {}), start: () => startDesktopCompanion({ waitForHosted: false, remember: false }).then(() => {}) }, openHome: () => void showHome({ place: "cloud" }), openTeam: team => void showHome({ place: { team: team.id, name: team.name } }), openLocal: () => void showHome(), restart: () => relaunchAfterDesktopRemoteChange(), version: app.getVersion(), log: slog, other: () => ownHome }); ownHome = installOwnHome({ localRequest: localServerRequest, fetch: (...args) => session.defaultSession.fetch(...args), environments: () => environmentsState.environments, handoff: what => oneHome.handoff(what), cloudJournal: () => oneHome.journal(), journal: jsonFile(path.join(app.getPath("userData"), "own-home.json")), choice: jsonFile(path.join(app.getPath("userData"), "own-home-choice.json")), sendState: jsonFile(path.join(app.getPath("userData"), "own-home-send.json")), lend: (projects, place) => sharingController().lendProjects(projects, place), phone: { paired: () => companionEnabledAtRest(), stop: () => stopDesktopCompanion({ remember: false }).then(() => {}), start: () => startDesktopCompanion({ waitForHosted: false, remember: false }).then(() => {}) }, openHome: place => void workspaceMenuAction(() => switchEnvironment(place.id)), lastInput: oneHome.lastInput, version: app.getVersion(), log: slog, onChange: () => { oneHome.publish(); computerSharing?.cloudChanged(); railChanged(); } }); twoPlaces = installTwoPlacesMain({ ipcMain, guard: localWorkspaceOnly, localRequest: localServerRequest, fetch: (...args) => session.defaultSession.fetch(...args), environments: () => environmentsState.environments, cloud: () => ({ origin: myCloud(), asleep: cloudPower.asleep() }), oneHome, ownHome, dismissed: jsonFile(path.join(app.getPath("userData"), "two-places.json")), account: () => cloudAccount, teamsRemembered: jsonFile(path.join(app.getPath("userData"), "team-places.json")), log: slog, tell: () => { if (mainWindow && !mainWindow.isDestroyed() && senderIsLocal({ sender: mainWindow.webContents })) mainWindow.webContents.send("two-places:changed"); } });// Teams from the verified session as places this window shows (home-places.mjs): the one to open next time, and its lines.const homePlaces = createHomePlaces({ store: jsonFile(path.join(app.getPath("userData"), "home-place.json")), environments: () => environmentsState, persist: persistEnvironments, makeId: randomUUID, homeOrigin: myCloud, log: slog });const homeWindow = createHomeWindow({ clean: cleanWorkspace, journal: oneHome.journal, frozen: oneHome.marker, account: () => (app.isPackaged && !desktopRemoteAccess ? cloudAccount : null), restored: cloudAccountRestored,diff --git a/electron/one-home-main.mjs b/electron/one-home-main.mjsindex 9222c6c93f..4a9dcaafec 100644--- a/electron/one-home-main.mjs+++ b/electron/one-home-main.mjs@@ -141,7 +141,7 @@ export function installOneHome({ localRequest: anyServer, clean = null, account,const moveSession = createMoveSession({ open: (target) => openOwnerSession(target, fetchImpl, { label: MOVE_LABEL, background: false }) });const send = installCloudSend({ ...sendDeps, local: (route, init) => localRequest(route, { method: init?.method ?? "GET", signal: AbortSignal.timeout(30_000) }),move: () => (home?.view() === null && other()?.view() ? other() : home), teamMove: () => teamMove, moveSession });- teamMove = installTeamMove({ ipcMain: sendDeps.ipcMain, cloudPage: sendDeps.cloudPage, home: sendDeps.home, account: () => account(), fetch: fetchImpl, openTeam,+ teamMove = installTeamMove({ ipcMain: sendDeps.ipcMain, cloudPage: sendDeps.cloudPage, pageOrigin: sendDeps.pageOrigin, confirmMove: sendDeps.confirmMove, home: sendDeps.home, account: () => account(), fetch: fetchImpl, openTeam,file: () => join(dirname(journalFile()), "team-move-send.json"), journalFile: () => join(dirname(journalFile()), "team-moves.json"), ...(teamJournal ? { journal: teamJournal } : {}),onChange: () => send.publish(), log });const journal = kept ?? jsonFile(journalFile);diff --git a/electron/preload.cjs b/electron/preload.cjsindex c32ec6b923..30b1d39229 100644--- a/electron/preload.cjs+++ b/electron/preload.cjs@@ -476,6 +476,11 @@ const bridge = {teamRetry: () => navigator.userActivation?.isActive === true? ipcRenderer.invoke("cloud-send:team-retry") : Promise.reject(new Error("Choose Try again to move.")),openTeam: teamId => ipcRenderer.invoke("cloud-send:team-open", String(teamId)),+ // A team's own page: its person's bots on My Cloud, and one moved in once they agree in main's own confirm.+ teamBring: () => ipcRenderer.invoke("cloud-send:team-bring"),+ teamBringMove: botId => navigator.userActivation?.isActive === true+ ? ipcRenderer.invoke("cloud-send:team-bring-move", String(botId)) : Promise.reject(new Error("Choose Move to move the bot.")),+ teamBringStatus: () => ipcRenderer.invoke("cloud-send:team-bring-status"),// Settings → MausBot Cloud, Advanced: "Keep this computer's bots on this computer".keepHere: () => ipcRenderer.invoke("one-home:keep"),setKeepHere: on => isLocalPage || navigator.userActivation?.isActive === truediff --git a/electron/team-move-bring.node-test.mjs b/electron/team-move-bring.node-test.mjsnew file mode 100644index 0000000000..d40db9e09a--- /dev/null+++ b/electron/team-move-bring.node-test.mjs@@ -0,0 +1,126 @@+// A team's own page bringing a bot in from My Cloud: the team is the page's own by the Admin's word, the bots and their+// names come from My Cloud, and nothing moves until the person says so in main's own confirm.+import assert from "node:assert/strict";+import { mkdtempSync, readFileSync, rmSync } from "node:fs";+import { tmpdir } from "node:os";+import { join } from "node:path";+import { test } from "node:test";++import { bringableBots, installTeamMove, teamMoveConfirmWords } from "./team-move-main.mjs";++const HOME = "https://home.example.test", TEAM = "https://acme.example.test", OTHER = "https://other.example.test";+const state = { status: "connected", teams: [+ { id: "team-acme", name: "Acme", machine: { origin: TEAM, status: "ready" } },+ { id: "team-waiting", name: "Waiting", machine: { origin: OTHER, status: "provisioning" } },+] };+const BOTS = [+ { id: "maus-bot-1", name: "MausBot", defaultBot: {} },+ { id: "atlas-bot-1", name: "Atlas" },+ { id: "chief-bot-1", name: "Luna", chiefOfStaff: true },+ { id: "old-bot-01", name: "Hidden", hidden: true },+ { id: "gone-bot-01", name: "Gone", movedTo: { state: "moved", team: { id: "team-acme", name: "Acme" } } },+];++function fixture({ agrees = false, home = true, bots = BOTS } = {}) {+ const dir = mkdtempSync(join(tmpdir(), "omb-team-bring-"));+ const handlers = new Map(), asked = [], pairs = [];+ const journal = { value: null, read() { return this.value; }, write(next) { this.value = next; } };+ const move = installTeamMove({+ ipcMain: { handle: (channel, handler) => handlers.set(channel, handler) },+ cloudPage: () => null,+ pageOrigin: (event) => event.origin ?? null,+ confirmMove: async (words) => { asked.push(words); return agrees; },+ home: () => (home ? { origin: HOME, grant: async () => { pairs.push("grant"); return { origin: HOME, code: "C" }; } } : null),+ account: () => ({ state: () => state, pairTeam: async () => { throw new Error("no team pairing in this test"); } }),+ file: () => join(dir, "send.json"), journalFile: () => join(dir, "moves.json"), journal,+ fetch: async (url, init) => {+ if (String(url).endsWith("/api/auth/pair")) return new Response(JSON.stringify({ token: "omb_sess_fixture" }), { status: 200 });+ if (String(url).endsWith("/api/bots?messages=0")) return new Response(JSON.stringify({ bots }), { status: 200 });+ if (String(url).endsWith("/api/auth/logout")) return new Response("{}", { status: 200 });+ return new Response(JSON.stringify({ url, method: init?.method }), { status: 503 });+ },+ });+ return { handlers, asked, pairs, journal, move, done: () => { move.close(); rmSync(dir, { recursive: true, force: true }); } };+}+const OWN = { origin: TEAM };++test("lists My Cloud's bots to that team's own page, each with why it can't go, and to nobody else", async () => {+ const { handlers, done } = fixture();+ try {+ const list = handlers.get("cloud-send:team-bring");+ assert.deepEqual(await list(OWN), { team: { id: "team-acme", name: "Acme", ready: true }, bots: [+ { id: "maus-bot-1", name: "MausBot", stays: "default" }, { id: "atlas-bot-1", name: "Atlas" }, { id: "chief-bot-1", name: "Luna", stays: "chief" },+ ] });+ assert.deepEqual(await list({ origin: "https://stranger.example.test" }), { bots: [] }, "a page that isn't one of the person's teams");+ assert.deepEqual(await list({}), { bots: [] }, "a sender that isn't the window's own page");+ } finally { done(); }+});++test("nothing to list without a My Cloud, and a My Cloud that can't answer says nothing", async () => {+ const none = fixture({ home: false });+ try { assert.deepEqual((await none.handlers.get("cloud-send:team-bring")(OWN)).bots, []); } finally { none.done(); }+ const broken = fixture({ bots: null });+ try { assert.deepEqual((await broken.handlers.get("cloud-send:team-bring")(OWN)).bots, []); } finally { broken.done(); }+});++test("reads My Cloud once while the list is fresh: every read is one of the Admin's codes", async () => {+ const { handlers, pairs, done } = fixture();+ try {+ await handlers.get("cloud-send:team-bring")(OWN);+ await handlers.get("cloud-send:team-bring")(OWN);+ assert.equal(pairs.length, 1);+ } finally { done(); }+});++test("moves nothing until the person agrees in main's own confirm, which says there's no way back and what stays", async () => {+ const { handlers, asked, journal, done } = fixture({ agrees: false });+ try {+ const answer = await handlers.get("cloud-send:team-bring-move")(OWN, "atlas-bot-1");+ assert.deepEqual(answer, { started: false, move: null });+ assert.equal(journal.value, null);+ assert.equal(asked[0].message, "Move Atlas to Acme?");+ assert.match(asked[0].detail, /no way back/);+ assert.match(asked[0].detail, /what Atlas remembers, your connections, and MausBot/);+ assert.deepEqual(asked[0].buttons, ["Move to Acme", "Cancel"]);+ } finally { done(); }+});++test("moves the bot once they agree, into the page's own team, under the name My Cloud has", async () => {+ const { handlers, journal, done } = fixture({ agrees: true });+ try {+ const answer = await handlers.get("cloud-send:team-bring-move")(OWN, "atlas-bot-1", "a name from the page");+ assert.equal(answer.started, true);+ assert.deepEqual(journal.value.moves.map((move) => [move.bot.id, move.bot.name, move.team.id]), [["atlas-bot-1", "Atlas", "team-acme"]]);+ assert.deepEqual(await handlers.get("cloud-send:team-bring-status")(OWN), { bot: { id: "atlas-bot-1", name: "Atlas" }, team: { id: "team-acme", name: "Acme" }, phase: "moving" });+ assert.equal(await handlers.get("cloud-send:team-bring-status")({ origin: OTHER }), null, "another team's page reads nothing of it");+ } finally { done(); }+});++test("refuses what can't go, a bot My Cloud doesn't have, a team not ready and a page that isn't the team's, before asking", async () => {+ const { handlers, asked, journal, done } = fixture({ agrees: true });+ try {+ const move = handlers.get("cloud-send:team-bring-move");+ await assert.rejects(move(OWN, "maus-bot-1"), /Choose one of your bots/);+ await assert.rejects(move(OWN, "chief-bot-1"), /Choose one of your bots/);+ await assert.rejects(move(OWN, "elsewhere-1"), /Choose one of your bots/);+ await assert.rejects(move({ origin: OTHER }, "atlas-bot-1"), /Open the team/);+ await assert.rejects(move({}, "atlas-bot-1"), /Open the team/);+ assert.deepEqual(asked, []);+ assert.equal(journal.value, null);+ } finally { done(); }+});++test("keeps the last bot on My Cloud, and leaves out what already left", () => {+ assert.deepEqual(bringableBots([{ id: "atlas-bot-1", name: "Atlas" }]), [{ id: "atlas-bot-1", name: "Atlas", stays: "last" }]);+ assert.deepEqual(bringableBots([{ id: "gone-bot-01", name: "Gone", movedTo: {} }, { id: "atlas-bot-1", name: "Atlas" }, { id: "x y", name: "Bad id" }]), [{ id: "atlas-bot-1", name: "Atlas", stays: "last" }]);+ assert.deepEqual(bringableBots(null), []);+});++test("its confirm says what the page's confirm says, word for word", () => {+ const en = JSON.parse(readFileSync(new URL("../src/locales/en.json", import.meta.url), "utf8"));+ const fill = (key) => en[key].replaceAll("{bot}", "Atlas").replaceAll("{team}", "Acme");+ const words = teamMoveConfirmWords({ bot: "Atlas", team: "Acme" });+ assert.equal(words.message, fill("teamMove.title"));+ assert.equal(words.buttons[0], fill("teamMove.confirm"));+ for (const key of ["teamMove.everyone", "teamMove.goes", "teamMove.private", "teamMove.staysOnMyCloud", "teamMove.noWayBack"]) assert.ok(words.detail.includes(fill(key)), key);+});diff --git a/electron/team-move-main.d.mts b/electron/team-move-main.d.mtsindex cdc6dac799..b9b0cc128e 100644--- a/electron/team-move-main.d.mts+++ b/electron/team-move-main.d.mts@@ -2,9 +2,14 @@ import type { TeamMoveView } from "./team-move.mjs";export function moveTeams(state: unknown): Array<{ id: string; name: string; origin: string; ready: boolean }>;+export function teamMoveConfirmWords(names: { bot: string; team: string }): { message: string; detail: string; buttons: string[] };+export function bringableBots(listed: unknown): Array<{ id: string; name: string; stays?: "default" | "chief" | "last" }>;+export function installTeamMove(deps: {ipcMain: { handle(channel: string, handler: (...args: any[]) => unknown): void };cloudPage(event: unknown): "local" | "cloud" | null;+ pageOrigin?(event: unknown): string | null;+ confirmMove?(words: { message: string; detail: string; buttons: string[] }): Promise<boolean>;home(): { origin: string; grant(): Promise<{ origin: string; code: string }> } | null;account(): { state(): any; pairTeam(teamId: string): Promise<{ origin: string; code: string }> } | null;file(): string;diff --git a/electron/team-move-main.mjs b/electron/team-move-main.mjsindex 2c93c57f0d..4dbb046e1a 100644--- a/electron/team-move-main.mjs+++ b/electron/team-move-main.mjs@@ -38,6 +38,32 @@ export function moveTeams(state) {.map((team) => ({ id: team.id, name: team.name, origin: team.machine.origin, ready: team.machine.status === "ready" }));}+/** What a native confirm says when a team's own page asks to bring a bot in: main's words, so no page can soften them. */+export function teamMoveConfirmWords({ bot, team }) {+ return {+ message: `Move ${bot} to ${team}?`,+ detail: [+ `Everyone in ${team} can use ${bot}. Only ${team}'s admins can change it.`,+ `Goes with ${bot}: instructions, skills, files, routines, and your chats with ${bot}`,+ "Your chats stay private there: only you can see them.",+ `Stays on My Cloud: what ${bot} remembers, your connections, and MausBot`,+ "There's no way back: you can't move it back to My Cloud.",+ ].join("\n\n"),+ buttons: [`Move to ${team}`, "Cancel"],+ };+}++const BRING_LIST_MS = 30_000;++/** The bots on My Cloud a team's page offers: in the order My Cloud lists them, each with why it can't go, if it can't. */+export function bringableBots(listed) {+ const here = (Array.isArray(listed) ? listed : []).filter((bot) => record(bot) && ID.test(bot.id ?? "") && typeof bot.name === "string" && !bot.hidden && !bot.movedTo);+ return here.map((bot) => {+ const stays = bot.defaultBot ? "default" : bot.chiefOfStaff ? "chief" : here.length <= 1 ? "last" : null;+ return { id: bot.id, name: bot.name, ...(stays ? { stays } : {}) };+ });+}+/** A session opened once, when first used, and closed once. */function lazy(open) {let opened = null;@@ -70,6 +96,8 @@ function bearerSession(origin, token, fetchImpl) {* @param {{* ipcMain: { handle(channel: string, handler: (...args: any[]) => unknown): void },* cloudPage(event: unknown): "local" | "cloud" | null,+ * pageOrigin?(event: unknown): string | null,+ * confirmMove?(words: { message: string, detail: string, buttons: string[] }): Promise<boolean>,* home(): { origin: string, grant(): Promise<{ origin: string, code: string }> } | null,* account(): { state(): any, pairTeam(teamId: string): Promise<{ origin: string, code: string }> } | null,* file(): string,@@ -81,8 +109,10 @@ function bearerSession(origin, token, fetchImpl) {* log?(line: string): void,* }} deps `home`: My Cloud and the Admin's code for it. `account`: the MausBot Cloud sign-in, whose verified session* names the person's teams. `file`: the send's own state; `journalFile`: the moves'. `openTeam`: shows the team's page.+ * `pageOrigin`: the origin of the page asking, when it is this window's active server's main frame. `confirmMove`: asks+ * the person outside any page.*/-export function installTeamMove({ ipcMain, cloudPage, home, account, file, journalFile, openTeam, onChange = () => {}, fetch: fetchImpl = globalThis.fetch, journal, log = () => {} }) {+export function installTeamMove({ ipcMain, cloudPage, pageOrigin = () => null, confirmMove = async () => false, home, account, file, journalFile, openTeam, onChange = () => {}, fetch: fetchImpl = globalThis.fetch, journal, log = () => {} }) {const teams = () => moveTeams(account()?.state());const teamOf = (id) => teams().find((team) => team.id === id) ?? null;const sendStore = jsonFile(file);@@ -189,6 +219,46 @@ export function installTeamMove({ ipcMain, cloudPage, home, account, file, journopenTeam?.({ id: team.id, name: team.name });}));+ // Security: a team's server is not the person's own, so its page reaches My Cloud's bots only through these. It names a+ // bot by id and learns its name and what can go; the team is the page's own by the Admin's word, the name comes from My+ // Cloud, and nothing goes until the person says so in a confirm no page draws.+ const pageTeam = (event) => {+ const origin = pageOrigin(event);+ return origin ? teams().find((team) => team.origin === origin) ?? null : null;+ };+ let bringList = null;+ async function myCloudBots() {+ if (bringList && Date.now() - bringList.at < BRING_LIST_MS) return bringList.bots;+ const target = home();+ if (!target) return [];+ const session = await openOwnerSession(target, fetchImpl, { label: "Move to a team", background: false });+ try {+ const listed = await session.call("GET", "/api/bots?messages=0");+ if (!listed.ok) throw new Error("My Cloud did not answer.");+ bringList = { at: Date.now(), bots: bringableBots(listed.body?.bots) };+ return bringList.bots;+ } finally { await session.close().catch(() => {}); }+ }+ ipcMain.handle("cloud-send:team-bring", async (event) => {+ const team = pageTeam(event);+ if (!team) return { bots: [] };+ return { team: { id: team.id, name: team.name, ready: team.ready }, bots: await myCloudBots().catch(() => []) };+ });+ ipcMain.handle("cloud-send:team-bring-move", async (event, botId) => {+ const team = pageTeam(event);+ if (!team?.ready) throw new Error("Open the team you're moving a bot into.");+ const bot = (await myCloudBots()).find((entry) => entry.id === String(botId));+ if (!bot || bot.stays) throw new Error("Choose one of your bots to move.");+ if (!(await confirmMove(teamMoveConfirmWords({ bot: bot.name, team: team.name })))) return { started: false, move: moves.view() };+ void moves.start({ bot: { id: bot.id, name: bot.name }, team: { id: team.id, name: team.name, origin: team.origin } });+ bringList = null;+ return { started: true, move: moves.view() };+ });+ ipcMain.handle("cloud-send:team-bring-status", (event) => {+ const team = pageTeam(event), move = moves.view();+ return team && move?.team.id === team.id ? move : null;+ });+return {kick: () => moves.kick(),view: () => moves.view(),diff --git a/src/components/MoveToTeam.test.ts b/src/components/MoveToTeam.test.tsindex 739638d167..b77b9b88ae 100644--- a/src/components/MoveToTeam.test.ts+++ b/src/components/MoveToTeam.test.ts@@ -107,7 +107,7 @@ it("the bot menu has one Move to item per team, none without a team or for a botconst confirm = html(menu);for (const said of ["Move Scout to Acme?", "Everyone in Acme can use Scout. Only Acme's admins can change it.","Goes with Scout: instructions, skills, files, routines, and your chats with Scout", "Your chats stay private there: only you can see them.",- "Stays with you: Scout's notes about you, your logins and apps", "Move to Acme"]) expect(confirm).toContain(said);+ "Stays on My Cloud: what Scout remembers, your connections, and MausBot", "There's no way back: you can't move it back to My Cloud.", "Move to Acme"]) expect(confirm).toContain(said);expect(page.moveToTeam, "nothing moves until the confirm").not.toHaveBeenCalled();});diff --git a/src/components/MoveToTeam.tsx b/src/components/MoveToTeam.tsxindex d56d1173d0..0199e073d4 100644--- a/src/components/MoveToTeam.tsx+++ b/src/components/MoveToTeam.tsx@@ -63,7 +63,8 @@ export function useMoveToTeam({ blocked }: { blocked: (bot: Bot) => string | und<span>{t("teamMove.everyone", names)}</span><span>{t("teamMove.goes", names)}</span><span>{t("teamMove.private", names)}</span>- <span>{t("teamMove.stays", names)}</span>+ <span>{t("teamMove.staysOnMyCloud", names)}</span>+ <span data-team-move-final className="font-medium text-ink">{t("teamMove.noWayBack", names)}</span>{error && <span role="alert" className="text-danger">{error}</span>}</span>}confirmLabel={t("teamMove.confirm", names)}diff --git a/src/components/cloud-welcome/BringMyCloud.test.ts b/src/components/cloud-welcome/BringMyCloud.test.tsnew file mode 100644index 0000000000..744850014d--- /dev/null+++ b/src/components/cloud-welcome/BringMyCloud.test.ts@@ -0,0 +1,94 @@+// @vitest-environment happy-dom+import { act, createElement } from "react";+import { createRoot, type Root } from "react-dom/client";+import { afterEach, beforeEach, expect, it, vi } from "vitest";+import { BringMyCloud } from "./BringMyCloud";+import { WelcomeBring } from "./WelcomeBring";++(globalThis as { IS_REACT_ACT_ENVIRONMENT?: boolean }).IS_REACT_ACT_ENVIRONMENT = true;+const TEAM = { id: "team-acme", name: "Acme", ready: true };+const ATLAS = { id: "atlas", name: "Atlas" }, BEACON = { id: "beacon", name: "Beacon" }, MAUS = { id: "maus", name: "MausBot", stays: "default" as const };+const movingAtlas = { bot: { id: "atlas", name: "Atlas" }, team: { id: "team-acme", name: "Acme" }, phase: "moving" as const };++let host: HTMLElement, root: Root;+beforeEach(() => { host = document.createElement("div"); document.body.append(host); root = createRoot(host); });+afterEach(async () => { await act(async () => root.unmount()); host.remove(); vi.useRealTimers(); (window as { ogb?: unknown }).ogb = undefined; });++function page(bots: unknown[], over: Record<string, unknown> = {}) {+ const bridge = { teamBring: vi.fn(async () => ({ team: TEAM, bots })), teamBringMove: vi.fn(async () => ({ started: true, move: movingAtlas })), teamBringStatus: vi.fn(async () => movingAtlas), ...over };+ (window as { ogb?: unknown }).ogb = { cloudSendPage: bridge };+ return bridge;+}+const draw = async () => { await act(async () => { root.render(createElement(BringMyCloud)); }); await act(async () => {}); };+const moveButton = (id: string) => host.querySelector<HTMLButtonElement>(`[data-bring-move="${id}"]`);++it("lists My Cloud's bots with one Move each, and says why MausBot stays", async () => {+ page([MAUS, ATLAS, BEACON]);+ await draw();+ expect(host.textContent).toContain("Move a bot here from My Cloud");+ expect(moveButton("atlas")).not.toBeNull();+ expect(moveButton("beacon")).not.toBeNull();+ expect(moveButton("maus")).toBeNull();+ expect(host.querySelector('[data-bring-bot="maus"]')?.textContent).toContain("MausBot");+ expect(host.querySelector('[data-bring-bot="maus"]')?.textContent).toContain("Stays on My Cloud: everyone on a team gets their own");+});++it("shows nothing with no bot to bring, on an older app, or in a browser", async () => {+ page([MAUS]);+ await draw();+ expect(host.innerHTML).toBe("");+ page([ATLAS], { teamBringMove: undefined });+ await draw();+ expect(host.innerHTML).toBe("");+ (window as { ogb?: unknown }).ogb = undefined;+ await draw();+ expect(host.innerHTML).toBe("");+});++it("asks main to move that one bot by its id, says it is on its way, and holds the other Moves meanwhile", async () => {+ const bridge = page([ATLAS, BEACON]);+ await draw();+ await act(async () => { moveButton("atlas")!.click(); });+ expect(bridge.teamBringMove).toHaveBeenCalledExactlyOnceWith("atlas");+ expect(host.querySelector('[data-bring-line="sending"]')?.textContent).toContain("Moving Atlas to Acme");+ expect(moveButton("beacon")!.disabled).toBe(true);+});++it("changes nothing when the person cancels in the confirm", async () => {+ page([ATLAS, BEACON], { teamBringMove: vi.fn(async () => ({ started: false, move: null })) });+ await draw();+ await act(async () => { moveButton("atlas")!.click(); });+ expect(host.querySelector("[data-bring-line]")).toBeNull();+ expect(moveButton("atlas")!.disabled).toBe(false);+});++it("follows the move to the end, then reads the list again so the moved bot leaves it", async () => {+ vi.useFakeTimers();+ const bridge = page([ATLAS, BEACON], { teamBringStatus: vi.fn(async () => ({ ...movingAtlas, phase: "done" })) });+ await draw();+ await act(async () => { moveButton("atlas")!.click(); });+ bridge.teamBring.mockResolvedValue({ team: TEAM, bots: [BEACON] });+ await act(async () => { await vi.advanceTimersByTimeAsync(3_000); });+ expect(host.querySelector('[data-bring-line="done"]')?.textContent).toContain("Atlas is in Acme now");+ expect(moveButton("atlas")).toBeNull();+ expect(moveButton("beacon")!.disabled).toBe(false);+});++it("says plainly when the move can't start", async () => {+ page([ATLAS, BEACON], { teamBringMove: vi.fn(async () => { throw new Error("no"); }) });+ await draw();+ await act(async () => { moveButton("atlas")!.click(); });+ expect(host.querySelector('[role="alert"]')?.textContent).toBeTruthy();+});++it("is on the team's Bring your stuff in the desktop app, and nowhere else", async () => {+ page([ATLAS, BEACON]);+ const bring = async (team: boolean, desktop: boolean) => {+ await act(async () => { root.render(createElement(WelcomeBring, { name: "Acme", desktop, cloudHasWork: true, team, headingRef: { current: null }, onTeam: () => {}, onFinish: () => {} })); });+ await act(async () => {});+ return Boolean(host.querySelector("[data-bring-my-cloud]"));+ };+ expect(await bring(true, true)).toBe(true);+ expect(await bring(false, true), "on My Cloud itself").toBe(false);+ expect(await bring(true, false), "in a browser").toBe(false);+});diff --git a/src/components/cloud-welcome/BringMyCloud.tsx b/src/components/cloud-welcome/BringMyCloud.tsxnew file mode 100644index 0000000000..09e2d6f83e--- /dev/null+++ b/src/components/cloud-welcome/BringMyCloud.tsx@@ -0,0 +1,63 @@+import { useEffect, useState } from "react";+import { ArrowRightLeft, Loader2 } from "lucide-react";+import { ipcErrorText, teamMoveLine } from "@/lib/cloud-send";+import { cn } from "@/lib/cn";+import { t } from "@/lib/i18n";+import type { LocaleKey } from "@/locales";+import type { TeamMoveView } from "../../../electron/team-move.mjs";+import { CARD, CARD_IDLE, CardIcon, SECONDARY } from "./parts";++const POLL_MS = 3_000;+type Bringable = { id: string; name: string; stays?: "default" | "chief" | "last" };++const WHY_IT_STAYS: Record<NonNullable<Bringable["stays"]>, LocaleKey> = {+ default: "cloudWelcome.bring.mausBotStays", chief: "teamMove.blockedChief", last: "teamMove.blockedLast",+};+const bridge = () => (typeof window !== "undefined" && !window.ogb?.remoteClient?.active ? window.ogb?.cloudSendPage : undefined);++/** On a team's own page in the desktop app: the person's bots on My Cloud, each moved here with one tap and main's own+ * confirm, which no page draws. Nothing shows for someone with none to bring. */+export function BringMyCloud() {+ const page = bridge();+ const [bots, setBots] = useState<Bringable[]>([]);+ const [move, setMove] = useState<TeamMoveView | null>(null);+ const [asking, setAsking] = useState<string | null>(null);+ const [error, setError] = useState<string | null>(null);+ const read = () => {+ void page?.teamBring?.().then((answer) => { setBots(Array.isArray(answer?.bots) ? answer.bots : []); }).catch(() => {});+ };+ useEffect(read, []);+ const moving = move?.phase === "moving";+ useEffect(() => {+ if (!moving) return;+ const timer = setInterval(() => { void page?.teamBringStatus?.().then((next) => { setMove(next); if (next?.phase === "done") read(); }).catch(() => {}); }, POLL_MS);+ return () => clearInterval(timer);+ }, [moving]);+ if (!page?.teamBringMove || (!bots.some((bot) => !bot.stays) && !move)) return null;+ const ask = (bot: Bringable) => {+ setAsking(bot.id);+ setError(null);+ void page.teamBringMove!(bot.id)+ .then((answer) => { if (answer.started) setMove(answer.move); })+ .catch((cause: unknown) => setError(ipcErrorText(cause) ?? t("cloudWelcome.bring.moveFailed", { bot: bot.name })))+ .finally(() => setAsking(null));+ };+ const line = move && teamMoveLine(move);+ return <div data-bring-my-cloud className={cn(CARD, CARD_IDLE)}>+ <CardIcon icon={ArrowRightLeft} />+ <span className="text-[15px] font-semibold text-ink">{t("cloudWelcome.bring.myCloudTitle")}</span>+ <span className="text-[13px] leading-relaxed text-ink-secondary">{t("cloudWelcome.bring.myCloudHint")}</span>+ <ul className="mt-1 flex flex-col gap-1">+ {bots.map((bot) => <li key={bot.id} data-bring-bot={bot.id} className="flex min-w-0 items-center gap-3">+ <span dir="auto" className={cn("min-w-0 truncate text-[14px] text-ink", bot.stays ? "max-w-[50%] shrink-0" : "flex-1")}>{bot.name}</span>+ {bot.stays+ ? <span className="min-w-0 flex-1 text-right text-[12px] text-ink-tertiary">{t(WHY_IT_STAYS[bot.stays])}</span>+ : <button type="button" data-bring-move={bot.id} className={SECONDARY} disabled={asking !== null || moving} onClick={() => ask(bot)}>{t("cloudWelcome.bring.move")}</button>}+ </li>)}+ </ul>+ {line && <span role="status" data-bring-line={line.kind} className="inline-flex items-center gap-2 text-[13px] text-ink-secondary">+ {line.kind === "sending" && <Loader2 size={14} aria-hidden="true" className="animate-spin" />}<span dir="auto">{line.text}</span>+ </span>}+ {error && <span role="alert" className="text-[13px] text-danger">{error}</span>}+ </div>;+}diff --git a/src/components/cloud-welcome/WelcomeBring.tsx b/src/components/cloud-welcome/WelcomeBring.tsxindex 91ddb91fd7..222237af8f 100644--- a/src/components/cloud-welcome/WelcomeBring.tsx+++ b/src/components/cloud-welcome/WelcomeBring.tsx@@ -5,6 +5,7 @@ import { cn } from "@/lib/cn";import { listOf } from "@/lib/cloud-send";import { t } from "@/lib/i18n";import { useAdvancedMode } from "@/lib/interface-mode";+import { BringMyCloud } from "./BringMyCloud";import { CARD, CARD_IDLE, CARD_PICKED, CardIcon, Footer, PRIMARY, QUIET, SECONDARY, StepHeading } from "./parts";export type BringOutcome = "team" | "here" | "skipped";@@ -68,6 +69,7 @@ export function WelcomeBring({ name, desktop, older = false, cloudHasWork, sentreturn <section aria-labelledby="cloud-welcome-step" data-welcome-step="bring" className="flex flex-col gap-5"><StepHeading headingRef={headingRef} title={t("cloudWelcome.bring.title", { name })} sub={t(team ? "cloudWelcome.bring.subTeam" : "cloudWelcome.bring.sub", { name })} />{older && <p role="note" data-bring-update className="text-[13px] leading-relaxed text-ink">{t("cloudWelcome.bring.update")}</p>}+ {team && desktop && <BringMyCloud />}{cloudHasWork? <div data-bring-here className={cn(CARD, CARD_IDLE)}><CardIcon icon={Users} />diff --git a/src/locales/de.json b/src/locales/de.jsonindex 69ff67dbcc..8113255df7 100644--- a/src/locales/de.json+++ b/src/locales/de.json@@ -610,6 +610,11 @@"cloudSetup.ready.body": "Deine Bots laufen in der Cloud weiter, auch wenn dieser Computer aus ist.","cloudWelcome.intro": "Ein paar kurze Schritte, und deine Bots arbeiten rund um die Uhr.","cloudWelcome.bring.freshChief": "Starte mit deinem Assistenten. Er holt Spezialisten dazu, wenn eine Aufgabe sie braucht.",+ "cloudWelcome.bring.myCloudTitle": "Einen Bot von My Cloud hierher verschieben",+ "cloudWelcome.bring.myCloudHint": "Bevor etwas verschoben wird, siehst du, was mitkommt und was bleibt.",+ "cloudWelcome.bring.move": "Verschieben",+ "cloudWelcome.bring.mausBotStays": "Bleibt auf My Cloud: Im Team bekommt jede Person eine eigene Version",+ "cloudWelcome.bring.moveFailed": "{bot} konnte nicht verschoben werden. Der Bot ist unverändert auf My Cloud.","settings.section.experimental": "Experimentell","settings.section.connections": "API-Schlüssel","settings.section.decisionModel": "Entscheiden und Auslesen",@@ -2356,7 +2361,8 @@"teamMove.everyone": "Alle in {team} können {bot} nutzen. Nur die Admins von {team} können es ändern.","teamMove.goes": "Kommt mit {bot}: Anweisungen, Skills, Dateien, Routinen und deine Chats mit {bot}","teamMove.private": "Deine Chats bleiben dort privat: Nur du kannst sie sehen.",- "teamMove.stays": "Bleibt bei dir: was {bot} über dich notiert hat, deine Logins und Apps",+ "teamMove.staysOnMyCloud": "Bleibt auf My Cloud: was {bot} sich gemerkt hat, deine Verbindungen und MausBot",+ "teamMove.noWayBack": "Es gibt keinen Weg zurück: Du kannst ihn nicht zurück auf My Cloud verschieben.","teamMove.confirm": "Nach {team} verschieben","teamMove.moving": "{bot} wird nach {team} verschoben…","teamMove.done": "{bot} ist jetzt in {team}, mit deinen Chats.",diff --git a/src/locales/en.json b/src/locales/en.jsonindex 2dc463d346..e35d6c8447 100644--- a/src/locales/en.json+++ b/src/locales/en.json@@ -1427,6 +1427,11 @@"cloudWelcome.bring.hereBody": "{name} already has bots or chats of its own.","cloudWelcome.bring.sending": "Bringing this computer's bots, chats and logins here…","cloudWelcome.bring.more": "More",+ "cloudWelcome.bring.myCloudTitle": "Move a bot here from My Cloud",+ "cloudWelcome.bring.myCloudHint": "You'll see what goes and what stays before anything moves.",+ "cloudWelcome.bring.move": "Move",+ "cloudWelcome.bring.mausBotStays": "Stays on My Cloud: everyone on a team gets their own",+ "cloudWelcome.bring.moveFailed": "Couldn't move {bot}. It's still on My Cloud, unchanged.","cloudWelcome.engine.sub": "Your bots think with your own Claude or ChatGPT plan. Sign in once on {name}.","cloudWelcome.engine.credit": "You have {amount} of Claude credit, so your bots can start right now. Sign in whenever you're ready.","cloudWelcome.engine.creditPlain": "Your trial comes with Claude credit, so your bots can start right now. Sign in whenever you're ready.",@@ -7062,7 +7067,8 @@"teamMove.everyone": "Everyone in {team} can use {bot}. Only {team}'s admins can change it.","teamMove.goes": "Goes with {bot}: instructions, skills, files, routines, and your chats with {bot}","teamMove.private": "Your chats stay private there: only you can see them.",- "teamMove.stays": "Stays with you: {bot}'s notes about you, your logins and apps",+ "teamMove.staysOnMyCloud": "Stays on My Cloud: what {bot} remembers, your connections, and MausBot",+ "teamMove.noWayBack": "There's no way back: you can't move it back to My Cloud.","teamMove.confirm": "Move to {team}","teamMove.moving": "Moving {bot} to {team}…","teamMove.done": "{bot} is in {team} now, with your chats.",diff --git a/src/locales/es.json b/src/locales/es.jsonindex 312451deba..97823daccc 100644--- a/src/locales/es.json+++ b/src/locales/es.json@@ -1142,6 +1142,11 @@"cloudWelcome.bring.hereBody": "{name} ya tiene sus propios bots o chats.","cloudWelcome.bring.sending": "Trayendo aquí los bots, chats e inicios de sesión de este equipo…","cloudWelcome.bring.more": "Más",+ "cloudWelcome.bring.myCloudTitle": "Mueve un bot aquí desde My Cloud",+ "cloudWelcome.bring.myCloudHint": "Antes de mover nada, verás qué se va y qué se queda.",+ "cloudWelcome.bring.move": "Mover",+ "cloudWelcome.bring.mausBotStays": "Se queda en My Cloud: cada persona del equipo tiene el suyo",+ "cloudWelcome.bring.moveFailed": "No se pudo mover {bot}. Sigue en My Cloud, sin cambios.","cloudWelcome.engine.sub": "Tus bots piensan con tu propio plan de Claude o ChatGPT. Inicia sesión una vez en {name}.","cloudWelcome.engine.credit": "Tienes {amount} de crédito de Claude, así que tus bots pueden empezar ahora mismo. Inicia sesión cuando quieras.","cloudWelcome.engine.creditPlain": "Tu prueba incluye crédito de Claude, así que tus bots pueden empezar ahora mismo. Inicia sesión cuando quieras.",@@ -5460,7 +5465,8 @@"teamMove.everyone": "Todos en {team} pueden usar {bot}. Solo los administradores de {team} pueden cambiarlo.","teamMove.goes": "Se va con {bot}: instrucciones, habilidades, archivos, rutinas y tus chats con {bot}","teamMove.private": "Tus chats siguen siendo privados allí: solo tú puedes verlos.",- "teamMove.stays": "Se queda contigo: lo que {bot} anotó sobre ti, tus inicios de sesión y tus apps",+ "teamMove.staysOnMyCloud": "Se queda en My Cloud: lo que {bot} recuerda, tus conexiones y MausBot",+ "teamMove.noWayBack": "No hay vuelta atrás: no podrás devolverlo a My Cloud.","teamMove.confirm": "Mover a {team}","teamMove.moving": "Moviendo {bot} a {team}…","teamMove.done": "{bot} ya está en {team}, con tus chats.",diff --git a/src/locales/fr.json b/src/locales/fr.jsonindex e35c88773f..50f7300f38 100644--- a/src/locales/fr.json+++ b/src/locales/fr.json@@ -522,6 +522,11 @@"cloudSetup.ready.body": "Vos bots continuent de tourner dans le Cloud, même quand cet ordinateur est éteint.","cloudWelcome.intro": "Quelques étapes rapides et vos bots travaillent 24 h/24.","cloudWelcome.bring.freshChief": "Commencez avec votre assistant. Il fait appel à des spécialistes quand une tâche en a besoin.",+ "cloudWelcome.bring.myCloudTitle": "Déplacer un bot ici depuis My Cloud",+ "cloudWelcome.bring.myCloudHint": "Vous verrez ce qui part et ce qui reste avant tout déplacement.",+ "cloudWelcome.bring.move": "Déplacer",+ "cloudWelcome.bring.mausBotStays": "Reste sur My Cloud : chaque membre de l'équipe a le sien",+ "cloudWelcome.bring.moveFailed": "Impossible de déplacer {bot}. Il est toujours sur My Cloud, inchangé.","settings.section.experimental": "Expérimental","settings.section.connections": "Clés API","settings.section.decisionModel": "Décisions et extraction",@@ -2328,7 +2333,8 @@"teamMove.everyone": "Tout le monde dans {team} peut utiliser {bot}. Seuls les admins de {team} peuvent le modifier.","teamMove.goes": "Part avec {bot} : instructions, compétences, fichiers, routines et vos chats avec {bot}","teamMove.private": "Vos chats restent privés là-bas : vous seul pouvez les voir.",- "teamMove.stays": "Reste avec vous : ce que {bot} a noté sur vous, vos connexions et vos apps",+ "teamMove.staysOnMyCloud": "Reste sur My Cloud : ce que {bot} a retenu, vos connexions et MausBot",+ "teamMove.noWayBack": "Il n'y a pas de retour possible : vous ne pourrez pas le remettre sur My Cloud.","teamMove.confirm": "Déplacer vers {team}","teamMove.moving": "Déplacement de {bot} vers {team}…","teamMove.done": "{bot} est maintenant dans {team}, avec vos chats.",diff --git a/src/locales/hi.json b/src/locales/hi.jsonindex 3330da0f9a..f3733c6298 100644--- a/src/locales/hi.json+++ b/src/locales/hi.json@@ -522,6 +522,11 @@"cloudSetup.ready.body": "आपके बॉट Cloud में चलते रहते हैं, तब भी जब यह कंप्यूटर बंद हो।","cloudWelcome.intro": "बस कुछ आसान कदम, और आपके बॉट चौबीसों घंटे काम करेंगे।","cloudWelcome.bring.freshChief": "अपने असिस्टेंट से शुरू करें। जब किसी काम को ज़रूरत होगी, वह विशेषज्ञ खुद जोड़ लेगा।",+ "cloudWelcome.bring.myCloudTitle": "My Cloud से किसी बॉट को यहाँ लाएँ",+ "cloudWelcome.bring.myCloudHint": "कुछ भी ले जाने से पहले आप देखेंगे कि क्या जाएगा और क्या रहेगा।",+ "cloudWelcome.bring.move": "ले जाएँ",+ "cloudWelcome.bring.mausBotStays": "My Cloud पर रहता है: टीम में हर किसी को अपना मिलता है",+ "cloudWelcome.bring.moveFailed": "{bot} को नहीं ले जाया जा सका। वह My Cloud पर ही है, बिना बदलाव के।","settings.section.experimental": "प्रयोगात्मक","settings.section.connections": "API कुंजियाँ","settings.section.decisionModel": "फ़ैसले और जानकारी निकालना",@@ -2328,7 +2333,8 @@"teamMove.everyone": "{team} में हर कोई {bot} का इस्तेमाल कर सकता है। सिर्फ़ {team} के एडमिन इसे बदल सकते हैं।","teamMove.goes": "{bot} के साथ जाता है: निर्देश, स्किल, फ़ाइलें, रूटीन और {bot} के साथ आपकी चैट","teamMove.private": "आपकी चैट वहाँ निजी रहती हैं: उन्हें सिर्फ़ आप देख सकते हैं।",- "teamMove.stays": "आपके पास रहता है: {bot} ने आपके बारे में जो लिखा, आपके लॉगिन और ऐप",+ "teamMove.staysOnMyCloud": "My Cloud पर रहता है: {bot} को जो याद है, आपके कनेक्शन और MausBot",+ "teamMove.noWayBack": "वापसी का कोई रास्ता नहीं है: आप इसे My Cloud पर वापस नहीं ला सकते।","teamMove.confirm": "{team} में ले जाएँ","teamMove.moving": "{bot} को {team} में ले जाया जा रहा है…","teamMove.done": "{bot} अब {team} में है, आपकी चैट के साथ।",diff --git a/src/locales/it.json b/src/locales/it.jsonindex 3192f02ce3..79c09c0cfc 100644--- a/src/locales/it.json+++ b/src/locales/it.json@@ -1242,6 +1242,11 @@"cloudWelcome.bring.hereBody": "{name} ha già bot o chat suoi.","cloudWelcome.bring.sending": "Sto portando qui bot, chat e accessi di questo computer…","cloudWelcome.bring.more": "Altro",+ "cloudWelcome.bring.myCloudTitle": "Sposta qui un bot da My Cloud",+ "cloudWelcome.bring.myCloudHint": "Prima di spostare qualcosa vedrai cosa va e cosa resta.",+ "cloudWelcome.bring.move": "Sposta",+ "cloudWelcome.bring.mausBotStays": "Resta su My Cloud: ognuno nel team ha il suo",+ "cloudWelcome.bring.moveFailed": "Impossibile spostare {bot}. È ancora su My Cloud, senza modifiche.","cloudWelcome.engine.sub": "I tuoi bot pensano con il tuo piano Claude o ChatGPT. Accedi una volta su {name}.","cloudWelcome.engine.credit": "Hai {amount} di credito Claude, così i tuoi bot possono partire subito. Accedi quando vuoi.","cloudWelcome.engine.creditPlain": "La prova include credito Claude, così i tuoi bot possono partire subito. Accedi quando vuoi.",@@ -6125,7 +6130,8 @@"teamMove.everyone": "Tutti in {team} possono usare {bot}. Solo gli amministratori di {team} possono modificarlo.","teamMove.goes": "Va con {bot}: istruzioni, abilità, file, routine e le tue chat con {bot}","teamMove.private": "Le tue chat restano private lì: solo tu puoi vederle.",- "teamMove.stays": "Resta con te: le note di {bot} su di te, i tuoi accessi e le tue app",+ "teamMove.staysOnMyCloud": "Resta su My Cloud: ciò che {bot} ricorda, le tue connessioni e MausBot",+ "teamMove.noWayBack": "Non si torna indietro: non potrai riportarlo su My Cloud.","teamMove.confirm": "Sposta in {team}","teamMove.moving": "Spostamento di {bot} in {team}…","teamMove.done": "{bot} ora è in {team}, con le tue chat.",diff --git a/src/locales/ja.json b/src/locales/ja.jsonindex 0e9bf7b0dc..479cf32d84 100644--- a/src/locales/ja.json+++ b/src/locales/ja.json@@ -1270,6 +1270,11 @@"cloudWelcome.bring.hereBody": "{name}にはすでに独自のボットやチャットがあります。","cloudWelcome.bring.sending": "このコンピューターのボット、チャット、ログイン情報を移しています…","cloudWelcome.bring.more": "その他",+ "cloudWelcome.bring.myCloudTitle": "My Cloud からボットをここに移動",+ "cloudWelcome.bring.myCloudHint": "移動する前に、何が移動して何が残るかを確認できます。",+ "cloudWelcome.bring.move": "移動",+ "cloudWelcome.bring.mausBotStays": "My Cloud に残ります。チームでは各自に専用のものがあります",+ "cloudWelcome.bring.moveFailed": "{bot} を移動できませんでした。My Cloud に変更なく残っています。","cloudWelcome.engine.sub": "ボットは、お客様ご自身のClaudeまたはChatGPTのプランで思考します。{name}で一度サインインしてください。","cloudWelcome.engine.credit": "{amount}分のClaudeクレジットがあるため、ボットはすぐに使い始められます。サインインは準備ができたときで構いません。","cloudWelcome.engine.creditPlain": "トライアルにはClaudeクレジットが含まれているため、ボットはすぐに使い始められます。サインインは準備ができたときで構いません。",@@ -6378,7 +6383,8 @@"teamMove.everyone": "{team} の全員が {bot} を使えます。変更できるのは {team} の管理者だけです。","teamMove.goes": "{bot} と一緒に移るもの:指示、スキル、ファイル、ルーティン、{bot} とのあなたのチャット","teamMove.private": "あなたのチャットは移動先でも非公開です。見られるのはあなただけです。",- "teamMove.stays": "あなたの手元に残るもの:{bot} があなたについて書いたメモ、ログインとアプリ",+ "teamMove.staysOnMyCloud": "My Cloud に残るもの:{bot} が覚えていること、あなたの接続、MausBot",+ "teamMove.noWayBack": "元に戻すことはできません。My Cloud に戻すことはできません。","teamMove.confirm": "{team} に移動","teamMove.moving": "{bot} を {team} に移動しています…","teamMove.done": "{bot} は {team} に移りました。チャットも一緒です。",diff --git a/src/locales/ko.json b/src/locales/ko.jsonindex e6f4cadd85..75410ec98b 100644--- a/src/locales/ko.json+++ b/src/locales/ko.json@@ -1327,6 +1327,11 @@"cloudWelcome.bring.hereBody": "{name}에는 이미 자체 봇이나 채팅이 있어요.","cloudWelcome.bring.sending": "이 컴퓨터의 봇, 채팅, 로그인을 가져오는 중…","cloudWelcome.bring.more": "더 보기",+ "cloudWelcome.bring.myCloudTitle": "My Cloud에서 봇을 여기로 옮기기",+ "cloudWelcome.bring.myCloudHint": "옮기기 전에 무엇이 가고 무엇이 남는지 볼 수 있어요.",+ "cloudWelcome.bring.move": "옮기기",+ "cloudWelcome.bring.mausBotStays": "My Cloud에 남아요. 팀에서는 각자 자기 것을 받아요",+ "cloudWelcome.bring.moveFailed": "{bot}을(를) 옮기지 못했어요. My Cloud에 그대로 있어요.","cloudWelcome.engine.sub": "봇은 내 Claude 또는 ChatGPT 요금제로 생각해요. {name}에서 한 번만 로그인하세요.","cloudWelcome.engine.credit": "Claude 크레딧이 {amount} 있어서 봇이 지금 바로 시작할 수 있어요. 준비되면 언제든 로그인하세요.","cloudWelcome.engine.creditPlain": "체험에 Claude 크레딧이 포함되어 있어서 봇이 지금 바로 시작할 수 있어요. 준비되면 언제든 로그인하세요.",@@ -6819,7 +6824,8 @@"teamMove.everyone": "{team}의 모든 사람이 {bot}을(를) 쓸 수 있어요. {team}의 관리자만 바꿀 수 있어요.","teamMove.goes": "{bot}과(와) 함께 가는 것: 지침, 스킬, 파일, 루틴, {bot}과(와)의 내 채팅","teamMove.private": "내 채팅은 그곳에서도 비공개예요: 나만 볼 수 있어요.",- "teamMove.stays": "나에게 남는 것: 나에 대한 {bot}의 메모, 내 로그인과 앱",+ "teamMove.staysOnMyCloud": "My Cloud에 남는 것: {bot}이(가) 기억하는 내용, 내 연결, MausBot",+ "teamMove.noWayBack": "되돌릴 수 없어요. My Cloud로 다시 옮길 수 없어요.","teamMove.confirm": "{team}(으)로 옮기기","teamMove.moving": "{bot}을(를) {team}(으)로 옮기는 중…","teamMove.done": "{bot}이(가) 내 채팅과 함께 이제 {team}에 있어요.",diff --git a/src/locales/pl.json b/src/locales/pl.jsonindex 5ebfec6702..8f70dc3b51 100644--- a/src/locales/pl.json+++ b/src/locales/pl.json@@ -1263,6 +1263,11 @@"cloudWelcome.bring.hereBody": "{name} ma już własne boty lub czaty.","cloudWelcome.bring.sending": "Przenoszenie botów, czatów i logowań z tego komputera…","cloudWelcome.bring.more": "Więcej",+ "cloudWelcome.bring.myCloudTitle": "Przenieś tu bota z My Cloud",+ "cloudWelcome.bring.myCloudHint": "Zanim cokolwiek zostanie przeniesione, zobaczysz, co idzie, a co zostaje.",+ "cloudWelcome.bring.move": "Przenieś",+ "cloudWelcome.bring.mausBotStays": "Zostaje na My Cloud: w zespole każdy ma własnego",+ "cloudWelcome.bring.moveFailed": "Nie można przenieść {bot}. Bot jest nadal na My Cloud, bez zmian.","cloudWelcome.engine.sub": "Twoje boty myślą dzięki twojemu planowi Claude lub ChatGPT. Zaloguj się raz w {name}.","cloudWelcome.engine.credit": "Masz kredyty Claude o wartości {amount}, więc twoje boty mogą zacząć od razu. Zaloguj się, kiedy chcesz.","cloudWelcome.engine.creditPlain": "Twój okres próbny obejmuje kredyty Claude, więc twoje boty mogą zacząć od razu. Zaloguj się, kiedy chcesz.",@@ -6256,7 +6261,8 @@"teamMove.everyone": "Wszyscy w {team} mogą używać {bot}. Tylko administratorzy {team} mogą to zmienić.","teamMove.goes": "Przenosi się z {bot}: instrukcje, umiejętności, pliki, rutyny i twoje czaty z {bot}","teamMove.private": "Twoje czaty pozostają tam prywatne: tylko ty możesz je widzieć.",- "teamMove.stays": "Zostaje z tobą: notatki {bot} o tobie, twoje dane logowania i aplikacje",+ "teamMove.staysOnMyCloud": "Zostaje na My Cloud: to, co {bot} pamięta, twoje połączenia i MausBot",+ "teamMove.noWayBack": "Nie ma odwrotu: nie można przenieść go z powrotem na My Cloud.","teamMove.confirm": "Przenieś do {team}","teamMove.moving": "Przenoszenie {bot} do {team}…","teamMove.done": "{bot} jest teraz w {team}, razem z twoimi czatami.",diff --git a/src/locales/pt-br.json b/src/locales/pt-br.jsonindex 8fe32c2164..90b7953877 100644--- a/src/locales/pt-br.json+++ b/src/locales/pt-br.json@@ -1187,6 +1187,11 @@"cloudWelcome.bring.hereBody": "{name} já tem bots ou conversas próprios.","cloudWelcome.bring.sending": "Trazendo para cá os bots, conversas e logins deste computador…","cloudWelcome.bring.more": "Mais",+ "cloudWelcome.bring.myCloudTitle": "Mova um bot do My Cloud para cá",+ "cloudWelcome.bring.myCloudHint": "Antes de mover, você vê o que vai e o que fica.",+ "cloudWelcome.bring.move": "Mover",+ "cloudWelcome.bring.mausBotStays": "Fica no My Cloud: cada pessoa da equipe tem o seu",+ "cloudWelcome.bring.moveFailed": "Não foi possível mover {bot}. Ele continua no My Cloud, sem mudanças.","cloudWelcome.engine.sub": "Seus bots pensam com seu próprio plano do Claude ou do ChatGPT. Entre uma vez em {name}.","cloudWelcome.engine.credit": "Você tem {amount} de crédito do Claude, então seus bots podem começar agora mesmo. Entre quando estiver pronto.","cloudWelcome.engine.creditPlain": "Seu teste inclui crédito do Claude, então seus bots podem começar agora mesmo. Entre quando estiver pronto.",@@ -6140,7 +6145,8 @@"teamMove.everyone": "Todos em {team} podem usar {bot}. Só os admins de {team} podem mudá-lo.","teamMove.goes": "Vai com {bot}: instruções, habilidades, arquivos, rotinas e suas conversas com {bot}","teamMove.private": "Suas conversas continuam privadas lá: só você pode vê-las.",- "teamMove.stays": "Fica com você: o que {bot} anotou sobre você, seus logins e apps",+ "teamMove.staysOnMyCloud": "Fica no My Cloud: o que {bot} lembra, suas conexões e o MausBot",+ "teamMove.noWayBack": "Não tem volta: você não poderá movê-lo de volta para o My Cloud.","teamMove.confirm": "Mover para {team}","teamMove.moving": "Movendo {bot} para {team}…","teamMove.done": "{bot} está em {team} agora, com suas conversas.",diff --git a/src/locales/ru.json b/src/locales/ru.jsonindex ee6cc7fa62..fe3b93f643 100644--- a/src/locales/ru.json+++ b/src/locales/ru.json@@ -1269,6 +1269,11 @@"cloudWelcome.bring.hereBody": "У {name} уже есть собственные боты или чаты.","cloudWelcome.bring.sending": "Переносим ботов, чаты и данные для входа с этого компьютера…","cloudWelcome.bring.more": "Ещё",+ "cloudWelcome.bring.myCloudTitle": "Перенести бота сюда из My Cloud",+ "cloudWelcome.bring.myCloudHint": "Прежде чем что-то перенести, вы увидите, что перейдёт и что останется.",+ "cloudWelcome.bring.move": "Перенести",+ "cloudWelcome.bring.mausBotStays": "Останется в My Cloud: в команде у каждого свой",+ "cloudWelcome.bring.moveFailed": "Не удалось перенести {bot}. Он по-прежнему в My Cloud, без изменений.","cloudWelcome.engine.sub": "Ваши боты работают на вашем тарифе Claude или ChatGPT. Войдите один раз на {name}.","cloudWelcome.engine.credit": "У вас есть {amount} кредита Claude, поэтому боты могут начать работу прямо сейчас. Войдите, когда будете готовы.","cloudWelcome.engine.creditPlain": "В пробный доступ входит кредит Claude, поэтому боты могут начать работу прямо сейчас. Войдите, когда будете готовы.",@@ -6347,7 +6352,8 @@"teamMove.everyone": "Все в {team} смогут использовать {bot}. Изменить это могут только администраторы {team}.","teamMove.goes": "Переедет вместе с {bot}: инструкции, навыки, файлы, routine-задачи и ваши чаты с {bot}","teamMove.private": "Ваши чаты останутся приватными: их увидите только вы.",- "teamMove.stays": "Останется с вами: заметки {bot} о вас, ваши логины и приложения",+ "teamMove.staysOnMyCloud": "Останется в My Cloud: то, что помнит {bot}, ваши подключения и MausBot",+ "teamMove.noWayBack": "Обратного пути нет: вернуть его в My Cloud нельзя.","teamMove.confirm": "Переместить в {team}","teamMove.moving": "Перемещаем {bot} в {team}…","teamMove.done": "{bot} теперь в {team}, вместе с вашими чатами.",diff --git a/src/locales/tr.json b/src/locales/tr.jsonindex 9868a6c55e..b9a8d0b527 100644--- a/src/locales/tr.json+++ b/src/locales/tr.json@@ -879,6 +879,11 @@"cloudSetup.alwaysOn": "her zaman açık","cloudWelcome.intro": "Birkaç hızlı adımda botlarınız günün her saati çalışır.","cloudWelcome.bring.freshChief": "Asistanınızla başlayın. Bir iş gerektirdiğinde uzmanları kendisi ekler.",+ "cloudWelcome.bring.myCloudTitle": "My Cloud'dan buraya bir bot taşı",+ "cloudWelcome.bring.myCloudHint": "Bir şey taşınmadan önce neyin gideceğini ve neyin kalacağını göreceksin.",+ "cloudWelcome.bring.move": "Taşı",+ "cloudWelcome.bring.mausBotStays": "My Cloud'da kalır: ekipte herkesin kendine ait olanı var",+ "cloudWelcome.bring.moveFailed": "{bot} taşınamadı. Hâlâ My Cloud'da, değişmedi.","organization.additive": "Şirket modelleri, mevcut kişisel ve yerel modellerinizin yanı sıra eklenir. Bu modeller ve hesaplar kullanılabilir kalır.","organization.privacy": "Bağlanmak sohbet geçmişinizi yüklemez. Şirket modellerine gönderilen istekler organizasyonunuzun ağ geçidi üzerinden iletilir.","organization.desktopOnly": "Bu bilgisayardaki masaüstü uygulamasında bir organizasyona bağlanın.",@@ -4815,7 +4820,8 @@"teamMove.everyone": "{team} içindeki herkes {bot} botunu kullanabilir. Yalnızca {team} yöneticileri onu değiştirebilir.","teamMove.goes": "{bot} ile birlikte gider: talimatlar, beceriler, dosyalar, rutinler ve {bot} ile sohbetlerin","teamMove.private": "Sohbetlerin orada gizli kalır: onları yalnızca sen görebilirsin.",- "teamMove.stays": "Sende kalır: {bot} botunun senin hakkındaki notları, girişlerin ve uygulamaların",+ "teamMove.staysOnMyCloud": "My Cloud'da kalır: {bot} botunun hatırladıkları, bağlantıların ve MausBot",+ "teamMove.noWayBack": "Geri dönüşü yok: My Cloud'a geri taşıyamazsın.","teamMove.confirm": "{team} ekibine taşı","teamMove.moving": "{bot}, {team} ekibine taşınıyor…","teamMove.done": "{bot} artık {team} içinde, sohbetlerinle birlikte.",diff --git a/src/locales/uk.json b/src/locales/uk.jsonindex 14c34fd934..61c7218372 100644--- a/src/locales/uk.json+++ b/src/locales/uk.json@@ -613,6 +613,11 @@"cloudSetup.ready.body": "Ваші боти працюють далі в Cloud, навіть коли цей комп’ютер вимкнено.","cloudWelcome.intro": "Кілька швидких кроків, і ваші боти працюють цілодобово.","cloudWelcome.bring.freshChief": "Почніть зі свого помічника. Він сам залучає фахівців, коли цього потребує робота.",+ "cloudWelcome.bring.myCloudTitle": "Перенести бота сюди з My Cloud",+ "cloudWelcome.bring.myCloudHint": "Перш ніж щось перенести, ви побачите, що перейде, а що залишиться.",+ "cloudWelcome.bring.move": "Перенести",+ "cloudWelcome.bring.mausBotStays": "Лишається в My Cloud: у команді кожен має власного",+ "cloudWelcome.bring.moveFailed": "Не вдалося перенести {bot}. Він і далі в My Cloud, без змін.","settings.section.appearance": "Вигляд","settings.section.experimental": "Експериментальні","settings.section.connections": "API-ключі",@@ -2800,7 +2805,8 @@"teamMove.everyone": "Усі в {team} можуть користуватися {bot}. Змінювати його можуть лише адміністратори {team}.","teamMove.goes": "Разом із {bot} переходять: інструкції, навички, файли, рутини та ваші чати з {bot}","teamMove.private": "Ваші чати лишаються там приватними: їх бачите лише ви.",- "teamMove.stays": "Лишається з вами: нотатки {bot} про вас, ваші входи та застосунки",+ "teamMove.staysOnMyCloud": "Лишається в My Cloud: те, що пам'ятає {bot}, ваші підключення та MausBot",+ "teamMove.noWayBack": "Шляху назад немає: повернути його в My Cloud не вийде.","teamMove.confirm": "Перемістити до {team}","teamMove.moving": "Переміщуємо {bot} до {team}…","teamMove.done": "{bot} тепер у {team}, разом із вашими чатами.",diff --git a/src/locales/vi.json b/src/locales/vi.jsonindex 475c50665f..49b6e02672 100644--- a/src/locales/vi.json+++ b/src/locales/vi.json@@ -879,6 +879,11 @@"cloudSetup.alwaysOn": "luôn hoạt động","cloudWelcome.intro": "Vài bước nhanh và bot của bạn sẽ làm việc suốt ngày đêm.","cloudWelcome.bring.freshChief": "Bắt đầu với trợ lý của bạn. Trợ lý sẽ tự thêm chuyên gia khi công việc cần.",+ "cloudWelcome.bring.myCloudTitle": "Chuyển một bot từ My Cloud sang đây",+ "cloudWelcome.bring.myCloudHint": "Bạn sẽ thấy phần nào chuyển đi và phần nào ở lại trước khi chuyển.",+ "cloudWelcome.bring.move": "Chuyển",+ "cloudWelcome.bring.mausBotStays": "Ở lại My Cloud: mỗi người trong nhóm đều có bản của riêng mình",+ "cloudWelcome.bring.moveFailed": "Không chuyển được {bot}. Bot vẫn ở My Cloud, không thay đổi.","organization.additive": "Các mô hình của công ty được thêm song song với mô hình cá nhân và cục bộ hiện có của bạn. Bạn vẫn có thể sử dụng các mô hình và tài khoản đó bình thường.","organization.privacy": "Việc kết nối không tải lên lịch sử cuộc trò chuyện của bạn. Các yêu cầu gửi tới mô hình Công ty sẽ đi qua cổng kết nối của tổ chức bạn.","organization.desktopOnly": "Kết nối tổ chức trong ứng dụng desktop trên máy tính này.",@@ -4815,7 +4820,8 @@"teamMove.everyone": "Mọi người trong {team} đều dùng được {bot}. Chỉ quản trị viên của {team} mới thay đổi được.","teamMove.goes": "Đi cùng {bot}: hướng dẫn, kỹ năng, tệp, thói quen và các cuộc trò chuyện của bạn với {bot}","teamMove.private": "Các cuộc trò chuyện của bạn vẫn riêng tư ở đó: chỉ bạn xem được.",- "teamMove.stays": "Ở lại với bạn: ghi chú của {bot} về bạn, thông tin đăng nhập và ứng dụng của bạn",+ "teamMove.staysOnMyCloud": "Ở lại My Cloud: những gì {bot} ghi nhớ, các kết nối của bạn và MausBot",+ "teamMove.noWayBack": "Không thể hoàn tác: bạn sẽ không chuyển lại về My Cloud được.","teamMove.confirm": "Chuyển sang {team}","teamMove.moving": "Đang chuyển {bot} sang {team}…","teamMove.done": "{bot} giờ đã ở {team}, cùng các cuộc trò chuyện của bạn.",diff --git a/src/locales/zh-tw.json b/src/locales/zh-tw.jsonindex 6128add6cb..899355afcb 100644--- a/src/locales/zh-tw.json+++ b/src/locales/zh-tw.json@@ -803,6 +803,11 @@"cloudSetup.alwaysOn": "隨時在線","cloudWelcome.intro": "只需幾個簡單步驟,你的機器人就能全天候工作。","cloudWelcome.bring.freshChief": "從你的助理開始。工作需要時,它會自己請來專家。",+ "cloudWelcome.bring.myCloudTitle": "把機器人從 My Cloud 移到這裡",+ "cloudWelcome.bring.myCloudHint": "移動前,你會先看到哪些會移過來、哪些會留下。",+ "cloudWelcome.bring.move": "移動",+ "cloudWelcome.bring.mausBotStays": "留在 My Cloud:團隊中每個人都有自己的",+ "cloudWelcome.bring.moveFailed": "無法移動 {bot}。它仍在 My Cloud,沒有變更。","organization.additive": "公司模型會與你現有的個人模型和本機模型並列。這些模型與帳戶仍可繼續使用。","organization.privacy": "連線不會上傳你的對話紀錄。傳送給公司模型的請求會經過組織的閘道。","organization.desktopOnly": "請在這部電腦上的桌面版連線組織。",@@ -4197,7 +4202,8 @@"teamMove.everyone": "{team} 的每個人都能使用 {bot}。只有 {team} 的管理員能變更它。","teamMove.goes": "隨 {bot} 一起移過去:指示、技能、檔案、例行任務,以及你和 {bot} 的對話","teamMove.private": "你的對話在那裡仍然保密:只有你看得到。",- "teamMove.stays": "留在你這裡:{bot} 關於你的筆記、你的登入資訊和應用程式",+ "teamMove.staysOnMyCloud": "留在 My Cloud:{bot} 記得的內容、你的連線和 MausBot",+ "teamMove.noWayBack": "無法復原:你不能把它移回 My Cloud。","teamMove.confirm": "移到 {team}","teamMove.moving": "正在把 {bot} 移到 {team}…","teamMove.done": "{bot} 現在在 {team} 了,你的對話也一起過去了。",diff --git a/src/locales/zh.json b/src/locales/zh.jsonindex 51a6d7ce1e..a41959055a 100644--- a/src/locales/zh.json+++ b/src/locales/zh.json@@ -1417,6 +1417,11 @@"cloudWelcome.bring.hereBody": "{name} 已经有自己的机器人或聊天了。","cloudWelcome.bring.sending": "正在把这台电脑的机器人、聊天和登录信息带过来…","cloudWelcome.bring.more": "更多",+ "cloudWelcome.bring.myCloudTitle": "把机器人从 My Cloud 移到这里",+ "cloudWelcome.bring.myCloudHint": "移动前,你会先看到哪些会移过来、哪些会留下。",+ "cloudWelcome.bring.move": "移动",+ "cloudWelcome.bring.mausBotStays": "留在 My Cloud:团队中每个人都有自己的",+ "cloudWelcome.bring.moveFailed": "无法移动 {bot}。它仍在 My Cloud,没有变更。","cloudWelcome.engine.sub": "你的机器人使用你自己的 Claude 或 ChatGPT 方案来思考。请在 {name} 上登录一次。","cloudWelcome.engine.credit": "你有 {amount} Claude 额度,所以机器人可以立即开始工作。你准备好时登录即可。","cloudWelcome.engine.creditPlain": "你的试用包含 Claude 额度,所以机器人可以立即开始工作。你准备好时登录即可。",@@ -6985,7 +6990,8 @@"teamMove.everyone": "{team} 里的每个人都能使用 {bot}。只有 {team} 的管理员能修改它。","teamMove.goes": "随 {bot} 一起移过去:指令、技能、文件、例行任务,以及你和 {bot} 的对话","teamMove.private": "你的对话在那里依然保密:只有你能看到。",- "teamMove.stays": "留在你这里:{bot} 关于你的笔记、你的登录信息和应用",+ "teamMove.staysOnMyCloud": "留在 My Cloud:{bot} 记得的内容、你的连接和 MausBot",+ "teamMove.noWayBack": "无法撤销:你不能把它移回 My Cloud。","teamMove.confirm": "移到 {team}","teamMove.moving": "正在把 {bot} 移到 {team}…","teamMove.done": "{bot} 已经移到 {team},你的对话也一起过去了。",