Skip to content

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

Always-on home: one-tap move as on the rail, policy, honest status, no dialog

milind-sonib8d5e8ab6193
diff --git a/electron/always-on-home.mjs b/electron/always-on-home.mjs
index 66710afb45..27450ed420 100644
--- a/electron/always-on-home.mjs
+++ b/electron/always-on-home.mjs
@@ -20,9 +20,10 @@ export function parseAlwaysOn(value) {
/**
* `loginItem`: open-at-login.mjs's item (`available`, `chosen`, `choose`). `blocker`: Electron's powerSaveBlocker.
* `isOnBattery()`: powerMonitor's word. `updates()`: how an update arrives with nobody at the computer (updater.mjs
- * `unattendedUpdates`). `platform`: process.platform.
+ * `unattendedUpdates`). `platform`: process.platform. `loginNeeded()`: lending still wants the app to start at login, so
+ * turning the switch off leaves the login item.
*/
-export function createAlwaysOnHome({ file, loginItem, blocker, isOnBattery, updates = () => "none", platform = process.platform, log = () => {}, lookMs = ALWAYS_ON_LOOK_MS }) {
+export function createAlwaysOnHome({ file, loginItem, blocker, isOnBattery, updates = () => "none", loginNeeded = () => false, platform = process.platform, log = () => {}, lookMs = ALWAYS_ON_LOOK_MS }) {
let saved = read();
let blockerId = null;
let timer = null;
@@ -78,7 +79,7 @@ export function createAlwaysOnHome({ file, loginItem, blocker, isOnBattery, upda
let addedLogin = false;
try {
if (want && !loginOn()) { loginItem.choose(true); addedLogin = true; }
- else if (!want && saved.addedLogin && loginOn()) loginItem.choose(false);
+ else if (!want && saved.addedLogin && loginOn() && !loginNeeded()) loginItem.choose(false);
} catch (error) {
log(`always-on home: login item: ${error?.message ?? error}`);
}
diff --git a/electron/always-on-home.node-test.mjs b/electron/always-on-home.node-test.mjs
index e5d6787069..7f8a9a57fd 100644
--- a/electron/always-on-home.node-test.mjs
+++ b/electron/always-on-home.node-test.mjs
@@ -72,6 +72,19 @@ test("off undoes only what on changed: a login item the person set up stays", (t
assert.equal(theirs.world.login, true);
});
+test("off leaves the login item while lending still needs the app to start at login", (t) => {
+ const f = fixture(t);
+ let lending = false;
+ const home = createAlwaysOnHome({ file: f.file, loginItem: { available: () => true, chosen: () => f.world.login, choose: (on) => { f.world.chose.push(on); f.world.login = on; } },
+ blocker: { start: () => 1, stop: () => {}, isStarted: () => true }, isOnBattery: () => false, loginNeeded: () => lending });
+ home.set(true);
+ lending = true;
+ home.set(false);
+ assert.deepEqual(f.world.chose, [true], "nothing removed while lending wants it");
+ assert.equal(f.world.login, true);
+ home.stop();
+});
+
test("the switch survives a restart, and a fresh launch holds the computer awake again", (t) => {
const f = fixture(t);
f.home.set(true);
diff --git a/electron/main.mjs b/electron/main.mjs
index b1234039b7..88bcae1ff9 100644
--- a/electron/main.mjs
+++ b/electron/main.mjs
@@ -325,7 +325,7 @@ const serverSupervisor = createServerSupervisor({
routineWake.stop();
},
onExhausted() {
- slog("server recovery paused after repeated failures; quit and reopen to retry");
+ slog("server recovery paused after repeated failures; quit and reopen to retry"); if (alwaysOnHome.on()) return;
dialog.showErrorBox(
nativeT("native.dialog.serverStopped.title"),
nativeT("native.dialog.serverStopped.body", { log: path.join(LOG_DIR, "server.log") }),
@@ -1456,7 +1456,7 @@ function reconnectCloud(origin) {
return signInCloudSession({ origin, mine: other ? origin : myCloud(), pair: () => ensureCloudAccount().pairHome(other?.id ?? null), fetch: (...args) => session.defaultSession.fetch(...args) });
}
const loginItem = createOpenAtLogin({ app, file: path.join(app.getPath("userData"), "open-at-login.json"), home: os.homedir() });
-installOpenAtLogin({ ipcMain, guard: localOrHome, loginItem, changed: refreshApplicationMenu }); const alwaysOnHome = installAlwaysOnHome({ ipcMain, guard: localOnly, loginItem, changed: refreshApplicationMenu, file: path.join(app.getPath("userData"), "always-on-home.json"), blocker: powerSaveBlocker, isOnBattery: () => powerMonitor.isOnBatteryPower(), updates: unattendedUpdates, log: slog });
+installOpenAtLogin({ ipcMain, guard: localOrHome, loginItem, changed: refreshApplicationMenu }); const alwaysOnHome = installAlwaysOnHome({ ipcMain, guard: localOnly, loginItem, changed: refreshApplicationMenu, file: path.join(app.getPath("userData"), "always-on-home.json"), blocker: powerSaveBlocker, isOnBattery: () => powerMonitor.isOnBatteryPower(), updates: unattendedUpdates, loginNeeded: () => Boolean(computerSharing?.lendingToCloud()), log: slog });
let hiddenStart = false;
async function openCloudSettings() {
diff --git a/src/components/AlwaysOnHomeSection.dom.test.ts b/src/components/AlwaysOnHomeSection.dom.test.ts
index cb1e80ed0d..5dced9adae 100644
--- a/src/components/AlwaysOnHomeSection.dom.test.ts
+++ b/src/components/AlwaysOnHomeSection.dom.test.ts
@@ -93,7 +93,8 @@ describe("on the spare computer", () => {
expect(text()).toContain("Opens at login");
expect(text()).toContain("Stays awake while plugged in");
expect(text()).toContain("Installs updates by itself when nobody is using it");
- expect(text()).toContain("Starts its server again if it stops");
+ expect(text()).toContain("Starts its server again if it crashes");
+ expect(text()).toContain("Keeps running when its window is closed");
await vi.waitFor(() => expect($("[data-always-on-status]")?.textContent).toBe("Home is on · reachable from 2 devices"));
expect($("[data-always-on-system]")?.textContent).toContain("System Settings → Energy");
expect($("[data-always-on-system]")?.textContent).toContain("Automatically log in as");
@@ -116,6 +117,23 @@ describe("on the spare computer", () => {
expect(text()).toContain("choose Pair a computer under Your other computers");
});
+ it("with no way in on, the status says nothing can reach it yet", async () => {
+ (globalThis as { ogb?: unknown }).ogb = { platform: "darwin", alwaysOnHome: { state: async () => home({ on: true, openAtLogin: true, awake: "holding" }), set: vi.fn() } };
+ const closed = { ...companionState(1), enabled: false, routes: { wifi: off, relay: off, tailscale: off, https: off } as CompanionState["routes"] };
+ render(closed);
+ await vi.waitFor(() => expect($("[data-always-on-status]")?.textContent).toBe("Home is on · no phone or computer can reach it yet"));
+ });
+
+ it("an organization that keeps remote access off: neither next step turns a way in on, and it says why", async () => {
+ (globalThis as { ogb?: unknown }).ogb = { platform: "darwin", alwaysOnHome: { state: async () => home({ on: true, openAtLogin: true, awake: "holding" }), set: vi.fn() } };
+ const c = { busy: false, accountBusy: false, act: vi.fn() } as unknown as PhoneSetupController;
+ flushSync(() => root.render(createElement(AlwaysOnHomeSection, { c, state: companionState(0), onAddPhone: vi.fn(), blocked: "Managed by Acme" })));
+ await vi.waitFor(() => expect($("[data-always-on-add-phone]")).not.toBeNull());
+ expect($<HTMLButtonElement>("[data-always-on-add-phone]")!.disabled).toBe(true);
+ expect($<HTMLButtonElement>("[data-always-on-add-computer]")!.disabled).toBe(true);
+ expect(text()).toContain("Managed by Acme");
+ });
+
it("on Windows the Mac's settings are left out, and a Linux package's updates say where they come from", async () => {
(globalThis as { ogb?: unknown }).ogb = { platform: "linux", alwaysOnHome: { state: async () => home({ on: true, platform: "linux", openAtLogin: true, awake: "holding", updates: "package" }), set: vi.fn() } };
render(companionState(0));
@@ -147,7 +165,7 @@ describe("on the main computer", () => {
expect($("[data-rail-sheet] [data-own-server-link]")).not.toBeNull();
});
- it("once added: how it is doing, Open its bots, and Move my bots there after a plain confirm", async () => {
+ it("once added: how it is doing, Open its bots, and Make … my home in one tap, as on the rail", async () => {
const env = environments([
{ id: "local", name: "This computer", kind: "local" },
{ id: "cloud", name: "My Cloud", kind: "remote", origin: "https://cloud.example.test", home: true },
@@ -163,10 +181,9 @@ describe("on the main computer", () => {
expect(text()).toContain("Bots there use its screen, browser and files");
flushSync(() => $<HTMLButtonElement>("[data-always-on-open]")!.click());
expect(env.switch).toHaveBeenCalledWith("mini");
+ expect($("[data-always-on-move]")?.textContent).toBe("Make Mac mini my home");
+ expect(text()).toContain("Make Mac mini my home moves this computer's bots, chats, memory and routines there");
flushSync(() => $<HTMLButtonElement>("[data-always-on-move]")!.click());
- expect(makeHome, "nothing moves before the confirm").not.toHaveBeenCalled();
- expect(text()).toContain("Moves this computer's bots, chats, memory and routines to Mac mini");
- flushSync(() => $<HTMLButtonElement>("[data-always-on-move-yes]")!.click());
await vi.waitFor(() => expect(makeHome).toHaveBeenCalledWith("mini"));
});
@@ -177,7 +194,6 @@ describe("on the main computer", () => {
render(companionState(0));
await vi.waitFor(() => expect($("[data-always-on-move]")).not.toBeNull());
flushSync(() => $<HTMLButtonElement>("[data-always-on-move]")!.click());
- flushSync(() => $<HTMLButtonElement>("[data-always-on-move-yes]")!.click());
await vi.waitFor(() => expect($("[role=alert]")?.textContent).toBe("This server can't be your bots' home."));
});
diff --git a/src/components/AlwaysOnHomeSection.tsx b/src/components/AlwaysOnHomeSection.tsx
index a4b0ca5aca..1344d074de 100644
--- a/src/components/AlwaysOnHomeSection.tsx
+++ b/src/components/AlwaysOnHomeSection.tsx
@@ -9,6 +9,7 @@ import { api } from "@/state/store";
import type { LocaleKey } from "@/locales";
import type { ServerStatus } from "../../electron/server-status.mjs";
import type { CompanionState, PhoneSetupController } from "./PhoneSetupFlow";
+import { companionRoutesOn } from "./PhoneDevicesSection";
import { OwnServerLink, RailSheet } from "./PlaceAddSheet";
import { byHand, type SavedServer } from "./ServerList";
import { SettingRow, SettingsFoldRow, SettingsGroup, SettingsRows, Switch } from "./SettingsPrimitives";
@@ -47,21 +48,22 @@ export function homeStatusLine(devices: number): string {
/** Phones paired with this computer, and other computers and browsers signed in to it with a pairing code. */
function usePairedCount(state: CompanionState, on: boolean): number {
const [signedIn, setSignedIn] = useState(0);
+ const phones = state.devices.length;
useEffect(() => {
if (!on) return;
let alive = true;
void api("/api/auth/sessions").then((body) => { if (alive) setSignedIn(Array.isArray(body?.sessions) ? body.sessions.length : 0); }).catch(() => {});
return () => { alive = false; };
- }, [on]);
- return state.devices.length + signedIn;
+ }, [on, phones]);
+ return phones + signedIn;
}
const ogb = () => (typeof window === "undefined" ? undefined : window.ogb);
const isMac = () => ogb()?.platform === "darwin";
/** On the spare computer: one switch, what it did, and the next step (pair a phone, then another computer). */
-function ThisComputerHome({ home, setHome, c, state, onAddPhone }: {
- home: AlwaysOnHomeState; setHome: (next: AlwaysOnHomeState) => void; c: PhoneSetupController; state: CompanionState; onAddPhone: () => void;
+function ThisComputerHome({ home, setHome, c, state, onAddPhone, blocked }: {
+ home: AlwaysOnHomeState; setHome: (next: AlwaysOnHomeState) => void; c: PhoneSetupController; state: CompanionState; onAddPhone: () => void; blocked: string | null;
}) {
const [busy, setBusy] = useState(false);
const [failed, setFailed] = useState(false);
@@ -78,17 +80,17 @@ function ThisComputerHome({ home, setHome, c, state, onAddPhone }: {
<>
<SettingRow title={title} subtitle={t("alwaysOn.line")}
message={failed ? <span role="alert" className="text-danger">{t("alwaysOn.failed")}</span>
- : home.on ? <span data-always-on-status="" aria-live="polite">{homeStatusLine(paired)}</span> : undefined}>
+ : home.on ? <span data-always-on-status="" aria-live="polite">{companionRoutesOn(state) ? homeStatusLine(paired) : t("alwaysOn.status.noWay")}</span> : undefined}>
<span data-always-on-switch="" className="contents">
<Switch checked={home.on} disabled={busy} aria-label={title} onClick={() => set(!home.on)} />
</span>
</SettingRow>
- {home.on && <AlwaysOnDetails home={home} c={c} onAddPhone={onAddPhone} canAddComputer={!computersOn} />}
+ {home.on && <AlwaysOnDetails home={home} c={c} onAddPhone={onAddPhone} canAddComputer={!computersOn} blocked={blocked} />}
</>
);
}
-function AlwaysOnDetails({ home, c, onAddPhone, canAddComputer }: { home: AlwaysOnHomeState; c: PhoneSetupController; onAddPhone: () => void; canAddComputer: boolean }) {
+function AlwaysOnDetails({ home, c, onAddPhone, canAddComputer, blocked }: { home: AlwaysOnHomeState; c: PhoneSetupController; onAddPhone: () => void; canAddComputer: boolean; blocked: string | null }) {
const system = systemSettingLines(home.platform);
return (
<div data-always-on-details="" className="flex flex-col gap-3 px-4 py-3">
@@ -102,13 +104,14 @@ function AlwaysOnDetails({ home, c, onAddPhone, canAddComputer }: { home: Always
</ul>
<div className="flex flex-wrap items-center gap-2">
<span className="text-[13px] leading-[18px] text-ink">{t("alwaysOn.next")}</span>
- <button type="button" className="ui-button ui-button-primary" data-always-on-add-phone="" disabled={c.busy} onClick={onAddPhone}>{t("alwaysOn.addPhone")}</button>
+ <button type="button" className="ui-button ui-button-primary" data-always-on-add-phone="" disabled={c.busy || Boolean(blocked)} title={blocked ?? undefined} onClick={onAddPhone}>{t("alwaysOn.addPhone")}</button>
{canAddComputer && (
- <button type="button" className="ui-button" data-always-on-add-computer="" disabled={c.busy}
+ <button type="button" className="ui-button" data-always-on-add-computer="" disabled={c.busy || Boolean(blocked)} title={blocked ?? undefined}
onClick={() => void c.act((companion) => companion.setTailscaleComputers?.(true) ?? companion.state())}>{t("alwaysOn.addComputer")}</button>
)}
</div>
- {!canAddComputer && <p className="text-[12px] leading-4 text-ink-secondary">{t("alwaysOn.addComputerOn")}</p>}
+ {blocked ? <p role="status" className="text-[12px] leading-4 text-ink-secondary">{blocked}</p>
+ : !canAddComputer && <p className="text-[12px] leading-4 text-ink-secondary">{t("alwaysOn.addComputerOn")}</p>}
{system.length > 0 && (
<ul data-always-on-system="" className="flex list-disc flex-col gap-1 pl-4 text-[12px] leading-4 text-ink-secondary">
{system.map((key) => <li key={key}>{t(key, { app: productName() })}</li>)}
@@ -137,16 +140,16 @@ function useSavedServers(version: number): { servers: SavedServer[]; status: Ser
return { servers, status };
}
-/** One computer added here: how it is doing, and one tap each for what it can do. */
+/** One computer added here: how it is doing, and one tap each for what it can do. Make … my home is the rail menu's own
+ * one-tap move, with what it does said under it. */
function AddedComputer({ server, status }: { server: SavedServer; status: ServerStatus | undefined }) {
- const [confirming, setConfirming] = useState(false);
const [moving, setMoving] = useState(false);
const [said, setSaid] = useState<string | null>(null);
const move = () => {
setMoving(true); setSaid(null);
void makeHome(server.id).then((outcome) => {
setMoving(false);
- if (outcome === true) setConfirming(false); else setSaid(outcome);
+ if (outcome !== true) setSaid(outcome);
});
};
const health = !status || status.state === "checking" ? t("alwaysOn.added.checking")
@@ -159,18 +162,9 @@ function AddedComputer({ server, status }: { server: SavedServer; status: Server
<div data-always-on-health={status?.state ?? "checking"} className="text-[12px] leading-4 text-ink-secondary">{health}</div>
</div>
<button type="button" className="ui-button" data-always-on-open="" onClick={() => void ogb()?.environments?.switch(server.id)}>{t("alwaysOn.added.open")}</button>
- {!confirming && <button type="button" className="ui-button" data-always-on-move="" onClick={() => setConfirming(true)}>{t("alwaysOn.added.move")}</button>}
+ <button type="button" className="ui-button" data-always-on-move="" disabled={moving} aria-busy={moving || undefined} onClick={move}>{t("rail.makeHome", { name: server.name })}</button>
</div>
- {confirming && (
- <div role="group" aria-label={t("rail.makeHome", { name: server.name })} className="flex flex-col gap-2 rounded-lg bg-inset px-3 py-2.5">
- <p className="text-[13px] leading-[18px] text-ink">{t("rail.makeHomeSub", { name: server.name })}</p>
- <div className="flex flex-wrap gap-2">
- <button type="button" className="ui-button ui-button-primary" data-always-on-move-yes="" disabled={moving} aria-busy={moving || undefined} onClick={move}>{t("rail.makeHome", { name: server.name })}</button>
- <button type="button" className="ui-button" disabled={moving} onClick={() => { setConfirming(false); setSaid(null); }}>{t("common.cancel")}</button>
- </div>
- {said && <p role="alert" className="text-[12px] leading-4 text-danger">{said}</p>}
- </div>
- )}
+ {said && <p role="alert" className="text-[12px] leading-4 text-danger">{said}</p>}
<ul className="flex list-disc flex-col gap-1 pl-4 text-[12px] leading-4 text-ink-secondary">
<li>{t("alwaysOn.added.sidebar", { name: server.name })}</li>
<li>{t("alwaysOn.added.keepRunning", { name: server.name })}</li>
@@ -209,7 +203,11 @@ function AddAlwaysOnComputer() {
}
/** The section: this computer as a home, and adding another computer as one. The second is left out while this one is a home. */
-export function AlwaysOnHomeSection({ c, state, onAddPhone }: { c: PhoneSetupController; state: CompanionState; onAddPhone: () => void }) {
+export function AlwaysOnHomeSection({ c, state, onAddPhone, blocked = null }: {
+ c: PhoneSetupController; state: CompanionState; onAddPhone: () => void;
+ /** the organization's policy keeps remote access off: nothing here turns a way in on */
+ blocked?: string | null;
+}) {
const bridge = ogb()?.alwaysOnHome;
const [home, setHome] = useState<AlwaysOnHomeState | null>(null);
useEffect(() => {
@@ -222,7 +220,7 @@ export function AlwaysOnHomeSection({ c, state, onAddPhone }: { c: PhoneSetupCon
return (
<SettingsGroup label={t("alwaysOn.section")} block="always-on" description={t("alwaysOn.sectionLine")}>
<SettingsRows>
- {home && <ThisComputerHome home={home} setHome={setHome} c={c} state={state} onAddPhone={onAddPhone} />}
+ {home && <ThisComputerHome home={home} setHome={setHome} c={c} state={state} onAddPhone={onAddPhone} blocked={blocked} />}
{addHere && !home?.on && <AddAlwaysOnComputer />}
</SettingsRows>
</SettingsGroup>
diff --git a/src/components/PhoneDevicesSection.tsx b/src/components/PhoneDevicesSection.tsx
index c689949fb6..04b01d711e 100644
--- a/src/components/PhoneDevicesSection.tsx
+++ b/src/components/PhoneDevicesSection.tsx
@@ -474,7 +474,7 @@ export function PhoneDevicesSection({ profileEmail = "", focusRequest = 0, simpl
</SettingsGroup>
)}
- <AlwaysOnHomeSection c={c} state={state} onAddPhone={() => { if (!remoteBlocked) setPairing("device"); }} />
+ <AlwaysOnHomeSection c={c} state={state} blocked={managedBy} onAddPhone={() => { if (!remoteBlocked) setPairing("device"); }} />
{!reachOpen ? (
<SettingsGroup block="reach" footnote={t("phone.reach.foot")}>
diff --git a/src/locales/en.json b/src/locales/en.json
index b4544a09d8..2a5545b434 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -11008,7 +11008,7 @@
"alwaysOn.updates.restart": "Updates wait for you to choose Restart in {app}",
"alwaysOn.updates.package": "Updates come through your package manager",
"alwaysOn.updates.none": "This copy of {app} doesn't update itself",
- "alwaysOn.restarts": "Starts its server again if it stops, as often as it takes",
+ "alwaysOn.restarts": "Starts its server again if it crashes, and keeps trying every few minutes",
"alwaysOn.status.none": "Home is on · nothing paired yet",
"alwaysOn.status.one": "Home is on · reachable from 1 device",
"alwaysOn.status.many": "Home is on · reachable from {count} devices",
@@ -11022,7 +11022,7 @@
"alwaysOn.mac.permissions": "For bots to use its screen, allow {app} under Accessibility and Screen Recording in System Settings → Privacy & Security.",
"alwaysOn.add.title": "Add a Mac mini or other always-on computer",
"alwaysOn.add.line": "Your bots keep running there while this computer sleeps or travels.",
- "alwaysOn.add.step1": "On that computer, install {app}, open Settings → Phone & devices and turn on Use this Mac as an always-on home.",
+ "alwaysOn.add.step1": "On that computer, install {app}, open Settings → Phone & devices and turn on Use this Mac as an always-on home (on Windows or Linux: Use this computer as an always-on home).",
"alwaysOn.add.step2": "There, turn on Your other computers and choose Pair a computer. Both computers need Tailscale, signed in to the same account.",
"alwaysOn.add.step3": "Here, paste the link it shows.",
"alwaysOn.add.connect": "Connect to it",
@@ -11030,9 +11030,9 @@
"alwaysOn.added.online": "Online",
"alwaysOn.added.offline": "Can't reach it right now",
"alwaysOn.added.open": "Open its bots",
- "alwaysOn.added.move": "Move my bots there",
"alwaysOn.added.sidebar": "{name} has its own circle at the left edge of the window: click it to open its bots.",
- "alwaysOn.added.keepRunning": "Move my bots there moves this computer's bots, chats, memory and routines to {name}, so they keep running while this computer is off.",
+ "alwaysOn.added.keepRunning": "Make {name} my home moves this computer's bots, chats, memory and routines there, so they keep running while this computer is off.",
"alwaysOn.added.screen": "Bots there use its screen, browser and files, once {app} is allowed to use that computer.",
- "alwaysOn.windowClosed": "Keeps running when its window is closed"
+ "alwaysOn.windowClosed": "Keeps running when its window is closed",
+ "alwaysOn.status.noWay": "Home is on · no phone or computer can reach it yet"
}
diff --git a/src/locales/pt-br.json b/src/locales/pt-br.json
index 351ef9f411..9c5e267438 100644
--- a/src/locales/pt-br.json
+++ b/src/locales/pt-br.json
@@ -11008,7 +11008,7 @@
"alwaysOn.updates.restart": "As atualizações esperam você escolher Reiniciar no {app}",
"alwaysOn.updates.package": "As atualizações chegam pelo seu gerenciador de pacotes",
"alwaysOn.updates.none": "Esta cópia do {app} não se atualiza sozinha",
- "alwaysOn.restarts": "Reinicia o servidor se ele parar, quantas vezes for preciso",
+ "alwaysOn.restarts": "Reinicia o servidor se ele travar e continua tentando a cada poucos minutos",
"alwaysOn.status.none": "Casa ligada · nada pareado ainda",
"alwaysOn.status.one": "Casa ligada · acessível de 1 dispositivo",
"alwaysOn.status.many": "Casa ligada · acessível de {count} dispositivos",
@@ -11016,13 +11016,13 @@
"alwaysOn.addPhone": "Adicionar seu celular",
"alwaysOn.addComputer": "Adicionar seu outro computador",
"alwaysOn.addComputerOn": "Para adicionar seu outro computador, escolha Parear um computador em Seus outros computadores, abaixo.",
- "alwaysOn.mac.power": "Depois de uma queda de energia: Ajustes do Sistema → Energia → Iniciar quando conectado à energia: Sempre (em versões mais antigas do macOS, Iniciar automaticamente após falta de energia).",
+ "alwaysOn.mac.power": "Depois de uma queda de energia: Ajustes do Sistema → Energia → Iniciar quando a alimentação estiver conectada: Sempre (em versões mais antigas do macOS, a opção de iniciar automaticamente após falta de energia).",
"alwaysOn.mac.login": "Para iniciar sem ninguém entrar na sessão: Ajustes do Sistema → Usuários e Grupos → Iniciar sessão automaticamente como. O macOS só oferece isso com o FileVault desligado.",
"alwaysOn.mac.locked": "Os bots não podem usar a tela enquanto ela está bloqueada. O bloqueio é ajustado em Ajustes do Sistema → Tela Bloqueada.",
"alwaysOn.mac.permissions": "Para os bots usarem a tela, permita o {app} em Acessibilidade e Gravação de Tela em Ajustes do Sistema → Privacidade e Segurança.",
"alwaysOn.add.title": "Adicionar um Mac mini ou outro computador sempre ligado",
"alwaysOn.add.line": "Seus bots continuam rodando lá enquanto este computador dorme ou viaja.",
- "alwaysOn.add.step1": "Naquele computador, instale o {app}, abra Configurações → Celular e dispositivos e ative Usar este Mac como casa sempre ligada.",
+ "alwaysOn.add.step1": "Naquele computador, instale o {app}, abra Configurações → Celular e dispositivos e ative Usar este Mac como casa sempre ligada (no Windows ou Linux: Usar este computador como casa sempre ligada).",
"alwaysOn.add.step2": "Lá, ative Seus outros computadores e escolha Parear um computador. Os dois computadores precisam do Tailscale, conectado à mesma conta.",
"alwaysOn.add.step3": "Aqui, cole o link que ele mostra.",
"alwaysOn.add.connect": "Conectar",
@@ -11030,9 +11030,9 @@
"alwaysOn.added.online": "Online",
"alwaysOn.added.offline": "Não dá para alcançá-lo agora",
"alwaysOn.added.open": "Abrir os bots dele",
- "alwaysOn.added.move": "Mover meus bots para lá",
"alwaysOn.added.sidebar": "{name} tem seu próprio círculo na borda esquerda da janela: clique nele para abrir os bots dele.",
- "alwaysOn.added.keepRunning": "Mover meus bots para lá leva os bots, conversas, memória e rotinas deste computador para {name}, para que continuem rodando enquanto este computador está desligado.",
+ "alwaysOn.added.keepRunning": "Definir {name} como base dos meus bots leva os bots, conversas, memória e rotinas deste computador para lá, para que continuem rodando enquanto este computador está desligado.",
"alwaysOn.added.screen": "Os bots de lá usam a tela, o navegador e os arquivos daquele computador, depois que o {app} tiver permissão para usá-lo.",
- "alwaysOn.windowClosed": "Continua rodando quando a janela é fechada"
+ "alwaysOn.windowClosed": "Continua rodando quando a janela é fechada",
+ "alwaysOn.status.noWay": "Casa ligada · nenhum celular ou computador consegue alcançá-la ainda"
}