Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Phone: tell people and their bots when an older phone app lost its link (#5360)
Milind Soni613ed01fdc2b
diff --git a/electron/companion-account-service.d.mts b/electron/companion-account-service.d.mtsindex 0792b952d4..bed332edda 100644--- a/electron/companion-account-service.d.mts+++ b/electron/companion-account-service.d.mts@@ -23,6 +23,7 @@ export declare function resolveCompanionControlPlaneURL(options?: {environment?: NodeJS.ProcessEnv;}): string;export declare function companionAccountCleanupPending(credentials: CredentialDocument): boolean;+export declare function companionTunnelRetired(credentials: CredentialDocument): boolean;/** true while a pairing window is open or a paired device was seen in the* last 30 days (or is connected, or has no known last-seen time); "unused"* when devices are paired but none was seen for 30 days; false only for adiff --git a/electron/companion-account-service.mjs b/electron/companion-account-service.mjsindex aa92bf63d7..edaaa1ad7d 100644--- a/electron/companion-account-service.mjs+++ b/electron/companion-account-service.mjs@@ -92,6 +92,7 @@ export function resolveCompanionControlPlaneURL({export function companionAccountCleanupPending(credentials) {return credentials?.[COMPANION_ACCOUNT_CLEANUP_PENDING_FIELD] === true;}+/** The control plane ended this signed-in computer's secure address for old phone apps ("retired"), and none came back. */ export const companionTunnelRetired = (credentials) => Boolean(storedAccount(credentials)) && !managedCompanionTunnelAccess(credentials) && credentials?.[COMPANION_TUNNEL_RETIRED_FIELD] === true;function storedAccount(credentials) {const email = normalizeAccountEmail(ownString(credentials, COMPANION_ACCOUNT_EMAIL_FIELD));@@ -338,8 +339,7 @@ export function createCompanionAccountService({const account = storedAccount(document);const persistedAccess = managedCompanionTunnelAccess(document);const available = healthy || Boolean(account);- const paused = Boolean(account) && !persistedAccess && document[COMPANION_ENDPOINT_PAUSED_FIELD] === true;- const tunnelRetired = Boolean(account) && !persistedAccess && document[COMPANION_TUNNEL_RETIRED_FIELD] === true;+ const paused = Boolean(account) && !persistedAccess && document[COMPANION_ENDPOINT_PAUSED_FIELD] === true, tunnelRetired = companionTunnelRetired(document);if (!healthy) {return publicState({available,diff --git a/electron/companion-e2e-desktop.mjs b/electron/companion-e2e-desktop.mjsindex ab8fd0a330..44d14ffaac 100644--- a/electron/companion-e2e-desktop.mjs+++ b/electron/companion-e2e-desktop.mjs@@ -8,7 +8,7 @@ const signedOut = () => Promise.reject(Object.assign(new Error("signed out"), {/** The desktop app's end-to-end connection, wired to its sidecar, its account and the power monitor. Dark in a* development build unless OMB_CONTROL_PLANE_URL names a control plane. */-export function createDesktopCompanionE2E({ isPackaged, appVersion, readCredentials, updateCredentials, powerMonitor, log }) {+export function createDesktopCompanionE2E({ isPackaged, appVersion, readCredentials, updateCredentials, powerMonitor, log, onState }) {let client = null;try {const baseURL = resolveCompanionControlPlaneURL({ isPackaged });@@ -26,6 +26,7 @@ export function createDesktopCompanionE2E({ isPackaged, appVersion, readCredenticompanionState,post: postCompanionMessage,log,+ onState,});setCompanionE2EHooks({ initialMessage: () => e2e.message(), tokenRejected: e2e.tokenRejected, changed: () => void e2e.reconcile() });powerMonitor?.on("resume", () => e2e.resumed());diff --git a/electron/companion-e2e.mjs b/electron/companion-e2e.mjsindex d6b3448882..ad520beeff 100644--- a/electron/companion-e2e.mjs+++ b/electron/companion-e2e.mjs@@ -34,6 +34,7 @@ export function createCompanionE2E({setTimer = setInterval,clearTimer = clearInterval,log = () => {},+ onState = () => {},}) {let identity = readE2EIdentity(readCredentials());let lastState = null;@@ -66,6 +67,7 @@ export function createCompanionE2E({async function reconcile() {lastState = await companionState().catch(() => null);+ onState(lastState);const need = relayNeed(lastState);if (need === true) tokens.start();else if (need === false) tokens.stop();diff --git a/electron/main.mjs b/electron/main.mjsindex 2a35920c47..3c2acc4775 100644--- a/electron/main.mjs+++ b/electron/main.mjs@@ -80,7 +80,7 @@ import { isKnownSkin, skinChrome } from "./skin-overlay.cjs";import { installCredentialStoreIpc, readSecureCredentials } from "./secure-credentials.mjs";import { createControlPlaneClient } from "./control-plane-client.mjs";import {- companionAccountCleanupPending,+ companionAccountCleanupPending, companionTunnelRetired,createCompanionAccountService,managedEndpointNeed,resolveCompanionControlPlaneURL,@@ -100,7 +100,7 @@ import { installCloudPlanIpc } from "./cloud-plan-ipc.mjs";import { cloudLinkOpensSheet, colorDotIcons, createCloudLook, createCloudReadyNotice, installCloudBuy, lookFile } from "./cloud-buy.mjs";import { createTrialNotices } from "./cloud-trial-notice.mjs";import { createDesktopText, DESKTOP_PORTS, jsonFile, registerDesktopPrefs, relabelDesktop } from "./desktop-prefs.mjs";-import { createDesktopIncludedX } from "./included-x.mjs"; import { createDesktopIncludedPages } from "./included-pages.mjs";+import { createDesktopIncludedX } from "./included-x.mjs"; import { createDesktopIncludedPages } from "./included-pages.mjs"; import { createPhoneLinkFact } from "./phone-link-fact.mjs";import { cloudPageSenderAllowed, cloudPlanDisk, cloudUnreachableText, createCloudPowerGate, isCloudHomeEntry, myCloudOrigin, rememberedCloudHome, savedCloudHomeOrigin, signInCloudSession, withCloudHome } from "./cloud-home.mjs";import { installCloudFiles } from "./cloud-sync-main.mjs";import { createCloudEntry } from "./cloud-entry.mjs"; import { installTeamJoin } from "./team-join-main.mjs";@@ -287,7 +287,7 @@ let companyBackupClientStateRequest = null;let companyRestoreCommitting = false;let companyBackupConfigurationRevision = 0;const managedDesktopRelay = createManagedDesktopRelay();-const includedX = createDesktopIncludedX({ account: () => cloudAccount, server: () => serverProc, log: slog }), includedPages = createDesktopIncludedPages({ account: () => cloudAccount, server: () => serverProc, log: slog });+const includedX = createDesktopIncludedX({ account: () => cloudAccount, server: () => serverProc, log: slog }), includedPages = createDesktopIncludedPages({ account: () => cloudAccount, server: () => serverProc, log: slog }), phoneLinkFact = createPhoneLinkFact({ retired: () => companionTunnelRetired(secureCredentialState?.read() ?? secureCredentials), server: () => (serverReady ? serverProc : null), log: slog });const cloudPower = createCloudPowerGate({ power: () => cloudAccount?.power() ?? null, wanted: () => Boolean(cloudSync?.running() || computerSharing?.lendingToCloud()) });const utilityServerExits = new WeakMap();const UTILITY_SERVER_STOP_TIMEOUT_MS = 6_500;@@ -304,7 +304,7 @@ const serverSupervisor = createServerSupervisor({serverStartConflictOnly = false;slog(`server ready pid=${proc.pid} port=${SERVER_PORT}`);void readCloudOfferBrand();- syncManagedComposioCredentials(); includedX.serverStarted(); includedPages.serverStarted(); railChanged();+ syncManagedComposioCredentials(); includedX.serverStarted(); includedPages.serverStarted(); phoneLinkFact.serverStarted(); railChanged();reportOwnListeners(proc);orgLibrary?.runtimeReady();if (managedDesktop) void managedDesktop.refresh().catch(() => {});@@ -2896,7 +2896,7 @@ app.whenReady().then(async () => {});secureCredentials = secureCredentialState.read();if (app.isPackaged) await ensurePhoneSecretIdentity();- companionE2E = createDesktopCompanionE2E({ isPackaged: app.isPackaged, appVersion: app.getVersion(), readCredentials: () => secureCredentialState?.read() ?? secureCredentials, updateCredentials: updateSecureCredentialDocument, powerMonitor, log: slog });+ companionE2E = createDesktopCompanionE2E({ isPackaged: app.isPackaged, appVersion: app.getVersion(), readCredentials: () => secureCredentialState?.read() ?? secureCredentials, updateCredentials: updateSecureCredentialDocument, powerMonitor, log: slog, onState: phoneLinkFact.observe });void companionE2E.start();desktopRemoteAccess = desktopCompanionAccess(secureCredentials);const hostedAccount = desktopRemoteAccess ? null : ensureCompanionAccountService();diff --git a/electron/phone-link-fact.mjs b/electron/phone-link-fact.mjsnew file mode 100644index 0000000000..05b39fb2de--- /dev/null+++ b/electron/phone-link-fact.mjs@@ -0,0 +1,39 @@+// How many paired phones have an older MausBot app that lost its way in when the control plane ended this computer's+// secure link ("retired"); 0 when it was not ended. Told to the local server when it changes and when a server starts.+import { deviceCounts } from "./companion-e2e.mjs";++/** @param {{ retired: () => boolean, server: () => { postMessage(message: unknown): void } | null, log: (line: string) => void }} options */+export function createPhoneLinkFact({ retired, server, log }) {+ let devices = null;+ let sent = null;+ const count = () => {+ try {+ return retired() && devices ? deviceCounts(devices).legacy : 0;+ } catch {+ return 0;+ }+ };+ const send = () => {+ const proc = server();+ if (!proc) return;+ const olderPhoneApps = count();+ if (sent?.proc === proc && sent.olderPhoneApps === olderPhoneApps) return;+ try {+ proc.postMessage({ type: "openmausbot:phone-link", olderPhoneApps });+ sent = { proc, olderPhoneApps };+ } catch (error) {+ log(`phone link fact sync failed: ${error?.message ?? error}`);+ }+ };+ return {+ /** A state that errored or could not read its devices tells nothing. */+ observe(state) {+ if (state && typeof state === "object" && !state.error && state.devicesUnreadable !== true && Array.isArray(state.devices)) devices = state;+ send();+ },+ serverStarted() {+ sent = null;+ send();+ },+ };+}diff --git a/electron/phone-link-fact.test.mjs b/electron/phone-link-fact.test.mjsnew file mode 100644index 0000000000..465d050b3b--- /dev/null+++ b/electron/phone-link-fact.test.mjs@@ -0,0 +1,91 @@+import { describe, expect, it, vi } from "vitest";++import {+ COMPANION_ACCOUNT_EMAIL_FIELD,+ COMPANION_ACCOUNT_USER_ID_FIELD,+ COMPANION_TUNNEL_RETIRED_FIELD,+ companionTunnelRetired,+} from "./companion-account-service.mjs";+import { createCompanionE2E } from "./companion-e2e.mjs";+import { createPhoneLinkFact } from "./phone-link-fact.mjs";++const signedIn = { [COMPANION_ACCOUNT_EMAIL_FIELD]: "[email protected]", [COMPANION_ACCOUNT_USER_ID_FIELD]: "user-1" };+const OLD = { id: "a", name: "Old phone", lastSeenAt: 1 };+const NEW = { id: "b", name: "New phone", lastSeenAt: 1, e2eAt: 2 };+const state = (devices) => ({ enabled: true, devices, pairing: null });++function harness(document = { ...signedIn, [COMPANION_TUNNEL_RETIRED_FIELD]: true }) {+ const posted = [];+ const f = { document, proc: { postMessage: (message) => posted.push(message) }, posted };+ f.fact = createPhoneLinkFact({ retired: () => companionTunnelRetired(f.document), server: () => f.proc, log: vi.fn() });+ return f;+}++describe("companionTunnelRetired", () => {+ it("is the account's tunnelRetired: signed in, no address left, and the control plane said retired", () => {+ expect(companionTunnelRetired({ ...signedIn, [COMPANION_TUNNEL_RETIRED_FIELD]: true })).toBe(true);+ expect(companionTunnelRetired(signedIn)).toBe(false);+ expect(companionTunnelRetired({ [COMPANION_TUNNEL_RETIRED_FIELD]: true }), "signed out").toBe(false);+ expect(companionTunnelRetired(null)).toBe(false);+ });+});++describe("the phone link fact for the local server", () => {+ it("tells the server how many paired phones have an older app once the link ended, and only when the number changes", () => {+ const f = harness();+ f.fact.observe(state([OLD, NEW]));+ expect(f.posted).toEqual([{ type: "openmausbot:phone-link", olderPhoneApps: 1 }]);+ f.fact.observe(state([OLD, NEW]));+ expect(f.posted, "the 30-second check with nothing new").toHaveLength(1);+ f.fact.observe(state([NEW, { ...OLD, e2eAt: 3 }]));+ expect(f.posted.at(-1), "the old phone updated and used the encrypted connection").toEqual({ type: "openmausbot:phone-link", olderPhoneApps: 0 });+ });++ it("says 0 while the link was not ended, whatever phones are paired", () => {+ const f = harness(signedIn);+ f.fact.observe(state([OLD]));+ expect(f.posted).toEqual([{ type: "openmausbot:phone-link", olderPhoneApps: 0 }]);+ f.document = { ...signedIn, [COMPANION_TUNNEL_RETIRED_FIELD]: true };+ f.fact.observe(state([OLD]));+ expect(f.posted.at(-1), "the next check after the control plane ended it").toEqual({ type: "openmausbot:phone-link", olderPhoneApps: 1 });+ });++ it("keeps the last readable device list over a sidecar that errs, and tells a restarted server again", () => {+ const f = harness();+ f.fact.observe(state([OLD]));+ f.fact.observe({ enabled: true, devices: [], pairing: null, error: "the companion is not responding" });+ f.fact.observe({ enabled: true, devicesUnreadable: true, devices: [] });+ f.fact.observe(null);+ expect(f.posted).toEqual([{ type: "openmausbot:phone-link", olderPhoneApps: 1 }]);+ f.proc = { postMessage: (message) => f.posted.push(message) };+ f.fact.observe(state([OLD]));+ expect(f.posted, "a new server process").toHaveLength(2);+ f.fact.serverStarted();+ expect(f.posted, "a restart of the same one").toHaveLength(3);+ });++ it("sends nothing with no server running, and survives one that refuses the message", () => {+ const f = harness();+ f.proc = null;+ f.fact.observe(state([OLD]));+ expect(f.posted).toEqual([]);+ f.proc = { postMessage: () => { throw new Error("gone"); } };+ expect(() => f.fact.serverStarted()).not.toThrow();+ });++ it("hears every state the encrypted connection's check reads", async () => {+ const seen = [];+ const e2e = createCompanionE2E({+ readCredentials: () => ({}),+ updateCredentials: async () => {},+ fetchGrant: async () => null,+ companionState: async () => state([OLD]),+ post: () => {},+ setTimer: () => 1,+ clearTimer: () => {},+ onState: (next) => seen.push(next),+ });+ await e2e.reconcile();+ expect(seen).toEqual([state([OLD])]);+ });+});diff --git a/server/index.ts b/server/index.tsindex f867132214..bd7121190d 100644--- a/server/index.ts+++ b/server/index.ts@@ -282,7 +282,7 @@ import { lentCopies, noteSyncBotTurn } from "./routes/cloud-sync.ts"; import { mimport { type CloudOwnership } from "./cloud-owner.ts"; import { memberLoginRefusal, personalMoveRefusal } from "./cloud-team.ts"; import { createCloudTeamHost, type MemberProfile } from "./host/cloud-team-host.ts"; import { engineHomes } from "./engine-homes/engine-homes.ts"; import { audienceMember, layerId, memberAudience } from "./audience.ts"; import { createPersonRooms, createRoomReads, type OwnGroupFrames } from "./host/room-reads.ts"; import { createPersonBotOrder } from "./host/person-bot-order.ts"; import { createMeRoutes } from "./routes/me.ts"; import { createTeamPhoneRoutes } from "./routes/team-phone.ts"; import { settleCloudHome } from "./cloud-home-settle.ts"; import { CLOUD_NOBODY_KEY, CLOUD_OUTSIDE_KEY } from "./cloud-sharing.ts";import { createCloudMoveRoutes } from "./cloud-move-http.ts";import { RESTART_EXIT_CODE } from "./restart.ts";-import { applyIncludedXMessage, holdIncludedServices, researchCredential, trialCreditCredential, xCredential, xResearchStatus } from "./included-services.ts"; import { createResearchAvailability } from "./research.ts";+import { applyIncludedXMessage, holdIncludedServices, researchCredential, trialCreditCredential, xCredential, xResearchStatus } from "./included-services.ts"; import { applyPhoneLinkMessage, phoneLinkPart } from "./phone-link.ts"; import { createResearchAvailability } from "./research.ts";import { CloudCreditProvider } from "./cloud-credit-provider.ts";import { createCreditMoves } from "./cloud-credit-moves.ts"; import { createRoutineHoldsHost } from "./host/routine-holds-host.ts";import { TRIAL_CREDIT_OWN_AI, TRIAL_KEY_HELD } from "./trial-credit.ts"; import { createHeldKeys } from "./cloud-held-keys.ts";@@ -1491,7 +1491,7 @@ utilityParentPort?.on("message", (event) => {if (handleDesktopTrustedApprovalMessage(message)) return;if (browserCleanup.receive(message)) return;if (phoneSecrets.receive(message) || botLogins.receiveHandoff(message, postDesktopPrivateMessage, (what) => cloudConnections.handoff(what))) return;- if (applyIncludedPagesMessage(message)) return; if (applyIncludedXMessage(message)) return void broadcast({ kind: "config", ...configStatus() });+ if (applyIncludedPagesMessage(message)) return; if (applyIncludedXMessage(message)) return void broadcast({ kind: "config", ...configStatus() }); if (applyPhoneLinkMessage(message)) return;composio.applyManagedBrokerMessage(message);} catch (error) {console.error(`[desktop-sync] rejected private parent message: ${error instanceof Error ? error.message : String(error)}`);@@ -2982,7 +2982,7 @@ function previewSystemPrompt(bot: BotRecord) {computer: previewPlan.computer && previewPlan.computer !== "off" && computerPromptKind ? previewPlan.computer : null,browser: previewPlan.computer === undefined ? false : previewPlan.browser,}, { note: previewPlan.note, cloudHome: Boolean(CLOUD_HOME), ownComputer: CLOUD_HOME && agentsMounted && lendingEnabled() ? sharedComputers.known(CLOUD_HOME_LENDER) : undefined }) },- { id: "cloud-home", label: "My Cloud", text: CLOUD_HOME ? cloudHomePrompt(agentsMounted && lendingEnabled(), syncedFolders(DATA_DIR), sharedComputers.known(CLOUD_HOME_LENDER), CLOUD_PERSONAL) + firstHourHooks.prompt(bot.id, bot.threadId) : "" },+ { id: "cloud-home", label: "My Cloud", text: CLOUD_HOME ? cloudHomePrompt(agentsMounted && lendingEnabled(), syncedFolders(DATA_DIR), sharedComputers.known(CLOUD_HOME_LENDER), CLOUD_PERSONAL) + firstHourHooks.prompt(bot.id, bot.threadId) : "" }, phoneLinkPart(),{ id: "composio", label: "Connected apps", text: caps?.composioMcp && bot.composio !== false && composio.configured(cfg) ? composioSystemPrompt(bot.connectorTools) + describeConnectorScopes(bot.connectorScopes) : "" },{ id: "email", label: "Email", text: caps?.emailMcp === true ? emailHost.prompt(bot) : "" }, { id: "meetings", label: "Meetings", text: meetingsUnavailablePrompt({ agentsTools: agentsMounted, cloudComputer: boat.boatConfigured(cfg) }) },...phones.previewParts(bot, caps?.deviceMcp === true),@@ -8367,7 +8367,7 @@ async function beginTurn({ id: "computer", label: "Computer", text: computerPrompt(computerPromptKind) },{ id: "team-computer", label: "Team computer", text: teamComputerPrompt(teamComputer) },{ id: "plan", label: "Surface", text: surfacePrompt({ computer: mountedComputer, browser: Boolean(integrations.browser) }, { pinned: plan.pinned, note: plan.note + vpsUnavailableNote + vmUpdateNote + (computerSkipped && plan.computer !== "off" ? computerSkippedNote(redactSecretsInText(computerSkipped)) : "") + (computerSelectionTurns.get(threadId)?.handoff && !integrations.browser ? HANDOFF_BROWSER_NOTE : ""), canSelect: computerSelectionTurns.has(threadId) && !computerSelectionTurns.get(threadId)?.handoff, cloudHome: Boolean(CLOUD_HOME), botOpened: plan.botOpened, ownComputer: CLOUD_HOME && integrations.agents && lendingEnabled() ? sharedComputers.known(CLOUD_HOME_LENDER) : undefined }) },- { id: "cloud-home", label: "My Cloud", text: CLOUD_HOME ? cloudHomePrompt(Boolean(integrations.agents) && lendingEnabled(), syncedFolders(DATA_DIR), sharedComputers.known(CLOUD_HOME_LENDER), CLOUD_PERSONAL) + firstHourHooks.prompt(bot.id, threadId) : "" },+ { id: "cloud-home", label: "My Cloud", text: CLOUD_HOME ? cloudHomePrompt(Boolean(integrations.agents) && lendingEnabled(), syncedFolders(DATA_DIR), sharedComputers.known(CLOUD_HOME_LENDER), CLOUD_PERSONAL) + firstHourHooks.prompt(bot.id, threadId) : "" }, phoneLinkPart(),{ id: "composio", label: "Connected apps", text: integrations.composio ? composioSystemPrompt(liveBot?.connectorTools ?? bot.connectorTools) + describeConnectorScopes((liveBot ?? bot).connectorScopes) : "" },{ id: "mcp", label: "MCP servers", text: customMcpPrompt(Object.keys(integrations.custom ?? {}), mcpServersHost.off(bot)) }, { id: "to-connect", label: "Connections to make", text: cloudConnections.prompt(liveBot ?? bot, lentMcp.lines(liveBot ?? bot, { botId: bot.id, threadId, generation: dispatchClaimId })) + teamConnections.prompt(threadId, dispatchClaimId, integrations) },{ id: "browser", label: "Browser", text: integrations.browser ? browserPromptFor(bot, Boolean(integrations.agents)) : "" },@@ -10181,7 +10181,7 @@ async function runClaimedGroupMemberTurn({ id: "computer", label: "Computer", text: computerPrompt(roomComputerPromptKind) },{ id: "team-computer", label: "Team computer", text: teamComputerPrompt(roomTeamComputer) },{ id: "plan", label: "Surface", text: surfacePrompt({ computer: roomTeamComputer ? "cloud" : roomVmTarget ? "vm" : surfaceOfComputerKind(roomComputerKind), browser: Boolean(integrations.browser) }, { note: roomPlan.note, cloudHome: Boolean(CLOUD_HOME), ownComputer: CLOUD_HOME && integrations.agents && lendingEnabled() ? sharedComputers.known(CLOUD_HOME_LENDER) : undefined }) },- { id: "cloud-home", label: "My Cloud", text: CLOUD_HOME ? cloudHomePrompt(Boolean(integrations.agents) && lendingEnabled(), syncedFolders(DATA_DIR), sharedComputers.known(CLOUD_HOME_LENDER), CLOUD_PERSONAL) : "" },+ { id: "cloud-home", label: "My Cloud", text: CLOUD_HOME ? cloudHomePrompt(Boolean(integrations.agents) && lendingEnabled(), syncedFolders(DATA_DIR), sharedComputers.known(CLOUD_HOME_LENDER), CLOUD_PERSONAL) : "" }, phoneLinkPart(),{ id: "browser", label: "Browser", text: integrations.browser ? browserPromptFor(bot, Boolean(integrations.agents)) : "" },{ id: "data", label: "Data", text: integrations.data ? BUILT_IN_DATA_SYSTEM_PROMPT : "" },{ id: "email", label: "Email", text: instance.adapter.capabilities.emailMcp === true ? emailHost.prompt(readyBot) : "" },diff --git a/server/phone-link.test.ts b/server/phone-link.test.tsnew file mode 100644index 0000000000..eecffddf3e--- /dev/null+++ b/server/phone-link.test.ts@@ -0,0 +1,44 @@+import { afterEach, describe, expect, it } from "vitest";++import { applyPhoneLinkMessage, phoneLinkPart, phoneLinkPrompt } from "./phone-link.ts";+import { buildSystemPrompt } from "./system-prompt.ts";++const told = (olderPhoneApps: unknown) => applyPhoneLinkMessage({ type: "openmausbot:phone-link", olderPhoneApps });+afterEach(() => { told(0); });++describe("phoneLinkPrompt", () => {+ it("is empty unless this computer's link ended with a phone on an older app, so no other prompt pays for it", () => {+ expect(phoneLinkPrompt(0)).toBe("");+ expect(phoneLinkPart()).toEqual({ id: "phone-link", label: "Phone link", text: "" });+ const built = buildSystemPrompt("You are Ada.", "", [phoneLinkPart()]);+ expect(built.sections.map((section) => section.id)).not.toContain("phone-link");+ expect(built.text).not.toContain("Phone link");+ });++ it("gives the cause, the fix and what won't help, for the phones it is true of", () => {+ const one = phoneLinkPrompt(1);+ expect(one).toContain("this computer's secure link for older MausBot phone apps has ended, and 1 phone paired with this computer has an older app");+ expect(one).toContain("connects on the same Wi-Fi only");+ expect(one).toContain("\"No route to your computer\"");+ expect(one).toContain("\"Anywhere, through MausBot\" doesn't work");+ expect(one).toContain("update the MausBot app on that phone, then open it once on the same Wi-Fi as this computer;"+ + " if that doesn't reconnect it, they pair it again in Settings → Phone & devices");+ expect(one.indexOf("open it once"), "the easy way first").toBeLessThan(one.indexOf("pair it again"));+ expect(one).toContain("Turning routes off and on, Try reconnecting, force-quitting the app away from that Wi-Fi or checking a VPN won't help");+ expect(phoneLinkPrompt(2)).toContain("2 phones paired with this computer have an older app");+ expect(Buffer.byteLength(one, "utf8")).toBeLessThan(700);+ });++ it("takes main's word from the private parent port, and only a whole number of phones", () => {+ expect(applyPhoneLinkMessage({ type: "openmausbot:included-x", access: null })).toBe(false);+ expect(applyPhoneLinkMessage(null)).toBe(false);+ expect(told(1)).toBe(true);+ const built = buildSystemPrompt("You are Ada.", "", [phoneLinkPart()]);+ expect(built.sections.find((section) => section.id === "phone-link")?.text).toBe(phoneLinkPrompt(1));+ expect(built.stable, "it changes only when the phones do, so it stays in the cached half").toContain("Phone link:");+ for (const bad of [-1, 1.5, "2", 101, null]) expect(() => told(bad), String(bad)).toThrow(/invalid phone link fact/);+ expect(phoneLinkPart().text, "a bad message changes nothing").toBe(phoneLinkPrompt(1));+ told(0);+ expect(phoneLinkPart().text, "every phone updated and paired again").toBe("");+ });+});diff --git a/server/phone-link.ts b/server/phone-link.tsnew file mode 100644index 0000000000..7d64c57f45--- /dev/null+++ b/server/phone-link.ts@@ -0,0 +1,28 @@+// Paired phones on an older MausBot app that can no longer connect away from the person's Wi-Fi, because this computer's+// secure link for older phone apps ended. Only the desktop's main process says so, over the private parent port; 0 anywhere else.+import type { PromptPart } from "./system-prompt.ts";++let olderPhoneApps = 0;++/** `{ type: "openmausbot:phone-link", olderPhoneApps }`: true when it was one (then applied), false for any other+ * message; a malformed one throws and changes nothing. */+export function applyPhoneLinkMessage(message: unknown): boolean {+ if (!message || typeof message !== "object" || (message as { type?: unknown }).type !== "openmausbot:phone-link") return false;+ const count = (message as { olderPhoneApps?: unknown }).olderPhoneApps;+ if (!Number.isSafeInteger(count) || (count as number) < 0 || (count as number) > 100) throw new Error("invalid phone link fact");+ olderPhoneApps = count as number;+ return true;+}++export function phoneLinkPrompt(count: number = olderPhoneApps): string {+ if (count <= 0) return "";+ const phones = count === 1 ? "1 phone paired with this computer has" : `${count} phones paired with this computer have`;+ return ` Phone link: this computer's secure link for older MausBot phone apps has ended, and ${phones} an older app that needed it, so it connects on the same Wi-Fi only.`+ + " If the person says their phone stopped connecting away from Wi-Fi, says \"No route to your computer\" or that \"Anywhere, through MausBot\" doesn't work, this is why:"+ + " they update the MausBot app on that phone, then open it once on the same Wi-Fi as this computer; if that doesn't reconnect it, they pair it again in Settings → Phone & devices."+ + " Turning routes off and on, Try reconnecting, force-quitting the app away from that Wi-Fi or checking a VPN won't help.";+}++export function phoneLinkPart(): PromptPart {+ return { id: "phone-link", label: "Phone link", text: phoneLinkPrompt() };+}diff --git a/server/skill-library.test.ts b/server/skill-library.test.tsindex 198fde3783..19582274b2 100644--- a/server/skill-library.test.ts+++ b/server/skill-library.test.ts@@ -150,3 +150,30 @@ describe("bundled data-dashboards skill", () => {expect(Buffer.byteLength(template)).toBeLessThan(APP_LIMITS.htmlBytes / 4);});});++describe("bundled phone-connection skill", () => {+ const skills = loadBundledSkills(join(process.cwd(), "skills"));+ const guide = skills.find((skill) => skill.manifest.id === "phone-connection")?.instructions ?? "";+ const ids = (text: string) => selectBundledSkills(text, [], skills).map((skill) => skill.manifest.id);++ it("mounts when the phone can't reach the computer, with no capability, and stays out of other turns", () => {+ for (const text of ["My phone stopped connecting when I'm away from Wi-Fi", "the app says No route to your computer at 192.168.1.20",+ "Anywhere, through MausBot doesn't work", "why won't my phone connect on mobile data? my phone won't connect", "how do I pair my phone again?"]) {+ expect(ids(text), text).toContain("phone-connection");+ }+ for (const text of ["call my phone at 5pm", "Write a paragraph about photography", "book a call for Friday", "summarize this email", "check the wifi password in my notes"]) {+ expect(ids(text), text).not.toContain("phone-connection");+ }+ });++ it("tells the cause only from the live Phone link line, gives the fix, and rules out what can't help", () => {+ expect(guide).toContain("Same Wi-Fi"); expect(guide).toContain("Anywhere, through MausBot");+ expect(guide).toContain('starts "Phone link:"');+ expect(guide).toContain("update the MausBot app on that phone");+ expect(guide).toMatch(/open it once\s+on the same Wi-Fi as this computer/);+ expect(guide.indexOf("open it once"), "the easy way first").toBeLessThan(guide.indexOf("pair it again"));+ expect(guide).toContain("never say the link ended or that their app is too old");+ for (const futile of ["off and on", "Try reconnecting", "force-quitting", "VPN"]) expect(guide).toContain(futile);+ expect(guide.split("\n").length).toBeLessThanOrEqual(60);+ });+});diff --git a/skills/phone-connection/SKILL.md b/skills/phone-connection/SKILL.mdnew file mode 100644index 0000000000..2949edb685--- /dev/null+++ b/skills/phone-connection/SKILL.md@@ -0,0 +1,43 @@+---+name: phone-connection+description: "Why the MausBot phone app can't reach the person's computer, and what fixes it. Use when their phone stops connecting, works only on the same Wi-Fi, or shows No route to your computer."+---++# When the phone can't reach their computer++The MausBot phone app reaches the person's computer, where the OpenMausBot+desktop app runs, in the ways turned on in Settings → Phone & devices:++- **Same Wi-Fi**: the phone and the computer are on the same network. Every+ version of the phone app can use it.+- **Anywhere, through MausBot**: from anywhere, through MausBot Relay, end-to-end+ encrypted. Only a phone app with the encrypted connection can use it.+- **Tailscale**, under More ways in, for people who use it.++Older phone apps reached the computer away from home through an older secure+link instead, and that link is being switched off. Once it has ended for a+computer, a phone with an older app still works on the same Wi-Fi, but away from+it shows "No route to your computer at …" and keeps retrying. The phone app+can't tell why.++## What to say++1. Look in your instructions for a line that starts "Phone link:". It is there+ only when this computer's secure link for older phone apps has ended and a+ paired phone still has an older app. Then that is the cause. Tell them to+ update the MausBot app on that phone from its app store, then open it once+ on the same Wi-Fi as this computer: that upgrades its pairing by itself. If+ that doesn't reconnect it, they pair it again in Settings → Phone & devices+ (the phone's row there has Pair again), then remove its old entry.+2. With no such line, never say the link ended or that their app is too old.+ Check the usual things, one at a time: the computer is on and awake with+ OpenMausBot open; on the same Wi-Fi the phone connects; Anywhere, through+ MausBot is on in Settings → Phone & devices; the phone is in the paired list+ and its Connect from is Anywhere, not Wi-Fi and Tailscale only.+3. If you run on My Cloud, phones reach the Cloud through its own web address,+ not these ways: this guide is about the desktop app on their computer.++For an older app after the link ended, none of these help, so don't suggest+them: turning Anywhere, through MausBot off and on, Try reconnecting,+force-quitting the app away from that Wi-Fi, reinstalling the same app version,+restarting the computer, or checking for a VPN.diff --git a/skills/phone-connection/manifest.json b/skills/phone-connection/manifest.jsonnew file mode 100644index 0000000000..8c1a6454c6--- /dev/null+++ b/skills/phone-connection/manifest.json@@ -0,0 +1,39 @@+{+ "id": "phone-connection",+ "name": "Phone Connection Help",+ "version": "1.0.0",+ "description": "Why the MausBot phone app can't reach the person's computer, and what fixes it.",+ "defaultEnabled": true,+ "triggerTerms": [+ "no route to your computer",+ "anywhere, through mausbot",+ "anywhere through mausbot",+ "same wi-fi",+ "away from wi-fi",+ "away from my wi-fi",+ "away from home wi-fi",+ "off wi-fi",+ "off my wi-fi",+ "outside my wi-fi",+ "on mobile data",+ "on cellular",+ "phone won't connect",+ "phone wont connect",+ "phone can't connect",+ "phone cant connect",+ "phone isn't connecting",+ "phone is not connecting",+ "phone not connecting",+ "phone stopped connecting",+ "phone doesn't connect",+ "phone can't reach",+ "phone app won't connect",+ "phone app can't connect",+ "mausbot app on my phone",+ "pair my phone",+ "pair the phone",+ "phone & devices",+ "phone and devices"+ ],+ "requiredCapabilities": []+}diff --git a/src/components/AppNotices.test.ts b/src/components/AppNotices.test.tsindex 4f38bfdc0c..ed96a8ab1a 100644--- a/src/components/AppNotices.test.ts+++ b/src/components/AppNotices.test.ts@@ -1531,3 +1531,102 @@ describe("ModelGo's sponsor card", () => {});});++describe("Update MausBot on your phone", () => {+ const TITLE = "Update MausBot on your phone", MODELGO = "ModelGo is now in MausBot";+ const OLD = { id: "0f8c2a41-1111-4222-8333-444455556666", name: "Ada's iPhone", createdAt: 1, lastSeenAt: 1, cloudDesktopAccess: false };+ const NEW = { id: "5b5b5b5b-1111-4222-8333-444455556666", name: "Work phone", createdAt: 1, lastSeenAt: 1, cloudDesktopAccess: false, e2eAt: 2 };+ const OTHER = { ...OLD, id: "7c7c7c7c-1111-4222-8333-444455556666", name: "Old Android" };+ let devices: unknown[], retired: boolean;+ let companion: ReturnType<typeof vi.fn>, linked: ReturnType<typeof vi.fn>;+ /** This computer's phone link and its account, as Settings → Phone & devices reads them through the same two bridges. */+ const bridgesOn = () => {+ companion = vi.fn(async () => ({ enabled: true, keepAwake: false, port: 1, devices, pairing: null }));+ linked = vi.fn(async () => ({ available: true, status: "ready", ...(retired ? { tunnelRetired: true } : {}) }));+ Object.assign(window.ogb as Record<string, unknown>, { companion: { state: companion }, companionAccount: { state: linked } });+ };+ beforeEach(() => { devices = [OLD, NEW]; retired = true; bridgesOn(); });++ it("shows once this computer's link ended and a paired phone has an older app: the phone, what to do, Open Phone & devices and Not now", async () => {+ const shown = await launch();+ expect(shown).toContain(TITLE); expect(shown).toContain('data-notice="phone-update"');+ for (const text of ["Ada's iPhone has an older version of the MausBot app, which can no longer connect to this computer away from your Wi-Fi.",+ "Update the app on that phone, then open it once on the same Wi-Fi as this computer. If that doesn't reconnect it, pair it again.",+ "Open Phone & devices", "Not now"]) expect(shown).toContain(text);+ expect(shown).not.toContain("Work phone");+ expect(launchNotice()).toBe("phone-app-update");+ });++ it("Open Phone & devices opens pairing in Settings, and the card is done for that phone", async () => {+ await launch();+ tree().find(node => node.type === "button" && node.props.children === "Open Phone & devices")!.props.onClick(); await flush();+ expect(f.dispatch).toHaveBeenCalledWith({ type: "toggleAppSettings", open: true, section: "companion", phonePairing: true });+ expect(hints()).toContain("phone-app-update:0f8c2a41");+ expect(render()).toBe("");+ expect(await relaunch()).not.toContain(TITLE);+ });++ it("after Not now it stays away, until another phone with an older app is paired: then once more, for that phone", async () => {+ await launch(); press("Not now"); await flush();+ expect(render()).toBe(""); expect(await relaunch()).not.toContain(TITLE);+ devices = [OLD, OTHER]; bridgesOn();+ expect(await relaunch()).toContain("Old Android has an older version");+ press("Not now"); await flush();+ expect(await relaunch()).not.toContain(TITLE);+ });++ it("names how many phones when more than one has an older app", async () => {+ devices = [OLD, OTHER]; bridgesOn();+ expect(await launch()).toContain("2 of your phones have an older version of the MausBot app");+ });++ it("never when no paired phone has an older app, nor when this computer's link was not ended", async () => {+ devices = [NEW]; bridgesOn();+ expect(await launch(), "every phone updated and paired again").not.toContain(TITLE);+ expect(linked, "the account is asked only for a phone with an older app").not.toHaveBeenCalled();+ devices = []; bridgesOn();+ expect(await relaunch(), "no phone").not.toContain(TITLE);+ devices = [OLD]; retired = false; bridgesOn();+ expect(await relaunch(), "the link was not ended").not.toContain(TITLE);+ linked.mockRejectedValue(new Error("only on the local page")); retired = true;+ expect(await relaunch(), "an account it can't read").not.toContain(TITLE);+ });++ it("only on this computer's own page of the desktop app, never on My Cloud or a server's page", async () => {+ f.state.config.onboarding.hintsSeen = [...withTourFinished(undefined), "cloud-setup-hidden"];+ viewer = { hosted: false, canSave: true, cloudHome: true }; f.state.config.cloudHome = true; showWindow(MY_CLOUD); bridgesOn();+ expect(await relaunch(), "My Cloud").not.toContain(TITLE);+ viewer = { hosted: true, canSave: true }; f.state.config.cloudHome = false; showWindow(VPS); bridgesOn();+ expect(await relaunch(), "a server's page").not.toContain(TITLE);+ expect(companion).not.toHaveBeenCalled();+ vi.stubGlobal("window", { addEventListener: vi.fn(), removeEventListener: vi.fn() });+ expect(await relaunch(), "a plain browser").not.toContain(TITLE);+ });++ it("shows on a branded build too, as Settings → Phone & devices explains it there", async () => {+ f.brand = "file";+ expect(await launch()).toContain(TITLE);+ });++ it("is a notice to act on: ahead of the sponsor's card, which follows once it is closed, and behind the Grok Bot popup", async () => {+ storage.delete(MODELGO_OFFER_NOTICE);+ expect(await launch()).toContain(TITLE);+ press("Not now"); await flush();+ expect(await settle(), "then the sponsor's card, in the same launch").toContain(MODELGO);+ storage.delete(GROK_MOVE_NOTICE); session.clear(); f.state.config.onboarding.hintsSeen = withTourFinished(undefined); storage.delete("phone-app-update:0f8c2a41");+ const first = await launch();+ expect(first, "the Grok Bot popup goes first").not.toContain(TITLE);+ expect(launchNotice()).toBe(GROK_MOVE_NOTICE);+ });++ it("waits while it can't tell yet, and over a live call", async () => {+ let answer = (_value: unknown) => {};+ companion.mockImplementation(() => new Promise(resolve => { answer = resolve; }));+ storage.delete(MODELGO_OFFER_NOTICE);+ expect(await launch(), "nothing lower shows meanwhile").toBe("");+ answer({ enabled: true, devices, pairing: null }); await flush();+ expect(await settle()).toContain(TITLE);+ session.clear(); bridgesOn(); f.state.liveCall = { status: "active" };+ expect(await launch(), "a live call").toBe("");+ });+});diff --git a/src/components/AppNotices.tsx b/src/components/AppNotices.tsxindex 622ae6f495..fea2d845e8 100644--- a/src/components/AppNotices.tsx+++ b/src/components/AppNotices.tsx@@ -12,7 +12,7 @@ import { buyOfferAllowed, cloudNoticeKind, cloudPlanView, cloudTrialNotice, clouimport { jobRoutine, useCloudIntent } from "@/lib/cloud-intent";import { CLOUD_INTENT_GIVEN, cloudSetupStage } from "@/lib/cloud-setup";import { cornerPopupWaits, firstChatQuiet, firstReplyPending } from "@/lib/corner-popup";-import { BOAT_OFFER_NOTICE, CLOUD_INTRO, CLOUD_NOTICE, CLOUD_TRIAL_NOTICE, dismissNotice, GROK_MOVE_NOTICE, introShown, introStage, launchNotice, markLaunchNotice, MODELGO_OFFER_NOTICE, nextNotice, noticeSeen, PRODUCT_HUNT_NOTICE, PRODUCT_HUNT_UNTIL, PRODUCT_HUNT_URL, SIMPLE_MODE_NOTICE, STAR_NOTICE, TWO_PLACES_NOTICE, UPDATES_CONSENT_NOTICE, usedBefore, WHATS_NEW_NOTICE } from "@/lib/notices";+import { BOAT_OFFER_NOTICE, CLOUD_INTRO, CLOUD_NOTICE, CLOUD_TRIAL_NOTICE, dismissNotice, dismissNotices, GROK_MOVE_NOTICE, introShown, introStage, launchNotice, markLaunchNotice, MODELGO_OFFER_NOTICE, nextNotice, noticeSeen, PHONE_UPDATE_NOTICE, phoneUpdateHint, PRODUCT_HUNT_NOTICE, PRODUCT_HUNT_UNTIL, PRODUCT_HUNT_URL, SIMPLE_MODE_NOTICE, STAR_NOTICE, TWO_PLACES_NOTICE, UPDATES_CONSENT_NOTICE, usedBefore, WHATS_NEW_NOTICE } from "@/lib/notices";import { useTwoPlaces } from "@/lib/two-places";import { SIMPLE_ONLY } from "@/lib/simple-only";import { useAdvancedBackDue, useNewLookDue } from "@/lib/new-look";@@ -22,6 +22,7 @@ import { reportWhatsNew, WHATS_NEW_SOURCES, whatsNewAudience, whatsNewView, typeimport { cloudSignInDue, onboardingCloudOffered, welcomeFinishedThisLaunch, type WelcomeViewer } from "@/lib/onboarding";import { launchDialogShown, markLaunchDialog } from "@/lib/launch-dialogs";import { useUpdaterState } from "@/lib/updater";+import { phonePairingSettingsAction } from "@/lib/phone-pairing";import { t } from "@/lib/i18n";import { BoatOfferCard, reportBoatOffer, type BoatOfferAction } from "./BoatOffer";import { engineReady } from "./EngineLibrary";@@ -38,6 +39,7 @@ import { localDesktopPage } from "./onboarding/WelcomeGate";import { UpdatesConsentDialog, updatesConsentBridge, useUpdatesConsent } from "./UpdatesConsent";import { useMausBotWelcomeDue } from "./MausBotWelcome";import { NewLookNotice, reportNewLook } from "./NewLookNotice";+import { PhoneUpdateCard, phonesToTell, useRetiredLinkPhones } from "./PhoneUpdateNotice";import { reportSimpleModePrompt, SimpleModePrompt } from "./SimpleModePrompt";import { TwoPlacesCard } from "./TwoPlacesCard";import { WhatsNewPopup } from "./whats-new/WhatsNewPopup";@@ -102,6 +104,8 @@ export function AppNotices({ quiet = false, viewer = null, now = Date.now }: { q// Bots in two places: this computer's page only, where main knows what lives here.const two = useTwoPlaces();const twoFact = !local || two.suggest === null ? false : two.suggest === undefined ? null : true;+ // Phones whose older app lost its way in: this computer's own page only, never a Cloud, a server's page or client mode.+ const linkPhones = useRetiredLinkPhones(!remote && local);useEffect(() => {if (!bridge) return;let active = true, updated = false;@@ -203,13 +207,17 @@ export function AppNotices({ quiet = false, viewer = null, now = Date.now }: { q// the welcome or MausBot's card took, or during a live call.const modelgoNow = !modelgoHere || moving || welcomeFinishedThisLaunch() || launchDialogShown() === "mausbot" || desktopState?.seen.includes(MODELGO_OFFER_NOTICE) ? false: organization === null || moving === null || firstChat === null || mausBotFirst || (state.liveCall && state.liveCall.status !== "ended") || (desktop && !desktopState) ? null : true;+ const retiredPhones = phonesToTell(linkPhones, record);+ const phoneNow = retiredPhones?.length === 0 ? false+ : retiredPhones === undefined || !viewer || mausBotFirst || (state.liveCall && state.liveCall.status !== "ended") ? null : true;const launch = launchNotice();// After a closed popup only the product-updates question and ModelGo's card may follow in this launch (nextNotice's// FOLLOWERS); nothing else does.const notice = waits ? null: firstChatQuiet(state) ? (grokNow === true && (launch === null || launch === GROK_MOVE_NOTICE) ? GROK_MOVE_NOTICE : null)- : cards || whatsNewHere || consentHere || simpleDue || boatHere || modelgoHere || twoFact !== false || grokNow !== false ? nextNotice({+ : cards || whatsNewHere || consentHere || simpleDue || boatHere || modelgoHere || twoFact !== false || grokNow !== false || phoneNow !== false ? nextNotice({[GROK_MOVE_NOTICE]: grokNow,+ [PHONE_UPDATE_NOTICE]: phoneNow,// As the What's new popup: never in the launch whose welcome just finished, nor over MausBot's first-launch card.[SIMPLE_MODE_NOTICE]: !simpleDue || afterWelcome === true ? false : afterWelcome === null || mausBotFirst || simpleBlocked ? null : true,[WHATS_NEW_NOTICE]: whatsNewDue === false || whatsNewState === "none" || moving || afterWelcome === true ? false@@ -278,6 +286,12 @@ export function AppNotices({ quiet = false, viewer = null, now = Date.now }: { qreturn <GrokMovePopup onDone={done} />;}+ if (notice === PHONE_UPDATE_NOTICE && retiredPhones?.length) {+ const done = () => { close(); const patch = dismissNotices(record, retiredPhones.map(phone => phoneUpdateHint(phone.id)));+ if (patch) void api("/api/config", { method: "PUT", body: JSON.stringify(patch) }).then(config => dispatch({ type: "configStatus", config })).catch(() => {}); };+ return <PhoneUpdateCard phones={retiredPhones} onOpen={() => { done(); dispatch(phonePairingSettingsAction()); }} onDismiss={done} />;+ }+if (notice === SIMPLE_MODE_NOTICE) {return SIMPLE_ONLY || advancedBack ? <NewLookNotice onClose={close} back={advancedBack} /> : <SimpleModePrompt onClose={close} />;}diff --git a/src/components/PairedPhones.test.ts b/src/components/PairedPhones.test.tsindex 6a2c240583..be45adaaa3 100644--- a/src/components/PairedPhones.test.ts+++ b/src/components/PairedPhones.test.ts@@ -37,6 +37,18 @@ describe("paired phones", () => {expect(phoneSubtitle(phone(), false, true)).toMatch(/^Last seen /);});+ it("on a phone whose older app lost its way in, says to update and pair again, with Pair again right there", () => {+ const retired = { ...c, account: { available: true, status: "ready", tunnelRetired: true } } as unknown as PhoneSetupController;+ const rowFor = (device: PhoneDevice, controller: PhoneSetupController, onPairAgain?: () => void) =>+ createElement(PhoneRow, { device, connected: false, state: state(), c: controller, onRemoved: () => {}, onPairAgain });+ const markup = renderToStaticMarkup(rowFor(phone(), retired, () => {}));+ expect(markup).toContain("This phone has an older MausBot app. Update the app, then open it once on the same Wi-Fi as this computer. If that doesn't reconnect it, pair it again here.");+ expect(markup).toMatch(/<button type="button"[^>]*>Pair again<\/button>/);+ expect(renderToStaticMarkup(rowFor(phone(), retired)), "no way to pair from here: no button").not.toContain("Pair again");+ expect(renderToStaticMarkup(rowFor(phone({ e2eAt: NOW }), retired, () => {})), "a phone on the encrypted connection").not.toContain("older MausBot app");+ expect(renderToStaticMarkup(rowFor(phone(), c, () => {})), "the link not ended").not.toContain("older MausBot app");+ });+it("lists connected phones first, then the most recently seen", () => {const order = sortPhones([phone({ id: "a", lastSeenAt: 3 }), phone({ id: "b", lastSeenAt: 1 }), phone({ id: "c", lastSeenAt: 2 })],diff --git a/src/components/PairedPhones.tsx b/src/components/PairedPhones.tsxindex 930c70c777..2c64d42b0a 100644--- a/src/components/PairedPhones.tsx+++ b/src/components/PairedPhones.tsx@@ -23,12 +23,13 @@ export function phoneSubtitle(device: PhoneDevice, connected: boolean, e2eEnablereturn parts.join(" · ");}-export function PhoneRow({ device, connected, state, c, onRemoved, defaultOpen = false }: {+export function PhoneRow({ device, connected, state, c, onRemoved, onPairAgain, defaultOpen = false }: {device: PhoneDevice;connected: boolean;state: CompanionState;c: PhoneSetupController;onRemoved: (name: string) => void;+ onPairAgain?: () => void;defaultOpen?: boolean;}) {const [open, setOpen] = useState(defaultOpen);@@ -44,7 +45,12 @@ export function PhoneRow({ device, connected, state, c, onRemoved, defaultOpen =<div className="truncate text-[14px] font-medium text-ink">{device.name}</div><div className="truncate text-[12px] text-ink-secondary">{phoneSubtitle(device, connected, e2eEnabled)}</div>{c.account?.paused && <div className="truncate text-[12px] text-ink-secondary">{t("remote.devices.paused")}</div>}- {c.account?.tunnelRetired && !device.e2eAt && <div className="text-[12px] leading-relaxed text-warning">{t("remote.devices.retired")}</div>}+ {c.account?.tunnelRetired && !device.e2eAt && (+ <div className="text-[12px] leading-relaxed text-warning" data-phone-retired="">+ {t("remote.devices.retired")}+ {onPairAgain && <>{" "}<button type="button" className="text-accent hover:underline" onClick={onPairAgain}>{t("remote.devices.pairAgain")}</button></>}+ </div>+ )}</div><buttononClick={() => setOpen((value) => !value)}@@ -115,7 +121,7 @@ export function PhoneRow({ device, connected, state, c, onRemoved, defaultOpen =}/** One grouped card: a dot, the name and one line per phone. Remove acts at once. */-export function PairedPhones({ c, state }: { c: PhoneSetupController; state: CompanionState }) {+export function PairedPhones({ c, state, onPairAgain }: { c: PhoneSetupController; state: CompanionState; onPairAgain?: () => void }) {const [removed, setRemoved] = useState<string | null>(null);const connected = new Set(state.connectedDeviceIds ?? []);if (state.devices.length === 0 && !removed) return null;@@ -124,7 +130,7 @@ export function PairedPhones({ c, state }: { c: PhoneSetupController; state: Com{state.devices.length > 0 && (<ul className="rounded-xl border border-hairline/40 bg-card">{sortPhones(state.devices, connected).map((device) => (- <PhoneRow key={device.id} device={device} connected={connected.has(device.id)} state={state} c={c} onRemoved={setRemoved} />+ <PhoneRow key={device.id} device={device} connected={connected.has(device.id)} state={state} c={c} onRemoved={setRemoved} onPairAgain={onPairAgain} />))}</ul>)}diff --git a/src/components/PhoneDevicesSection.tsx b/src/components/PhoneDevicesSection.tsxindex 570a5e7c11..7417e4ef00 100644--- a/src/components/PhoneDevicesSection.tsx+++ b/src/components/PhoneDevicesSection.tsx@@ -17,6 +17,7 @@ import {} from "./PhoneSetupFlow";import { companionPairingMode } from "../lib/phone-setup";import { revealPhonePairing } from "../lib/phone-pairing";+import { showTunnelRetiredNotice } from "../lib/phone-link";import { PhonesList } from "./PhonesList";import { PairedPhones } from "./PairedPhones";import { TailnetComputers } from "./TailnetComputers";@@ -30,6 +31,7 @@ export {companionPairingMode,loadCompanionBridgeState,shouldHydrateCompanionEmail,+ showTunnelRetiredNotice,};export interface CompanionPanelStatus {@@ -144,14 +146,6 @@ export function shouldResumePausedAddress(return account?.paused === true && account.available && state?.enabled === true && !state.error && state.devices.length > 0;}-/** The secure address was ended for old phone apps and a phone here still depends on it: say what to do, once. */-export function showTunnelRetiredNotice(- account: Pick<CompanionAccountState, "tunnelRetired"> | null,- state: Pick<CompanionState, "devices"> | null,-): boolean {- return account?.tunnelRetired === true && Boolean(state?.devices.some((device) => !device.e2eAt));-}-export const relative = (at: number) => {const seconds = Math.round((Date.now() - at) / 1000);if (seconds < 90) return t("remote.time.justNow");@@ -369,6 +363,7 @@ export function PhoneDevicesSection({ profileEmail = "", focusRequest = 0, simplconst tailscaleOn = state.routes?.tailscale?.on === true;const httpsOn = state.routes?.https?.on === true;const hosted = state.endpoints?.find((endpoint) => endpoint.kind === "hosted");+ const pairAgain = c.busy || remoteBlocked ? undefined : () => setPairing("device");const pairButton = (label: string) => (<button type="button" disabled={c.busy || Boolean(remoteBlocked)} title={managedBy ?? undefined} onClick={() => setPairing("device")}className="w-fit rounded-lg bg-accent px-3 py-2 text-[13px] font-medium text-white disabled:opacity-40" data-pair-device="">@@ -388,7 +383,7 @@ export function PhoneDevicesSection({ profileEmail = "", focusRequest = 0, simpl) : (<div className="flex flex-col gap-3 rounded-xl border border-hairline/40 bg-card px-4 py-3"><div className="text-[13px] font-medium text-ink">{t("devices.simple.yourPhone")}</div>- <PairedPhones c={c} state={state} />+ <PairedPhones c={c} state={state} onPairAgain={pairAgain} /><div className="text-[12px] text-ink-secondary">{reachLine(state)}{" "}<button type="button" className="text-accent hover:underline" onClick={() => setShowRoutes(true)}>{t("devices.change")}</button>@@ -417,7 +412,7 @@ export function PhoneDevicesSection({ profileEmail = "", focusRequest = 0, simpl</p>)}<OpenCodeRow c={c} state={state} />- {pairedCount ? <PairedPhones c={c} state={state} /> : !state.pairing && <div className="text-[12px] text-ink-secondary">{t("devices.pairedNone")}</div>}+ {pairedCount ? <PairedPhones c={c} state={state} onPairAgain={pairAgain} /> : !state.pairing && <div className="text-[12px] text-ink-secondary">{t("devices.pairedNone")}</div>}<PhonesList /></section>diff --git a/src/components/PhoneUpdateNotice.tsx b/src/components/PhoneUpdateNotice.tsxnew file mode 100644index 0000000000..de3faf60e8--- /dev/null+++ b/src/components/PhoneUpdateNotice.tsx@@ -0,0 +1,47 @@+import { useEffect, useState } from "react";+import { Smartphone } from "lucide-react";+import type { CompanionState, PhoneDevice } from "@/lib/companion-types";+import { t } from "@/lib/i18n";+import { noticeSeen, phoneUpdateHint } from "@/lib/notices";+import type { OnboardingStatus } from "@/lib/onboarding";+import { olderAppPhones, showTunnelRetiredNotice } from "@/lib/phone-link";+import type { CompanionAccountState } from "../types/ogb";+import { NoticeCard, NotNowButton, PRIMARY_BUTTON } from "./NoticeCard";++type Bridges = { companion?: { state: () => Promise<CompanionState> }; companionAccount?: { state: () => Promise<CompanionAccountState> } };+// SAFETY: main answers these narrow preload bridges only for this computer's own page.+const bridges = (): Bridges => (typeof window === "undefined" ? {} : (window.ogb as Bridges | undefined) ?? {});++/** Phones on an older app once this computer's secure link ended: undefined until known, [] when none. The account (which+ * may ask the control plane) is read only when a phone has an older app. */+export function useRetiredLinkPhones(here: boolean): PhoneDevice[] | undefined {+ const [phones, setPhones] = useState<PhoneDevice[] | undefined>(here ? undefined : []);+ useEffect(() => {+ const { companion, companionAccount: account } = here ? bridges() : {};+ if (!companion || !account) { setPhones([]); return; }+ let active = true;+ void (async () => {+ const state: CompanionState | undefined = await Promise.resolve().then(() => companion.state()).catch(() => undefined);+ if (!olderAppPhones(state).length) return [];+ const linked = await Promise.resolve().then(() => account.state()).catch(() => undefined);+ return showTunnelRetiredNotice(linked ?? null, state ?? null) ? olderAppPhones(state) : [];+ })().then(next => { if (active) setPhones(next); });+ return () => { active = false; };+ }, [here]);+ return here ? phones : [];+}++export function phonesToTell(phones: PhoneDevice[] | undefined, record: OnboardingStatus | undefined): PhoneDevice[] | undefined {+ return phones?.filter(phone => !noticeSeen(record, phoneUpdateHint(phone.id)));+}++export function PhoneUpdateCard({ phones, onOpen, onDismiss }: { phones: PhoneDevice[]; onOpen: () => void; onDismiss: () => void }) {+ const body = phones.length === 1 ? t("phoneUpdate.body", { phone: phones[0]!.name }) : t("phoneUpdate.bodyMany", { count: phones.length });+ return <NoticeCard titleId="phone-update-title" notice="phone-update" icon={Smartphone} title={t("phoneUpdate.title")} onDismiss={onDismiss}>+ <p className="mb-3 mt-1 text-[13px] leading-[18px] text-ink-secondary">{body}</p>+ <div className="flex flex-wrap items-center gap-3">+ <button type="button" className={PRIMARY_BUTTON} onClick={onOpen}>{t("phoneUpdate.open")}</button>+ <NotNowButton onClick={onDismiss} />+ </div>+ </NoticeCard>;+}diff --git a/src/lib/notices.test.ts b/src/lib/notices.test.tsindex aba81242bf..a09638d7f4 100644--- a/src/lib/notices.test.ts+++ b/src/lib/notices.test.ts@@ -2,8 +2,8 @@ import { afterEach, beforeEach, expect, it, vi } from "vitest";import { EMPTY_ONBOARDING, type OnboardingStatus } from "@/lib/onboarding";import { withTourReset } from "@/lib/guided-tour";import { DESKTOP_NOTICES } from "../../electron/desktop-prefs.mjs";-import { BOAT_OFFER_NOTICE, CLOUD_INTRO, CLOUD_NOTICE, CLOUD_TRIAL_NOTICE, dismissNotice, FOLLOWERS, GROK_MOVE_NOTICE, introShown, introStage, launchNotice, localDay, markLaunchNotice, MODELGO_OFFER_NOTICE, MUST_ACT,- nextNotice, noticeSeen, NOTICES, OLD_PRO_DISMISSALS, PRODUCT_HUNT_NOTICE, SIMPLE_MODE_NOTICE, STAR_NOTICE, TWO_PLACES_NOTICE, UPDATES_CONSENT_NOTICE, usedBefore, WHATS_NEW_NOTICE, type NoticeFacts,+import { BOAT_OFFER_NOTICE, CLOUD_INTRO, CLOUD_NOTICE, CLOUD_TRIAL_NOTICE, dismissNotice, dismissNotices, FOLLOWERS, GROK_MOVE_NOTICE, introShown, introStage, launchNotice, localDay, markLaunchNotice, MODELGO_OFFER_NOTICE, MUST_ACT,+ nextNotice, noticeSeen, NOTICES, OLD_PRO_DISMISSALS, PHONE_UPDATE_NOTICE, phoneUpdateHint, PRODUCT_HUNT_NOTICE, SIMPLE_MODE_NOTICE, STAR_NOTICE, TWO_PLACES_NOTICE, UPDATES_CONSENT_NOTICE, usedBefore, WHATS_NEW_NOTICE, type NoticeFacts,type NoticeId } from "./notices";let storage: Map<string, string>, session: Map<string, string>;@@ -16,8 +16,9 @@ afterEach(() => vi.unstubAllGlobals());const record = (hintsSeen: string[] = []): OnboardingStatus => ({ ...EMPTY_ONBOARDING, completedAt: "2026-09-01", version: 1, hintsSeen });const facts = (intro: boolean | null, trial: boolean | null, cloud: boolean | null, star: boolean | null, launch: boolean | null = false, popup: boolean | null = false,- consent: boolean | null = false, simple: boolean | null = false, boat: boolean | null = false, two: boolean | null = false, grok: boolean | null = false, modelgo: boolean | null = false): NoticeFacts =>- ({ [GROK_MOVE_NOTICE]: grok, [SIMPLE_MODE_NOTICE]: simple, [WHATS_NEW_NOTICE]: popup, [UPDATES_CONSENT_NOTICE]: consent, [TWO_PLACES_NOTICE]: two, [PRODUCT_HUNT_NOTICE]: launch, [CLOUD_INTRO]: intro, [CLOUD_TRIAL_NOTICE]: trial, [CLOUD_NOTICE]: cloud,+ consent: boolean | null = false, simple: boolean | null = false, boat: boolean | null = false, two: boolean | null = false, grok: boolean | null = false, modelgo: boolean | null = false,+ phone: boolean | null = false): NoticeFacts =>+ ({ [GROK_MOVE_NOTICE]: grok, [PHONE_UPDATE_NOTICE]: phone, [SIMPLE_MODE_NOTICE]: simple, [WHATS_NEW_NOTICE]: popup, [UPDATES_CONSENT_NOTICE]: consent, [TWO_PLACES_NOTICE]: two, [PRODUCT_HUNT_NOTICE]: launch, [CLOUD_INTRO]: intro, [CLOUD_TRIAL_NOTICE]: trial, [CLOUD_NOTICE]: cloud,[MODELGO_OFFER_NOTICE]: modelgo, [BOAT_OFFER_NOTICE]: boat, [STAR_NOTICE]: star });const none = () => false;const DAY = 86_400_000, NOON = new Date(2026, 9, 9, 12).getTime();@@ -36,7 +37,7 @@ it("is one queue: the Simple mode popup first, then What's new, the product-updaexpect(nextNotice(facts(true, true, true, true, true, true, true, true), none)).toBe(SIMPLE_MODE_NOTICE);expect(nextNotice(facts(true, true, true, true, true, true, true, null), none), "nothing shows while the Simple mode popup waits").toBeNull();expect(nextNotice(facts(true, true, true, true, true, true, true, true), id => id === SIMPLE_MODE_NOTICE)).toBe(WHATS_NEW_NOTICE);- expect(NOTICES).toEqual([GROK_MOVE_NOTICE, SIMPLE_MODE_NOTICE, WHATS_NEW_NOTICE, UPDATES_CONSENT_NOTICE, TWO_PLACES_NOTICE, PRODUCT_HUNT_NOTICE, CLOUD_INTRO, CLOUD_TRIAL_NOTICE, CLOUD_NOTICE, MODELGO_OFFER_NOTICE, BOAT_OFFER_NOTICE, STAR_NOTICE]);+ expect(NOTICES).toEqual([GROK_MOVE_NOTICE, PHONE_UPDATE_NOTICE, SIMPLE_MODE_NOTICE, WHATS_NEW_NOTICE, UPDATES_CONSENT_NOTICE, TWO_PLACES_NOTICE, PRODUCT_HUNT_NOTICE, CLOUD_INTRO, CLOUD_TRIAL_NOTICE, CLOUD_NOTICE, MODELGO_OFFER_NOTICE, BOAT_OFFER_NOTICE, STAR_NOTICE]);expect(nextNotice(facts(true, true, true, true, true, false, false, false, false, true), none), "bots in two places come before any promotion").toBe(TWO_PLACES_NOTICE);expect(nextNotice(facts(true, true, true, true, true, false, true, false, false, true), none), "after the product-updates question").toBe(UPDATES_CONSENT_NOTICE);expect(nextNotice(facts(true, true, true, true, true, false, false, false, false, null), none), "nothing lower shows while main hasn't answered").toBeNull();@@ -187,9 +188,31 @@ it("ModelGo's card follows update consent and the account's notices, and goes beexpect(MODELGO_OFFER_NOTICE).toBe("modelgo-offer-2026-11");});+it("Update MausBot on your phone goes right after the Grok Bot popup, ahead of every promotion, and holds the sponsor's card", () => {+ const all = (phone: boolean | null, grok: boolean | null = false) => facts(true, true, true, true, true, true, true, true, true, true, grok, true, phone);+ expect(nextNotice(all(true), none)).toBe(PHONE_UPDATE_NOTICE);+ expect(nextNotice(all(true, true), none), "the Grok Bot popup still goes first").toBe(GROK_MOVE_NOTICE);+ expect(nextNotice(all(null), none), "nothing lower while it is unknown").toBeNull();+ expect(nextNotice(all(false), none)).toBe(SIMPLE_MODE_NOTICE);+ const sponsor = facts(false, false, false, true, false, false, false, false, true, false, false, true, true);+ expect(nextNotice(sponsor, none), "ahead of ModelGo, Boat and the star").toBe(PHONE_UPDATE_NOTICE);+ expect(nextNotice(sponsor, none, WHATS_NEW_NOTICE, true), "left for a later launch, it still holds the sponsor's card back").toBeNull();+ expect(nextNotice(sponsor, none, PHONE_UPDATE_NOTICE, true), "closed in its own launch: the card follows").toBe(MODELGO_OFFER_NOTICE);+});++it("an Update MausBot on your phone dismissal is kept per phone, in short hints, all in one patch", () => {+ expect(phoneUpdateHint("0f8c2a41-1111-4222-8333-444455556666")).toBe("phone-app-update:0f8c2a41");+ expect(phoneUpdateHint("0f8c2a41-1111-4222-8333-444455556666").length).toBeLessThanOrEqual(60);+ const ids = [phoneUpdateHint("aaaaaaaa-1"), phoneUpdateHint("bbbbbbbb-2")];+ expect(dismissNotices(record(["star"]), ids)).toEqual({ onboarding: { hintsSeen: ["star", ...ids] } });+ for (const id of ids) expect(noticeSeen(undefined, id)).toBe(true);+ expect(dismissNotices(record(ids), ids), "nothing new").toBeNull();+ expect(dismissNotices(record([ids[0]!]), [...ids, ids[1]!])).toEqual({ onboarding: { hintsSeen: ids } });+});+it("ModelGo's card follows the launch's notice in the same launch once it is closed, after the question, never ahead of a notice to act on", () => {expect([...FOLLOWERS]).toEqual([UPDATES_CONSENT_NOTICE, MODELGO_OFFER_NOTICE]);- expect([...MUST_ACT]).toEqual([GROK_MOVE_NOTICE, CLOUD_TRIAL_NOTICE, CLOUD_NOTICE]);+ expect([...MUST_ACT]).toEqual([GROK_MOVE_NOTICE, PHONE_UPDATE_NOTICE, CLOUD_TRIAL_NOTICE, CLOUD_NOTICE]);const due = ({ popup = true, consent = false, trial = false, cloud = false, grok = false, intro = false, two = false }: Partial<Record<"popup" | "trial" | "cloud" | "grok" | "intro" | "two", boolean | null>> & { consent?: boolean | null }) =>facts(intro, trial, cloud, true, false, popup, consent, false, true, two, grok, true);const popupSeen = (id: NoticeId) => id === WHATS_NEW_NOTICE;diff --git a/src/lib/notices.ts b/src/lib/notices.tsindex 915bf1732c..23390a45cd 100644--- a/src/lib/notices.ts+++ b/src/lib/notices.ts@@ -20,6 +20,8 @@ export const GROK_MOVE_NOTICE = "grok-move-2026-11";/** The sponsor's card for ModelGo: each person sees it once, on every page but a branded build or a desktop whose organization* refuses it, and on the first launch it may show in: first when nothing else is due, else right after the launch's notice. */export const MODELGO_OFFER_NOTICE = "modelgo-offer-2026-11";+/** Update MausBot on your phone: once per phone with an older app after this computer's secure link ended. */+export const PHONE_UPDATE_NOTICE = "phone-app-update";/*** Every notice, in the order a launch asks them: one launch shows one notice first, the first one due, and only FOLLOWERS may@@ -27,6 +29,7 @@ export const MODELGO_OFFER_NOTICE = "modelgo-offer-2026-11";*/export const NOTICES = [GROK_MOVE_NOTICE,+ PHONE_UPDATE_NOTICE,SIMPLE_MODE_NOTICE,WHATS_NEW_NOTICE,UPDATES_CONSENT_NOTICE,@@ -49,7 +52,7 @@ export type NoticeFacts = Record<NoticeId, boolean | null>;export const FOLLOWERS: readonly NoticeId[] = [UPDATES_CONSENT_NOTICE, MODELGO_OFFER_NOTICE];/** Notices the person has to act on. The sponsor's card never goes ahead of one, even one left for a later launch: it waits* for that launch and follows it there. */-export const MUST_ACT: readonly NoticeId[] = [GROK_MOVE_NOTICE, CLOUD_TRIAL_NOTICE, CLOUD_NOTICE];+export const MUST_ACT: readonly NoticeId[] = [GROK_MOVE_NOTICE, PHONE_UPDATE_NOTICE, CLOUD_TRIAL_NOTICE, CLOUD_NOTICE];/** `launch`: the notice this launch already showed (launchNotice), the only one besides FOLLOWERS that may show again in it.* `closed`: that notice was closed in this page, so it doesn't come back however its facts read. The sponsor's card follows@@ -106,6 +109,16 @@ export function dismissNotice(record: OnboardingStatus | undefined, id: string):return hintSeenPatch(record, id);}+/** Per phone, so one paired later with an older app brings the card back once; config keeps hints of at most 60 characters. */+export const phoneUpdateHint = (deviceId: string) => `${PHONE_UPDATE_NOTICE}:${deviceId.slice(0, 8)}`;++export function dismissNotices(record: OnboardingStatus | undefined, ids: readonly string[]): { onboarding: { hintsSeen: string[] } } | null {+ const before = record?.hintsSeen ?? [];+ for (const id of ids) store(id, "1");+ const added = [...new Set(ids)].filter(id => !before.includes(id));+ return added.length ? { onboarding: { hintsSeen: [...before, ...added] } } : null;+}+export function localDay(now: number): string {const date = new Date(now), two = (value: number) => String(value).padStart(2, "0");return `${date.getFullYear()}-${two(date.getMonth() + 1)}-${two(date.getDate())}`;diff --git a/src/lib/phone-link.ts b/src/lib/phone-link.tsnew file mode 100644index 0000000000..67c4640e9b--- /dev/null+++ b/src/lib/phone-link.ts@@ -0,0 +1,13 @@+import type { CompanionAccountState } from "../types/ogb";+import type { CompanionState, PhoneDevice } from "./companion-types";++export const olderAppPhones = (state: Pick<CompanionState, "devices"> | null | undefined): PhoneDevice[] =>+ (state?.devices ?? []).filter((device) => !device.e2eAt);++/** The secure address was ended for old phone apps and a phone here still depends on it. */+export function showTunnelRetiredNotice(+ account: Pick<CompanionAccountState, "tunnelRetired"> | null,+ state: Pick<CompanionState, "devices"> | null,+): boolean {+ return account?.tunnelRetired === true && olderAppPhones(state).length > 0;+}diff --git a/src/locales/de.json b/src/locales/de.jsonindex 685991ac9f..3690fff9c8 100644--- a/src/locales/de.json+++ b/src/locales/de.json@@ -3469,5 +3469,12 @@"settings.simple.more.title": "Weitere Einstellungen","settings.simple.more.subtitle": "Backups, Limits und Einstellungen, die du selten änderst.","settings.simple.more.limits": "Limits",- "settings.simple.more.open": "Öffnen"+ "settings.simple.more.open": "Öffnen",+ "phoneUpdate.title": "MausBot auf Ihrem Telefon aktualisieren",+ "phoneUpdate.body": "{phone} hat eine ältere Version der MausBot-App und kann sich außerhalb Ihres WLANs nicht mehr mit diesem Computer verbinden. Aktualisieren Sie die App auf diesem Telefon und öffnen Sie sie dann einmal im selben WLAN wie dieser Computer. Wenn es sich dann nicht wieder verbindet, koppeln Sie es erneut.",+ "phoneUpdate.bodyMany": "{count} Ihrer Telefone haben eine ältere Version der MausBot-App und können sich außerhalb Ihres WLANs nicht mehr mit diesem Computer verbinden. Aktualisieren Sie die App auf jedem Telefon und öffnen Sie sie dann einmal im selben WLAN wie dieser Computer. Wenn es sich dann nicht wieder verbindet, koppeln Sie es erneut.",+ "phoneUpdate.open": "Telefon & Geräte öffnen",+ "remote.devices.pairAgain": "Erneut koppeln",+ "remote.devices.retired": "Dieses Telefon hat eine ältere MausBot-App. Aktualisieren Sie die App und öffnen Sie sie dann einmal im selben WLAN wie dieser Computer. Wenn es sich dann nicht wieder verbindet, koppeln Sie es hier erneut.",+ "remote.devices.retiredNotice": "Telefone erreichen diesen Computer jetzt über MausBot Relay, und die ältere sichere Verbindung wurde abgeschaltet. Ein Telefon mit einer älteren MausBot-App kann sich außerhalb Ihres WLANs nicht mehr verbinden. Aktualisieren Sie die MausBot-App auf diesem Telefon und öffnen Sie sie dann einmal im selben WLAN wie dieser Computer. Wenn es sich dann nicht wieder verbindet, koppeln Sie es hier erneut."}diff --git a/src/locales/en.json b/src/locales/en.jsonindex 3089ddd9fa..d29c2a987a 100644--- a/src/locales/en.json+++ b/src/locales/en.json@@ -4745,8 +4745,8 @@"remote.checkAgain": "Check again","remote.devices.lastSeen": "Last seen {when}","remote.devices.paused": "Paused after 30 days unused. It reconnects when you open this page.",- "remote.devices.retired": "This phone has an older MausBot app. Update the app, then pair it again here.",- "remote.devices.retiredNotice": "Phones now reach this computer through MausBot Relay, and the older secure link has been switched off. A phone with an older MausBot app can no longer connect away from your Wi-Fi. Update the MausBot app on that phone, then pair it again here in Settings → Phone & devices.",+ "remote.devices.retired": "This phone has an older MausBot app. Update the app, then open it once on the same Wi-Fi as this computer. If that doesn't reconnect it, pair it again here.",+ "remote.devices.retiredNotice": "Phones now reach this computer through MausBot Relay, and the older secure link has been switched off. A phone with an older MausBot app can no longer connect away from your Wi-Fi. Update the MausBot app on that phone, then open it once on the same Wi-Fi as this computer. If that doesn't reconnect it, pair it again here.","remote.devices.remove": "Remove {name}","remote.devices.allowView": "Allow computer view","remote.devices.allowViewDetail": "Full interactive access from this device.",@@ -10203,5 +10203,10 @@"phone.code.typeIntro": "Open the {app} app and type this pairing code.","phone.signIn.emailCode": "Sign-in code from your email","settings.simple.account.noNameHint": "Not set yet",- "settings.simple.account.yourName": "Your name"+ "settings.simple.account.yourName": "Your name",+ "phoneUpdate.title": "Update MausBot on your phone",+ "phoneUpdate.body": "{phone} has an older version of the MausBot app, which can no longer connect to this computer away from your Wi-Fi. Update the app on that phone, then open it once on the same Wi-Fi as this computer. If that doesn't reconnect it, pair it again.",+ "phoneUpdate.bodyMany": "{count} of your phones have an older version of the MausBot app, which can no longer connect to this computer away from your Wi-Fi. Update the app on each phone, then open it once on the same Wi-Fi as this computer. If that doesn't reconnect it, pair it again.",+ "phoneUpdate.open": "Open Phone & devices",+ "remote.devices.pairAgain": "Pair again"}diff --git a/src/locales/es.json b/src/locales/es.jsonindex cdfa6d9e61..7686f96830 100644--- a/src/locales/es.json+++ b/src/locales/es.json@@ -6082,5 +6082,12 @@"settings.simple.more.title": "Más ajustes","settings.simple.more.subtitle": "Copias de seguridad, límites y ajustes que cambias poco.","settings.simple.more.limits": "Límites",- "settings.simple.more.open": "Abrir"+ "settings.simple.more.open": "Abrir",+ "phoneUpdate.title": "Actualiza MausBot en tu teléfono",+ "phoneUpdate.body": "{phone} tiene una versión anterior de la app MausBot, que ya no puede conectarse a esta computadora fuera de tu Wi-Fi. Actualiza la app en ese teléfono y luego ábrela una vez en la misma red Wi-Fi que esta computadora. Si así no se vuelve a conectar, vuelve a vincularlo.",+ "phoneUpdate.bodyMany": "{count} de tus teléfonos tienen una versión anterior de la app MausBot, que ya no puede conectarse a esta computadora fuera de tu Wi-Fi. Actualiza la app en cada teléfono y luego ábrela una vez en la misma red Wi-Fi que esta computadora. Si así no se vuelve a conectar, vuelve a vincularlo.",+ "phoneUpdate.open": "Abrir Teléfono y dispositivos",+ "remote.devices.pairAgain": "Volver a vincular",+ "remote.devices.retired": "Este teléfono tiene una versión anterior de la app MausBot. Actualiza la app y luego ábrela una vez en la misma red Wi-Fi que esta computadora. Si así no se vuelve a conectar, vuelve a vincularlo aquí.",+ "remote.devices.retiredNotice": "Ahora los teléfonos llegan a esta computadora a través de MausBot Relay, y el enlace seguro anterior se desactivó. Un teléfono con una versión anterior de la app MausBot ya no puede conectarse fuera de tu Wi-Fi. Actualiza la app MausBot en ese teléfono y luego ábrela una vez en la misma red Wi-Fi que esta computadora. Si así no se vuelve a conectar, vuelve a vincularlo aquí."}diff --git a/src/locales/fr.json b/src/locales/fr.jsonindex 88cf46555c..d57b53428b 100644--- a/src/locales/fr.json+++ b/src/locales/fr.json@@ -3310,5 +3310,12 @@"settings.simple.more.title": "Plus de paramètres","settings.simple.more.subtitle": "Sauvegardes, limites et paramètres que vous modifiez rarement.","settings.simple.more.limits": "Limites",- "settings.simple.more.open": "Ouvrir"+ "settings.simple.more.open": "Ouvrir",+ "phoneUpdate.title": "Mettez à jour MausBot sur votre téléphone",+ "phoneUpdate.body": "{phone} a une ancienne version de l'app MausBot, qui ne peut plus se connecter à cet ordinateur en dehors de votre Wi-Fi. Mettez à jour l'app sur ce téléphone, puis ouvrez-la une fois sur le même Wi-Fi que cet ordinateur. S'il ne se reconnecte pas, appairez-le à nouveau.",+ "phoneUpdate.bodyMany": "{count} de vos téléphones ont une ancienne version de l'app MausBot, qui ne peut plus se connecter à cet ordinateur en dehors de votre Wi-Fi. Mettez à jour l'app sur chaque téléphone, puis ouvrez-la une fois sur le même Wi-Fi que cet ordinateur. S'il ne se reconnecte pas, appairez-le à nouveau.",+ "phoneUpdate.open": "Ouvrir Téléphone et appareils",+ "remote.devices.pairAgain": "Appairer à nouveau",+ "remote.devices.retired": "Ce téléphone a une ancienne version de l'app MausBot. Mettez l'app à jour, puis ouvrez-la une fois sur le même Wi-Fi que cet ordinateur. S'il ne se reconnecte pas, appairez-le à nouveau ici.",+ "remote.devices.retiredNotice": "Les téléphones rejoignent maintenant cet ordinateur via MausBot Relay, et l'ancien lien sécurisé a été désactivé. Un téléphone avec une ancienne version de l'app MausBot ne peut plus se connecter en dehors de votre Wi-Fi. Mettez à jour l'app MausBot sur ce téléphone, puis ouvrez-la une fois sur le même Wi-Fi que cet ordinateur. S'il ne se reconnecte pas, appairez-le à nouveau ici."}diff --git a/src/locales/hi.json b/src/locales/hi.jsonindex 6401c9fda9..c3daf643a2 100644--- a/src/locales/hi.json+++ b/src/locales/hi.json@@ -3162,5 +3162,12 @@"settings.simple.more.title": "और सेटिंग्स","settings.simple.more.subtitle": "बैकअप, सीमाएँ और वे सेटिंग्स जिन्हें आप कभी-कभार ही बदलते हैं।","settings.simple.more.limits": "सीमाएँ",- "settings.simple.more.open": "खोलें"+ "settings.simple.more.open": "खोलें",+ "phoneUpdate.title": "अपने फ़ोन पर MausBot अपडेट करें",+ "phoneUpdate.body": "{phone} में MausBot ऐप का पुराना वर्शन है, जो अब आपके Wi-Fi से बाहर इस कंप्यूटर से कनेक्ट नहीं हो सकता। उस फ़ोन पर ऐप अपडेट करें, फिर उसे इस कंप्यूटर वाले Wi-Fi पर एक बार खोलें। अगर इससे वह फिर से कनेक्ट नहीं होता, तो उसे फिर से पेयर करें।",+ "phoneUpdate.bodyMany": "आपके {count} फ़ोन में MausBot ऐप का पुराना वर्शन है, जो अब आपके Wi-Fi से बाहर इस कंप्यूटर से कनेक्ट नहीं हो सकता। हर फ़ोन पर ऐप अपडेट करें, फिर उसे इस कंप्यूटर वाले Wi-Fi पर एक बार खोलें। अगर इससे वह फिर से कनेक्ट नहीं होता, तो उसे फिर से पेयर करें।",+ "phoneUpdate.open": "फ़ोन और डिवाइस खोलें",+ "remote.devices.pairAgain": "फिर से पेयर करें",+ "remote.devices.retired": "इस फ़ोन में MausBot ऐप का पुराना वर्शन है। ऐप अपडेट करें, फिर उसे इस कंप्यूटर वाले Wi-Fi पर एक बार खोलें। अगर इससे वह फिर से कनेक्ट नहीं होता, तो उसे यहाँ फिर से पेयर करें।",+ "remote.devices.retiredNotice": "अब फ़ोन MausBot Relay के ज़रिए इस कंप्यूटर तक पहुँचते हैं, और पुराना सुरक्षित लिंक बंद कर दिया गया है। MausBot ऐप के पुराने वर्शन वाला फ़ोन अब आपके Wi-Fi से बाहर कनेक्ट नहीं हो सकता। उस फ़ोन पर MausBot ऐप अपडेट करें, फिर उसे इस कंप्यूटर वाले Wi-Fi पर एक बार खोलें। अगर इससे वह फिर से कनेक्ट नहीं होता, तो उसे यहाँ फिर से पेयर करें।"}diff --git a/src/locales/it.json b/src/locales/it.jsonindex 7cfa10f216..bf57085371 100644--- a/src/locales/it.json+++ b/src/locales/it.json@@ -6703,5 +6703,12 @@"settings.simple.more.title": "Altre impostazioni","settings.simple.more.subtitle": "Backup, limiti e impostazioni che cambi di rado.","settings.simple.more.limits": "Limiti",- "settings.simple.more.open": "Apri"+ "settings.simple.more.open": "Apri",+ "phoneUpdate.title": "Aggiorna MausBot sul telefono",+ "phoneUpdate.body": "{phone} ha una versione precedente dell'app MausBot, che non può più collegarsi a questo computer fuori dalla tua Wi-Fi. Aggiorna l'app su quel telefono, poi aprila una volta sulla stessa Wi-Fi di questo computer. Se non si ricollega, abbinalo di nuovo.",+ "phoneUpdate.bodyMany": "{count} dei tuoi telefoni hanno una versione precedente dell'app MausBot, che non può più collegarsi a questo computer fuori dalla tua Wi-Fi. Aggiorna l'app su ogni telefono, poi aprila una volta sulla stessa Wi-Fi di questo computer. Se non si ricollega, abbinalo di nuovo.",+ "phoneUpdate.open": "Apri Telefono e dispositivi",+ "remote.devices.pairAgain": "Abbina di nuovo",+ "remote.devices.retired": "Questo telefono ha una versione precedente dell'app MausBot. Aggiorna l'app, poi aprila una volta sulla stessa Wi-Fi di questo computer. Se non si ricollega, abbinalo di nuovo qui.",+ "remote.devices.retiredNotice": "Ora i telefoni raggiungono questo computer tramite MausBot Relay, e il vecchio collegamento sicuro è stato disattivato. Un telefono con una versione precedente dell'app MausBot non può più collegarsi fuori dalla tua Wi-Fi. Aggiorna l'app MausBot su quel telefono, poi aprila una volta sulla stessa Wi-Fi di questo computer. Se non si ricollega, abbinalo di nuovo qui."}diff --git a/src/locales/ja.json b/src/locales/ja.jsonindex 7e518ff3a1..b2d00c67f4 100644--- a/src/locales/ja.json+++ b/src/locales/ja.json@@ -7753,5 +7753,12 @@"remote.client.endsDec7": "この接続方法は 12 月 7 日に終了します。その後は、もう一方のコンピューターの「スマホとデバイス」からこのコンピューターをペアリングし直してください。","phone.code.pairingCode": "ペアリングコード","phone.code.typeIntro": "{app} アプリを開いて、このペアリングコードを入力してください。",- "phone.signIn.emailCode": "メールに届いたサインインコード"+ "phone.signIn.emailCode": "メールに届いたサインインコード",+ "phoneUpdate.title": "スマホの MausBot を更新してください",+ "phoneUpdate.body": "{phone} の MausBot アプリは古いバージョンのため、Wi-Fi の外からこのコンピューターに接続できなくなりました。そのスマホでアプリを更新してから、このコンピューターと同じ Wi-Fi で一度開いてください。それでも再接続しない場合は、もう一度ペアリングしてください。",+ "phoneUpdate.bodyMany": "{count} 台のスマホの MausBot アプリが古いバージョンのため、Wi-Fi の外からこのコンピューターに接続できなくなりました。それぞれのスマホでアプリを更新してから、このコンピューターと同じ Wi-Fi で一度開いてください。それでも再接続しない場合は、もう一度ペアリングしてください。",+ "phoneUpdate.open": "スマホとデバイスを開く",+ "remote.devices.pairAgain": "もう一度ペアリング",+ "remote.devices.retired": "このスマホの MausBot アプリは古いバージョンです。アプリを更新してから、このコンピューターと同じ Wi-Fi で一度開いてください。それでも再接続しない場合は、ここでもう一度ペアリングしてください。",+ "remote.devices.retiredNotice": "スマホは MausBot Relay を通じてこのコンピューターに接続するようになり、以前の安全なリンクは停止されました。古いバージョンの MausBot アプリのスマホは、Wi-Fi の外から接続できなくなりました。そのスマホで MausBot アプリを更新してから、このコンピューターと同じ Wi-Fi で一度開いてください。それでも再接続しない場合は、ここでもう一度ペアリングしてください。"}diff --git a/src/locales/ko.json b/src/locales/ko.jsonindex 4e478010c2..c2af1b0dfa 100644--- a/src/locales/ko.json+++ b/src/locales/ko.json@@ -7422,5 +7422,12 @@"remote.client.endsDec7": "이 연결 방식은 12월 7일에 끝납니다. 그 후에는 다른 컴퓨터의 휴대폰 및 기기에서 이 컴퓨터를 다시 페어링하세요.","phone.code.pairingCode": "페어링 코드","phone.code.typeIntro": "{app} 앱을 열고 이 페어링 코드를 입력하세요.",- "phone.signIn.emailCode": "이메일로 받은 로그인 코드"+ "phone.signIn.emailCode": "이메일로 받은 로그인 코드",+ "phoneUpdate.title": "휴대폰의 MausBot을 업데이트하세요",+ "phoneUpdate.body": "{phone}의 MausBot 앱은 이전 버전이라 이제 Wi-Fi 밖에서는 이 컴퓨터에 연결할 수 없습니다. 그 휴대폰에서 앱을 업데이트한 다음, 이 컴퓨터와 같은 Wi-Fi에서 한 번 여세요. 그래도 다시 연결되지 않으면 다시 페어링하세요.",+ "phoneUpdate.bodyMany": "휴대폰 {count}대의 MausBot 앱이 이전 버전이라 이제 Wi-Fi 밖에서는 이 컴퓨터에 연결할 수 없습니다. 각 휴대폰에서 앱을 업데이트한 다음, 이 컴퓨터와 같은 Wi-Fi에서 한 번 여세요. 그래도 다시 연결되지 않으면 다시 페어링하세요.",+ "phoneUpdate.open": "휴대폰 및 기기 열기",+ "remote.devices.pairAgain": "다시 페어링",+ "remote.devices.retired": "이 휴대폰의 MausBot 앱은 이전 버전입니다. 앱을 업데이트한 다음, 이 컴퓨터와 같은 Wi-Fi에서 한 번 여세요. 그래도 다시 연결되지 않으면 여기에서 다시 페어링하세요.",+ "remote.devices.retiredNotice": "이제 휴대폰은 MausBot Relay를 통해 이 컴퓨터에 연결되며, 이전의 보안 링크는 꺼졌습니다. 이전 버전의 MausBot 앱이 있는 휴대폰은 이제 Wi-Fi 밖에서 연결할 수 없습니다. 그 휴대폰에서 MausBot 앱을 업데이트한 다음, 이 컴퓨터와 같은 Wi-Fi에서 한 번 여세요. 그래도 다시 연결되지 않으면 여기에서 다시 페어링하세요."}diff --git a/src/locales/pl.json b/src/locales/pl.jsonindex 7e58190c87..f35801a4f7 100644--- a/src/locales/pl.json+++ b/src/locales/pl.json@@ -6841,5 +6841,12 @@"settings.simple.more.title": "Więcej ustawień","settings.simple.more.subtitle": "Kopie zapasowe, limity i ustawienia, które rzadko zmieniasz.","settings.simple.more.limits": "Limity",- "settings.simple.more.open": "Otwórz"+ "settings.simple.more.open": "Otwórz",+ "phoneUpdate.title": "Zaktualizuj MausBot na telefonie",+ "phoneUpdate.body": "{phone} ma starszą wersję aplikacji MausBot, która nie może już łączyć się z tym komputerem poza Twoją siecią Wi-Fi. Zaktualizuj aplikację na tym telefonie, a potem otwórz ją raz w tej samej sieci Wi-Fi co ten komputer. Jeśli to nie przywróci połączenia, sparuj go ponownie.",+ "phoneUpdate.bodyMany": "Twoje telefony ({count}) mają starszą wersję aplikacji MausBot, która nie może już łączyć się z tym komputerem poza Twoją siecią Wi-Fi. Zaktualizuj aplikację na każdym telefonie, a potem otwórz ją raz w tej samej sieci Wi-Fi co ten komputer. Jeśli to nie przywróci połączenia, sparuj go ponownie.",+ "phoneUpdate.open": "Otwórz Telefon i urządzenia",+ "remote.devices.pairAgain": "Sparuj ponownie",+ "remote.devices.retired": "Ten telefon ma starszą wersję aplikacji MausBot. Zaktualizuj aplikację, a potem otwórz ją raz w tej samej sieci Wi-Fi co ten komputer. Jeśli to nie przywróci połączenia, sparuj go tutaj ponownie.",+ "remote.devices.retiredNotice": "Telefony łączą się teraz z tym komputerem przez MausBot Relay, a starsze bezpieczne połączenie zostało wyłączone. Telefon ze starszą wersją aplikacji MausBot nie może już łączyć się poza Twoją siecią Wi-Fi. Zaktualizuj aplikację MausBot na tym telefonie, a potem otwórz ją raz w tej samej sieci Wi-Fi co ten komputer. Jeśli to nie przywróci połączenia, sparuj go tutaj ponownie."}diff --git a/src/locales/pt-br.json b/src/locales/pt-br.jsonindex 0ee6deb8be..450a691063 100644--- a/src/locales/pt-br.json+++ b/src/locales/pt-br.json@@ -4446,8 +4446,8 @@"remote.checkAgain": "Verificar novamente","remote.devices.lastSeen": "Visto por último {when}","remote.devices.paused": "Pausado após 30 dias sem uso. Ele se reconecta quando você abre esta página.",- "remote.devices.retired": "Este celular tem um app MausBot mais antigo. Atualize o app e depois pareie o celular de novo aqui.",- "remote.devices.retiredNotice": "Agora os celulares chegam a este computador pelo MausBot Relay, e o link seguro antigo foi desativado. Um celular com um app MausBot mais antigo não consegue mais se conectar fora do seu Wi-Fi. Atualize o app MausBot nesse celular e depois pareie de novo aqui, em Configurações → Celular e dispositivos.",+ "remote.devices.retired": "Este celular tem um app MausBot mais antigo. Atualize o app e depois abra-o uma vez no mesmo Wi-Fi deste computador. Se ele não reconectar, pareie o celular de novo aqui.",+ "remote.devices.retiredNotice": "Agora os celulares chegam a este computador pelo MausBot Relay, e o link seguro antigo foi desativado. Um celular com um app MausBot mais antigo não consegue mais se conectar fora do seu Wi-Fi. Atualize o app MausBot nesse celular e depois abra-o uma vez no mesmo Wi-Fi deste computador. Se ele não reconectar, pareie de novo aqui.","remote.devices.remove": "Remover {name}","remote.devices.allowView": "Permitir ver o computador","remote.devices.allowViewDetail": "Acesso interativo completo a partir deste dispositivo.",@@ -10203,5 +10203,10 @@"pair.team.openHint": "Você entra lá com seu e-mail e volta direto para cá.","native.teamLink.otherTitle": "Esta equipe não está na conta conectada aqui","native.teamLink.otherDetail": "O MausBot está conectado como {email}. Se você entrou na equipe com outro endereço, entre com ele. {email} continua conectado também.",- "native.teamLink.signIn": "Entrar com outro endereço"+ "native.teamLink.signIn": "Entrar com outro endereço",+ "phoneUpdate.title": "Atualize o MausBot no seu celular",+ "phoneUpdate.body": "{phone} tem uma versão mais antiga do app MausBot, que não consegue mais se conectar a este computador fora do seu Wi-Fi. Atualize o app nesse celular e depois abra-o uma vez no mesmo Wi-Fi deste computador. Se ele não reconectar, pareie de novo.",+ "phoneUpdate.bodyMany": "{count} dos seus celulares têm uma versão mais antiga do app MausBot, que não consegue mais se conectar a este computador fora do seu Wi-Fi. Atualize o app em cada celular e depois abra-o uma vez no mesmo Wi-Fi deste computador. Se ele não reconectar, pareie de novo.",+ "phoneUpdate.open": "Abrir Celular e dispositivos",+ "remote.devices.pairAgain": "Parear de novo"}diff --git a/src/locales/ru.json b/src/locales/ru.jsonindex c6388de421..dca15b11aa 100644--- a/src/locales/ru.json+++ b/src/locales/ru.json@@ -6903,5 +6903,12 @@"settings.simple.more.title": "Другие настройки","settings.simple.more.subtitle": "Резервные копии, ограничения и настройки, которые вы меняете редко.","settings.simple.more.limits": "Ограничения",- "settings.simple.more.open": "Открыть"+ "settings.simple.more.open": "Открыть",+ "phoneUpdate.title": "Обновите MausBot на телефоне",+ "phoneUpdate.body": "На {phone} стоит старая версия приложения MausBot, и оно больше не может подключаться к этому компьютеру вне вашей Wi-Fi. Обновите приложение на этом телефоне, затем один раз откройте его в той же Wi-Fi, что и этот компьютер. Если подключение не восстановится, сопрягите его заново.",+ "phoneUpdate.bodyMany": "На ваших телефонах ({count}) стоит старая версия приложения MausBot, и она больше не может подключаться к этому компьютеру вне вашей Wi-Fi. Обновите приложение на каждом телефоне, затем один раз откройте его в той же Wi-Fi, что и этот компьютер. Если подключение не восстановится, сопрягите его заново.",+ "phoneUpdate.open": "Открыть «Телефон и устройства»",+ "remote.devices.pairAgain": "Сопрячь заново",+ "remote.devices.retired": "На этом телефоне старая версия приложения MausBot. Обновите приложение, затем один раз откройте его в той же Wi-Fi, что и этот компьютер. Если подключение не восстановится, сопрягите его здесь заново.",+ "remote.devices.retiredNotice": "Теперь телефоны подключаются к этому компьютеру через MausBot Relay, а старая защищённая ссылка отключена. Телефон со старой версией приложения MausBot больше не может подключаться вне вашей Wi-Fi. Обновите приложение MausBot на этом телефоне, затем один раз откройте его в той же Wi-Fi, что и этот компьютер. Если подключение не восстановится, сопрягите его здесь заново."}diff --git a/src/locales/source-hashes.json b/src/locales/source-hashes.jsonindex 768b9ddf2d..02315c59a5 100644--- a/src/locales/source-hashes.json+++ b/src/locales/source-hashes.json@@ -33773,8 +33773,8 @@"activity.action.routine.handover": "544baf5ef1afd784c5a70d6225158bd8d0290e49c4e849f7920ba8e33711a6bc","activity.action.member.left": "3d786c0b02e974dab85b0d649a24e8a2e08fca00d8249fa34c6a66c384050356","botPanel.memory.editText": "e9938c0a9a18c1996f3d6c806bc9b67a189eb30390b854df8fd4687c86e4a255",- "remote.devices.retired": "5f416eeb020ba6567e3f0a2eaecc1efdaa74b0883285a155f04cfdd56194cdbe",- "remote.devices.retiredNotice": "27894c4f224f6ce311f368331371b5a25731baa56cf7358c9569f2cd80c6bfd8",+ "remote.devices.retired": "8aa6e85952b816ab5753d012debdbcad12ba172cde9adb71d72795ed759d11dc",+ "remote.devices.retiredNotice": "dc5166cae984855f8ac9e443c3810be3c84dc9f751df05a69f21c3a214a73dca","automations.run.waitingOnTeam": "9765029257ea4e83e5f94c3e6d2dd37e11b5aa9459e50eeb878aaba8fbecd833","routines.results.justMe": "3a4b4df869c76a24361c80762c22cff078f382dbf16f54975415de1bb4ed1d82","routines.results.teamHelp": "29d537dbc9a6a3df99e4ae4e98b604b448dd9da4a226c24e9c5bc02b402589d2",diff --git a/src/locales/tr.json b/src/locales/tr.jsonindex a68df64b46..923dc96a55 100644--- a/src/locales/tr.json+++ b/src/locales/tr.json@@ -5582,5 +5582,12 @@"settings.simple.more.title": "Diğer ayarlar","settings.simple.more.subtitle": "Yedekler, sınırlar ve nadiren değiştirdiğiniz ayarlar.","settings.simple.more.limits": "Sınırlar",- "settings.simple.more.open": "Aç"+ "settings.simple.more.open": "Aç",+ "phoneUpdate.title": "Telefonunuzda MausBot'u güncelleyin",+ "phoneUpdate.body": "{phone} cihazında MausBot uygulamasının eski bir sürümü var ve artık Wi-Fi ağınızın dışından bu bilgisayara bağlanamıyor. O telefonda uygulamayı güncelleyin, ardından bu bilgisayarla aynı Wi-Fi ağındayken bir kez açın. Yeniden bağlanmazsa yeniden eşleştirin.",+ "phoneUpdate.bodyMany": "{count} telefonunuzda MausBot uygulamasının eski bir sürümü var ve artık Wi-Fi ağınızın dışından bu bilgisayara bağlanamıyor. Her telefonda uygulamayı güncelleyin, ardından bu bilgisayarla aynı Wi-Fi ağındayken bir kez açın. Yeniden bağlanmazsa yeniden eşleştirin.",+ "phoneUpdate.open": "Telefon ve cihazlar'ı aç",+ "remote.devices.pairAgain": "Yeniden eşleştir",+ "remote.devices.retired": "Bu telefonda MausBot uygulamasının eski bir sürümü var. Uygulamayı güncelleyin, ardından bu bilgisayarla aynı Wi-Fi ağındayken bir kez açın. Yeniden bağlanmazsa burada yeniden eşleştirin.",+ "remote.devices.retiredNotice": "Telefonlar artık bu bilgisayara MausBot Relay üzerinden ulaşıyor ve eski güvenli bağlantı kapatıldı. MausBot uygulamasının eski bir sürümüne sahip bir telefon artık Wi-Fi ağınızın dışından bağlanamıyor. O telefonda MausBot uygulamasını güncelleyin, ardından bu bilgisayarla aynı Wi-Fi ağındayken bir kez açın. Yeniden bağlanmazsa burada yeniden eşleştirin."}diff --git a/src/locales/uk.json b/src/locales/uk.jsonindex 52ff1fb0b9..3bcf7403af 100644--- a/src/locales/uk.json+++ b/src/locales/uk.json@@ -3600,5 +3600,12 @@"settings.simple.more.title": "Інші налаштування","settings.simple.more.subtitle": "Резервні копії, обмеження та налаштування, які ви змінюєте рідко.","settings.simple.more.limits": "Обмеження",- "settings.simple.more.open": "Відкрити"+ "settings.simple.more.open": "Відкрити",+ "phoneUpdate.title": "Оновіть MausBot на телефоні",+ "phoneUpdate.body": "На {phone} стоїть стара версія застосунку MausBot, і він більше не може під'єднуватися до цього комп'ютера поза вашою Wi-Fi. Оновіть застосунок на цьому телефоні, потім один раз відкрийте його в тій самій Wi-Fi, що й цей комп'ютер. Якщо з'єднання не відновиться, прив'яжіть його знову.",+ "phoneUpdate.bodyMany": "На ваших телефонах ({count}) стоїть стара версія застосунку MausBot, і він більше не може під'єднуватися до цього комп'ютера поза вашою Wi-Fi. Оновіть застосунок на кожному телефоні, потім один раз відкрийте його в тій самій Wi-Fi, що й цей комп'ютер. Якщо з'єднання не відновиться, прив'яжіть його знову.",+ "phoneUpdate.open": "Відкрити «Телефон і пристрої»",+ "remote.devices.pairAgain": "Прив'язати знову",+ "remote.devices.retired": "На цьому телефоні стара версія застосунку MausBot. Оновіть застосунок, потім один раз відкрийте його в тій самій Wi-Fi, що й цей комп'ютер. Якщо з'єднання не відновиться, прив'яжіть його тут знову.",+ "remote.devices.retiredNotice": "Тепер телефони під'єднуються до цього комп'ютера через MausBot Relay, а старе захищене з'єднання вимкнено. Телефон зі старою версією застосунку MausBot більше не може під'єднуватися поза вашою Wi-Fi. Оновіть застосунок MausBot на цьому телефоні, потім один раз відкрийте його в тій самій Wi-Fi, що й цей комп'ютер. Якщо з'єднання не відновиться, прив'яжіть його тут знову."}diff --git a/src/locales/vi.json b/src/locales/vi.jsonindex 4efb308af5..dcc02f61ea 100644--- a/src/locales/vi.json+++ b/src/locales/vi.json@@ -5582,5 +5582,12 @@"settings.simple.more.title": "Cài đặt khác","settings.simple.more.subtitle": "Sao lưu, giới hạn và các cài đặt bạn ít khi thay đổi.","settings.simple.more.limits": "Giới hạn",- "settings.simple.more.open": "Mở"+ "settings.simple.more.open": "Mở",+ "phoneUpdate.title": "Cập nhật MausBot trên điện thoại",+ "phoneUpdate.body": "{phone} đang dùng phiên bản cũ của ứng dụng MausBot, nên không thể kết nối với máy tính này khi ở ngoài Wi-Fi của bạn nữa. Hãy cập nhật ứng dụng trên điện thoại đó, rồi mở nó một lần khi ở cùng Wi-Fi với máy tính này. Nếu vẫn không kết nối lại, hãy ghép nối lại.",+ "phoneUpdate.bodyMany": "{count} điện thoại của bạn đang dùng phiên bản cũ của ứng dụng MausBot, nên không thể kết nối với máy tính này khi ở ngoài Wi-Fi của bạn nữa. Hãy cập nhật ứng dụng trên từng điện thoại, rồi mở nó một lần khi ở cùng Wi-Fi với máy tính này. Nếu vẫn không kết nối lại, hãy ghép nối lại.",+ "phoneUpdate.open": "Mở Điện thoại và thiết bị",+ "remote.devices.pairAgain": "Ghép nối lại",+ "remote.devices.retired": "Điện thoại này đang dùng phiên bản cũ của ứng dụng MausBot. Hãy cập nhật ứng dụng, rồi mở nó một lần khi ở cùng Wi-Fi với máy tính này. Nếu vẫn không kết nối lại, hãy ghép nối lại tại đây.",+ "remote.devices.retiredNotice": "Giờ điện thoại kết nối với máy tính này qua MausBot Relay, và liên kết bảo mật cũ đã bị tắt. Điện thoại dùng phiên bản cũ của ứng dụng MausBot không thể kết nối khi ở ngoài Wi-Fi của bạn nữa. Hãy cập nhật ứng dụng MausBot trên điện thoại đó, rồi mở nó một lần khi ở cùng Wi-Fi với máy tính này. Nếu vẫn không kết nối lại, hãy ghép nối lại tại đây."}diff --git a/src/locales/zh-tw.json b/src/locales/zh-tw.jsonindex 18e2562c16..c5d6bce7c7 100644--- a/src/locales/zh-tw.json+++ b/src/locales/zh-tw.json@@ -9958,5 +9958,12 @@"agentEndpoints.codexTitle": "Codex direct API","agentEndpoints.codexHint": "使用 API 金鑰執行原生 Codex 代理:可連接 OpenAI,或支援 Responses API 的閘道。每個連線都有各自的金鑰和 Codex 設定,費用由該 URL 背後的供應商計收。","settings.simple.account.noNameHint": "尚未設定",- "settings.simple.account.yourName": "你的名稱"+ "settings.simple.account.yourName": "你的名稱",+ "phoneUpdate.title": "請更新手機上的 MausBot",+ "phoneUpdate.body": "{phone} 上的 MausBot 應用程式是舊版本,離開你的 Wi-Fi 後已無法連線到這台電腦。請在那支手機上更新應用程式,然後在與這台電腦相同的 Wi-Fi 下開啟一次。如果仍無法重新連線,請重新配對。",+ "phoneUpdate.bodyMany": "你有 {count} 支手機上的 MausBot 應用程式是舊版本,離開你的 Wi-Fi 後已無法連線到這台電腦。請在每支手機上更新應用程式,然後在與這台電腦相同的 Wi-Fi 下開啟一次。如果仍無法重新連線,請重新配對。",+ "phoneUpdate.open": "開啟「手機和裝置」",+ "remote.devices.pairAgain": "重新配對",+ "remote.devices.retired": "這支手機上的 MausBot 應用程式是舊版本。請更新應用程式,然後在與這台電腦相同的 Wi-Fi 下開啟一次。如果仍無法重新連線,請在這裡重新配對。",+ "remote.devices.retiredNotice": "手機現在透過 MausBot Relay 連線到這台電腦,舊的安全連結已經關閉。使用舊版 MausBot 應用程式的手機,離開你的 Wi-Fi 後已無法連線。請在那支手機上更新 MausBot 應用程式,然後在與這台電腦相同的 Wi-Fi 下開啟一次。如果仍無法重新連線,請在這裡重新配對。"}diff --git a/src/locales/zh.json b/src/locales/zh.jsonindex 4062bb52d7..8c3a2a6b30 100644--- a/src/locales/zh.json+++ b/src/locales/zh.json@@ -7641,5 +7641,12 @@"remote.client.endsDec7": "这种连接方式将于 12 月 7 日停止。之后请在另一台电脑的「手机和设备」中重新配对这台电脑。","phone.code.pairingCode": "配对码","phone.code.typeIntro": "打开 {app} 应用并输入这个配对码。",- "phone.signIn.emailCode": "邮件中的登录码"+ "phone.signIn.emailCode": "邮件中的登录码",+ "phoneUpdate.title": "请更新手机上的 MausBot",+ "phoneUpdate.body": "{phone} 上的 MausBot 应用是旧版本,离开你的 Wi-Fi 后已无法连接到这台电脑。请在那部手机上更新应用,然后在与这台电脑相同的 Wi-Fi 下打开一次。如果仍无法重新连接,请重新配对。",+ "phoneUpdate.bodyMany": "你有 {count} 部手机上的 MausBot 应用是旧版本,离开你的 Wi-Fi 后已无法连接到这台电脑。请在每部手机上更新应用,然后在与这台电脑相同的 Wi-Fi 下打开一次。如果仍无法重新连接,请重新配对。",+ "phoneUpdate.open": "打开“手机和设备”",+ "remote.devices.pairAgain": "重新配对",+ "remote.devices.retired": "这部手机上的 MausBot 应用是旧版本。请更新应用,然后在与这台电脑相同的 Wi-Fi 下打开一次。如果仍无法重新连接,请在这里重新配对。",+ "remote.devices.retiredNotice": "手机现在通过 MausBot Relay 连接到这台电脑,旧的安全链接已经关闭。使用旧版 MausBot 应用的手机,离开你的 Wi-Fi 后已无法连接。请在那部手机上更新 MausBot 应用,然后在与这台电脑相同的 Wi-Fi 下打开一次。如果仍无法重新连接,请在这里重新配对。"}