Skip to content

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

Devices: a notice for what needs you, one action row, clearer add steps (#7396)

Milind Soni45a0be9daaae
diff --git a/src/components/AlwaysOnHomeSection.dom.test.ts b/src/components/AlwaysOnHomeSection.dom.test.ts
index 0be7ed5fd5..3bb0447560 100644
--- a/src/components/AlwaysOnHomeSection.dom.test.ts
+++ b/src/components/AlwaysOnHomeSection.dom.test.ts
@@ -100,6 +100,14 @@ describe("on the spare computer", () => {
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"));
+ // The Mac's own settings to check sit folded under one quiet button.
+ const toggle = $<HTMLButtonElement>("[data-always-on-system-toggle]")!;
+ expect(toggle.textContent).toBe("Mac settings to check");
+ expect(toggle.getAttribute("aria-expanded")).toBe("false");
+ expect(document.getElementById(toggle.getAttribute("aria-controls")!)?.hidden).toBe(true);
+ flushSync(() => toggle.click());
+ expect(toggle.getAttribute("aria-expanded")).toBe("true");
+ expect($<HTMLElement>("[data-always-on-system]")?.hidden).toBe(false);
expect($("[data-always-on-system]")?.textContent).toContain("System Settings → Energy → Start up automatically after a power failure");
expect($("[data-always-on-system]")?.textContent).not.toContain("power is connected");
expect($("[data-always-on-system]")?.textContent).toContain("Automatically log in as");
diff --git a/src/components/AlwaysOnHomeSection.tsx b/src/components/AlwaysOnHomeSection.tsx
index b2a2a8768b..4b87e02cdd 100644
--- a/src/components/AlwaysOnHomeSection.tsx
+++ b/src/components/AlwaysOnHomeSection.tsx
@@ -1,7 +1,8 @@
// Settings → Devices → Always-on home: a spare computer (a Mac mini, say) as the person's own Cloud at home. On
// that computer, one switch makes it one; on their main computer, the steps to add it and what it then does for them.
-import { useEffect, useState } from "react";
-import { Check } from "lucide-react";
+import { useEffect, useId, useState } from "react";
+import { Check, ChevronRight } from "lucide-react";
+import { cn } from "@/lib/cn";
import { productName } from "@/lib/brand";
import { t } from "@/lib/i18n";
import { makeHome } from "@/lib/places";
@@ -100,6 +101,24 @@ function ThisComputerHome({ home, setHome, c, state, onAddPhone, onAddComputer,
);
}
+/** The computer's own settings to check, folded under one quiet button. */
+function SystemSettings({ lines }: { lines: LocaleKey[] }) {
+ const [open, setOpen] = useState(false);
+ const id = useId();
+ return (
+ <div className="flex flex-col items-start gap-2">
+ <button type="button" data-always-on-system-toggle="" aria-expanded={open} aria-controls={id} onClick={() => setOpen(!open)}
+ className="settings-quiet -ms-1.5 inline-flex cursor-pointer items-center gap-1">
+ {t("alwaysOn.macSettingsToCheck")}
+ <ChevronRight size={12} aria-hidden="true" className={cn("shrink-0 transition-transform duration-150 motion-reduce:transition-none rtl:-scale-x-100", open && "rotate-90")} />
+ </button>
+ <ul id={id} hidden={!open} data-always-on-system="" className="flex list-disc flex-col gap-1 pl-4 text-[12px] leading-4 text-ink-secondary">
+ {lines.map((key) => <li key={key}>{t(key, { app: productName() })}</li>)}
+ </ul>
+ </div>
+ );
+}
+
function AlwaysOnDetails({ home, c, onAddPhone, onAddComputer, blocked }: { home: AlwaysOnHomeState; c: PhoneSetupController; onAddPhone: () => void; onAddComputer: () => void; blocked: string | null }) {
const system = systemSettingLines(home.platform);
return (
@@ -119,11 +138,7 @@ function AlwaysOnDetails({ home, c, onAddPhone, onAddComputer, blocked }: { home
onClick={onAddComputer}>{t("alwaysOn.addComputer")}</button>
</div>
{blocked && <p role="status" className="text-[12px] leading-4 text-ink-secondary">{blocked}</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>)}
- </ul>
- )}
+ {system.length > 0 && <SystemSettings lines={system} />}
</div>
);
}
diff --git a/src/components/PairedPhones.tsx b/src/components/PairedPhones.tsx
index 42f63e4f4b..36e9c54b49 100644
--- a/src/components/PairedPhones.tsx
+++ b/src/components/PairedPhones.tsx
@@ -49,7 +49,7 @@ export function PhoneControls({ device, c, onPairAgain, onChanged }: { device: P
)}
{e2eEnabled && (
<div className="flex items-center justify-between gap-3">
- <div className="text-[13px] leading-[18px] text-ink">{t("remote.devices.connectFrom")}</div>
+ <div className="text-[14px] leading-5 text-ink">{t("remote.devices.connectFrom")}</div>
<div role="radiogroup" aria-label={t("remote.devices.connectFrom")} className="inline-flex h-7 items-center rounded-full bg-ink/[0.05] p-0.5">
{(["any", "local"] as const).map((routes) => (
<button
@@ -70,8 +70,8 @@ export function PhoneControls({ device, c, onPairAgain, onChanged }: { device: P
)}
<div className="flex items-center justify-between gap-3">
<div>
- <div className="text-[13px] leading-[18px] text-ink">{t("remote.devices.desktopsTitle")}</div>
- <div className="text-[12px] leading-4 text-ink-secondary">{t("remote.devices.desktopsLine")}</div>
+ <div className="text-[14px] leading-5 text-ink">{t("remote.devices.desktopsTitle")}</div>
+ <div className="mt-0.5 text-[13px] leading-[18px] text-ink-secondary">{t("remote.devices.desktopsLine")}</div>
</div>
<Switch
checked={device.cloudDesktopAccess}
@@ -83,8 +83,8 @@ export function PhoneControls({ device, c, onPairAgain, onChanged }: { device: P
</div>
<div className="flex items-center justify-between gap-3">
<div>
- <div className="text-[13px] leading-[18px] text-ink">{t("remote.devices.browserTitle")}</div>
- <div className="text-[12px] leading-4 text-ink-secondary">{t("remote.devices.browserLine")}</div>
+ <div className="text-[14px] leading-5 text-ink">{t("remote.devices.browserTitle")}</div>
+ <div className="mt-0.5 text-[13px] leading-[18px] text-ink-secondary">{t("remote.devices.browserLine")}</div>
</div>
<Switch
checked={device.browserControlAccess === true}
diff --git a/src/components/PhoneDevicesSection.page.test.ts b/src/components/PhoneDevicesSection.page.test.ts
index c242375417..12ffe57603 100644
--- a/src/components/PhoneDevicesSection.page.test.ts
+++ b/src/components/PhoneDevicesSection.page.test.ts
@@ -38,11 +38,11 @@ beforeEach(() => {
});
describe("How your phone reaches this computer", () => {
- it("with nothing paired and no way in on, folds the ways in into one row that says adding a phone turns them on", () => {
+ it("with nothing paired and no way in on, keeps its heading over one row that says they are off and adding a phone turns them on", () => {
const html = page(true);
- expect(html).toContain("How your phone reaches this computer");
- expect(html).toContain("Adding a phone turns these on. You can change them here.");
- expect(html).toContain("data-reach-fold");
+ expect(html).toMatch(/<h3[^>]*>How your phone reaches this computer<\/h3>[\s\S]*data-reach-fold/);
+ expect(html).toMatch(/data-reach-fold[^>]*>[\s\S]*Off · Adding a phone turns these on/);
+ expect(html).not.toContain("You can change them here");
expect(html).not.toContain('data-route-row="wifi"');
expect(html).toContain('data-settings-block="more-ways"');
});
@@ -135,15 +135,16 @@ describe("Add a phone's steps", () => {
const steps = (overrides: Partial<CompanionState> = {}) =>
renderToStaticMarkup(createElement(PairPhoneSteps, { c: c(), state: state(overrides), codeView: "PAIRING_CODE_VIEW" })).replaceAll("&#x27;", "'");
- it("asks how the phone will reach this computer, as two choices with Same Wi-Fi first, before anything listens", () => {
+ it("asks how the phone will reach this computer, as two ways it may pick both of, Same Wi-Fi first, before anything listens", () => {
const html = steps();
expect(html).toContain("How will your phone reach this computer?");
- expect(html.match(/type="radio"/g)).toHaveLength(2);
+ expect(html.match(/type="checkbox"/g)).toHaveLength(2);
const input = (route: string) => html.match(new RegExp(`<input[^>]*value="${route}"[^>]*>`))![0];
expect(input("wifi")).toContain('checked=""');
- expect(input("relay"), "signed out: Anywhere can't be chosen yet, and says why").toContain('disabled=""');
+ expect(input("relay"), "signed out: Anywhere can't be picked yet, and says why").toContain('disabled=""');
+ expect(input("relay")).not.toContain('checked=""');
expect(html).toContain("Needs a free MausBot sign-in.");
- expect(html).not.toContain('type="checkbox"');
+ expect(html).not.toContain('type="radio"');
expect(html).toContain(">Turn on and show code<");
expect(html).toContain("You can turn these off any time in Devices.");
expect(html).not.toContain(">Cancel<");
@@ -161,6 +162,7 @@ describe("route words", () => {
expect(routeStateText({ on: true, since: NOV_7 }, 0)).toBe("On · waiting for a paired device");
expect(reachLine({ routes: routes() })).toBe("No way in is on yet.");
expect(reachLine({ routes: routes({ tailscale: true, relay: true }) })).toBe("Reaches this computer on your private network and anywhere through MausBot.");
+ expect(reachLine({ routes: routes({ wifi: true }) })).toBe("Reaches this computer on the same Wi-Fi.");
});
});
diff --git a/src/components/PhoneDevicesSection.tsx b/src/components/PhoneDevicesSection.tsx
index 267558d8e3..3d3de45760 100644
--- a/src/components/PhoneDevicesSection.tsx
+++ b/src/components/PhoneDevicesSection.tsx
@@ -212,13 +212,14 @@ function RouteRow({ c, state, route, blocked, onSignIn }: { c: PhoneSetupControl
export type PairStep = "consent" | "sign-in" | "pairing";
type PairRoute = "wifi" | "relay";
+const PAIR_ROUTES: readonly PairRoute[] = ["wifi", "relay"];
/** A short line keeps compound words such as "End-to-end" whole: its hyphens never break a line. */
const keepWhole = (text: string) => text.replace(/(\p{L})-(?=\p{L})/gu, "$1\u2011");
-/** One route to choose, as a radio card: the name, a line, and what it still needs. A selected card has a 1 px ink edge. */
+/** One way in to pick, as a checkbox row: the name, a line, and what it still needs. Rows after the first part with a hairline. */
function RouteCard({ route, chosen, disabled, onChoose, needs, action, hint }: {
- route: PairRoute; chosen: boolean; disabled?: boolean; onChoose: () => void; needs?: ReactNode;
+ route: PairRoute; chosen: boolean; disabled?: boolean; onChoose: (on: boolean) => void; needs?: ReactNode;
/** under the needs line, at the text's edge: Sign in */
action?: ReactNode;
/** a note for this way only, under its line (the local network permission) */
@@ -226,10 +227,10 @@ function RouteCard({ route, chosen, disabled, onChoose, needs, action, hint }: {
}) {
return (
<div data-route-card={route} data-chosen={chosen ? "" : undefined}
- className={cn("flex flex-col gap-1 rounded-[12px] bg-menu px-4 py-3", chosen ? "shadow-[inset_0_0_0_1px_var(--color-ink)]" : "shadow-[inset_0_0_0_0.5px_var(--settings-edge)]")}>
+ className="flex flex-col gap-1 py-3 [&+&]:shadow-[inset_0_0.5px_0_var(--settings-edge)]">
<label className={cn("flex items-start gap-3", disabled ? "cursor-default" : "cursor-pointer")}>
- <input type="radio" name="pair-route" value={route} checked={chosen} disabled={disabled} onChange={onChoose}
- className="rounded-full mt-0.5 size-4 shrink-0 accent-[var(--color-ink)] disabled:opacity-40" />
+ <input type="checkbox" name="pair-route" value={route} checked={chosen} disabled={disabled} onChange={(event) => onChoose(event.target.checked)}
+ className="mt-0.5 size-4 shrink-0 accent-[var(--color-ink)] disabled:opacity-40" />
<span className="flex min-w-0 flex-1 flex-col gap-0.5">
<span className={cn("text-[14px] leading-5", disabled ? "text-ink-secondary" : "text-ink")}>{t(ROUTE_TEXT[route].name, { app: productName() })}</span>
{/* One measure for the card's text: the line wraps like the hint under it (no early "pretty" wrap). */}
@@ -257,7 +258,13 @@ export type PairAsk = "https" | "sign-in" | null;
export function PairPhoneSteps({ c, state, ask = null, codeView }: { c: PhoneSetupController; state: CompanionState; ask?: PairAsk; codeView: ReactNode }) {
const signedIn = c.account?.status === "ready";
const relayAvailable = c.account?.available !== false;
- const [picked, setPicked] = useState<PairRoute>(signedIn && relayAvailable ? "relay" : "wifi");
+ const [picked, setPicked] = useState<ReadonlySet<PairRoute>>(() => new Set([signedIn && relayAvailable ? "relay" : "wifi"]));
+ const pick = (route: PairRoute, on: boolean) => setPicked((now) => {
+ const next = new Set(now);
+ if (on) next.add(route); else next.delete(route);
+ return next;
+ });
+ const ways = PAIR_ROUTES.filter((route) => picked.has(route) && (route !== "relay" || (signedIn && relayAvailable)));
const [step, setStep] = useState<PairStep>(() => (ask === "sign-in" && !signedIn ? "sign-in" : firstPairStep(state, ask === "https")));
const { start } = c;
const startAsked = useRef(ask === "https" || (ask === "sign-in" && !signedIn));
@@ -270,7 +277,7 @@ export function PairPhoneSteps({ c, state, ask = null, codeView }: { c: PhoneSet
const signingIn = useRef(false);
useEffect(() => {
if (step !== "sign-in") return;
- if (signedIn) { setPicked("relay"); setStep("consent"); return; }
+ if (signedIn) { setPicked((now) => new Set([...now, "relay"])); setStep("consent"); return; }
if (c.phase === "sign-in") signingIn.current = true;
else if (signingIn.current) { signingIn.current = false; setStep("consent"); }
}, [step, signedIn, c.phase]);
@@ -285,20 +292,20 @@ export function PairPhoneSteps({ c, state, ask = null, codeView }: { c: PhoneSet
return () => { mounted.current = false; window.setTimeout(() => { if (!mounted.current && opened.current) cancel.current(); }, 0); };
}, []);
const begin = async () => {
- if (!await c.act((bridge) => setRoute(bridge, picked, true))) return;
+ for (const route of ways) if (!await c.act((bridge) => setRoute(bridge, route, true))) return;
setStep("pairing");
c.useLocal();
};
- const localHint = picked === "wifi" && !state.routes?.wifi?.on && typeof window !== "undefined" && window.ogb?.platform === "darwin";
+ const localHint = picked.has("wifi") && !state.routes?.wifi?.on && typeof window !== "undefined" && window.ogb?.platform === "darwin";
if (step === "sign-in") return <PhoneSetupFlowView controller={c} />;
if (step === "pairing") return <>{codeView}</>;
return <>
<p className="text-[13px] leading-[18px] text-ink-secondary">{t("phone.pair.howReach")}</p>
- <div role="radiogroup" aria-label={t("phone.pair.howReach")} className="flex flex-col gap-2">
- <RouteCard route="wifi" chosen={picked === "wifi"} onChoose={() => setPicked("wifi")}
+ <div role="group" aria-label={t("phone.pair.howReach")} className="-my-3 flex flex-col">
+ <RouteCard route="wifi" chosen={picked.has("wifi")} onChoose={(on) => pick("wifi", on)}
hint={localHint ? <span data-local-network-hint="">{t("phone.pair.localNetworkHint", { app: productName() })}</span> : undefined} />
{relayAvailable && (
- <RouteCard route="relay" chosen={picked === "relay"} disabled={!signedIn} onChoose={() => setPicked("relay")}
+ <RouteCard route="relay" chosen={signedIn && picked.has("relay")} disabled={!signedIn} onChoose={(on) => pick("relay", on)}
needs={signedIn ? undefined : t("phone.pair.needsSignIn", { app: productName() })}
action={!signedIn && (
<button type="button" className="ui-button ui-button-md mt-1 rounded-full" data-pair-sign-in=""
@@ -309,7 +316,7 @@ export function PairPhoneSteps({ c, state, ask = null, codeView }: { c: PhoneSet
<p className="text-[12px] leading-4 text-ink-secondary">{t("phone.pair.footHere")}</p>
{c.error && <p role="alert" className="text-[12px] leading-4 text-danger">{c.error}</p>}
<div className="flex gap-2">
- <button type="button" disabled={c.busy} onClick={() => void begin()} className="ui-button ui-button-primary" data-pair-turn-on="">{t("phone.pair.turnOnShow")}</button>
+ <button type="button" disabled={c.busy || ways.length === 0} onClick={() => void begin()} className="ui-button ui-button-primary" data-pair-turn-on="">{t("phone.pair.turnOnShow")}</button>
</div>
</>;
}
@@ -330,11 +337,11 @@ export function OpenCodeRow({ c, state }: { c: PhoneSetupController; state: Comp
);
}
-/** "Reaches this computer on Same Wi-Fi and anywhere through MausBot." */
+/** "Reaches this computer on the same Wi-Fi and anywhere through MausBot." */
export function reachLine(state: Pick<CompanionState, "routes">): string {
const on = (route: CompanionRoute) => state.routes?.[route]?.on === true;
const ways = [
- on("wifi") && t("devices.reach.wifi"),
+ on("wifi") && t("devices.reach.sameWifi"),
on("tailscale") && t("devices.reach.privateNetwork"),
on("https") && t("devices.reach.https", { app: productName() }),
on("relay") && t("devices.reach.relay", { app: productName() }),
@@ -360,9 +367,9 @@ export function ReachSection({ c, state, simple, moreWaysAsked, managedBy, onPai
const httpsShown = (!simple || httpsOn || httpsPeek) && showHttpsAddressRow(state, c.account, companionBridge());
if (!(showRoutes || state.devices.length > 0 || anyRoute || moreWaysAsked)) {
return (
- <SettingsGroup block="reach" footnote={t("phone.reach.footAdding")}>
+ <SettingsGroup label={t("phone.reach.title")} block="reach">
<SettingsRows>
- <SettingsLinkRow title={t("phone.reach.title")} value={t("devices.route.off")} onClick={() => setShowRoutes(true)} data={{ "data-reach-fold": "" }} />
+ <SettingsLinkRow title={t("phone.reach.offAdding")} onClick={() => setShowRoutes(true)} data={{ "data-reach-fold": "" }} />
</SettingsRows>
<span data-settings-block="more-ways" className="contents" />
</SettingsGroup>
diff --git a/src/components/PlaceAddSheet.tsx b/src/components/PlaceAddSheet.tsx
index 1ec5c8bc81..725b9676b9 100644
--- a/src/components/PlaceAddSheet.tsx
+++ b/src/components/PlaceAddSheet.tsx
@@ -164,7 +164,7 @@ export function OwnServerLink({ onBack, onConnected, connect = null, start = nul
<span className="flex flex-col gap-1 text-[12px] font-normal text-ink-secondary">{t("connect.noCode")}<CommandLine command={PAIR_COMMAND} inline={inline} /></span>
</label>}
{/* The question after pairing lives here: on, a server of the person's own may use this computer once paired. */}
- {!start?.locked && address.trim() && <AddFormLendSwitch address={address} />}
+ {!start?.locked && address.trim() && (!inline || !canProbe || found) && <AddFormLendSwitch address={address} />}
{shownProblem && !inline && <p role="alert" data-connect-problem className="text-[13px] text-danger">{shownProblem}</p>}
{canProbe && probing && !found && !shownProblem && <p data-connect-checking className="inline-flex items-center gap-1.5 text-[13px] text-ink-secondary">
<Loader2 size={13} className="animate-spin" aria-hidden="true" />{t("connect.checking")}
diff --git a/src/components/devices/AddDevicePanel.tsx b/src/components/devices/AddDevicePanel.tsx
index 97f940e3bd..b4fa7f0f81 100644
--- a/src/components/devices/AddDevicePanel.tsx
+++ b/src/components/devices/AddDevicePanel.tsx
@@ -214,8 +214,8 @@ export function AddDevicePanel(props: AddDeviceProps) {
<NetworkStep network={network} action={stepAction} waiting={Boolean(shared && !tailnetAddress)} onCheck={onCheck} checking={checking} />
</>}
</Step>}
- <Step n={here && network ? 2 : 1} title={t(here && network ? "devicesPage.addFlow.installBoth" : "devicesPage.addFlow.installStep", { app: productName() })} state={!here || networkReady ? "now" : "later"}>
- {here && network && <p className={BODY}>{t("devicesPage.addFlow.installBothLine")}</p>}
+ <Step n={here && network ? 2 : 1} title={t(here && network ? "devicesPage.addFlow.installOther" : "devicesPage.addFlow.installStep", { app: productName() })} state={!here || networkReady ? "now" : "later"}>
+ {here && network && <p data-add-install-why="" className={BODY}>{t("devicesPage.addFlow.installOtherLine")}</p>}
<span className="flex flex-wrap gap-2">
<a href={DESKTOP_DOWNLOAD_URL} target="_blank" rel="noreferrer" className="ui-button ui-button-sm w-fit">{t("computerAsk.action.getApp", { app: productName() })}</a>
{here && network && <a href={TAILSCALE_GET} target="_blank" rel="noreferrer" className="ui-button ui-button-sm w-fit">{t("remote.tailscale.getIt")}</a>}
@@ -227,9 +227,9 @@ export function AddDevicePanel(props: AddDeviceProps) {
</Steps>)}
{kind === "server" && <Steps>
<Step n={1} title={t("devicesPage.addFlow.serverRunTerminal")}>
- <CommandRow label={t("devicesPage.addFlow.serverAnywhere")} command={SERVER_COMMANDS.anywhere} />
+ <p data-add-server-why="" className={BODY}>{t("devicesPage.addFlow.serverCommandsLine", { app: productName() })}</p>
+ <CommandRow label={t("devicesPage.route.anywhere", { app: productName() })} command={SERVER_COMMANDS.anywhere} />
<CommandRow label={t("devicesPage.addFlow.serverPrivate")} command={SERVER_COMMANDS.tailscale} />
- <p className="text-[12px] leading-4 text-ink-secondary">{t("devicesPage.addFlow.serverHow")}</p>
</Step>
<Step n={2} title={t("devicesPage.addFlow.pasteLink")}>
{canConnectServer
diff --git a/src/components/devices/CodeCard.tsx b/src/components/devices/CodeCard.tsx
index e4b26374af..a021e73510 100644
--- a/src/components/devices/CodeCard.tsx
+++ b/src/components/devices/CodeCard.tsx
@@ -37,9 +37,11 @@ export function CopyPhoneLink({ link }: { link: string }) {
</button>;
}
-/** A phone's code: the QR on its white plate, with what to do, the code to type instead (or, with none, until when the
- * QR works) and the wait beside it. */
-export function PhoneCodeCard({ link, code, expiresAt, connected, children }: { link: string; code: string | null; expiresAt: number | null; connected: string | null; children?: ReactNode }) {
+/** A phone's code: the QR on its white plate, with what to do, the code to type instead (or, with none, why there is
+ * none and until when the QR works) and the wait beside it. */
+export function PhoneCodeCard({ link, code, expiresAt, connected, noCode, children }: {
+ link: string; code: string | null; expiresAt: number | null; connected: string | null; noCode?: ReactNode; children?: ReactNode;
+}) {
return (
<div data-pair-panel="phone" className="flex flex-wrap items-start gap-4">
<div data-pair-qr="" aria-label={t("phone.code.qrAria")} role="img" className="shrink-0 rounded-xl bg-white p-2.5 shadow-[inset_0_0_0_0.5px_var(--settings-edge)]">
@@ -48,7 +50,10 @@ export function PhoneCodeCard({ link, code, expiresAt, connected, children }: {
<div className="flex min-w-[min(100%,13rem)] flex-1 flex-col gap-3">
<p className="text-[13px] leading-[18px] text-ink">{t("phone.code.installAndScan", { app: productName() })}</p>
{code && expiresAt ? <TypedCode label={t("devicesPage.addFlow.orType")} code={code} expiresAt={expiresAt} />
- : expiresAt && <span data-pair-until="" className="text-[12px] leading-4 text-ink-tertiary">{codeUntil(expiresAt)}</span>}
+ : <span className="flex flex-col gap-0.5 empty:hidden">
+ {noCode}
+ {expiresAt && <span data-pair-until="" className="text-[12px] leading-4 text-ink-tertiary">{codeUntil(expiresAt)}</span>}
+ </span>}
<Waiting connected={connected} waiting={t("devicesPage.addFlow.waitingPhone")} />
{children}
</div>
@@ -79,12 +84,10 @@ export function PhoneCodeInline({ c, started: asked = false }: { c: PhoneSetupCo
}
if (c.phase === "qr" && c.pairingLink && c.state) {
const code = c.state.e2e?.enabled ? null : pairing?.code ?? null;
- return <PhoneCodeCard link={c.pairingLink} code={code} expiresAt={pairing?.expiresAt ?? null} connected={null}>
- <span className="flex flex-col items-start gap-1.5">
- {!code && <span data-pair-cant-scan="" className="text-[12px] leading-4 text-ink-secondary">{t("devicesPage.addFlow.cantScan")}</span>}
- <CopyPhoneLink link={c.pairingLink} />
- </span>
- <p className="text-[12px] leading-4 text-ink-tertiary">{reachLine(c.state)}</p>
+ return <PhoneCodeCard link={c.pairingLink} code={code} expiresAt={pairing?.expiresAt ?? null} connected={null}
+ noCode={<span data-pair-encrypted="" className="text-[13px] leading-[18px] text-ink-secondary">{t("devicesPage.addFlow.encryptedNoType")}</span>}>
+ <CopyPhoneLink link={c.pairingLink} />
+ <p data-pair-reach="" className="text-[12px] leading-4 text-ink-secondary">{reachLine(c.state)}</p>
</PhoneCodeCard>;
}
return <PhoneSetupFlowView controller={c} />;
diff --git a/src/components/devices/DeviceDetails.tsx b/src/components/devices/DeviceDetails.tsx
index 300773ac48..93fc15f49a 100644
--- a/src/components/devices/DeviceDetails.tsx
+++ b/src/components/devices/DeviceDetails.tsx
@@ -1,4 +1,4 @@
-import { useEffect, useRef, useState, type ReactNode } from "react";
+import { useEffect, useId, useRef, useState, type ReactNode } from "react";
import { BotAvatar } from "@/components/Avatar";
import { productName } from "@/lib/brand";
import { t } from "@/lib/i18n";
@@ -11,7 +11,7 @@ import { OwnServerLink } from "../PlaceAddSheet";
import { updateCommand } from "../ServerList";
import { needOf, useBotsOn } from "./device-parts";
import { CommandRow } from "./PairCodePanel";
-import { kindLabel, routeLabel } from "./device-words";
+import { kindLabel, routeList } from "./device-words";
export function actionLabel(action: DeviceAction, device?: Device): string {
switch (action.type) {
@@ -23,17 +23,10 @@ export function actionLabel(action: DeviceAction, device?: Device): string {
case "manage": return t("devicesPage.action.manage");
case "turn-on-way": return t("devicesPage.action.turnOnWay");
case "remove":
- if (device && device.kind !== "phone" && signsIn(device)) {
- if (action.source.type === "session") return t("devicesPage.action.signOut");
- if (action.source.type === "place") return t("devicesPage.action.removeHere");
- }
- return t("remote.devices.removeShort");
+ return device && signOutOf(device) === action ? t("devicesPage.action.signOut") : t("remote.devices.removeShort");
}
}
-/** A saved server that is also signed in to this computer: its Remove and its Sign it out undo different things. */
-const signsIn = (device: Device) => device.sources.some((source) => source.type === "session") && device.sources.some((source) => source.type === "place");
-
export interface DeviceExtra {
facts?: ReactNode;
controls?: ReactNode;
@@ -60,15 +53,42 @@ export function Detail({ label, children }: { label: string; children: ReactNode
export function ActionButton({ device, action, onAction, main = false }: { device: Device; action: DeviceAction; onAction: (device: Device, action: DeviceAction) => void; main?: boolean }) {
return (
<button type="button" data-device-action={action.type} data-danger={action.type === "remove" ? "" : undefined} onClick={() => onAction(device, action)}
- aria-label={`${actionLabel(action, device)}: ${device.name}`} className={action.type === "remove" ? "ui-button shrink-0 text-danger!" : main ? "ui-button ui-button-primary shrink-0" : "ui-button shrink-0"}>{actionLabel(action, device)}</button>
+ aria-label={`${actionLabel(action, device)}: ${device.name}`}
+ className={action.type === "remove" ? "ui-button ms-auto shrink-0 text-danger!" : main ? "ui-button ui-button-primary shrink-0" : "ui-button shrink-0"}>{actionLabel(action, device)}</button>
+ );
+}
+
+/** "Over the internet", then the sign-in this computer also holds for it, with the quiet way to end it and what that does. */
+function ConnectedBy({ device, signOut, onAction }: { device: Device; signOut: RemoveAction | undefined; onAction: (device: Device, action: DeviceAction) => void }) {
+ const hint = useId();
+ return (
+ <Detail label={t("devicesPage.detail.connectedBy")}>
+ {device.routes.length > 0 && <span className="block">{routeList(device.routes)}</span>}
+ {signOut && <span data-device-signed-in="" className="block">
+ {t("devicesPage.detail.alsoSignedIn")}
+ <span aria-hidden="true" className="text-ink-tertiary">{" ·"}</span>
+ <button type="button" data-device-sign-out="" data-danger="" aria-describedby={hint} aria-label={`${t("devicesPage.action.signOut")}: ${device.name}`}
+ onClick={() => onAction(device, signOut)} className="settings-quiet cursor-pointer">{t("devicesPage.action.signOut")}</button>
+ <span id={hint} data-device-sign-out-line="" className="block text-[12px] leading-4 text-ink-tertiary">{t("devicesPage.detail.signOutLine")}</span>
+ </span>}
+ </Detail>
);
}
-/** What it needs first, then the harmless actions; apart from them, Remove (one for a phone, which takes its pairing and its app). */
-function orderActions(device: Device): { lead: DeviceAction[]; removes: DeviceAction[] } {
+type RemoveAction = Extract<DeviceAction, { type: "remove" }>;
+const removesOf = (device: Device) => device.actions.filter((action): action is RemoveAction => action.type === "remove");
+
+/** A saved server that is also signed in to this computer: Remove forgets the server here, and this ends its sign-in. */
+function signOutOf(device: Device): RemoveAction | undefined {
+ if (device.kind === "phone" || !device.sources.some((source) => source.type === "place")) return undefined;
+ return removesOf(device).find((action) => action.source.type === "session");
+}
+
+/** What it needs first, then the harmless actions, then one Remove (a phone's takes its pairing and its app). */
+function orderActions(device: Device): { lead: DeviceAction[]; remove: RemoveAction | undefined } {
const need = needOf(device);
- const removes = device.actions.filter((action) => action.type === "remove");
+ const signOut = signOutOf(device);
const rest = device.actions.filter((action) => action.type !== "remove" && action !== need);
- return { lead: [...(need ? [need] : []), ...rest], removes: device.kind === "phone" ? removes.slice(0, 1) : removes };
+ return { lead: [...(need ? [need] : []), ...rest], remove: removesOf(device).find((action) => action !== signOut) };
}
const actionKey = (action: DeviceAction) => `${action.type}:${"source" in action ? action.source.id : ""}`;
@@ -81,7 +101,7 @@ function BotsDetail({ device }: { device: Device }) {
{bots.map((bot) => <li key={bot.id} className="flex min-w-0 items-baseline gap-1.5 text-ink"><span className="self-center"><BotAvatar bot={bot} size={16} /></span><span className="break-words">{bot.name}</span></li>)}
</ul>;
}
- return <>{device.canRunBots ? t("devicesPage.detail.runsBots") : device.canHostComputer ? t("devicesPage.detail.hostsComputer") : t("devicesPage.detail.reachesBots")}</>;
+ return <>{device.canRunBots ? t("devicesPage.detail.runsOwnBots") : device.canHostComputer ? t("devicesPage.detail.botsWorkOnIt") : t("devicesPage.detail.usesBots")}</>;
}
/**
@@ -99,7 +119,8 @@ export function DeviceDetails({ device, onAction, onRemoved, now, pairing, onPai
const need = needOf(device);
const update = device.actions.find((action) => action.type === "copy-update");
const pairAgain = device.actions.find((action) => action.type === "pair-again");
- const { lead, removes } = orderActions(device);
+ const { lead, remove } = orderActions(device);
+ const signOut = signOutOf(device);
const actions = lead.filter((action) => action.type !== "copy-update");
const act = (chosen: Device, action: DeviceAction) => (action.type === "pair-again" ? onPairing(true) : onAction(chosen, action));
const vps = vpsOf(device);
@@ -111,8 +132,8 @@ export function DeviceDetails({ device, onAction, onRemoved, now, pairing, onPai
return (
<div className="flex flex-col gap-4">
<dl className="flex flex-col gap-2">
- <Detail label={t("devicesPage.detail.type")}>{kindLabel(device.kind)}</Detail>
- {!device.here && device.routes.length > 0 && <Detail label={t("devicesPage.detail.connectedBy")}>{device.routes.map(routeLabel).join(", ")}</Detail>}
+ <Detail label={t("devicesPage.detail.type")}>{vps ? t("keys.vps.ownServer") : kindLabel(device.kind)}</Detail>
+ {!device.here && (device.routes.length > 0 || signOut) && <ConnectedBy device={device} signOut={signOut} onAction={onAction} />}
{device.address && <Detail label={t("devicesPage.detail.address")}><span className="select-text break-all font-mono text-[12px]">{device.address}</span></Detail>}
{device.version && <Detail label={t("devicesPage.detail.version")}>{device.version}</Detail>}
{device.lastSeen && device.status !== "online" && <Detail label={t("devicesPage.detail.lastSeen")}>{lastSeen(device.lastSeen, now)}</Detail>}
@@ -138,14 +159,9 @@ export function DeviceDetails({ device, onAction, onRemoved, now, pairing, onPai
<OwnServerLink inline onBack={null} onConnected={() => onPairing(false, true)} start={{ address: pairAgain.address, locked: true, title: "" }} expect={device.name}
aside={<button type="button" className="ui-button" data-pair-again-cancel="" onClick={() => onPairing(false)}>{t("common.cancel")}</button>} />
</div>
- : (actions.length > 0 || removes.length > 0) && <div className="flex flex-col gap-2">
- <div data-device-actions="" className="flex flex-wrap items-center gap-2">
- {actions.map((action) => <ActionButton key={actionKey(action)} device={device} action={action} main={action === need} onAction={act} />)}
- {removes.length > 0 && <span data-device-removes="" className="ms-auto flex flex-wrap justify-end gap-2">
- {removes.map((action) => <ActionButton key={actionKey(action)} device={device} action={action} onAction={act} />)}
- </span>}
- </div>
- {removes.length > 1 && device.kind !== "phone" && signsIn(device) && <p data-device-remove-hint="" className="text-end text-[12px] leading-4 text-ink-tertiary">{t("devicesPage.action.signOutHint")}</p>}
+ : (actions.length > 0 || remove) && <div data-device-actions="" className="flex flex-wrap items-center gap-2">
+ {actions.map((action) => <ActionButton key={actionKey(action)} device={device} action={action} main={action === need} onAction={act} />)}
+ {remove && <ActionButton device={device} action={remove} onAction={act} />}
</div>}
</div>
);
diff --git a/src/components/devices/DeviceMap.tsx b/src/components/devices/DeviceMap.tsx
index b953a558b9..441e099363 100644
--- a/src/components/devices/DeviceMap.tsx
+++ b/src/components/devices/DeviceMap.tsx
@@ -21,7 +21,7 @@ export const deviceMapShown = () => shownOverride ?? SHOW_DEVICE_MAP;
const LINE = "border-ink-secondary/35";
const away = (devices: readonly Device[]) => devices.length > 0 && devices.every((device) => device.status === "offline");
-const GROUP: Record<DeviceGroup, LocaleKey> = { phones: "devicesPage.group.phones", computers: "devicesPage.group.computers", servers: "devicesPage.group.servers" };
+const GROUP: Record<DeviceGroup, LocaleKey> = { phones: "devicesPage.group.phones", computers: "devicesPage.group.computers", servers: "devicesPage.map.servers" };
const COUNT: Record<DeviceGroup, [LocaleKey, LocaleKey]> = {
phones: ["devicesPage.map.phonesOne", "devicesPage.map.phonesMany"],
computers: ["devicesPage.map.computersOne", "devicesPage.map.computersMany"],
@@ -50,8 +50,8 @@ function Hub({ device, mark, network, onOpen }: { device: Device; mark: ReactNod
);
}
-/** One device on the map: a status mark, its name cut short if it must be (the row below has it whole) and the bots on it.
- * Its edge is solid while it is reachable and dashed while it is away. */
+/** One device on the map: a status mark, its whole name (wrapping) and the bots on it. Its edge is solid while it is
+ * reachable and dashed while it is away. */
function Node({ device, now, onOpen }: { device: Device; now: number; onOpen: (id: string) => void }) {
const bots = useBotsOn(device);
const mark = markOf(device);
@@ -59,9 +59,9 @@ function Node({ device, now, onOpen }: { device: Device; now: number; onOpen: (i
return (
<li className="min-w-0 max-w-full">
<button type="button" data-map-node={device.id} data-map-line={device.status === "offline" ? "away" : "on"} aria-label={label} title={device.name}
- onClick={() => onOpen(device.id)} className={cn(NODE, "h-7 border ps-2.5 pe-2", LINE, device.status === "offline" && "border-dashed")}>
+ onClick={() => onOpen(device.id)} className={cn(NODE, "min-h-7 rounded-[14px] border py-[4px] ps-2.5 pe-2", LINE, device.status === "offline" && "border-dashed")}>
{mark !== "unknown" && <StatusMark status={mark} />}
- <span className="min-w-0 truncate text-[13px] leading-[18px] text-ink">{device.name}</span>
+ <span className="min-w-0 break-words text-[13px] leading-[18px] text-ink [overflow-wrap:anywhere]">{device.name}</span>
<BotFaces bots={bots} size={14} />
</button>
</li>
@@ -119,6 +119,7 @@ export function DeviceMap({ devices, mark, network, loaded, onOpen, now = Date.n
</div>
</>}
{groups.length === 0 && loaded && <p data-map-empty="" className="ps-11 pt-1 text-[13px] leading-[18px] text-ink-tertiary">{t("devicesPage.map.nothingYet")}</p>}
+ {groups.length > 0 && <p data-map-legend="" className="pt-3 text-[12px] leading-4 text-ink-tertiary">{t("devicesPage.map.legend")}</p>}
</div>
{loaded && <p data-map-summary="" className="hidden px-4 text-[13px] leading-[18px] text-ink-secondary @max-[519px]/map:block">{mapSummary(devices)}</p>}
</div>
diff --git a/src/components/devices/DeviceRows.tsx b/src/components/devices/DeviceRows.tsx
index 1881ff079b..ac612aeb88 100644
--- a/src/components/devices/DeviceRows.tsx
+++ b/src/components/devices/DeviceRows.tsx
@@ -1,5 +1,5 @@
import { useEffect, useId, useRef, type ReactNode } from "react";
-import { Check, ChevronRight, Waypoints, X } from "lucide-react";
+import { Check, ChevronRight, CircleAlert, Waypoints, X } from "lucide-react";
import { cn } from "@/lib/cn";
import { t } from "@/lib/i18n";
import type { Device, DeviceAction, DeviceGroup, PrivateNetwork } from "@/lib/devices";
@@ -72,6 +72,8 @@ function DeviceRow({ device, mark, opened, onAction, now }: {
const NETWORK_MARK: Partial<Record<PrivateNetwork["state"], Device["status"]>> = { ready: "online", unknown: "unknown" };
/** The private network's mark: a choice left off reads as away, not as needing the person. */
export const networkMark = (network: PrivateNetwork): Device["status"] => (network.state === "ready" && !network.shared ? "offline" : NETWORK_MARK[network.state] ?? "attention");
+/** Tailscale is missing, signed out, waiting or not allowed: the network row, the page's notice and the nav's mark say so. */
+export const networkNeedsPerson = (network: PrivateNetwork | null): network is PrivateNetwork => Boolean(network && networkMark(network) === "attention");
/** Your other computers on the private network, as a switch once Tailscale is on: on lets them open this computer. */
export interface NetworkShare {
@@ -85,24 +87,28 @@ export interface NetworkShare {
}
/** The private network on this computer: its state, the whole next step in words, and the one control for it. */
-function NetworkRow({ network, line, action, secondary, share }: { network: PrivateNetwork; line: string; action: NetworkAction | null; secondary?: ReactNode; share?: NetworkShare | null }) {
+function NetworkRow({ network, line, action, secondary, share }: { network: PrivateNetwork; line: string | null; action: NetworkAction | null; secondary?: ReactNode; share?: NetworkShare | null }) {
const shareLabel = t("devicesPage.network.shareSwitch");
+ const phonesOff = network.state === "ready" && !network.shared ? share?.onPhonesOff ?? null : null;
+ const mark = phonesOff ? "online" : networkMark(network);
+ const shown = line ?? (phonesOff ? t("devicesPage.network.line.phonesThrough") : null);
return (
<div data-settings-block="computers" className="contents">
- <div data-settings-block="network" data-private-network="" className="flex scroll-mt-4 flex-wrap items-center gap-x-3 gap-y-2 px-4 py-3">
+ <div data-settings-block="network" data-private-network="" tabIndex={-1} className="flex scroll-mt-4 flex-wrap items-center gap-x-3 gap-y-2 px-4 py-3 outline-none">
<div className="flex min-w-[min(100%,14rem)] flex-1 gap-3">
<span aria-hidden="true" className={SLOT}><SettingsMark><Waypoints /></SettingsMark></span>
<div className="flex min-w-0 flex-1 flex-col gap-0.5">
<span className="flex flex-wrap items-center gap-x-2 text-[14px] leading-5 text-ink">
{t("devicesPage.network.title")}
- <span data-network-state={network.state} className={cn("flex items-center gap-1.5 text-[13px] leading-[18px]", networkMark(network) === "attention" ? "text-ink" : "text-ink-secondary")}>
- <StatusMark status={networkMark(network)} />{networkShort(network)}
+ <span data-network-state={network.state} aria-live="polite" className={cn("flex min-w-0 items-start gap-1.5 text-[13px] leading-[18px]", mark === "attention" ? "text-ink" : "text-ink-secondary")}>
+ {mark !== "unknown" && <span className="flex h-[18px] shrink-0 items-center"><StatusMark status={mark} /></span>}
+ <span className="min-w-0">{phonesOff ? t("devicesPage.network.short.onPhonesOnly") : networkShort(network)}</span>
</span>
</span>
- <span data-network-line={network.state} aria-live="polite" className="text-[13px] leading-[18px] text-ink-secondary">{line}</span>
- {share?.onPhonesOff && <span data-network-phones="" className="flex flex-wrap items-center gap-x-2 text-[13px] leading-[18px] text-ink-secondary">
- {t("devicesPage.network.phonesStill")}
- <button type="button" data-network-phones-off="" className="settings-quiet -ms-1.5 cursor-pointer" disabled={share.busy} onClick={share.onPhonesOff}>{t("devicesPage.network.phonesOff")}</button>
+ {shown && <span data-network-line={network.state} aria-live="polite" className="text-[13px] leading-[18px] text-ink-secondary">{shown}</span>}
+ {phonesOff && share && <span className="pt-1.5">
+ <button type="button" data-network-phones-off="" title={t("devicesPage.network.turnOffHint")} disabled={share.busy} onClick={phonesOff}
+ className="ui-button ui-button-sm">{t("devicesPage.network.turnOff")}</button>
</span>}
</div>
</div>
@@ -125,17 +131,17 @@ function NetworkRow({ network, line, action, secondary, share }: { network: Priv
}
/** This place first: its row (open like any other) and, on This computer, the private network under it (`network`, or
- * `pending` while it is still being read). */
-export function HereSection({ device, mark, network, pending = false, opened, onAction, onAdd, now, more }: {
- device: Device; mark: ReactNode; opened: Opened; onAction: (device: Device, action: DeviceAction) => void; onAdd: () => void; now: number;
- network: { network: PrivateNetwork; line: string; action: NetworkAction | null; secondary?: ReactNode; share?: NetworkShare | null } | null;
+ * `pending` while it is still being read). `titled: false` leaves out "You're here" where the map above already says it. */
+export function HereSection({ device, mark, network, pending = false, opened, onAction, now, more, titled = true }: {
+ device: Device; mark: ReactNode; opened: Opened; onAction: (device: Device, action: DeviceAction) => void; now: number;
+ network: { network: PrivateNetwork; line: string | null; action: NetworkAction | null; secondary?: ReactNode; share?: NetworkShare | null } | null;
pending?: boolean;
/** more rows of this place's own, under it */
more?: ReactNode;
+ titled?: boolean;
}) {
return (
- <SettingsGroup label={t("devicesPage.here.section")} block="add"
- actions={<button type="button" data-add-device="" onClick={onAdd} className="ui-button ui-button-primary ui-button-sm">{t("devicesPage.add")}</button>}>
+ <SettingsGroup label={titled ? t("devicesPage.here.section") : undefined} block="here">
<SettingsRows icons>
<DeviceRow device={device} mark={mark} opened={opened} onAction={onAction} now={now} />
{network && <NetworkRow {...network} />}
@@ -146,6 +152,45 @@ export function HereSection({ device, mark, network, pending = false, opened, on
);
}
+/**
+ * What needs the person, by name, as one quiet row in its own card while anything does: each device's name opens its row,
+ * and the private network's opens the network row.
+ */
+export function DevicesAttention({ needing, network, now, onOpen, onNetwork }: {
+ needing: readonly Device[]; network: PrivateNetwork | null; now: number; onOpen: (id: string) => void; onNetwork: () => void;
+}) {
+ const items = [
+ ...(networkNeedsPerson(network) ? [{ key: "network", name: t("devicesPage.network.title"), status: networkShort(network), open: onNetwork }] : []),
+ ...needing.map((device) => ({ key: device.id, name: device.name, status: statusText(device, now), open: () => onOpen(device.id) })),
+ ];
+ if (items.length === 0) return null;
+ return (
+ <section data-settings-block="attention" className="flex scroll-mt-4 flex-col">
+ <SettingsRows>
+ <div data-devices-attention="" className="flex min-h-11 items-start gap-2 px-4 py-3 text-[13px] leading-[18px] text-ink-secondary">
+ <span className="flex h-[18px] shrink-0 items-center"><CircleAlert size={14} aria-hidden="true" className="text-warning" /></span>
+ <ul className="flex min-w-0 flex-col gap-1">
+ {items.map((item) => {
+ const [before = "", after = ""] = t("devicesPage.attention.item", { status: item.status }).split("{name}");
+ // A button is laid out as one box (Chromium): a name over two lines would leave the punctuation after it
+ // alone at the line's end, so the punctuation goes inside it.
+ const [, glue = "", rest = ""] = /^(\S*)([\s\S]*)$/.exec(after) ?? [];
+ return <li key={item.key} data-attention-device={item.key}>
+ {before}
+ <button type="button" onClick={item.open}
+ className="cursor-pointer rounded-sm text-start font-medium text-accent-text hover:underline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-focus">
+ {item.name}<span className="font-normal text-ink-secondary">{glue}</span>
+ </button>
+ {rest}
+ </li>;
+ })}
+ </ul>
+ </div>
+ </SettingsRows>
+ </section>
+ );
+}
+
/** What just happened to a device (removed, paired again), by the list it happened in, until it is closed or the page moves on. */
export function DevicesNotice({ text, onDismiss }: { text: string; onDismiss: () => void }) {
const line = useRef<HTMLDivElement>(null);
@@ -167,14 +212,19 @@ export function GroupSection({ group, devices, addLabel, onAdd, opened, onAction
}) {
return (
<SettingsGroup label={groupLabel(group)} block={block}
- actions={addLabel && <button type="button" data-add-group={group} data-phone-pairing-action={group === "phones" ? "" : undefined} onClick={onAdd} className="settings-quiet cursor-pointer">{addLabel}</button>}>
+ actions={addLabel && devices.length > 0 && <button type="button" data-add-group={group} data-phone-pairing-action={group === "phones" ? "" : undefined} onClick={onAdd} className="settings-quiet cursor-pointer">{addLabel}</button>}>
{notes}
{notice}
<SettingsRows icons>
{lead}
{devices.length
? devices.map((device) => <DeviceRow key={device.id} device={device} opened={opened} onAction={onAction} now={now} />)
- : <SettingsEmptyRow><span data-devices-empty={group}>{t(EMPTY[group])}</span></SettingsEmptyRow>}
+ : <SettingsEmptyRow>
+ <span className="flex min-w-0 flex-1 flex-wrap items-center justify-between gap-x-3 gap-y-2">
+ <span data-devices-empty={group}>{t(EMPTY[group])}</span>
+ {addLabel && <button type="button" data-add-empty={group} data-add-group={group} data-phone-pairing-action={group === "phones" ? "" : undefined} onClick={onAdd} className="settings-quiet -me-1.5 shrink-0 cursor-pointer">{addLabel}</button>}
+ </span>
+ </SettingsEmptyRow>}
</SettingsRows>
</SettingsGroup>
);
diff --git a/src/components/devices/PairCodePanel.tsx b/src/components/devices/PairCodePanel.tsx
index 28d035bb15..39f7ebb379 100644
--- a/src/components/devices/PairCodePanel.tsx
+++ b/src/components/devices/PairCodePanel.tsx
@@ -43,6 +43,30 @@ const hostName = (link: string): string | null => {
try { return new URL(link).hostname.split(".")[0] || null; } catch { return null; }
};
+/** The address and code to type on the other computer, folded under the link. */
+function TypeInstead({ address, code, expiresAt }: { address: string; code: string; expiresAt: number }) {
+ const [open, setOpen] = useState(false);
+ const id = useId();
+ return (
+ <div data-pair-type-instead={open ? "open" : "closed"} className="flex flex-col items-start gap-2">
+ <button type="button" aria-expanded={open} aria-controls={id} onClick={() => setOpen(!open)}
+ className="settings-quiet -ms-1.5 inline-flex cursor-pointer items-center gap-1">
+ {t("devicesPage.addFlow.typeInstead")}
+ <ChevronRight size={12} aria-hidden="true" className={cn("shrink-0 transition-transform duration-150 motion-reduce:transition-none rtl:-scale-x-100", open && "rotate-90")} />
+ </button>
+ <div id={id} hidden={!open} className="w-full rounded-lg bg-ink/[0.03] px-3 py-2.5">
+ <span className="flex flex-wrap gap-x-6 gap-y-2">
+ <span className="flex min-w-0 flex-col gap-0.5">
+ <span className="text-[12px] leading-4 text-ink-tertiary">{t("connect.address")}</span>
+ <span data-pairing-address="" className="select-text break-all font-mono text-[13px] leading-6 text-ink">{address}</span>
+ </span>
+ <TypedCode label={t("connect.code")} code={code} expiresAt={expiresAt} />
+ </span>
+ </div>
+ </div>
+ );
+}
+
/** Who is asking here and whether this place makes pairing codes at all (an organization's Admin may sign people in
* instead); null while unread. */
export function usePairAccess(): { session: SessionState | null; pairingCodes: boolean | null } {
@@ -76,8 +100,6 @@ export function PairCodePanel({ kind, address, onConnected, cloudHome = false, a
const { session, pairingCodes } = usePairAccess();
const [scope, setScope] = useState<Scope>("admin");
const [offer, setOffer] = useState<PairingOffer | null>(null);
- const [typing, setTyping] = useState(false);
- const typedId = useId();
const [error, setError] = useState<string | null>(null);
const [connected, setConnected] = useState<string | null>(null);
const [now, setNow] = useState(() => Date.now());
@@ -182,32 +204,17 @@ export function PairCodePanel({ kind, address, onConnected, cloudHome = false, a
return (
<div className="flex flex-col gap-3" data-pair-panel={kind}>
<p className="text-[13px] leading-[18px] text-ink-secondary">{t("devicesPage.addFlow.computerPasteOther", { app: productName() })}</p>
- {link && (
- <div className="flex flex-col items-start gap-1.5">
- <button type="button" onClick={copy} data-copy-link="" data-pair-link={link.link} className="ui-button ui-button-primary">
- {t(copied === "copied" ? "remote.serverPairing.copied" : copied === "failed" ? "common.copyFailed" : "remote.serverPairing.copyLink")}
- </button>
- {address && hostName(link.link) && <span className="text-[12px] leading-4 text-ink-tertiary">{t("devicesPage.addFlow.linkOpens", { host: hostName(link.link)! })}</span>}
- </div>
- )}
- <Waiting connected={connected} />
- {link && <div data-pair-type-instead="" data-open={typing ? "" : undefined} className="flex flex-col text-[12px] leading-4 text-ink-secondary">
- <button type="button" aria-expanded={typing} aria-controls={typedId} onClick={() => setTyping(!typing)}
- className="inline-flex w-fit cursor-pointer items-center gap-1 rounded-sm hover:text-ink focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-focus">
- <ChevronRight size={12} aria-hidden="true" className={cn("shrink-0 transition-transform duration-150 motion-reduce:transition-none rtl:-scale-x-100", typing && "rotate-90")} />
- {t("devicesPage.addFlow.typeInstead")}
+ {link && <>
+ <button type="button" onClick={copy} data-copy-link="" data-pair-link={link.link} className="ui-button ui-button-primary w-fit">
+ {t(copied === "copied" ? "remote.serverPairing.copied" : copied === "failed" ? "common.copyFailed" : "remote.serverPairing.copyLink")}
</button>
- <div id={typedId} hidden={!typing}>
- <div className="mt-2 flex flex-col gap-2">
- <span className="flex flex-col gap-0.5">
- <span className="text-ink-tertiary">{t("connect.address")}</span>
- <span data-pairing-address="" className="select-text break-all text-[13px] leading-[18px] text-ink">{link.address}</span>
- </span>
- <TypedCode label={t("connect.code")} code={offer.code} expiresAt={offer.expiresAt} />
- </div>
- </div>
- </div>}
+ <p data-pair-send-link="" className="text-[13px] leading-[18px] text-ink-secondary">
+ {address && hostName(link.link) && <>{t("devicesPage.addFlow.linkOpens", { host: hostName(link.link)! })}{" "}</>}{t("devicesPage.addFlow.sendLinkOther")}
+ </p>
+ <TypeInstead address={link.address} code={offer.code} expiresAt={offer.expiresAt} />
+ </>}
{!link && <TypedCode label={t("connect.code")} code={offer.code} expiresAt={offer.expiresAt} />}
+ <Waiting connected={connected} />
</div>
);
}
diff --git a/src/components/devices/PhoneSections.tsx b/src/components/devices/PhoneSections.tsx
index 93be431595..8c3e7ba74c 100644
--- a/src/components/devices/PhoneSections.tsx
+++ b/src/components/devices/PhoneSections.tsx
@@ -1,5 +1,6 @@
import { useEffect, useState } from "react";
-import { ArrowUpRight, Cloud, Laptop } from "lucide-react";
+import { ArrowUpRight, Cloud, Laptop, Server, type LucideIcon } from "lucide-react";
+import type { Device } from "@/lib/devices";
import { t } from "@/lib/i18n";
import { phoneAppChips, type PublicPhone } from "@/lib/phones";
import type { SessionState } from "@/lib/session";
@@ -10,9 +11,10 @@ import { pairingBlockedReason } from "../ServerPairingCard";
import { SettingsGroup, SettingsLinkRow, SettingsMark, SettingsRows } from "../SettingsPrimitives";
import { useCloudPhoneDestination } from "../SidebarProfileMenu";
import { TeamPhoneCard } from "../TeamPhoneCard";
-import { useOtherPlaces } from "../settings/settings-context";
+import { useOtherPlaces, type OtherPlace } from "../settings/settings-context";
import { useSettingsShell } from "../settings/settings-shell";
import { Detail } from "./DeviceDetails";
+import { KIND_ICON } from "./device-words";
/** This computer's door to pairing with My Cloud, the first row of Phones and tablets: My Cloud opens with its own Add a
* phone. Null while there is no ready Cloud to pair with. */
@@ -39,9 +41,11 @@ export function PairWithCloudRow() {
);
}
-/** The way to each other place's phones, one row each, marked like a device row. A Cloud already offered by Pair with
- * My Cloud is left out, so the page never has two doors to the same place's phones. */
-export function OtherPlacesSection() {
+const PLACE_ICON: Record<OtherPlace["kind"], LucideIcon> = { computer: Laptop, server: Server, cloud: Cloud, team: Cloud, account: Cloud };
+
+/** The way to each other place's phones, one row each, marked like its device row (`devices`) or else by its kind. A Cloud
+ * already offered by Pair with My Cloud is left out, so the page never has two doors to the same place's phones. */
+export function OtherPlacesSection({ devices }: { devices: readonly Device[] }) {
const { ctx } = useSettingsShell();
const { cloud, bridge } = useCloudPhoneDestination(ctx.here);
const callout = ctx.here && cloud === "ready" && Boolean(bridge);
@@ -50,11 +54,12 @@ export function OtherPlacesSection() {
return (
<SettingsGroup label={t("devicesPage.otherPlaces.title")} block="other-places">
<SettingsRows icons>
- {others.map((place) => (
- <SettingsLinkRow key={place.key} title={place.name} subtitle={t("devicesPage.otherPlaces.line")}
- leading={<SettingsMark>{place.kind === "computer" ? <Laptop /> : <Cloud />}</SettingsMark>}
- external onClick={place.open} data={{ "data-other-place": place.key }} />
- ))}
+ {others.map((place) => {
+ const row = devices.find((device) => device.id === `place:${place.key}`);
+ const Icon = row ? KIND_ICON[row.kind] : PLACE_ICON[place.kind];
+ return <SettingsLinkRow key={place.key} title={place.name} subtitle={t("devicesPage.otherPlaces.line")}
+ leading={<SettingsMark><Icon /></SettingsMark>} external onClick={place.open} data={{ "data-other-place": place.key }} />;
+ })}
</SettingsRows>
</SettingsGroup>
);
diff --git a/src/components/devices/device-parts.tsx b/src/components/devices/device-parts.tsx
index 99ef0e9556..76618820bd 100644
--- a/src/components/devices/device-parts.tsx
+++ b/src/components/devices/device-parts.tsx
@@ -26,7 +26,12 @@ export const routeOf = (device: Device): string | null => {
/** What the mark shows: a device that can't be reached or needs a step is marked as needing the person, even while away. */
export const markOf = (device: Device): Device["status"] => (device.note && device.note !== "reconnecting" ? "attention" : device.status);
-/** "● Online · Same network": the state in a mark and words, then how it connects, in one line that wraps. */
+export const needsPerson = (device: Device) => markOf(device) === "attention";
+/** The devices that need the person first; the rest keep their order. */
+export const needsFirst = (devices: readonly Device[]): Device[] => [...devices.filter(needsPerson), ...devices.filter((device) => !needsPerson(device))];
+
+/** "● Online · Same network": the state in a mark and words, then how it connects, in one line that wraps. A state nothing
+ * here checks has a grey dot, so every row's words start at one edge. */
export function StatusLine({ device, now, className }: { device: Device; now: number; className?: string }) {
const words = statusText(device, now);
const route = routeOf(device);
@@ -34,7 +39,9 @@ export function StatusLine({ device, now, className }: { device: Device; now: nu
const mark = markOf(device);
return (
<span data-device-state={mark} className={cn("flex min-w-0 items-start gap-1.5 text-[13px] leading-[18px]", className)}>
- {mark !== "unknown" && <span className="flex h-[18px] w-3.5 shrink-0 items-center"><StatusMark status={mark} /></span>}
+ <span className="flex h-[18px] w-3.5 shrink-0 items-center">
+ {mark === "unknown" ? <span aria-hidden="true" data-device-unchecked="" className="size-2 shrink-0 rounded-full bg-ink-tertiary" /> : <StatusMark status={mark} />}
+ </span>
<span className="min-w-0">
{words && <span className={mark === "attention" ? "text-ink" : "text-ink-secondary"}>{words}</span>}
{words && route && <span aria-hidden="true" className="text-ink-tertiary @max-[479px]/rows:hidden">{" · "}</span>}
diff --git a/src/components/devices/device-words.ts b/src/components/devices/device-words.ts
index 07a64e5fa6..c14fd7b014 100644
--- a/src/components/devices/device-words.ts
+++ b/src/components/devices/device-words.ts
@@ -19,6 +19,14 @@ const ROUTE: Record<DeviceRoute, LocaleKey> = {
};
export const routeLabel = (route: DeviceRoute): string => t(ROUTE[route], { app: productName() });
+const ROUTE_INLINE: Partial<Record<DeviceRoute, LocaleKey>> = {
+ local: "devicesPage.routeInline.sameWifi", tailscale: "devicesPage.routeInline.tailscale", relay: "devicesPage.routeInline.anywhere",
+ internet: "devicesPage.routeInline.overInternet", paired: "devicesPage.routeInline.pairedCode", ssh: "devicesPage.routeInline.secureLogin",
+};
+/** "Same Wi-Fi, paired with a code": only the first way starts with a capital. */
+export const routeList = (routes: readonly DeviceRoute[]): string =>
+ routes.map((route, index) => (index > 0 && ROUTE_INLINE[route] ? t(ROUTE_INLINE[route], { app: productName() }) : routeLabel(route))).join(", ");
+
const GROUP: Record<DeviceGroup, LocaleKey> = { computers: "devicesPage.group.computers", servers: "devicesPage.group.servers", phones: "devicesPage.group.phonesTablets" };
export const groupLabel = (group: DeviceGroup): string => t(GROUP[group]);
@@ -30,12 +38,12 @@ export function statusText(device: Device, now = Date.now()): string {
if (device.note === "insecure") return t("devicesPage.note.insecure");
if (device.note === "unreachable") return t("devicesPage.note.unreachable");
if (device.note === "reconnecting") return t("devicesPage.note.reconnecting");
- if (device.note === "no-way-in") return t("devicesPage.note.noWayIn");
+ if (device.note === "no-way-in") return t("devicesPage.note.noWayOn");
if (device.kind === "vm") return device.desktop ? t(DESKTOP[device.desktop]) : "";
if (device.status === "online") return t("devicesPage.status.online");
if (device.status === "offline") return device.lastSeen ? t("devicesPage.status.seen", { when: lastSeen(device.lastSeen, now) }) : t("devicesPage.status.offline");
- if (device.route === "ssh") return t("devicesPage.status.sshBots");
- if (device.kind === "cloud") return device.home ? t("devicesPage.status.homeCloud", { app: productName() }) : t("devicesPage.status.runBy", { app: productName() });
+ if (device.route === "ssh") return t("devicesPage.status.checkedByBots");
+ if (device.kind === "cloud") return t("devicesPage.status.checkedWhenOpened");
return device.home ? t("servers.homeTag") : t("devicesPage.status.unknown");
}
@@ -51,6 +59,10 @@ const NETWORK_SHORT: Record<PrivateNetworkState, LocaleKey> = {
/** Two or three words for the map. */
export const networkShort = (network: PrivateNetwork): string => (network.state === "ready" && !network.shared ? t("devicesPage.network.short.computersOff") : t(NETWORK_SHORT[network.state]));
+/** The Devices anchor that opens a named SSH server's row, from wherever else the server is listed. */
+export const sshServerAnchor = (alias: string) => `ssh:${alias}`;
+export const sshAliasOfAnchor = (anchor: string | null) => (anchor?.startsWith("ssh:") ? anchor.slice(4) || null : null);
+
/** A computer's name on the private network without the network's own suffix: "ada-macbook", not "ada-macbook.tail4c2e.ts.net". */
export const shortName = (name: string | null) => ((name ?? "").split(".")[0] ?? "").replace(/-/g, "\u2011");
@@ -65,6 +77,6 @@ export function networkLine(network: PrivateNetwork): string {
case "needs-approval": return t("devicesPage.network.line.needsApproval");
case "needs-permission": return t("remote.tailscale.needsPermission", { app: productName() });
case "magicdns": return t("devicesPage.network.line.magicdns");
- case "ready": return t(network.shared ? "devicesPage.network.line.readyShort" : "devicesPage.network.line.onFor", { name: shortName(network.name) });
+ case "ready": return t(network.shared ? "devicesPage.network.line.readyAs" : "devicesPage.network.line.onFor", { name: shortName(network.name) });
}
}
diff --git a/src/components/keys/KeysPage.dom.test.ts b/src/components/keys/KeysPage.dom.test.ts
index a9fdc16e01..03d75170a9 100644
--- a/src/components/keys/KeysPage.dom.test.ts
+++ b/src/components/keys/KeysPage.dom.test.ts
@@ -544,18 +544,19 @@ describe("Boat's credit offer on the Boat card", () => {
});
});
-describe("Self-hosted VPS servers", () => {
+describe("Your own servers (SSH)", () => {
it("labels the add row's fields the way the editor above it does", async () => {
const { VpsConnection } = await import("./VpsServersPanel");
render(() => createElement(VpsConnection, { key: "vps" }));
const labels = [...host.querySelectorAll("[data-vps-add] label")].map((label) => label.textContent);
- expect(labels).toEqual(["Name", "SSH name", "Memory for each bot (GB)", "Processor cores for each bot"]);
+ expect(labels).toEqual(["Name", "Name in your SSH settings", "Memory for each bot (GB)", "Processor cores for each bot"]);
for (const label of host.querySelectorAll<HTMLLabelElement>("[data-vps-add] label")) expect(document.getElementById(label.htmlFor)?.tagName).toBe("INPUT");
});
const status = (vps: Record<string, unknown>) => ({ ...fx.config, vps: { configured: true, memoryGb: 4, cpus: 2, servers: [], ...vps } });
const rowFor = (alias: string) => host.querySelector<HTMLElement>(`[data-vps-server="${alias}"]`)!;
const aliases = () => [...host.querySelectorAll<HTMLElement>("[data-vps-server]")].map((element) => element.dataset.vpsServer);
+ const links = () => [...host.querySelectorAll<HTMLElement>("[data-vps-server-link]")].map((element) => element.dataset.vpsServerLink);
// An editor's fields carry their own visible labels inside a group named for the server; the add row's carry aria-labels.
const labelled = (scope: ParentNode | null, text: string) => {
const label = [...(scope?.querySelectorAll("label") ?? [])].find((one) => one.textContent === text);
@@ -568,9 +569,10 @@ describe("Self-hosted VPS servers", () => {
const name = /^(.+) server name$/.exec(label);
if (name) return labelled(rowFor(name[1]!), "Name");
const adding = host.querySelector("[data-vps-add]");
- const ADD: Record<string, string> = { "Server name": "Name", "Server SSH config alias": "SSH name", "Memory (GB)": "Memory for each bot (GB)", "CPU cores": "Processor cores for each bot" };
+ const ADD: Record<string, string> = { "Server name": "Name", "Server SSH config alias": "Name in your SSH settings", "Memory (GB)": "Memory for each bot (GB)", "CPU cores": "Processor cores for each bot" };
if (ADD[label]) return labelled(adding, ADD[label]!);
- return host.querySelector<HTMLInputElement>(`input[aria-label="${label}"]`) ?? labelled(host.querySelector("[data-vps-server]"), label === "Self-hosted VPS SSH config alias" ? "SSH name" : label);
+ const aria = label === "Self-hosted VPS SSH config alias" ? "Name in your SSH settings" : label;
+ return host.querySelector<HTMLInputElement>(`input[aria-label="${aria}"]`) ?? labelled(host.querySelector("[data-vps-server]"), aria);
};
const button = (scope: ParentNode, text: string) => [...scope.querySelectorAll<HTMLButtonElement>("button")].find((candidate) => candidate.textContent === text)!;
const lastBody = () => JSON.parse((fx.api.mock.lastCall![1] as RequestInit).body as string);
@@ -579,12 +581,13 @@ describe("Self-hosted VPS servers", () => {
return status({ ...base, ...(body.vps ? { ...body.vps, configured: Boolean(body.vps.sshAlias) } : {}), ...(body.vpsServers ? { servers: body.vpsServers } : {}) });
};
- it("says any Linux machine with Docker over SSH works, including one on a Tailscale network", async () => {
+ it("says in plain words that a Linux computer with Docker you sign in to with SSH works, one on Tailscale too", async () => {
const { VpsConnection } = await import("./VpsServersPanel");
render(() => createElement(VpsConnection, { key: "vps" }));
const text = host.querySelector("[data-vps-connection]")!.textContent!;
- expect(text).toContain("Any Linux machine with Docker that you reach over SSH works");
- expect(text).toContain("Tailscale name as the alias's HostName");
+ expect(text).toContain("A Linux computer with Docker that you sign in to with SSH.");
+ expect(text).toContain("use its Tailscale name as the HostName in your SSH settings");
+ expect(text).not.toMatch(/\bVPS\b|\balias\b|config/);
});
it("saves the first alias as the default server, then shows it with its limits", async () => {
@@ -600,33 +603,48 @@ describe("Self-hosted VPS servers", () => {
expect(field("production-vps CPU cores").value).toBe("2");
});
- it("adds and removes named servers as one list, leaving the default alias alone", async () => {
+ it("adds named servers as one list, leaving the default alias alone, and lists each as a link to its row on Devices", async () => {
const { VpsConnection } = await import("./VpsServersPanel");
+ const { SettingsShellContext } = await import("../settings/settings-shell");
+ const go = vi.fn();
setConfig(status({ sshAlias: "production-vps", servers: [{ name: "Office", sshAlias: "office-vps" }] }));
fx.api.mockImplementation(echo({ sshAlias: "production-vps" }));
- render(() => createElement(VpsConnection, { key: "vps" }));
- expect(aliases()).toEqual(["production-vps", "office-vps"]);
+ render(() => createElement(SettingsShellContext.Provider, { value: { go } as never }, createElement(VpsConnection, { key: "vps" })));
+ expect(aliases(), "only the default is edited here").toEqual(["production-vps"]);
+ expect(links()).toEqual(["office-vps"]);
+ const office = host.querySelector<HTMLElement>("[data-vps-server-link=office-vps]")!;
+ expect(office.textContent).toBe("OfficeName in your SSH settings: office-vpsDevices");
+ expect(office.getAttribute("aria-label")).toBe("Edit Office in Devices");
type(field("Server name"), " Home lab ");
type(field("Server SSH config alias"), "home-lab");
await answered(() => button(host, "Add").click());
expect(lastBody()).toEqual({ vpsServers: [{ name: "Office", sshAlias: "office-vps" }, { name: "Home lab", sshAlias: "home-lab" }] });
- expect(aliases()).toEqual(["production-vps", "office-vps", "home-lab"]);
+ expect(links()).toEqual(["office-vps", "home-lab"]);
expect(field("Server name").value).toBe("");
+ expect(field("Self-hosted VPS SSH config alias").value).toBe("production-vps");
+ office.click();
+ expect(go).toHaveBeenCalledWith("devices", "ssh:office-vps");
+ });
+
+ it("removes a named server from its editor as one list", async () => {
+ const { VpsServerEditor } = await import("./VpsServerEditor");
+ setConfig(status({ sshAlias: "production-vps", servers: [{ name: "Office", sshAlias: "office-vps" }, { name: "Home lab", sshAlias: "home-lab" }] }));
+ fx.api.mockImplementation(echo({ sshAlias: "production-vps" }));
+ render(() => createElement(VpsServerEditor, { key: "office", alias: "office-vps" }));
await answered(() => host.querySelector<HTMLButtonElement>('button[aria-label="Remove Office"]')!.click());
expect(lastBody()).toEqual({ vpsServers: [{ name: "Home lab", sshAlias: "home-lab" }] });
- expect(aliases()).toEqual(["production-vps", "home-lab"]);
- expect(field("Self-hosted VPS SSH config alias").value).toBe("production-vps");
+ expect(aliases()).toEqual([]);
});
- it("renames a named server and saves its own limits, an empty one using the default's", async () => {
- const { VpsConnection } = await import("./VpsServersPanel");
+ it("renames a named server and saves its own limits, an empty one showing and using the default's", async () => {
+ const { VpsServerEditor } = await import("./VpsServerEditor");
setConfig(status({ sshAlias: "production-vps", memoryGb: 6, cpus: 3, servers: [{ name: "Office", sshAlias: "office-vps", cpus: 4 }] }));
fx.api.mockImplementation(echo({ sshAlias: "production-vps", memoryGb: 6, cpus: 3 }));
- render(() => createElement(VpsConnection, { key: "vps" }));
+ render(() => createElement(VpsServerEditor, { key: "office", alias: "office-vps" }));
const office = rowFor("office-vps");
expect(office.textContent).toContain("office-vps");
expect(field("Office memory (GB)").value).toBe("");
- expect(field("Office memory (GB)").placeholder).toBe("6");
+ expect(field("Office memory (GB)").placeholder).toBe("6 (default)");
expect(field("Office CPU cores").value).toBe("4");
expect(button(office, "Save").disabled).toBe(true);
type(field("office-vps server name"), "HQ");
@@ -672,7 +690,8 @@ describe("Self-hosted VPS servers", () => {
render(() => createElement(VpsConnection, { key: "vps" }));
await answered(() => host.querySelector<HTMLButtonElement>('button[aria-label="Remove production-vps"]')!.click());
expect(lastBody()).toEqual({ vps: { sshAlias: "" } });
- expect(aliases()).toEqual(["office-vps"]);
+ expect(aliases()).toEqual([]);
+ expect(links()).toEqual(["office-vps"]);
expect(host.querySelector("[data-vps-connection] [role=status]")!.textContent).toContain("could not be reached");
expect(field("Self-hosted VPS SSH config alias").value).toBe("");
});
@@ -705,7 +724,7 @@ describe("Self-hosted VPS servers", () => {
setConfig(status({ sshAlias: "production-vps", memoryGb: 16 }));
fx.api.mockRejectedValueOnce(new Error("spare has about 8 GB of memory. Choose 8 GB or less."));
render(() => createElement(VpsConnection, { key: "vps" }));
- expect(field("Memory (GB)").placeholder).toBe("16");
+ expect(field("Memory (GB)").placeholder).toBe("16 (default)");
type(field("Server name"), "Spare");
type(field("Server SSH config alias"), "spare");
await answered(() => button(host, "Add").click());
@@ -715,7 +734,8 @@ describe("Self-hosted VPS servers", () => {
type(field("Memory (GB)"), "8");
await answered(() => button(host, "Add").click());
expect(lastBody()).toEqual({ vpsServers: [{ name: "Spare", sshAlias: "spare", memoryGb: 8 }] });
- expect(aliases()).toEqual(["production-vps", "spare"]);
+ expect(aliases()).toEqual(["production-vps"]);
+ expect(links()).toEqual(["spare"]);
expect(field("Memory (GB)").value).toBe("");
});
diff --git a/src/components/keys/VpsServerEditor.tsx b/src/components/keys/VpsServerEditor.tsx
index c330c59316..0b74480ae7 100644
--- a/src/components/keys/VpsServerEditor.tsx
+++ b/src/components/keys/VpsServerEditor.tsx
@@ -65,7 +65,7 @@ export function LimitField({ id, value, onChange, range, placeholder, disabled,
return (
<input id={id} type="number" inputMode="numeric" min={range.min} max={range.max} step={1} value={value}
onChange={(e) => onChange(e.target.value)} onKeyDown={(e) => e.key === "Enter" && onEnter()} disabled={disabled}
- placeholder={String(placeholder)} aria-invalid={limitValue(value, range) === null}
+ placeholder={t("keys.vps.field.inherited", { value: placeholder })} aria-invalid={limitValue(value, range) === null}
className={cn(KEY_FIELD, "tabular-nums")} />
);
}
@@ -149,7 +149,7 @@ export function VpsServerEditor({ onRemoved, hint = true, ...which }: VpsServerE
return (
<div data-vps-server={alias} role="group" aria-label={label} className="flex flex-col gap-3 @container/vps">
<div className="grid grid-cols-1 gap-3 @min-[22rem]/vps:grid-cols-2">
- <Field id={ids.name} label={t(isDefault ? "keys.vps.field.sshName" : "keys.vps.field.name")} wide>
+ <Field id={ids.name} label={t(isDefault ? "keys.vps.field.sshSettingsName" : "keys.vps.field.name")} wide>
<input
id={ids.name}
type="text"
@@ -163,7 +163,7 @@ export function VpsServerEditor({ onRemoved, hint = true, ...which }: VpsServerE
aria-describedby={isDefault ? undefined : `${fieldId}-ssh`}
className={cn(KEY_FIELD, isDefault && "font-mono")}
/>
- {!isDefault && <span id={`${fieldId}-ssh`} data-vps-ssh-name="" className="break-all text-[12px] leading-4 text-ink-secondary">{t("keys.vps.sshNameLine", { alias })}</span>}
+ {!isDefault && <span id={`${fieldId}-ssh`} data-vps-ssh-name="" className="break-all text-[12px] leading-4 text-ink-secondary">{t("keys.vps.sshSettingsName", { alias })}</span>}
</Field>
<Field id={ids.memory} label={t("keys.vps.field.memory")}>
<LimitField id={ids.memory} value={memory} onChange={setMemory} range={MEMORY_GB} placeholder={inherited.memoryGb} disabled={busy} onEnter={submit} />
diff --git a/src/components/keys/VpsServersPanel.tsx b/src/components/keys/VpsServersPanel.tsx
index 572f20f566..71835f433d 100644
--- a/src/components/keys/VpsServersPanel.tsx
+++ b/src/components/keys/VpsServersPanel.tsx
@@ -1,8 +1,11 @@
-import { useId, useState } from "react";
-import { Loader2 } from "lucide-react";
-import { useStoreSelector } from "@/state/store-select";
+import { useContext, useId, useState } from "react";
+import { ChevronRight, Loader2 } from "lucide-react";
+import { useStoreDispatch, useStoreSelector } from "@/state/store-select";
+import { productName } from "@/lib/brand";
import { cn } from "@/lib/cn";
import { t } from "@/lib/i18n";
+import { sshServerAnchor } from "../devices/device-words";
+import { SettingsShellContext } from "../settings/settings-shell";
import { KEY_FIELD } from "./KeyRow";
import { CPUS, Field, LimitField, limitValue, MEMORY_GB, useVpsSave, useVpsSaving, VpsServerEditor, type VpsNamedServer } from "./VpsServerEditor";
@@ -17,13 +20,13 @@ export function VpsConnection() {
return (
<div data-vps-connection className="flex flex-col gap-2">
<p className="text-[12px] leading-4 text-ink-secondary">
- {t("keys.vps.descBefore")}
+ {t("keys.vps.introBefore", { app: productName() })}
<a href="https://github.com/milind-soni/OpenMausBot/blob/main/docs/byo-vps.md" target="_blank" rel="noopener noreferrer" className="text-accent-text hover:underline">
{t("keys.vps.descLink")}
</a>
- {t("keys.vps.descAfter")}
+ {t("keys.vps.introAfter")}
</p>
- <p className="text-[12px] leading-4 text-ink-secondary">{t("keys.vps.anyMachine")}</p>
+ <p className="text-[12px] leading-4 text-ink-secondary">{t("keys.vps.tailscaleToo")}</p>
{defaultAlias ? <VpsServerEditor alias={defaultAlias} onRemoved={setNotice} hint={false} /> : <AddDefault onNotice={setNotice} />}
{notice && <div role="status" className="text-[12px] leading-4 text-ink-secondary">{notice}</div>}
<VpsServers />
@@ -53,7 +56,7 @@ function AddDefault({ onNotice }: { onNotice: (notice: string | null) => void })
onChange={(e) => { setError(null); setAlias(e.target.value); }}
onKeyDown={(e) => e.key === "Enter" && add()}
placeholder="my-vps"
- aria-label={t("keys.vps.aria")}
+ aria-label={t("keys.vps.field.sshSettingsName")}
autoComplete="off"
spellCheck={false}
className={cn(KEY_FIELD, "w-auto min-w-[min(100%,12rem)] flex-1")}
@@ -67,6 +70,26 @@ function AddDefault({ onNotice }: { onNotice: (notice: string | null) => void })
);
}
+/** A named server, as a row that opens it on Devices, where it is edited and removed. */
+function ServerLink({ server }: { server: VpsNamedServer }) {
+ const shell = useContext(SettingsShellContext);
+ const dispatch = useStoreDispatch();
+ const open = () => (shell ? shell.go("devices", sshServerAnchor(server.sshAlias)) : dispatch({ type: "toggleAppSettings", open: true, section: "devices" }));
+ return (
+ <button type="button" data-vps-server-link={server.sshAlias} onClick={open} aria-label={t("keys.vps.servers.editIn", { name: server.name })}
+ className="-mx-2 flex min-h-10 w-[calc(100%+16px)] cursor-pointer items-center gap-3 rounded-md px-2 py-2 text-start hover:bg-ink/[0.03] focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-focus">
+ <span className="flex min-w-0 flex-1 flex-col">
+ <span className="break-words text-[13px] leading-[18px] text-ink">{server.name}</span>
+ <span className="break-all text-[12px] leading-4 text-ink-secondary">{t("keys.vps.sshSettingsName", { alias: server.sshAlias })}</span>
+ </span>
+ <span className="flex shrink-0 items-center gap-1 text-[12px] leading-4 text-ink-secondary">
+ {t("settings.page.devices")}
+ <ChevronRight size={14} aria-hidden="true" className="text-ink-tertiary rtl:-scale-x-100" />
+ </span>
+ </button>
+ );
+}
+
/** Named servers a bot can be put on from its own settings. Saving the list never moves a bot. */
function VpsServers() {
const servers = useStoreSelector((s) => s.config?.vps?.servers ?? NO_SERVERS);
@@ -95,15 +118,17 @@ function VpsServers() {
return (
<div data-vps-servers className="mt-2 flex flex-col gap-2">
<div className="text-[13px] text-ink">{t("keys.vps.servers.title")}</div>
- <p className="text-[12px] leading-4 text-ink-secondary">{t("keys.vps.servers.hint")}</p>
- {servers.map((server) => <VpsServerEditor key={server.sshAlias} alias={server.sshAlias} hint={false} />)}
+ <p className="text-[12px] leading-4 text-ink-secondary">{t("keys.vps.servers.hintPlain")}</p>
+ {servers.length > 0 && <ul data-vps-server-links="" className="flex flex-col">
+ {servers.map((server) => <li key={server.sshAlias} className="[&+&]:shadow-[inset_0_0.5px_0_var(--settings-edge)]"><ServerLink server={server} /></li>)}
+ </ul>}
<div data-vps-add="" role="group" aria-label={t("keys.vps.servers.add")} className="flex flex-col gap-3 @container/vps">
<div className="grid grid-cols-1 gap-3 @min-[22rem]/vps:grid-cols-2">
<Field id={ids.name} label={t("keys.vps.field.name")}>
<input id={ids.name} type="text" value={name} onChange={(e) => { setError(null); setName(e.target.value); }} onKeyDown={(e) => e.key === "Enter" && add()}
disabled={saving !== null} placeholder={t("keys.vps.servers.namePlaceholder")} autoComplete="off" className={KEY_FIELD} />
</Field>
- <Field id={ids.alias} label={t("keys.vps.field.sshName")}>
+ <Field id={ids.alias} label={t("keys.vps.field.sshSettingsName")}>
<input id={ids.alias} type="text" value={alias} onChange={(e) => { setError(null); setAlias(e.target.value); }} onKeyDown={(e) => e.key === "Enter" && add()}
disabled={saving !== null} placeholder="home-lab" autoComplete="off" spellCheck={false} className={cn(KEY_FIELD, "font-mono")} />
</Field>
diff --git a/src/components/keys/key-catalog.ts b/src/components/keys/key-catalog.ts
index f13d66f58a..43b509d41b 100644
--- a/src/components/keys/key-catalog.ts
+++ b/src/components/keys/key-catalog.ts
@@ -163,7 +163,7 @@ export const KEY_CATALOG: readonly KeyEntry[] = [
target: { patch: (value) => ({ box: { token: value } }), slot: "boxToken", verifiedOnSave: true,
saved: (config) => ({ ...flag(config.box?.included ? undefined : config.box), ...(config.box?.included ? { included: true } : {}) }),
placeholder: "boat_…", href: "https://docs.boat.dev/api-keys", analytics: "boat", shape: /^(boat|box)_/, warningKey: "keys.boat.warning" } },
- { id: "vps", section: "computers", labelKey: "keys.vps.label", purposeKey: "keys.purpose.vps", name: "VPS", env: [],
+ { id: "vps", section: "computers", labelKey: "keys.vps.ownServer", purposeKey: "keys.purpose.vps", name: "VPS", env: [],
words: ["vps", "ssh", "server", "self-hosted", "computer", "docker"], mark: { icon: Server }, kind: "panel",
status: (config) => ({ configured: config.vps?.configured === true }) },
{ id: "onePassword", section: "computers", labelKey: "settings.logins.onePassword.title", purposeKey: "keys.purpose.onePassword", name: "1Password", env: [],
diff --git a/src/components/settings/SettingsNav.tsx b/src/components/settings/SettingsNav.tsx
index c8e8fa9f4c..9e44991d87 100644
--- a/src/components/settings/SettingsNav.tsx
+++ b/src/components/settings/SettingsNav.tsx
@@ -13,6 +13,7 @@ import { PlaceMark } from "../PlacesRail";
import { profileInitials } from "../SidebarProfileMenu";
import { Switch, SettingsTag } from "../SettingsPrimitives";
import { accountLine, useAccountSummary, useYou } from "./account-summary";
+import { devicesDot, devicesPlaceKey, useDevicesSignal, type NavDot } from "./devices-signal";
import { usePhonePlaceState } from "./phone-status";
import type { SettingsPlace } from "./settings-context";
import { OWNERS, pageById, type SearchHit, type SettingsContext, type SettingsOwner, type SettingsPage, type SettingsPageId } from "./settings-index";
@@ -101,7 +102,26 @@ function IdentityRow({ page, current, badge, name, line, onOpen, narrow }: {
);
}
-function PageItem({ page, label, current, dot, onOpen }: { page: SettingsPage; label: string; current: boolean; dot?: "success" | "warning" | null; onOpen: () => void }) {
+type Dot = { tone: NavDot; label: string };
+
+/** The mark beside Devices, said in words too: amber while a device or the private network needs the person, green while
+ * a phone is connected and nothing does. Before Devices has been read, the phones alone decide it. */
+function useDevicesDot(place: SettingsPlace, enabled: boolean): Dot | null {
+ const phone = usePhonePlaceState(enabled);
+ const seen = useDevicesSignal(devicesPlaceKey(place));
+ if (seen) {
+ const tone = devicesDot(seen);
+ return tone && { tone, label: t(tone === "warning" ? "settings.nav.devicesNeedYou" : "settings.nav.phoneConnectedAllClear") };
+ }
+ if (phone.kind === "paired" && phone.connected) return { tone: "success", label: t("settings.nav.phoneConnected") };
+ return phone.kind === "attention" ? { tone: "warning", label: t("settings.nav.phoneNeedsYou") } : null;
+}
+
+function PageDot({ dot }: { dot: Dot }) {
+ return <span role="img" aria-label={dot.label} title={dot.label} data-settings-dot={dot.tone} className={cn("size-1.5 shrink-0 rounded-full", dot.tone === "success" ? "bg-success" : "bg-warning")} />;
+}
+
+function PageItem({ page, label, current, dot, onOpen }: { page: SettingsPage; label: string; current: boolean; dot?: Dot | null; onOpen: () => void }) {
const Icon = page.icon;
return (
<button type="button" data-settings-page={page.id} data-settings-section={page.id} aria-current={current ? "page" : undefined} onClick={onOpen}
@@ -111,7 +131,7 @@ function PageItem({ page, label, current, dot, onOpen }: { page: SettingsPage; l
<span className="min-w-0 overflow-hidden text-ellipsis whitespace-nowrap [grid-area:1/1]">{label}</span>
<span aria-hidden="true" className="invisible h-0 min-w-0 overflow-hidden text-ellipsis whitespace-nowrap font-medium [grid-area:1/1]">{label}</span>
</span>
- {dot && <span aria-hidden="true" className={cn("size-1.5 shrink-0 rounded-full", dot === "success" ? "bg-success" : "bg-warning")} />}
+ {dot && <PageDot dot={dot} />}
</button>
);
}
@@ -182,7 +202,7 @@ export function SettingsNav({ ctx, place, pages, current, query, hits, keyHits,
const account = { ...summary, email: summary.email ?? (summary.plan ? profile?.email ?? null : null) };
const placeLine = usePlaceSubLine(place);
const appLine = useAppSubLine(ctx.desktop);
- const phone = usePhonePlaceState(!ctx.client);
+ const devicesMark = useDevicesDot(place, !ctx.client);
const listRef = useRef<HTMLDivElement>(null);
const openSource = ctx.desktop && !window.ogb?.cloudAccount && !window.ogb?.cloudPlan;
const lines: Record<SettingsOwner, { badge: ReactNode; name: string; line: string; page: SettingsPageId }> = {
@@ -190,8 +210,7 @@ export function SettingsNav({ ctx, place, pages, current, query, hits, keyHits,
account: { badge: <YouAvatar size={24} />, name: t("settings.page.account"), line: accountLine(account, { browser: !ctx.desktop, place: place.name, openSource }), page: "account" },
app: { badge: <AppIcon size={24} />, name: ctx.desktop ? t("settings.page.app") : t("settings.page.browser"), line: appLine, page: "app" },
};
- const dot = (page: SettingsPageId) => page === "devices" && phone.kind === "paired" && phone.connected ? "success" as const
- : page === "devices" && phone.kind === "attention" ? "warning" as const : null;
+ const dot = (page: SettingsPageId) => (page === "devices" ? devicesMark : null);
const searching = query.trim() !== "";
return (
<nav aria-label={t("settings.title")} className={cn("flex min-h-0 flex-col", narrow ? "flex-1" : "w-[220px] shrink-0 shadow-[inset_-0.5px_0_0_var(--settings-edge)]")}>
@@ -212,7 +231,7 @@ export function SettingsNav({ ctx, place, pages, current, query, hits, keyHits,
className="flex h-11 w-full cursor-pointer items-center gap-2 rounded-lg px-2 text-left text-[14px] leading-5 text-ink hover:bg-menu-hover">
<span className="flex w-6 shrink-0 justify-center">{page.icon && <page.icon size={16} aria-hidden="true" className="text-ink-secondary" />}</span>
<span className="min-w-0 flex-1 truncate">{t(page.labelKey)}</span>
- {dot(page.id) && <span aria-hidden="true" className={cn("size-1.5 rounded-full", dot(page.id) === "success" ? "bg-success" : "bg-warning")} />}
+ {dot(page.id) && <PageDot dot={dot(page.id)!} />}
<ChevronRight size={14} aria-hidden="true" className="text-ink-tertiary rtl:-scale-x-100" />
</button>
) : (
diff --git a/src/components/settings/SettingsPageHeader.test.ts b/src/components/settings/SettingsPageHeader.test.ts
index c372ceaf11..6f3c07da2d 100644
--- a/src/components/settings/SettingsPageHeader.test.ts
+++ b/src/components/settings/SettingsPageHeader.test.ts
@@ -49,3 +49,36 @@ describe("a step inside a page", () => {
host.remove();
});
});
+
+describe("the page's one action", () => {
+ const draw = (narrow: boolean, sub: { title: string; back: string; onBack: () => void } | null = null) => {
+ const host = document.createElement("div");
+ document.body.append(host);
+ const root = createRoot(host);
+ act(() => root.render(createElement(SettingsPageHeader, {
+ page: pageById("devices"), ctx: fullContext({ advanced: false }), place: { name: "This computer", kind: "computer", color: null, named: false }, narrow, sub,
+ action: createElement("button", { type: "button", "data-test-action": "" }, "Add a device"),
+ })));
+ const found = { title: host.querySelector("#settings-page-title"), action: host.querySelector("[data-test-action]"), scope: host.querySelector("[data-settings-scope]") };
+ return { ...found, done: () => { act(() => root.unmount()); host.remove(); } };
+ };
+
+ it("sits on the title's line in a wide window", () => {
+ const { title, action, done } = draw(false);
+ expect(action?.closest("[data-settings-header-action]")?.parentElement).toBe(title?.parentElement);
+ done();
+ });
+
+ it("sits beside the scope line where the window's own header holds the title", () => {
+ const { title, action, scope, done } = draw(true);
+ expect(title).toBeNull();
+ expect(action?.closest("[data-settings-header-action]")?.parentElement).toBe(scope?.parentElement);
+ done();
+ });
+
+ it("gives way to a step's own title and way back", () => {
+ const { action, done } = draw(false, { title: "Add a computer", back: "Add a device", onBack: vi.fn() });
+ expect(action).toBeNull();
+ done();
+ });
+});
diff --git a/src/components/settings/SettingsPageHeader.tsx b/src/components/settings/SettingsPageHeader.tsx
index 41ad0fd4e2..d398a49cb8 100644
--- a/src/components/settings/SettingsPageHeader.tsx
+++ b/src/components/settings/SettingsPageHeader.tsx
@@ -57,18 +57,21 @@ export function ScopeLine({ page, ctx, place }: { page: SettingsPage; ctx: Setti
);
}
-export function SettingsPageHeader({ page, ctx, place, narrow, missing, peek = false, sub = null }: {
+export function SettingsPageHeader({ page, ctx, place, narrow, missing, peek = false, sub = null, action = null }: {
page: SettingsPage; ctx: SettingsContext; place: SettingsPlace; narrow: boolean; missing?: string;
/** a page only Advanced lists, opened whole from Simple */
peek?: boolean;
/** A step inside the page: its title in the page's place, with the way back above it. */
sub?: SettingsSub | null;
+ /** The page's one action: on the title's line, or beside the scope line where the window's own header holds the title. */
+ action?: ReactNode;
}) {
// A browser has no updates of its own, so its This app intro leaves them out.
const intro = page.id !== "app" ? INTRO[page.id]
: !ctx.desktop ? ctx.advanced ? "settings.app.introBrowserAdvanced" : "settings.app.introBrowser"
: ctx.advanced ? INTRO.app : "settings.app.introSimple";
const title = page.id === "account" ? t("settings.page.account") : pageLabel(page, place, ctx.desktop);
+ const shownAction = action && !sub ? <span data-settings-header-action="" className={cn("ms-auto flex shrink-0 items-center", !narrow && "pe-4")}>{action}</span> : null;
return (
// No fill and not sticky: on a glass skin any opaque fill reads as a white block over the sheet.
<header data-settings-header="" className={cn("flex flex-col gap-1 pb-5", narrow ? "px-8 pt-1" : "pl-4 pt-4")}>
@@ -79,13 +82,16 @@ export function SettingsPageHeader({ page, ctx, place, narrow, missing, peek = f
</button>
)}
{!narrow && (
- <div className="flex min-w-0 items-center gap-2">
- <h2 id="settings-page-title" className="truncate text-[17px] font-semibold leading-6 tracking-[-0.01em] text-ink">{sub?.title ?? title}</h2>
+ <div className="flex h-6 min-w-0 items-center gap-2">
+ <h2 id="settings-page-title" className="min-w-0 truncate text-[17px] font-semibold leading-6 tracking-[-0.01em] text-ink">{sub?.title ?? title}</h2>
{peek && <AdvancedSettingTag />}
+ {shownAction}
</div>
)}
{narrow && peek && <div className="flex"><AdvancedSettingTag /></div>}
- <ScopeLine page={page} ctx={ctx} place={place} />
+ {narrow && shownAction
+ ? <div className="flex min-w-0 items-center gap-3"><ScopeLine page={page} ctx={ctx} place={place} />{shownAction}</div>
+ : <ScopeLine page={page} ctx={ctx} place={place} />}
{intro && <p data-settings-intro={intro} className="text-[13px] leading-[18px] text-ink-secondary">{t(intro, { place: place.name, app: productName() })}</p>}
{missing && <p role="status" className="text-[13px] leading-[18px] text-ink-secondary">{t("settings.missingHere", { page: missing, place: place.name })}</p>}
</header>
diff --git a/src/components/settings/SettingsWindow.tsx b/src/components/settings/SettingsWindow.tsx
index 7e6ea6a3fb..a5f04b77b5 100644
--- a/src/components/settings/SettingsWindow.tsx
+++ b/src/components/settings/SettingsWindow.tsx
@@ -1,4 +1,4 @@
-import { useEffect, useMemo, useRef, useState } from "react";
+import { useEffect, useMemo, useRef, useState, type ReactNode } from "react";
import { ChevronLeft, X } from "lucide-react";
import { cn } from "@/lib/cn";
import { t } from "@/lib/i18n";
@@ -61,6 +61,7 @@ export function SettingsWindow() {
const [narrowPage, setNarrowPage] = useState(section !== "overview");
const [query, setQuery] = useState("");
const [sub, setSub] = useState<SettingsSub | null>(null);
+ const [headerAction, setHeaderAction] = useState<ReactNode | null>(null);
const pages = visiblePages(ctx);
const page = pageById(target.page);
const dialogRef = useRef<HTMLDivElement>(null);
@@ -142,15 +143,15 @@ export function SettingsWindow() {
return () => { window.removeEventListener("keydown", onKey); previousFocus?.focus(); };
}, [dispatch, isTop]);
- const shell: SettingsShell = { ctx, place, page: target.page, anchor, go, narrow, setSub };
+ const shell: SettingsShell = { ctx, place, page: target.page, anchor, go, narrow, setSub, setHeaderAction };
const missing = target.missing ? pageLabel(pageById(target.missing), place, ctx.desktop) : undefined;
const showList = narrow && !narrowPage;
// Narrow header: the back label and the centred page title share 48 px of height; when the pair can't fit (half the
- // width each side of the centre), the back button keeps only its chevron.
- const compactBack = narrow && typeof window !== "undefined"
- && (sub
- ? window.innerWidth / 2 - 16 - (30 + sub.back.length * 7) < ((sub.short ?? sub.title).length * 9) / 2
- : window.innerWidth / 2 - 16 - (30 + t("settings.title").length * 7) < (pageLabel(page, place, ctx.desktop).length * 9) / 2);
+ // width each side of the centre), the back button says only "Back", and keeps only its chevron when even that can't.
+ const backFull = sub ? sub.back : t("settings.title");
+ const headTitle = sub ? sub.short ?? sub.title : pageLabel(page, place, ctx.desktop);
+ const backFits = (label: string) => typeof window === "undefined" || window.innerWidth / 2 - 16 - (30 + label.length * 7) >= (headTitle.length * 9) / 2;
+ const backLabel = !narrow || backFits(backFull) ? backFull : backFits(t("rail.back")) ? t("rail.back") : null;
const closeButton = (
<button type="button" onClick={close} aria-label={t("settings.close")} title={`${t("settings.close")} (${shortcutLabel("close-panel")})`}
className={cn("ui-icon-button z-20 size-8 shrink-0 cursor-pointer rounded-full text-ink-secondary hover:bg-menu-hover hover:text-ink", !narrow && "absolute right-3 top-3")}>
@@ -173,13 +174,13 @@ export function SettingsWindow() {
<div className="relative flex h-12 items-center justify-between gap-2 px-2">
{showList ? <h2 className="flex-1 px-2 text-[16px] font-semibold leading-[22px] text-ink">{t("settings.title")}</h2> : (
<>
- {/* "‹ Settings" when it fits beside the centred title; a longer pair (German, a long page name) keeps the
- chevron alone, so the title stays centred and clear of the close button. */}
- <button type="button" data-settings-back="" aria-label={compactBack ? sub?.back ?? t("settings.backTo") : undefined} onClick={() => { if (sub) { sub.onBack(); return; } setNarrowPage(false); setQuery(""); }}
- className={cn("flex h-8 shrink-0 cursor-pointer items-center gap-0.5 rounded-full text-[13px] font-medium leading-5 text-ink-secondary hover:bg-menu-hover hover:text-ink", compactBack ? "w-8 justify-center" : "pl-1 pr-2")}>
- <ChevronLeft size={16} aria-hidden="true" className="rtl:-scale-x-100" />{!compactBack && (sub?.back ?? t("settings.title"))}
+ <button type="button" data-settings-back="" aria-label={backLabel === null ? sub?.back ?? t("settings.backTo") : undefined} title={backLabel === backFull ? undefined : backFull}
+ onClick={() => { if (sub) { sub.onBack(); return; } setNarrowPage(false); setQuery(""); }}
+ className={cn("flex h-8 shrink-0 cursor-pointer items-center gap-0.5 rounded-full text-[13px] font-medium leading-5 text-ink-secondary hover:bg-menu-hover hover:text-ink", backLabel === null ? "w-8 justify-center" : "pl-1 pr-2")}>
+ <ChevronLeft size={16} aria-hidden="true" className="rtl:-scale-x-100" />{backLabel}
</button>
- <h2 className={cn("pointer-events-none absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 truncate text-center text-[16px] font-semibold leading-[22px] text-ink", compactBack ? "max-w-[calc(100%-96px)]" : "max-w-[calc(100%-224px)]")}>{sub ? sub.short ?? sub.title : pageLabel(page, place, ctx.desktop)}</h2>
+ <h2 className={cn("pointer-events-none absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 truncate text-center text-[16px] font-semibold leading-[22px] text-ink",
+ backLabel === null ? "max-w-[calc(100%-96px)]" : backLabel === backFull ? "max-w-[calc(100%-224px)]" : "max-w-[calc(100%-160px)]")}>{headTitle}</h2>
</>
)}
{closeButton}
@@ -197,7 +198,7 @@ export function SettingsWindow() {
<div ref={scrollRef} data-settings-scroll data-settings-content=""
className={cn("settings-scroll min-h-0 flex-1 overflow-y-auto [scrollbar-gutter:stable]", narrow ? "pb-12" : "pb-12 pl-8 pr-16")}>
<div className={cn("flex max-w-[640px] flex-col", narrow && "max-w-none")}>
- <SettingsPageHeader page={page} ctx={ctx} place={place} narrow={narrow} missing={missing} peek={!ctx.advanced && !page.when(ctx) && !anchor} sub={sub} />
+ <SettingsPageHeader page={page} ctx={ctx} place={place} narrow={narrow} missing={missing} peek={!ctx.advanced && !page.when(ctx) && !anchor} sub={sub} action={headerAction} />
<div key={target.page} data-settings-page-body={target.page} className={cn("flex flex-col gap-6", narrow && "px-4")}>
<LicenseExpiryBanner config={config} />
{page.owner === "place" && config === null
diff --git a/src/components/settings/devices-dot.dom.test.ts b/src/components/settings/devices-dot.dom.test.ts
new file mode 100644
index 0000000000..6bf384f9e8
--- /dev/null
+++ b/src/components/settings/devices-dot.dom.test.ts
@@ -0,0 +1,68 @@
+// @vitest-environment happy-dom
+import { act, createElement } from "react";
+import { createRoot, type Root } from "react-dom/client";
+import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
+import { setLocale } from "@/lib/i18n";
+import { initialState, StoreContext } from "@/state/store";
+import { devicesDot, setDevicesSignal } from "./devices-signal";
+import { fullContext, visiblePages } from "./settings-index";
+import { SettingsNav } from "./SettingsNav";
+
+(globalThis as { IS_REACT_ACT_ENVIRONMENT?: boolean }).IS_REACT_ACT_ENVIRONMENT = true;
+
+const place = { name: "This computer", kind: "computer" as const, color: null, named: false };
+let host: HTMLDivElement;
+let root: Root;
+
+beforeEach(() => {
+ setLocale("en");
+ setDevicesSignal(null);
+ vi.stubGlobal("fetch", vi.fn(async () => Response.json({ error: "no route" }, { status: 404 })));
+ host = document.createElement("div");
+ document.body.append(host);
+ root = createRoot(host);
+ const ctx = fullContext({ advanced: false });
+ act(() => root.render(createElement(StoreContext.Provider, { value: { state: initialState, dispatch: vi.fn() } as never },
+ createElement(SettingsNav, { ctx, place, pages: visiblePages(ctx), current: "devices", query: "", hits: [], keyHits: [], narrow: false,
+ onQuery: vi.fn(), onOpen: vi.fn(), onHit: vi.fn(), onKey: vi.fn(), onClose: vi.fn() }))));
+});
+
+afterEach(() => {
+ act(() => root.unmount());
+ host.remove();
+ setDevicesSignal(null);
+ vi.unstubAllGlobals();
+});
+
+const dot = () => host.querySelector<HTMLElement>("[data-settings-page=devices] [data-settings-dot]");
+const tell = (next: Parameters<typeof setDevicesSignal>[0]) => act(() => setDevicesSignal(next));
+
+describe("the mark beside Devices", () => {
+ it("is amber while anything on Devices needs the person, even with a phone connected, and says so", () => {
+ tell({ place: "computer:This computer", needsYou: true, phoneConnected: true });
+ expect(dot()?.getAttribute("data-settings-dot")).toBe("warning");
+ expect(dot()?.getAttribute("aria-label")).toBe("A device or the private network needs you");
+ expect(dot()?.title).toBe("A device or the private network needs you");
+ });
+
+ it("is green while a phone is connected and nothing needs the person, and says both", () => {
+ tell({ place: "computer:This computer", needsYou: false, phoneConnected: true });
+ expect(dot()?.getAttribute("data-settings-dot")).toBe("success");
+ expect(dot()?.getAttribute("aria-label")).toBe("A phone is connected, and nothing needs you");
+ });
+
+ it("is not there with nothing to say, nor for what another place's Devices saw", () => {
+ tell({ place: "computer:This computer", needsYou: false, phoneConnected: false });
+ expect(dot()).toBeNull();
+ tell({ place: "cloud:My Cloud", needsYou: true, phoneConnected: false });
+ expect(dot()).toBeNull();
+ });
+});
+
+describe("devicesDot", () => {
+ it("puts what needs the person before a connected phone", () => {
+ expect(devicesDot({ place: "x", needsYou: true, phoneConnected: false })).toBe("warning");
+ expect(devicesDot({ place: "x", needsYou: false, phoneConnected: true })).toBe("success");
+ expect(devicesDot({ place: "x", needsYou: false, phoneConnected: false })).toBeNull();
+ });
+});
diff --git a/src/components/settings/devices-signal.ts b/src/components/settings/devices-signal.ts
new file mode 100644
index 0000000000..bd0a573831
--- /dev/null
+++ b/src/components/settings/devices-signal.ts
@@ -0,0 +1,34 @@
+import { useSyncExternalStore } from "react";
+
+/** What the Devices page last saw, for the mark beside Devices in the nav: kept for the place it was read on. */
+export interface DevicesSignal {
+ place: string;
+ needsYou: boolean;
+ phoneConnected: boolean;
+}
+
+let signal: DevicesSignal | null = null;
+const listeners = new Set<() => void>();
+const subscribe = (listener: () => void) => { listeners.add(listener); return () => { listeners.delete(listener); }; };
+
+export function setDevicesSignal(next: DevicesSignal | null): void {
+ if (next === signal || (next && signal && next.place === signal.place && next.needsYou === signal.needsYou && next.phoneConnected === signal.phoneConnected)) return;
+ signal = next;
+ for (const listener of listeners) listener();
+}
+
+/** The Devices page's last word for `place`, or null before that page has read it. */
+export function useDevicesSignal(place: string): DevicesSignal | null {
+ const now = useSyncExternalStore(subscribe, () => signal, () => signal);
+ return now?.place === place ? now : null;
+}
+
+export const devicesPlaceKey = (place: { kind: string; name: string }) => `${place.kind}:${place.name}`;
+
+export type NavDot = "success" | "warning";
+
+/** Amber while anything on Devices needs the person; green while a phone is connected and nothing does. */
+export function devicesDot(signal: DevicesSignal): NavDot | null {
+ if (signal.needsYou) return "warning";
+ return signal.phoneConnected ? "success" : null;
+}
diff --git a/src/components/settings/pages/DevicesPage.dom.test.ts b/src/components/settings/pages/DevicesPage.dom.test.ts
index 3e21bf8322..67af195ea2 100644
--- a/src/components/settings/pages/DevicesPage.dom.test.ts
+++ b/src/components/settings/pages/DevicesPage.dom.test.ts
@@ -1,7 +1,7 @@
// @vitest-environment happy-dom
// The Devices page over a fake desktop bridge and a fake server: what the map draws, what its buttons call, the private
// network's states and Add a device's pairing link, with nothing reaching a real server or Tailscale.
-import { act, createElement } from "react";
+import { act, createElement, useState, type ReactNode } from "react";
import { createRoot, type Root } from "react-dom/client";
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
import type { CompanionState } from "@/lib/companion-types";
@@ -11,8 +11,9 @@ import { forgetSharedSession } from "@/lib/session-reuse";
import { initialState, StoreContext } from "@/state/store";
import { fullContext, resolveSettingsTarget, searchSettings } from "../settings-index";
import { SettingsShellContext, type SettingsShell } from "../settings-shell";
+import { setDevicesSignal, useDevicesSignal } from "../devices-signal";
import { DevicesPage, nextNetworkStep, tailscaleDownload } from "./DevicesPage";
-import { overrideDeviceMap } from "../../devices/DeviceMap";
+import { overrideDeviceMap, SHOW_DEVICE_MAP } from "../../devices/DeviceMap";
(globalThis as { IS_REACT_ACT_ENVIRONMENT?: boolean }).IS_REACT_ACT_ENVIRONMENT = true;
const NOW = Date.now();
@@ -158,12 +159,18 @@ const wait = async (ms: number) => { await act(async () => { await new Promise((
const layers = () => document.querySelectorAll('[role="dialog"], [role="alertdialog"]').length;
let dispatch: ReturnType<typeof vi.fn>;
-async function render(over: Partial<SettingsShell["ctx"]> = {}, shellOver: Partial<SettingsShell> = {}, pairRequest = 0) {
+/** The page under a stand-in for the window's header, which holds the page's one action as Settings does. */
+function WithHeader({ shell }: { shell: SettingsShell }) {
+ const [action, setAction] = useState<ReactNode | null>(null);
+ return createElement(SettingsShellContext.Provider, { value: { ...shell, setHeaderAction: setAction } },
+ createElement("header", { "data-settings-header": "" }, action), createElement(DevicesPage));
+}
+async function render(over: Partial<SettingsShell["ctx"]> = {}, shellOver: Partial<SettingsShell> = {}, pairRequest = 0, header = true) {
const shell: SettingsShell = { ctx: fullContext({ advanced: false, ...over }), place: { name: "This computer", kind: "computer", color: null, named: false }, page: "devices", anchor: null, go, ...shellOver };
const state = { ...initialState, config: config as never, bots: BOTS as never, appSettingsPhonePairing: pairRequest };
dispatch = vi.fn();
act(() => root.render(createElement(StoreContext.Provider, { value: { state, dispatch } as never },
- createElement(SettingsShellContext.Provider, { value: shell }, createElement(DevicesPage)))));
+ header ? createElement(WithHeader, { shell }) : createElement(SettingsShellContext.Provider, { value: shell }, createElement(DevicesPage)))));
await settle();
}
@@ -204,7 +211,7 @@ describe("the Devices page", () => {
companion = { ...companion, routes: { wifi: off, relay: off, tailscale: off, https: off } };
await render();
const iphone = $("[data-device-row='phone:iphone']")!;
- expect(iphone.querySelector("[data-device-state]")?.textContent).toBe("Can’t reach it: no way in is on");
+ expect(iphone.querySelector("[data-device-state]")?.textContent).toBe("No way in is on");
expect(iphone.querySelector("[data-device-route]")).toBeNull();
await click("[data-device-row='phone:iphone'] [data-row-action=turn-on-way]");
await wait(20);
@@ -275,14 +282,36 @@ describe("the Devices page", () => {
expect(bridge.revoke).toHaveBeenCalledWith("iphone");
expect(requests.some((request) => request.startsWith("DELETE /api/phones"))).toBe(true);
await click("[data-device-node='place:vps']");
- expect([...document.querySelectorAll("[data-device-details='place:vps'] [data-device-action=remove]")].map((one) => one.textContent)).toEqual(["Remove from this app", "Sign it out"]);
- expect($("[data-device-details='place:vps'] [data-device-removes]")?.lastElementChild?.textContent).toBe("Sign it out");
- expect($("[data-device-details='place:vps'] [data-device-remove-hint]")?.textContent).toContain("ends the sign-in");
+ const details = $("[data-device-details='place:vps']")!;
+ // One red Remove, last in the one action row, with nothing written under any button.
+ const row = details.querySelector("[data-device-actions]")!;
+ expect([...row.querySelectorAll("button")].map((one) => one.textContent).sort()).toEqual(["Copy address", "Go to its bots", "Remove", "Try again"]);
+ expect(row.querySelectorAll("[data-device-action=remove]")).toHaveLength(1);
+ expect(row.lastElementChild?.getAttribute("data-device-action")).toBe("remove");
+ expect(row.lastElementChild?.className).toContain("ms-auto");
+ expect(row.querySelectorAll(":scope > :not(button)")).toHaveLength(0);
+ // Its sign-in here is said where it connects, with the quiet way to end it and what that does.
+ const signedIn = details.querySelector("[data-device-signed-in]")!;
+ expect(signedIn.closest("dd")?.previousElementSibling?.textContent).toBe("Connected by");
+ const signOut = signedIn.querySelector<HTMLButtonElement>("[data-device-sign-out]")!;
+ expect(signedIn.firstChild?.textContent).toBe("Also signed in to this computer");
+ expect(signOut.textContent).toBe("Sign it out");
+ expect(signOut.className).toContain("settings-quiet");
+ expect(document.getElementById(signOut.getAttribute("aria-describedby")!)?.textContent).toBe("It ends that computer’s sign-in here; it will need a new code.");
await click("[data-device-details='place:vps'] [data-device-action=remove]");
expect(environments.forget).toHaveBeenCalledWith("vps");
expect(requests).not.toContain("DELETE /api/auth/sessions/s-vps");
});
+ it("ends a saved server's sign-in here from its Connected by line, and keeps the saved server", async () => {
+ sessions = [{ id: "s-vps", label: "Hetzner box", scopes: ["admin", "client"], lastSeenAt: NOW }];
+ await render();
+ await click("[data-device-node='place:vps']");
+ await click("[data-device-details='place:vps'] [data-device-sign-out]");
+ expect(requests).toContain("DELETE /api/auth/sessions/s-vps");
+ expect(environments.forget).not.toHaveBeenCalled();
+ });
+
it("closes the open details on an Escape pressed with focus nowhere, as after Pair again's Cancel", async () => {
vpsState = "signedOut";
await render();
@@ -314,7 +343,7 @@ describe("the Devices page", () => {
const nodes = [...document.querySelectorAll<HTMLElement>("[data-device-node]")];
expect(nodes.map((node) => node.tagName)).toEqual(nodes.map(() => "BUTTON"));
expect(nodes.every((node) => node.tabIndex === 0 && node.getAttribute("aria-label") && node.hasAttribute("aria-expanded"))).toBe(true);
- expect(nodes.map((node) => node.getAttribute("data-device-node"))).toEqual(["here", "phone:iphone", "phone:pixel", "place:home", "place:vps"]);
+ expect(nodes.map((node) => node.getAttribute("data-device-node"))).toEqual(["here", "phone:iphone", "phone:pixel", "place:vps", "place:home"]);
});
it("shows which bots use each device, and their names in its details", async () => {
@@ -341,6 +370,66 @@ describe("the Devices page", () => {
expect($("[data-device-node='phone:iphone']")).not.toBeNull();
});
+ it("marks a device nothing here checks with a grey dot and says when it is checked, so every row's words start at one edge", async () => {
+ config = { ...config, vps: gpu };
+ await render();
+ const state = $("[data-device-row='vps:gpu'] [data-device-state]")!;
+ expect(state.getAttribute("data-device-state")).toBe("unknown");
+ expect(state.querySelector("[data-device-unchecked]")?.className).toContain("rounded-full");
+ expect(state.textContent).toBe("Checked when a bot uses it · Secure login (SSH)");
+ const edges = [...document.querySelectorAll("[data-device-state]")].map((one) => one.firstElementChild?.className);
+ expect(new Set(edges).size).toBe(1);
+ });
+
+ it("offers each empty group's own Add once, in its card, in the same quiet look as a section's Add", async () => {
+ saved = [{ id: "local", kind: "local", name: "This computer" }];
+ companion = { ...companion, devices: [], connectedDeviceIds: [] };
+ await render();
+ expect([...document.querySelectorAll("[data-add-empty]")].map((one) => [one.getAttribute("data-add-empty"), one.textContent]))
+ .toEqual([["phones", "Add a phone"], ["computers", "Add a computer"], ["servers", "Add a Cloud or own server"]]);
+ expect($("[data-add-empty=computers]")?.closest("[data-settings-empty]")?.querySelector("[data-devices-empty=computers]")).not.toBeNull();
+ expect(document.querySelectorAll("[data-add-group=computers]")).toHaveLength(1);
+ expect($("[data-add-empty=computers]")?.className).toContain("settings-quiet");
+ expect($("[data-add-empty=computers]")?.className).not.toContain("ui-button");
+ expect($("[data-settings-actions] [data-add-group]")).toBeNull();
+ await click("[data-add-empty=computers]");
+ expect($("[data-add-panel]")?.getAttribute("data-add-step")).toBe("computer");
+ });
+
+ it("puts a group's quiet Add beside its title while it has devices, on the title's line however long the title", async () => {
+ await render();
+ expect($("[data-add-group=phones]")?.className).toContain("settings-quiet");
+ expect($("[data-add-group=phones]")?.closest("[data-settings-actions]")?.parentElement?.className).not.toContain("flex-wrap");
+ });
+
+ it("gives a phone's own switches the page's switch-row type", async () => {
+ await render();
+ await click("[data-device-node='phone:iphone']");
+ const controls = $("[data-phone-controls=iphone]")!;
+ const desktops = controls.querySelector("[data-phone-cloud-desktop]")!.parentElement!.firstElementChild!;
+ expect(desktops.firstElementChild?.className).toContain("text-[14px]");
+ expect(desktops.lastElementChild?.className).toContain("text-[13px]");
+ });
+
+ it("opens a named SSH server's row from its link on AI, once, and names its kind as AI does", async () => {
+ config = { ...config, vps: gpu };
+ await render({}, { anchor: "ssh:gpu" });
+ await wait(20);
+ const details = $("[data-device-details='vps:gpu']")!;
+ expect(details).not.toBeNull();
+ expect(details.textContent).toContain("Your own server (SSH)");
+ expect(document.activeElement).toBe($("[data-device-node='vps:gpu']"));
+ await click("[data-device-node='vps:gpu']");
+ expect($("[data-device-details]"), "closes like any row").toBeNull();
+ });
+
+ it("says a phone uses the bots here", async () => {
+ phoneApps = [];
+ await render();
+ await click("[data-device-node='phone:pixel']");
+ expect($("[data-device-details='phone:pixel']")?.textContent).toContain("Uses the bots here");
+ });
+
it("opens a server bots reach over SSH in its editor, in place, and closes with the server's notice once it is removed", async () => {
config = { ...config, vps: gpu };
await render();
@@ -376,7 +465,7 @@ describe("the private network", () => {
await render();
expect($("[data-network-state]")?.textContent).toBe("On");
expect($("[data-device-row='phone:tab'] [data-device-route]")?.textContent).toBe("Private network");
- expect($("[data-network-line]")?.textContent).toContain("on it as ada.");
+ expect($("[data-network-line]")?.textContent).toBe("Your other computers on Tailscale can connect here, as ada.");
expect($("[data-network-action]")).toBeNull();
expect(bridge.setTailscaleComputers).not.toHaveBeenCalled();
});
@@ -395,6 +484,7 @@ describe("Add a device, in the page", () => {
it("opens from Add a device, from each group and from search's anchor, and never puts a layer over Settings", async () => {
await render();
expect($("[data-settings-block=add] [data-add-device]")).not.toBeNull();
+ expect($("[data-settings-block=here] [data-add-device]"), "You're here has no Add of its own").toBeNull();
for (const [opener, step] of [["[data-add-device]", "choose"], ["[data-add-group=phones]", "phone"], ["[data-add-group=computers]", "computer"], ["[data-add-group=servers]", "choose"]] as const) {
await click(opener);
expect($("[data-add-panel]")?.getAttribute("data-add-step")).toBe(step);
@@ -483,7 +573,7 @@ describe("Add a device, in the page", () => {
await render();
await click("[data-add-group=phones]");
expect($("[data-add-panel] [data-pair-turn-on]")).not.toBeNull();
- expect($("[data-add-panel] [role=radiogroup]")).not.toBeNull();
+ expect(document.querySelectorAll("[data-add-panel] [role=group] input[type=checkbox]")).toHaveLength(2);
expect($("[data-pair-dialog]")).toBeNull();
expect(layers()).toBe(0);
expect(requests).not.toContain("POST /api/auth/pairing");
@@ -516,9 +606,12 @@ describe("Add a device, in the page", () => {
await click("[data-add-group=phones]");
expect($("[data-pair-qr]")).not.toBeNull();
expect($("[data-pairing-code]")).toBeNull();
- expect($("[data-pair-cant-scan]")?.textContent).toContain("Copy the link");
+ expect($("[data-pair-encrypted]")?.textContent).toBe("This code is encrypted for your phone, so there’s nothing to type. Scan it in the app, or copy the link.");
expect($("[data-add-panel] [data-copy-link]")?.textContent).toBe("Copy link");
expect($("[data-pair-until]")?.textContent).toBeTruthy();
+ const foot = $("[data-pair-reach]")!;
+ expect(foot.className).toContain("text-ink-secondary");
+ expect($("[data-add-panel] [data-copy-link]")?.nextElementSibling).toBe(foot);
});
it("asks for the private network first when Add a computer comes before it, with the later steps shown but quiet", async () => {
@@ -576,6 +669,9 @@ describe("Add a device, in the page", () => {
expect([...document.querySelectorAll("[data-server-command]")].map((line) => line.textContent)).toEqual([
"npx openmausbot account login && npx openmausbot serve --tunnel", "npx openmausbot serve --tailscale",
]);
+ const why = $("[data-add-server-why]")!;
+ expect(why.textContent).toBe("These start MausBot on that machine. They need Node.js 24 or later; a terminal is the window where you type commands.");
+ expect(why.compareDocumentPosition($("[data-server-command]")!)).toBe(Node.DOCUMENT_POSITION_FOLLOWING);
expect($("[data-add-panel] [data-place-add=own-server]")).not.toBeNull();
expect(layers()).toBe(0);
await type("[data-own-server-link]", "https://maus.example.org/pair#code=7KQ2-M9XD-H4TP");
@@ -636,7 +732,8 @@ describe("phones and how they reach this computer, on Devices", () => {
install();
await render();
const blocks = [...document.querySelectorAll("section[data-settings-block]")].map((section) => section.getAttribute("data-settings-block"));
- expect(blocks).toEqual(["add", "phones", "reach", "group-computers", "group-servers", "always-on", "other-places"]);
+ expect(blocks).toEqual(["attention", "here", "phones", "reach", "group-computers", "group-servers", "always-on", "other-places"]);
+ expect($("[data-settings-header] [data-settings-block=add]")?.compareDocumentPosition($("[data-settings-block=attention]")!)).toBe(Node.DOCUMENT_POSITION_FOLLOWING);
expect($("[data-settings-block=phones] [data-add-group=phones]")?.hasAttribute("data-phone-pairing-action")).toBe(true);
});
@@ -725,7 +822,7 @@ describe("phones and how they reach this computer, on Devices", () => {
it("keeps the update's route notes at the top, with Turn off", async () => {
companion = { ...companion, notices: ["wifi"] };
await render();
- expect(document.querySelector("[data-route-notices]")?.compareDocumentPosition($("[data-settings-block=add]")!)).toBe(Node.DOCUMENT_POSITION_FOLLOWING);
+ expect(document.querySelector("[data-route-notices]")?.compareDocumentPosition($("section[data-settings-block]")!)).toBe(Node.DOCUMENT_POSITION_FOLLOWING);
await click("[data-route-notice=wifi] button");
expect(bridge.setRoute).toHaveBeenCalledWith("wifi", false);
});
@@ -776,14 +873,36 @@ describe("Your other computers, on the private network row", () => {
companion = { ...companion, routes: { ...companion.routes!, tailscale: { on: true, since: NOW, name: "ada.tail1.ts.net", computers: false } } };
await render();
const row = $("[data-private-network]")!;
- expect($("[data-network-state]")?.textContent).toBe("Your other computers can’t connect yet");
+ // The same shape as every state: a short status beside the title, then one line.
+ const state = $("[data-network-state]")!;
+ expect(state.textContent).toBe("On · your other computers can’t connect yet");
+ expect(state.querySelector(".bg-success")).not.toBeNull();
+ expect(state.parentElement?.firstChild?.textContent).toBe("Private network");
+ const line = row.querySelector("[data-network-line]")!;
+ expect(line.textContent).toBe("Phones can reach this computer through Tailscale.");
expect(row.querySelector("label")?.textContent).toBe("Let my other computers connect");
expect(row.textContent).not.toMatch(/tailnet|\.ts\.net|\bhost\b/);
+ expect(row.textContent).not.toContain("Turn on Let my other computers connect");
+ const off = row.querySelector<HTMLButtonElement>("[data-network-phones-off]")!;
+ expect(line.contains(off)).toBe(false);
+ expect(off.className).toContain("ui-button ui-button-sm");
+ expect(off.className).not.toContain("ui-button-primary");
+ expect(off.textContent).toBe("Turn Tailscale off");
+ expect(off.title).toBe("Phones stop reaching this computer through Tailscale.");
await click("[data-network-phones-off]");
expect(bridge.setTailscale).toHaveBeenCalledWith(false);
expect(bridge.setTailscaleComputers).not.toHaveBeenCalled();
});
+ it("keeps a Tailscale problem's own words and next step while Tailscale is still on for phones", async () => {
+ install("signed-out");
+ companion = { ...companion, routes: { ...companion.routes!, tailscale: { on: true, since: NOW, name: "ada.tail1.ts.net", computers: false } } };
+ await render();
+ await click("[data-network-share]");
+ expect($("[data-network-state]")?.textContent).toBe("Signed out");
+ expect($("[data-network-line]")?.textContent).toContain("sign in");
+ });
+
it("is the one place Tailscale is turned on or off: How your phone reaches it has no switch of its own", async () => {
companion = { ...companion, routes: { ...companion.routes!, tailscale: { on: true, since: NOW, name: "ada.tail1.ts.net", computers: true } } };
await render({ advanced: true });
@@ -978,21 +1097,38 @@ describe("Add a computer's words", () => {
expect($("[data-add-network-why]")?.textContent).toContain("only through Tailscale");
});
- it("gives the link first, with the address and code folded under it", async () => {
+ it("gives one way, the link, says where it goes and how to send it, and folds the address and code under Type it in instead", async () => {
await render();
await click("[data-network-action]");
await click("[data-add-group=computers]");
const panel = $("[data-pair-panel=computer]")!;
expect(panel.textContent).toContain("choose + then Connect to another computer, and paste this link.");
expect(panel.textContent).not.toContain("connects computers too");
- expect($("[data-pair-type-instead] [data-pairing-code]")?.textContent).toBe("7KQ2-M9XD-H4TP");
- const toggle = $<HTMLButtonElement>("[data-pair-type-instead] button[aria-expanded]")!;
- expect(toggle.getAttribute("aria-expanded")).toBe("false");
- expect(document.getElementById(toggle.getAttribute("aria-controls")!)?.hidden).toBe(true);
- expect(document.querySelector("[data-pair-type-instead] details, [data-pair-type-instead] summary")).toBeNull();
+ expect($("[data-pair-send-link]")?.textContent).toBe("The link opens this computer, ada, on your private network. Send it to the other computer, for example by email or chat.");
+ const fold = $<HTMLButtonElement>("[data-pair-type-instead] button[aria-expanded]")!;
+ expect(fold.textContent).toBe("Type it in instead");
+ expect(fold.getAttribute("aria-expanded")).toBe("false");
+ expect(fold.querySelector("svg")?.getAttribute("width")).toBe("12");
+ const typed = document.getElementById(fold.getAttribute("aria-controls")!)!;
+ expect(typed.hidden).toBe(true);
+ expect(panel.querySelector("details, summary")).toBeNull();
await click("[data-pair-type-instead] button[aria-expanded]");
- expect(toggle.getAttribute("aria-expanded")).toBe("true");
- expect(document.getElementById(toggle.getAttribute("aria-controls")!)?.hidden).toBe(false);
+ expect(fold.getAttribute("aria-expanded")).toBe("true");
+ expect(typed.hidden).toBe(false);
+ expect(typed.querySelector("[data-pairing-address]")?.textContent).toBe("http://ada.tail1.ts.net:8799");
+ expect(typed.querySelector("[data-pairing-code]")?.textContent).toBe("7KQ2-M9XD-H4TP");
+ });
+
+ it("reads step 2 as getting the other computer ready and step 3 as the action, and says once why Tailscale", async () => {
+ await render();
+ await click("[data-network-action]");
+ await click("[data-add-group=computers]");
+ expect([...document.querySelectorAll("[data-step]")].map((step) => step.getAttribute("data-step-state"))).toEqual(["done", "now", "now"]);
+ expect($("[data-step='2']")?.textContent).toContain("On the other computer, install MausBot and Tailscale");
+ expect($("[data-add-install-why]")?.textContent).toContain("another computer reaches this one only through Tailscale");
+ expect($("[data-add-network-why]")).toBeNull();
+ expect($("[data-step='3'] [data-copy-link]")?.className).toContain("ui-button-primary");
+ expect($("[data-step='2'] .ui-button-primary")).toBeNull();
});
});
@@ -1011,6 +1147,7 @@ describe("the inline server form's one error", () => {
expect(field.getAttribute("aria-describedby")).toBe(problem.id);
expect(field.className).not.toContain("shadow-[inset_0_0_0_1px_var(--color-danger)]");
expect($("[data-own-server-code]")).toBeNull();
+ expect($("[data-lend-add]"), "no lend switch for a server not found").toBeNull();
});
it("asks for the code once the server is found, and puts a code problem under the code", async () => {
@@ -1038,23 +1175,155 @@ describe("a server bots reach over SSH, in its details", () => {
const labels = [...editor.querySelectorAll("label")].map((label) => label.textContent);
expect(labels).toEqual(["Name", "Memory for each bot (GB)", "Processor cores for each bot"]);
for (const label of editor.querySelectorAll("label")) expect(document.getElementById(label.htmlFor)?.tagName).toBe("INPUT");
- expect(editor.querySelector("[data-vps-ssh-name]")?.textContent).toBe("SSH name: gpu");
+ expect(editor.querySelector("[data-vps-ssh-name]")?.textContent).toBe("Name in your SSH settings: gpu");
expect(editor.querySelector("[data-vps-limits-line]")?.textContent).toContain("Left empty, it gets 4 GB and 2 cores.");
expect(editor.querySelector("button[data-danger]")?.textContent).toBe("Remove");
expect($("[data-device-details='vps:gpu']")?.textContent).not.toContain("Name and limits");
});
});
+describe("the top of the page", () => {
+ it("names what needs the person in its own status words, and a name opens that row with focus on it", async () => {
+ companion = { ...companion, routes: { wifi: off, relay: off, tailscale: off, https: off } };
+ await render();
+ const line = $("[data-devices-attention]")!;
+ expect(line.closest("[data-settings-rows]"), "a quiet row in its own card").not.toBeNull();
+ expect(line.closest("section")?.compareDocumentPosition($("[data-settings-block=here]")!)).toBe(Node.DOCUMENT_POSITION_FOLLOWING);
+ expect([...line.querySelectorAll("[data-attention-device]")].map((item) => item.getAttribute("data-attention-device")))
+ .toEqual(["phone:iphone", "phone:pixel", "place:vps"]);
+ expect(line.querySelector("[data-attention-device='place:vps']")?.textContent).toBe("Hetzner box: Can’t reach it");
+ expect(line.querySelector("[data-attention-device='phone:pixel']")?.textContent).toBe("Pixel 9: No way in is on");
+ expect([...line.querySelectorAll("li")].map((item) => item.getAttribute("data-attention-device")), "one item a line").toHaveLength(3);
+ expect(line.textContent).not.toContain("·");
+ await click("[data-attention-device='place:vps'] button");
+ await wait(20);
+ expect($("[data-device-details='place:vps']")).not.toBeNull();
+ expect(document.activeElement).toBe($("[data-device-node='place:vps']"));
+ expect(layers()).toBe(0);
+ });
+
+ it("puts Add a device in the page's header, as its one primary button, and leaves no band when nothing needs the person", async () => {
+ vpsState = "connected";
+ await render();
+ expect($("[data-devices-attention]")).toBeNull();
+ expect($("[data-settings-block=attention]")).toBeNull();
+ const add = $("[data-settings-header] [data-settings-block=add] [data-add-device]")!;
+ expect(add.textContent).toBe("Add a device");
+ expect(add.className).toContain("ui-button-primary");
+ expect($("[data-settings-page-body] [data-add-device], [data-devices-page] [data-add-device]")).toBeNull();
+ expect(document.querySelectorAll("[data-add-device]")).toHaveLength(1);
+ await click("[data-add-device]");
+ expect($("[data-add-panel]")).not.toBeNull();
+ expect($("[data-settings-header] [data-add-device]"), "gone while adding").toBeNull();
+ expect(await press("[data-add-back]", "Escape")).toBe(false);
+ expect($("[data-settings-header] [data-add-device]")).not.toBeNull();
+ });
+
+ it("keeps Add a device in the page where the window has no header for it", async () => {
+ await render({}, {}, 0, false);
+ expect($("[data-settings-block=add] [data-add-device]")).not.toBeNull();
+ });
+
+ it("names a private network problem first, as the private network, and its name goes to the network row", async () => {
+ install("not-installed");
+ vpsState = "connected";
+ await render();
+ await click("[data-network-action]");
+ const item = $("[data-attention-device=network]")!;
+ expect(item.textContent).toBe("Private network: Not installed");
+ expect($("[data-devices-attention] [data-attention-device]")).toBe(item);
+ await click("[data-attention-device=network] button");
+ await wait(20);
+ expect(document.activeElement?.closest("[data-private-network]")).not.toBeNull();
+ });
+
+ it("tells the nav to mark Devices amber while anything needs the person, and green while a phone is connected and nothing does", async () => {
+ setDevicesSignal(null);
+ const key = "computer:This computer";
+ let seen: ReturnType<typeof useDevicesSignal> = null;
+ function Probe() { seen = useDevicesSignal(key); return null; }
+ const probeHost = document.createElement("div");
+ const probe = createRoot(probeHost);
+ act(() => probe.render(createElement(Probe)));
+ await render();
+ expect(seen).toEqual({ place: key, needsYou: true, phoneConnected: true });
+ vpsState = "connected";
+ act(() => root.unmount());
+ root = createRoot(host);
+ await render();
+ expect(seen).toEqual({ place: key, needsYou: false, phoneConnected: true });
+ act(() => probe.unmount());
+ });
+
+ it("puts the rows that need the person first in each group, the rest in their own order", async () => {
+ saved = [...saved, { id: "nas", kind: "remote", name: "Attic box", origin: "https://attic.example.com" }];
+ environments.status.mockImplementation(async () => [
+ { id: "vps", state: "cantReach", since: NOW, version: "0.1.180", behind: false, install: "docker" },
+ { id: "nas", state: "connected", since: NOW, version: "0.1.180", behind: false, install: "docker" },
+ ]);
+ await render();
+ expect([...document.querySelectorAll("[data-settings-block=group-servers] [data-device-node]")].map((node) => node.getAttribute("data-device-node")))
+ .toEqual(["place:vps", "place:home", "place:nas"]);
+ });
+});
+
+describe("Add a phone's ways in", () => {
+ it("lets the person pick both ways, turns on each one picked, then shows the code", async () => {
+ companion = { ...companion, routes: { wifi: off, relay: off, tailscale: off, https: off } };
+ await render();
+ await click("[data-add-group=phones]");
+ const box = (route: string) => $<HTMLInputElement>(`[data-route-card=${route}] input[type=checkbox]`)!;
+ expect(box("relay").checked, "signed in: Anywhere is picked").toBe(true);
+ expect(box("wifi").checked).toBe(false);
+ await act(async () => box("relay").click());
+ expect($<HTMLButtonElement>("[data-pair-turn-on]")?.disabled, "at least one way").toBe(true);
+ await act(async () => box("wifi").click());
+ await act(async () => box("relay").click());
+ expect(box("wifi").checked && box("relay").checked).toBe(true);
+ await click("[data-pair-turn-on]");
+ expect(bridge.setRoute.mock.calls).toEqual([["wifi", true], ["relay", true]]);
+ expect($("[data-pair-turn-on]")).toBeNull();
+ });
+
+ it("draws the ways as plain rows in the step's card, not cards of their own", async () => {
+ companion = { ...companion, routes: { wifi: off, relay: off, tailscale: off, https: off } };
+ await render();
+ await click("[data-add-group=phones]");
+ for (const row of document.querySelectorAll("[data-route-card]")) {
+ expect(row.closest("[data-add-card]")).not.toBeNull();
+ expect(row.className).not.toMatch(/rounded|bg-menu/);
+ }
+ expect(document.querySelectorAll("[data-route-card]")).toHaveLength(2);
+ });
+});
+
describe("the map above the list", () => {
afterEach(() => overrideDeviceMap(null));
+ it("can be turned off", async () => {
+ expect(SHOW_DEVICE_MAP).toBe(true);
+ overrideDeviceMap(false);
+ await render();
+ expect($("[data-settings-block=map]")).toBeNull();
+ expect($("[data-settings-block=here] h3")?.textContent).toBe("You’re here");
+ });
+
+ it("says You're here once, on its hub, explains its lines and keeps its third column short", async () => {
+ overrideDeviceMap(true);
+ await render();
+ expect($("[data-settings-block=here] h3")).toBeNull();
+ expect($("[data-map-legend]")?.textContent).toBe("Solid: connected now · Dashed: away");
+ expect([...document.querySelectorAll("[data-map-group] > span[id]")].map((label) => label.textContent)).toEqual(["Phones", "Clouds and servers"]);
+ expect($("[data-map-node='place:vps'] .truncate")).toBeNull();
+ });
+
it("opens a node's row below, with its details open and focus on its row, and nothing over the page", async () => {
overrideDeviceMap(true);
await render();
const map = $("[data-settings-block=map]")!;
expect(map.getAttribute("role")).toBe("group");
expect(map.getAttribute("aria-label")).toBe("Your devices and how they connect");
- expect(map.compareDocumentPosition($("[data-settings-block=add]")!)).toBe(Node.DOCUMENT_POSITION_FOLLOWING);
+ expect(map.compareDocumentPosition($("[data-settings-block=here]")!)).toBe(Node.DOCUMENT_POSITION_FOLLOWING);
expect([...map.querySelectorAll("[data-map-node]")].map((node) => node.getAttribute("data-map-node")))
.toEqual(["here", "phone:iphone", "phone:pixel", "place:home", "place:vps"]);
expect(map.querySelector("[data-map-node='place:vps']")?.getAttribute("aria-label")).toBe("Hetzner box, Your own server, Can’t reach it, Over the internet");
diff --git a/src/components/settings/pages/DevicesPage.tsx b/src/components/settings/pages/DevicesPage.tsx
index 0197b660e5..680689766e 100644
--- a/src/components/settings/pages/DevicesPage.tsx
+++ b/src/components/settings/pages/DevicesPage.tsx
@@ -1,4 +1,4 @@
-import { useCallback, useEffect, useLayoutEffect, useRef, useState, type ReactNode } from "react";
+import { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState, type ReactNode } from "react";
import { Laptop, Loader2 } from "lucide-react";
import { deviceGroup, privateNetwork, groupByKind, type Device, type DeviceAction, type DeviceGroup, type PrivateNetwork } from "@/lib/devices";
import { copyText } from "@/lib/copy-text";
@@ -11,12 +11,13 @@ import type { CompanionState } from "@/lib/companion-types";
import { api } from "@/state/api";
import { useStoreDispatch, useStoreSelector } from "@/state/store-select";
import { AddDevicePanel, lastInputWasKeys, withinPage, type AddKind } from "../../devices/AddDevicePanel";
-import { DevicesNotice, GroupSection, HereSection, type NetworkAction, type NetworkShare, type Opened } from "../../devices/DeviceRows";
+import { DevicesAttention, DevicesNotice, GroupSection, HereSection, networkNeedsPerson, type NetworkAction, type NetworkShare, type Opened } from "../../devices/DeviceRows";
import { PhoneCodeInline } from "../../devices/CodeCard";
import { DeviceMap, deviceMapShown } from "../../devices/DeviceMap";
import { usePairAccess } from "../../devices/PairCodePanel";
import { ComputerNameMore, OtherPlacesSection, PairWithCloudRow, PhoneAppFacts, ServerPhoneNotes } from "../../devices/PhoneSections";
-import { networkLine } from "../../devices/device-words";
+import { needsFirst, needsPerson } from "../../devices/device-parts";
+import { networkLine, sshAliasOfAnchor } from "../../devices/device-words";
import { AlwaysOnHomeSection } from "../../AlwaysOnHomeSection";
import { PhoneControls } from "../../PairedPhones";
import { OpenCodeRow, PairPhoneSteps, ReachSection, RouteNotices, setCompanionTailscale, shouldResumePausedAddress, type PairAsk } from "../../PhoneDevicesSection";
@@ -25,6 +26,7 @@ import { canPairDevices, pairingBlockedReason } from "../../ServerPairingCard";
import { SettingsGroup, SettingsMark } from "../../SettingsPrimitives";
import { PlaceBadge } from "../SettingsNav";
import { SettingsSkeletonCard } from "../SettingsStates";
+import { devicesPlaceKey, setDevicesSignal } from "../devices-signal";
import { useSettingsShell } from "../settings-shell";
/** Tailscale's download page for this computer's system. */
@@ -61,7 +63,7 @@ const PHONES_ADD = "[data-add-group=phones]";
type Adding = { start: AddKind | null; from: string; keys: boolean; ask?: PairAsk };
export function DevicesPage() {
- const { ctx, place, go, setSub, anchor } = useSettingsShell();
+ const { ctx, place, go, setSub, setHeaderAction, anchor } = useSettingsShell();
const dispatch = useStoreDispatch();
const config = useStoreSelector((state) => state.config);
const focus = useStoreSelector((state) => state.appSettingsPhonePairing);
@@ -140,8 +142,49 @@ export function DevicesPage() {
pairAsked.current = false;
if (anchor && !kept) setAdding(null);
}, [anchor]);
+ const openRow = (id: string) => {
+ setNotice(null);
+ setPairing(false);
+ setOpen(id);
+ window.requestAnimationFrame(() => {
+ const row = document.querySelector<HTMLElement>(`[data-device-row="${CSS.escape(id)}"]`);
+ const still = window.matchMedia?.("(prefers-reduced-motion: reduce)").matches;
+ row?.scrollIntoView?.({ block: "start", behavior: still ? "auto" : "smooth" });
+ row?.querySelector<HTMLElement>("[data-device-node]")?.focus({ preventScroll: true });
+ });
+ };
+ // A named server's row asked for from another page (its link on AI) opens once, when the server is listed.
+ const openedFor = useRef<string | null>(null);
+ const openRowNow = useRef(openRow);
+ openRowNow.current = openRow;
+ useEffect(() => {
+ const alias = sshAliasOfAnchor(anchor);
+ if (!alias) { openedFor.current = null; return; }
+ if (openedFor.current === anchor) return;
+ const server = devices.find((device) => device.sources.some((source) => source.type === "vps" && source.id === alias));
+ if (!server) return;
+ openedFor.current = anchor;
+ openRowNow.current(server.id);
+ }, [anchor, devices]);
const networkAction = nextNetworkStep(network, { check: () => void check() },
{ busy: c.busy, blocked: Boolean(blocked), platform: window.ogb?.platform });
+ const groups = groupByKind(devices, { all: true }).map((entry) => ({ ...entry, devices: needsFirst(entry.devices) }));
+ const needing = groups.flatMap((entry) => entry.devices.filter(needsPerson));
+ const networkNeeding = blocked ? null : network;
+ const signalPlace = devicesPlaceKey(place);
+ const needsYou = needing.length > 0 || networkNeedsPerson(networkNeeding);
+ const phoneConnected = devices.some((device) => device.kind === "phone" && device.status === "online");
+ useEffect(() => { if (loaded) setDevicesSignal({ place: signalPlace, needsYou, phoneConnected }); }, [loaded, signalPlace, needsYou, phoneConnected]);
+
+ const isAdding = adding !== null;
+ const addButton = useMemo(() => <span data-settings-block="add" className="flex scroll-mt-4">
+ <button type="button" data-add-device="" onClick={() => startAdding(null, "[data-add-device]")} className="ui-button ui-button-primary ui-button-sm shrink-0">{t("devicesPage.add")}</button>
+ </span>, [startAdding]);
+ useLayoutEffect(() => {
+ if (!setHeaderAction) return;
+ setHeaderAction(isAdding ? null : addButton);
+ return () => setHeaderAction(null);
+ }, [setHeaderAction, isAdding, addButton]);
const environments = ctx.here ? window.ogb?.environments : undefined;
const workspaces = ctx.here ? window.ogb?.workspaces : undefined;
@@ -238,20 +281,14 @@ export function DevicesPage() {
const here = devices.find((device) => device.here)!;
const mark = place.kind === "computer" ? <SettingsMark><Laptop /></SettingsMark> : <PlaceBadge place={place} size={28} />;
- const groups = groupByKind(devices, { all: true });
const now = Date.now();
const onAction = (device: Device, action: DeviceAction) => void act(device, action);
- const openFromMap = (id: string) => {
- setNotice(null);
- setPairing(false);
- setOpen(id);
- window.requestAnimationFrame(() => {
- const row = document.querySelector<HTMLElement>(`[data-device-row="${CSS.escape(id)}"]`);
- const still = window.matchMedia?.("(prefers-reduced-motion: reduce)").matches;
- row?.scrollIntoView?.({ block: "start", behavior: still ? "auto" : "smooth" });
- row?.querySelector<HTMLElement>("[data-device-node]")?.focus({ preventScroll: true });
- });
- };
+ const openNetwork = () => window.requestAnimationFrame(() => {
+ const row = document.querySelector<HTMLElement>("[data-private-network]");
+ const still = window.matchMedia?.("(prefers-reduced-motion: reduce)").matches;
+ row?.scrollIntoView?.({ block: "center", behavior: still ? "auto" : "smooth" });
+ (row?.querySelector<HTMLElement>("a[href], button:not([disabled])") ?? row)?.focus({ preventScroll: true });
+ });
// Beside the next step, at most one quiet button: ask again after installing or approving.
const secondary = network && !blocked && networkAction?.href
? <button type="button" className="settings-quiet cursor-pointer" disabled={c.busy} onClick={() => void check()}>{c.busy ? t("common.checking") : t("remote.checkAgain")}</button> : null;
@@ -274,13 +311,16 @@ export function DevicesPage() {
const startPhone = (ask: PairAsk) => startAdding("phone", PHONES_ADD, ask);
const error = failure ?? (ctx.here ? c.error ?? state?.error ?? null : null);
const noticeLine = notice && <DevicesNotice text={notice.text} onDismiss={() => setNotice(null)} />;
+ const mapShown = deviceMapShown();
return <>
{state && <RouteNotices c={c} notices={state.notices ?? []} />}
{error && <p role="alert" className="px-4 text-[13px] leading-[18px] text-danger">{error}</p>}
{notice && !notice.group && noticeLine}
- {deviceMapShown() && <DeviceMap devices={devices} mark={mark} network={network} loaded={loaded} onOpen={openFromMap} now={now} />}
- <HereSection device={here} mark={mark} opened={opened} onAction={onAction} onAdd={() => startAdding(null, "[data-add-device]")} now={now}
- network={network && { network, line: blocked ?? networkLine(network), action: network.state === "ready" ? null : networkAction, secondary, share }} pending={ctx.here}
+ {!setHeaderAction && addButton}
+ <DevicesAttention needing={needing} network={networkNeeding} now={now} onOpen={openRow} onNetwork={openNetwork} />
+ {mapShown && <DeviceMap devices={devices} mark={mark} network={network} loaded={loaded} onOpen={openRow} now={now} />}
+ <HereSection device={here} mark={mark} opened={opened} onAction={onAction} now={now} titled={!mapShown}
+ network={network && { network, line: blocked ?? (network.state === "ready" && !network.shared ? null : networkLine(network)), action: network.state === "ready" ? null : networkAction, secondary, share }} pending={ctx.here}
more={!ctx.here && ctx.advanced && !ctx.cloud && access.pairingCodes === true && canPairDevices(access.session) ? <ComputerNameMore /> : null} />
{groups.map((entry) => {
const phones = entry.group === "phones";
@@ -299,6 +339,6 @@ export function DevicesPage() {
? <AlwaysOnHomeSection c={c} state={state} blocked={blocked} onAddPhone={() => startPhone(null)}
onAddComputer={() => startAdding("computer", "[data-always-on-add-computer]")} onConnect={() => startAdding("server", "[data-always-on-connect]")} />
: <span data-settings-block="always-on" className="contents" />)}
- <OtherPlacesSection />
+ <OtherPlacesSection devices={devices} />
</>;
}
diff --git a/src/components/settings/settings-context.ts b/src/components/settings/settings-context.ts
index 3441a86237..9be2aabc50 100644
--- a/src/components/settings/settings-context.ts
+++ b/src/components/settings/settings-context.ts
@@ -71,7 +71,7 @@ export function useOtherPlaces(page?: string): OtherPlace[] {
setListed(state.environments.filter((entry) => entry.id !== state.activeId).map((entry) => ({
key: entry.id,
name: entry.kind === "local" && !entry.dataDir ? t("rail.thisComputer") : entry.name,
- kind: entry.kind === "remote" ? "cloud" as const : "computer" as const,
+ kind: entry.kind !== "remote" ? "computer" as const : entry.home || entry.cloud ? "cloud" as const : "server" as const,
color: entry.color ?? null,
open: () => void environments.switch(entry.id),
})));
diff --git a/src/components/settings/settings-shell.ts b/src/components/settings/settings-shell.ts
index 93c0ed1393..245d1f9bf2 100644
--- a/src/components/settings/settings-shell.ts
+++ b/src/components/settings/settings-shell.ts
@@ -1,4 +1,4 @@
-import { createContext, useContext } from "react";
+import { createContext, useContext, type ReactNode } from "react";
import type { SettingsPlace } from "./settings-context";
import type { SettingsContext, SettingsPageId } from "./settings-index";
@@ -13,6 +13,8 @@ export interface SettingsShell {
narrow?: boolean;
/** A step inside the page (Add a device's), named in the narrow header with its own way back; null gives the page back. */
setSub?: (sub: SettingsSub | null) => void;
+ /** The page's one action beside its title (Devices' Add a device); null takes it away. */
+ setHeaderAction?: (action: ReactNode | null) => void;
}
export interface SettingsSub {
diff --git a/src/locales/de.json b/src/locales/de.json
index cf26339c16..d5eab38d61 100644
--- a/src/locales/de.json
+++ b/src/locales/de.json
@@ -1475,12 +1475,7 @@
"keys.cerebras.desc": "Offene Modelle (GPT OSS, Qwen) auf Cerebras-Chips, um ein Vielfaches schneller als GPU-Clouds. Fügt Cerebras zu deiner KI-Auswahl hinzu.",
"keys.groq.desc": "Für Modelle, die Groq bereitstellt. Fügt Groq zu deiner KI-Auswahl hinzu, mit bereits eingestelltem API-Endpunkt.",
"keys.meta.desc": "Für Metas Muse-Modelle, einschließlich Muse Wonder. Fügt Meta Muse zu deiner KI-Auswahl hinzu; neue Muse-Modelle erscheinen von selbst.",
- "keys.vps.label": "Selbst gehosteter VPS",
- "keys.vps.descBefore": "SSH-Config-Alias für den Linux-VPS. {app} nutzt deine normale SSH-Konfiguration und den Agent; Schlüssel oder Passwörter werden nicht gespeichert. Sieh dir den ",
"keys.vps.descLink": "Einrichtungs-Leitfaden",
- "keys.vps.descAfter": " für die benötigte Alias-Form an.",
- "keys.vps.anyMachine": "Jeder Linux-Rechner mit Docker, den du per SSH erreichst, funktioniert, auch ein Computer in deinem Tailscale-Netzwerk: Trag seinen Tailscale-Namen als HostName des Alias ein.",
- "keys.vps.aria": "SSH-Config-Alias des selbst gehosteten VPS",
"usage.title": "Nutzung",
"usage.bot.empty": "Für diesen Bot wurde noch keine Nutzung erfasst.",
"usage.bot.unpriced": "Dieser Anbieter meldet keinen Preis; Tokens werden gezählt.",
@@ -3499,7 +3494,6 @@
"devices.route.setUp": "Einrichten",
"devices.pair.pickOne": "Wählen Sie mindestens einen Weg.",
"devices.pair.done": "Fertig",
- "devices.reach.wifi": "im gleichen WLAN",
"devices.reach.https": "über seine {app}-Webadresse",
"devices.reach.relay": "überall über {app}",
"devices.reach.line": "Erreicht diesen Computer {ways}.",
@@ -3771,9 +3765,6 @@
"devicesPage.detail.version": "Version",
"devicesPage.detail.lastSeen": "Zuletzt gesehen",
"devicesPage.detail.bots": "Bots",
- "devicesPage.detail.runsBots": "Hat eigene Bots",
- "devicesPage.detail.hostsComputer": "Bots können darauf arbeiten",
- "devicesPage.detail.reachesBots": "Spricht mit den Bots hier",
"devicesPage.action.copyUpdate": "Update-Befehl kopieren",
"devicesPage.action.manage": "Verwalten",
"devicesPage.action.removeApps": "Seine Apps entfernen",
@@ -4288,7 +4279,6 @@
"chat.botExchange.waiting": "{helper} hat damit noch nicht angefangen. Es wartet, bis es an der Reihe ist.",
"chat.botExchange.unknown": "Es ist nicht klar, welche Nachrichten aus der Unterhaltung von {helper} zu diesem Austausch gehören, daher wird keine angezeigt.",
"keys.vps.servers.title": "Benannte Server",
- "keys.vps.servers.hint": "Füge weitere Server mit Namen hinzu. Jeder Bot kann dann in seinen eigenen Computer-Einstellungen einen davon wählen; der Alias oben bleibt der Standard.",
"keys.vps.servers.namePlaceholder": "Heimlabor",
"keys.vps.servers.add": "Hinzufügen",
"keys.vps.servers.removeAria": "{name} entfernen",
@@ -4396,5 +4386,12 @@
"skillBurger.pill.running": "Läuft… {count}",
"skillBurger.pill.stopped": "Angehalten",
"skillBurger.pill.addPath": "Weg hinzufügen",
- "skillBurger.card.madeBy": "Erstellt von {name}"
+ "skillBurger.card.madeBy": "Erstellt von {name}",
+ "settings.nav.phoneConnected": "Ein Telefon ist verbunden",
+ "settings.nav.phoneNeedsYou": "Ein Telefon braucht dich",
+ "devices.reach.sameWifi": "im gleichen WLAN",
+ "phone.reach.offAdding": "Aus · Wenn du ein Telefon hinzufügst, wird das eingeschaltet",
+ "settings.nav.devicesNeedYou": "Ein Gerät oder das private Netzwerk braucht dich",
+ "settings.nav.phoneConnectedAllClear": "Ein Telefon ist verbunden, und nichts braucht dich",
+ "keys.vps.ownServer": "Dein eigener Server (SSH)"
}
diff --git a/src/locales/en.json b/src/locales/en.json
index f0ae80479c..de43bb8b37 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -4341,14 +4341,8 @@
"decider.openrouter.error.malformed": "The model sent an answer {app} could not read. Try another model.",
"decider.openrouter.error.credits": "Your OpenRouter account is out of credits. Add some at openrouter.ai/credits.",
"decider.test.slow": "That is slower than the 1.5 s a room decision may take, so rooms would fall back to the lead. Try a faster model.",
- "keys.vps.label": "Self-hosted VPS",
- "keys.vps.descBefore": "SSH config alias for the Linux VPS. {app} uses your normal SSH config and agent; it does not store keys or passwords. See the ",
"keys.vps.descLink": "setup guide",
- "keys.vps.descAfter": " for the required SSH alias shape.",
- "keys.vps.anyMachine": "Any Linux machine with Docker that you reach over SSH works, including a computer on your Tailscale network: use its Tailscale name as the alias's HostName.",
- "keys.vps.aria": "Self-hosted VPS SSH config alias",
"keys.vps.servers.title": "Named servers",
- "keys.vps.servers.hint": "Add more servers by name. Each bot can then pick one in its own computer settings; the alias above stays the default.",
"keys.vps.servers.namePlaceholder": "Home lab",
"keys.vps.servers.add": "Add",
"keys.vps.servers.removeAria": "Remove {name}",
@@ -10875,7 +10869,6 @@
"devices.route.setUp": "Set up",
"devices.pair.pickOne": "Pick at least one way in.",
"devices.pair.done": "Done",
- "devices.reach.wifi": "on Same Wi-Fi",
"devices.reach.https": "at its {app} web address",
"devices.reach.relay": "anywhere through {app}",
"devices.reach.line": "Reaches this computer {ways}.",
@@ -11139,9 +11132,6 @@
"devicesPage.detail.version": "Version",
"devicesPage.detail.lastSeen": "Last seen",
"devicesPage.detail.bots": "Bots",
- "devicesPage.detail.runsBots": "Has bots of its own",
- "devicesPage.detail.hostsComputer": "Bots can work on it",
- "devicesPage.detail.reachesBots": "Talks to the bots here",
"devicesPage.action.copyUpdate": "Copy update command",
"devicesPage.action.manage": "Manage",
"devicesPage.action.removeApps": "Remove its apps",
@@ -11214,7 +11204,6 @@
"devicesPage.addFlow.cloudLeaves": "Settings closes while you choose.",
"devicesPage.addFlow.copyCommand": "Copy command",
"devicesPage.addFlow.orType": "Or type this code in the app",
- "devicesPage.addFlow.serverHow": "Paste one into a terminal on that machine. It needs Node.js 24 or later, and prints a link when it starts.",
"devicesPage.addFlow.serverPrivate": "Only on your private network (Tailscale)",
"devicesPage.addFlow.waitingPhone": "Waiting for your phone…",
"devicesPage.bots.one": "1 bot",
@@ -11222,20 +11211,16 @@
"devicesPage.here.section": "You’re here",
"devicesPage.network.allow": "Allow my other computers",
"devicesPage.network.line.notInstalledFree": "Tailscale is a free app that connects your computers privately. Install it on this computer and sign in; this page checks again when you come back.",
- "devicesPage.network.line.readyShort": "This computer is on it as {name}. Your other computers on Tailscale can connect here.",
"devicesPage.network.openAdmin": "Open the admin console",
"devicesPage.note.updateReady": "A new version is ready",
"devicesPage.status.hub": "Your other devices connect here",
"devicesPage.group.phonesTablets": "Phones and tablets",
- "devicesPage.addFlow.installBoth": "Install {app} and Tailscale on the other computer",
- "devicesPage.addFlow.installBothLine": "Sign in to Tailscale there with the same account as on this computer. Both are free.",
"devicesPage.bots.oneHere": "1 bot works here",
"devicesPage.bots.countHere": "{count} bots work here",
"devicesPage.route.sameWifi": "Same Wi-Fi",
"devicesPage.route.anywhere": "Anywhere, through {app}",
"devicesPage.route.overInternet": "Over the internet",
"devicesPage.route.secureLogin": "Secure login (SSH)",
- "devicesPage.status.sshBots": "Bots work on it",
"devicesPage.network.line.signedOut": "Open the Tailscale app (in the menu bar or the taskbar), sign in, then choose Check again.",
"devicesPage.network.line.needsApproval": "Tailscale is waiting for you to approve this computer on its website. Approve it there, then choose Check again.",
"devicesPage.network.approveIn": "Approve in Tailscale",
@@ -11248,8 +11233,6 @@
"devicesPage.addFlow.linkOpens": "The link opens this computer, {host}, on your private network.",
"devicesPage.addGroup.cloudOrServer": "Add a Cloud or own server",
"devicesPage.add.cloudAdd": "Add a Cloud",
- "devicesPage.status.homeCloud": "Where your bots live · run by {app}",
- "devicesPage.status.runBy": "Run by {app}",
"devicesPage.network.line.unknownWhat": "Tailscale is a free app that connects your computers privately, wherever they are. Set up checks this computer for it and turns it on here.",
"devicesPage.network.setUpTailscale": "Set up Tailscale",
"devicesPage.bots.oneUses": "1 bot uses this",
@@ -11944,7 +11927,6 @@
"devices.computers.typeCodeOther": "On your other computer, open Connect to another computer in {app} and paste the link you copy here. Or type this address and code there.",
"devicesPage.addFlow.serverDesktopOther": "Paste the link it prints into + then Connect to another computer in the {app} app.",
"devicesPage.addFlow.computerPasteOther": "On the other computer, open {app}, choose + then Connect to another computer, and paste this link.",
- "devicesPage.addFlow.typeInstead": "Can’t paste it? Type the address and code instead",
"devicesPage.addFlow.networkWhy": "Another computer can open this one only through Tailscale, a free private network that connects your own devices.",
"devicesPage.detail.unreachableLine": "Check that {name} is on and online, then choose Try again.",
"devicesPage.detail.phoneShares": "Shares with bots",
@@ -11956,25 +11938,17 @@
"remote.devices.browserLine": "This phone can watch the browser your bots use, signed in as you, and take over.",
"remote.devices.browserUseAria": "See and use your bots’ browser from {name}",
"keys.vps.field.name": "Name",
- "keys.vps.field.sshName": "SSH name",
"keys.vps.field.memory": "Memory for each bot (GB)",
"keys.vps.field.cpus": "Processor cores for each bot",
- "keys.vps.sshNameLine": "SSH name: {alias}",
"keys.vps.limitsLine": "The most each bot’s desktop may use on this machine. Left empty, it gets {memory} GB and {cpus} cores.",
- "devicesPage.note.noWayIn": "Can’t reach it: no way in is on",
"devicesPage.action.turnOnWay": "Turn on a way in",
- "devicesPage.action.removeHere": "Remove from this app",
- "devicesPage.action.signOutHint": "Remove from this app forgets it here. Sign it out ends the sign-in it uses to reach this computer.",
"devicesPage.network.shareSwitch": "Let my other computers connect",
- "devicesPage.network.phonesStill": "Phones can still reach this computer this way.",
- "devicesPage.network.phonesOff": "Turn off for phones",
"devicesPage.network.short.computersOff": "Your other computers can’t connect yet",
"devicesPage.network.line.onFor": "This computer is on it as {name}.",
"devicesPage.network.line.magicdns": "Turn on MagicDNS in Tailscale’s admin page, then choose Check again, so this computer gets its own name there.",
"devicesPage.network.line.setUpChecks": "Set up checks this computer for Tailscale and turns it on here.",
- "devicesPage.addFlow.cantScan": "Can’t scan? Copy the link and open it on the phone.",
- "devicesPage.otherPlaces.title": "Phones paired with your other places",
- "devicesPage.otherPlaces.line": "Opens it, to see or add its phones",
+ "devicesPage.otherPlaces.title": "Phones paired with your other Clouds and computers",
+ "devicesPage.otherPlaces.line": "Opens it to see or add its phones",
"servers.pairAgainOther": "This link reaches {found}, not {name}.",
"devices.reach.privateNetwork": "on your private network",
"phone.reach.footAdding": "Adding a phone turns these on. You can change them here.",
@@ -12016,5 +11990,49 @@
"skillBurger.pill.running": "Running… {count}",
"skillBurger.pill.stopped": "Stopped",
"skillBurger.pill.addPath": "Add path",
- "skillBurger.card.madeBy": "Made by {name}"
+ "skillBurger.card.madeBy": "Made by {name}",
+ "devicesPage.attention.item": "{name}: {status}",
+ "devicesPage.network.turnOff": "Turn Tailscale off",
+ "devicesPage.network.turnOffHint": "Phones stop reaching this computer through Tailscale.",
+ "devicesPage.addFlow.installOther": "On the other computer, install {app} and Tailscale",
+ "devicesPage.addFlow.installOtherLine": "Sign in to Tailscale there with the same account as on this computer. Phones can use Same Wi-Fi, but another computer reaches this one only through Tailscale.",
+ "devicesPage.detail.runsOwnBots": "Runs its own bots",
+ "devicesPage.detail.botsWorkOnIt": "Your bots work on it",
+ "devicesPage.map.legend": "Solid: connected now · Dashed: away",
+ "devicesPage.map.servers": "Clouds and servers",
+ "devicesPage.routeInline.sameWifi": "same Wi-Fi",
+ "devicesPage.routeInline.tailscale": "private network",
+ "devicesPage.routeInline.anywhere": "anywhere, through {app}",
+ "devicesPage.routeInline.overInternet": "over the internet",
+ "devicesPage.routeInline.pairedCode": "paired with a code",
+ "devicesPage.routeInline.secureLogin": "secure login (SSH)",
+ "devices.reach.sameWifi": "on the same Wi-Fi",
+ "settings.nav.phoneConnected": "A phone is connected",
+ "settings.nav.phoneNeedsYou": "A phone needs you",
+ "devicesPage.note.noWayOn": "No way in is on",
+ "phone.reach.offAdding": "Off · Adding a phone turns these on",
+ "settings.nav.devicesNeedYou": "A device or the private network needs you",
+ "settings.nav.phoneConnectedAllClear": "A phone is connected, and nothing needs you",
+ "devicesPage.detail.alsoSignedIn": "Also signed in to this computer",
+ "devicesPage.detail.signOutLine": "It ends that computer’s sign-in here; it will need a new code.",
+ "devicesPage.addFlow.sendLinkOther": "Send it to the other computer, for example by email or chat.",
+ "devicesPage.addFlow.typeInstead": "Type it in instead",
+ "keys.vps.sshSettingsName": "Name in your SSH settings: {alias}",
+ "alwaysOn.macSettingsToCheck": "Mac settings to check",
+ "devicesPage.network.short.onPhonesOnly": "On · your other computers can’t connect yet",
+ "devicesPage.network.line.phonesThrough": "Phones can reach this computer through Tailscale.",
+ "devicesPage.network.line.readyAs": "Your other computers on Tailscale can connect here, as {name}.",
+ "devicesPage.status.checkedByBots": "Checked when a bot uses it",
+ "devicesPage.status.checkedWhenOpened": "Checked when you open it",
+ "devicesPage.detail.usesBots": "Uses the bots here",
+ "devicesPage.addFlow.encryptedNoType": "This code is encrypted for your phone, so there’s nothing to type. Scan it in the app, or copy the link.",
+ "devicesPage.addFlow.serverCommandsLine": "These start {app} on that machine. They need Node.js 24 or later; a terminal is the window where you type commands.",
+ "keys.vps.ownServer": "Your own server (SSH)",
+ "keys.vps.introBefore": "A Linux computer with Docker that you sign in to with SSH. {app} uses the SSH settings already on this computer and never keeps keys or passwords. The ",
+ "keys.vps.introAfter": " shows how to name it there.",
+ "keys.vps.tailscaleToo": "A computer on your Tailscale network works too: use its Tailscale name as the HostName in your SSH settings.",
+ "keys.vps.servers.hintPlain": "Add more servers by name; each bot can then pick one in its own settings. The one above stays the default.",
+ "keys.vps.servers.editIn": "Edit {name} in Devices",
+ "keys.vps.field.sshSettingsName": "Name in your SSH settings",
+ "keys.vps.field.inherited": "{value} (default)"
}
diff --git a/src/locales/es.json b/src/locales/es.json
index b1e57ecb36..6836429772 100644
--- a/src/locales/es.json
+++ b/src/locales/es.json
@@ -2972,12 +2972,7 @@
"decider.openrouter.error.malformed": "El modelo envió una respuesta que {app} no pudo leer. Prueba otro modelo.",
"decider.openrouter.error.credits": "Tu cuenta de OpenRouter se quedó sin créditos. Añade más en openrouter.ai/credits.",
"decider.test.slow": "Es más lento que los 1,5 s que puede tardar una decisión de grupo, así que los grupos recurrirían al líder. Prueba un modelo más rápido.",
- "keys.vps.label": "VPS propio",
- "keys.vps.descBefore": "Alias del SSH config para el VPS Linux. {app} usa tu configuración y agente SSH habituales; no guarda claves ni contraseñas. Consulta la ",
"keys.vps.descLink": "guía de configuración",
- "keys.vps.descAfter": " para ver la forma de alias requerida.",
- "keys.vps.anyMachine": "Funciona cualquier equipo Linux con Docker al que llegues por SSH, también un ordenador de tu red de Tailscale: usa su nombre de Tailscale como HostName del alias.",
- "keys.vps.aria": "Alias del SSH config del VPS propio",
"usage.title": "Uso",
"planUsage.title": "Uso del plan",
"planUsage.subtitle": "Margen restante en cada proveedor con sesión iniciada. Ventanas de 5 horas y semanales, cuando el plan las tiene.",
@@ -5917,7 +5912,6 @@
"devices.route.setUp": "Configurar",
"devices.pair.pickOne": "Elige al menos una forma de entrar.",
"devices.pair.done": "Listo",
- "devices.reach.wifi": "en la misma red Wi-Fi",
"devices.reach.https": "en su dirección web de {app}",
"devices.reach.relay": "desde cualquier lugar a través de {app}",
"devices.reach.line": "Llega a esta computadora {ways}.",
@@ -6160,9 +6154,6 @@
"devicesPage.detail.version": "Versión",
"devicesPage.detail.lastSeen": "Última actividad",
"devicesPage.detail.bots": "Bots",
- "devicesPage.detail.runsBots": "Tiene sus propios bots",
- "devicesPage.detail.hostsComputer": "Los bots pueden trabajar en él",
- "devicesPage.detail.reachesBots": "Habla con los bots de aquí",
"devicesPage.action.copyUpdate": "Copiar comando de actualización",
"devicesPage.action.manage": "Gestionar",
"devicesPage.action.removeApps": "Quitar sus apps",
@@ -6651,5 +6642,12 @@
"skillBurger.pill.running": "Ejecutando… {count}",
"skillBurger.pill.stopped": "Detenido",
"skillBurger.pill.addPath": "Añadir camino",
- "skillBurger.card.madeBy": "Hecho por {name}"
+ "skillBurger.card.madeBy": "Hecho por {name}",
+ "settings.nav.phoneConnected": "Hay un teléfono conectado",
+ "settings.nav.phoneNeedsYou": "Un teléfono te necesita",
+ "devices.reach.sameWifi": "en la misma red Wi-Fi",
+ "phone.reach.offAdding": "Desactivado · Al añadir un teléfono se activan",
+ "settings.nav.devicesNeedYou": "Un dispositivo o la red privada te necesita",
+ "settings.nav.phoneConnectedAllClear": "Hay un teléfono conectado y nada te necesita",
+ "keys.vps.ownServer": "Tu propio servidor (SSH)"
}
diff --git a/src/locales/everyday-words.test.ts b/src/locales/everyday-words.test.ts
index af45daeeb5..5258dcc1f8 100644
--- a/src/locales/everyday-words.test.ts
+++ b/src/locales/everyday-words.test.ts
@@ -95,6 +95,7 @@ const ALLOWED: Record<string, string> = {
"chat.notice.modelServerStoppedAnswering": "the person's model server at a named host, not the app's internal server",
"rail.local": "the owner's own name for the + choice that adds a workspace of this computer's own",
"rail.localNumbered": "a new workspace's first name, which the person may change, in the owner's word for it",
+ "devicesPage.map.servers": "the device map's narrow column header, which the owner asked to keep short; the list under it says your own servers",
};
const prefixes = Object.values(EVERYDAY_PREFIXES).flat();
diff --git a/src/locales/fr.json b/src/locales/fr.json
index 478ce1693c..840dfcc112 100644
--- a/src/locales/fr.json
+++ b/src/locales/fr.json
@@ -1355,12 +1355,7 @@
"keys.cerebras.desc": "Des modèles ouverts (GPT OSS, Qwen) sur des puces Cerebras, bien plus rapides que les clouds GPU. Ajoute Cerebras à vos choix d'IA.",
"keys.groq.desc": "Pour les modèles servis par Groq. Ajoute Groq à vos choix d'IA, avec son point de terminaison API déjà réglé.",
"keys.meta.desc": "Pour les modèles Muse de Meta, dont Muse Wonder. Ajoute Meta Muse à vos choix d'IA ; les nouveaux modèles Muse apparaissent tout seuls.",
- "keys.vps.label": "VPS auto-hébergé",
- "keys.vps.descBefore": "Alias de la config SSH pour le VPS Linux. {app} utilise votre configuration et votre agent SSH habituels ; il ne stocke ni clés ni mots de passe. Voir le ",
"keys.vps.descLink": "guide d’installation",
- "keys.vps.descAfter": " pour la forme d’alias requise.",
- "keys.vps.anyMachine": "Toute machine Linux avec Docker joignable en SSH convient, y compris un ordinateur de votre réseau Tailscale : utilisez son nom Tailscale comme HostName de l'alias.",
- "keys.vps.aria": "Alias de la config SSH du VPS auto-hébergé",
"usage.title": "Utilisation",
"usage.bot.empty": "Aucune utilisation enregistrée pour ce bot pour l’instant.",
"usage.bot.unpriced": "Ce fournisseur n’indique pas de prix ; les jetons sont comptés.",
@@ -3260,7 +3255,6 @@
"devices.route.setUp": "Configurer",
"devices.pair.pickOne": "Choisissez au moins un moyen d'accès.",
"devices.pair.done": "Terminé",
- "devices.reach.wifi": "sur le même Wi-Fi",
"devices.reach.https": "à son adresse web {app}",
"devices.reach.relay": "partout via {app}",
"devices.reach.line": "Joint cet ordinateur {ways}.",
@@ -3506,9 +3500,6 @@
"devicesPage.detail.version": "Version",
"devicesPage.detail.lastSeen": "Dernière activité",
"devicesPage.detail.bots": "Bots",
- "devicesPage.detail.runsBots": "A ses propres bots",
- "devicesPage.detail.hostsComputer": "Les bots peuvent y travailler",
- "devicesPage.detail.reachesBots": "Parle aux bots d'ici",
"devicesPage.action.copyUpdate": "Copier la commande de mise à jour",
"devicesPage.action.manage": "Gérer",
"devicesPage.action.removeApps": "Retirer ses apps",
@@ -4059,5 +4050,12 @@
"skillBurger.pill.running": "En cours… {count}",
"skillBurger.pill.stopped": "Arrêté",
"skillBurger.pill.addPath": "Ajouter le chemin",
- "skillBurger.card.madeBy": "Créé par {name}"
+ "skillBurger.card.madeBy": "Créé par {name}",
+ "settings.nav.phoneConnected": "Un téléphone est connecté",
+ "settings.nav.phoneNeedsYou": "Un téléphone a besoin de vous",
+ "devices.reach.sameWifi": "sur le même Wi-Fi",
+ "phone.reach.offAdding": "Désactivé · Ajouter un téléphone les active",
+ "settings.nav.devicesNeedYou": "Un appareil ou le réseau privé a besoin de vous",
+ "settings.nav.phoneConnectedAllClear": "Un téléphone est connecté, et rien n’a besoin de vous",
+ "keys.vps.ownServer": "Votre propre serveur (SSH)"
}
diff --git a/src/locales/hi.json b/src/locales/hi.json
index 5f754c8e10..3e276f887a 100644
--- a/src/locales/hi.json
+++ b/src/locales/hi.json
@@ -1353,12 +1353,7 @@
"keys.cerebras.desc": "Cerebras चिप्स पर ओपन मॉडल (GPT OSS, Qwen), GPU क्लाउड से कई गुना तेज़। Cerebras को आपके AI विकल्पों में जोड़ता है।",
"keys.groq.desc": "Groq द्वारा दिए जाने वाले मॉडल के लिए। Groq को आपके AI विकल्पों में जोड़ता है, उसका API एंडपॉइंट पहले से सेट।",
"keys.meta.desc": "Meta के Muse मॉडल के लिए, जिनमें Muse Wonder भी शामिल है। Meta Muse को आपके AI विकल्पों में जोड़ता है; नए Muse मॉडल अपने-आप दिखते हैं।",
- "keys.vps.label": "स्वयं-होस्टेड VPS",
- "keys.vps.descBefore": "Linux VPS के लिए SSH config उपनाम। {app} आपके सामान्य SSH config और एजेंट का उपयोग करता है; यह कुंजियाँ या पासवर्ड नहीं रखता। ज़रूरी SSH उपनाम के लिए ",
"keys.vps.descLink": "सेटअप गाइड",
- "keys.vps.descAfter": " देखें।",
- "keys.vps.anyMachine": "SSH से पहुँचने वाली Docker वाली कोई भी Linux मशीन चलेगी, आपके Tailscale नेटवर्क का कंप्यूटर भी: alias के HostName में उसका Tailscale नाम डालें।",
- "keys.vps.aria": "स्वयं-होस्टेड VPS का SSH config उपनाम",
"usage.title": "उपयोग",
"usage.bot.empty": "इस बॉट के लिए अभी तक कोई उपयोग दर्ज नहीं हुआ।",
"usage.bot.unpriced": "यह प्रदाता कीमत नहीं बताता; टोकन गिने जाते हैं।",
@@ -3111,7 +3106,6 @@
"devices.route.setUp": "सेट अप करें",
"devices.pair.pickOne": "कम से कम एक तरीका चुनें।",
"devices.pair.done": "हो गया",
- "devices.reach.wifi": "एक ही Wi-Fi पर",
"devices.reach.https": "उसके {app} वेब पते पर",
"devices.reach.relay": "{app} के ज़रिए कहीं से भी",
"devices.reach.line": "इस कंप्यूटर तक पहुँचता है {ways}।",
@@ -3357,9 +3351,6 @@
"devicesPage.detail.version": "वर्शन",
"devicesPage.detail.lastSeen": "आख़िरी बार देखा गया",
"devicesPage.detail.bots": "बॉट",
- "devicesPage.detail.runsBots": "इसके अपने बॉट हैं",
- "devicesPage.detail.hostsComputer": "बॉट इस पर काम कर सकते हैं",
- "devicesPage.detail.reachesBots": "यहाँ के बॉट से बात करता है",
"devicesPage.action.copyUpdate": "अपडेट कमांड कॉपी करें",
"devicesPage.action.manage": "प्रबंधित करें",
"devicesPage.action.removeApps": "इसके ऐप हटाएँ",
@@ -3911,5 +3902,12 @@
"skillBurger.pill.running": "चल रहा है… {count}",
"skillBurger.pill.stopped": "रुका",
"skillBurger.pill.addPath": "रास्ता जोड़ें",
- "skillBurger.card.madeBy": "{name} ने बनाया"
+ "skillBurger.card.madeBy": "{name} ने बनाया",
+ "settings.nav.phoneConnected": "एक फ़ोन जुड़ा है",
+ "settings.nav.phoneNeedsYou": "एक फ़ोन को आपकी ज़रूरत है",
+ "devices.reach.sameWifi": "एक ही Wi-Fi पर",
+ "phone.reach.offAdding": "बंद · फ़ोन जोड़ने पर ये चालू हो जाते हैं",
+ "settings.nav.devicesNeedYou": "किसी डिवाइस या निजी नेटवर्क को आपकी ज़रूरत है",
+ "settings.nav.phoneConnectedAllClear": "एक फ़ोन जुड़ा है, और किसी चीज़ को आपकी ज़रूरत नहीं है",
+ "keys.vps.ownServer": "आपका अपना सर्वर (SSH)"
}
diff --git a/src/locales/it.json b/src/locales/it.json
index b0d12a1624..57bf1dd39b 100644
--- a/src/locales/it.json
+++ b/src/locales/it.json
@@ -4329,14 +4329,8 @@
"decider.openrouter.error.malformed": "Il modello ha inviato una risposta che {app} non è riuscito a leggere. Prova un altro modello.",
"decider.openrouter.error.credits": "Il tuo account OpenRouter ha esaurito i crediti. Aggiungine su openrouter.ai/credits.",
"decider.test.slow": "È più lento degli 1,5 s che una decisione di gruppo può impiegare, quindi i gruppi ripiegherebbero sul referente. Prova un modello più veloce.",
- "keys.vps.label": "VPS in proprio",
- "keys.vps.descBefore": "Alias della config SSH per il VPS Linux. {app} usa la tua config SSH e il tuo agente abituali; non salva chiavi né password. Vedi la ",
"keys.vps.descLink": "guida di configurazione",
- "keys.vps.descAfter": " per la forma richiesta dell'alias SSH.",
- "keys.vps.anyMachine": "Funziona qualsiasi macchina Linux con Docker raggiungibile via SSH, anche un computer della tua rete Tailscale: usa il suo nome Tailscale come HostName dell'alias.",
- "keys.vps.aria": "Alias della config SSH del VPS in proprio",
"keys.vps.servers.title": "Server con nome",
- "keys.vps.servers.hint": "Aggiungi altri server per nome. Ogni bot può sceglierne uno nelle impostazioni del proprio computer; l'alias sopra rimane quello predefinito.",
"keys.vps.servers.namePlaceholder": "Laboratorio di casa",
"keys.vps.servers.add": "Aggiungi",
"keys.vps.servers.removeAria": "Rimuovi {name}",
@@ -10831,7 +10825,6 @@
"devices.route.setUp": "Configura",
"devices.pair.pickOne": "Scegli almeno un modo per entrare.",
"devices.pair.done": "Fatto",
- "devices.reach.wifi": "sulla stessa Wi-Fi",
"devices.reach.https": "al suo indirizzo web {app}",
"devices.reach.relay": "ovunque tramite {app}",
"devices.reach.line": "Raggiunge questo computer {ways}.",
@@ -11089,9 +11082,6 @@
"devicesPage.detail.version": "Versione",
"devicesPage.detail.lastSeen": "Ultima visualizzazione",
"devicesPage.detail.bots": "Bot",
- "devicesPage.detail.runsBots": "Ha bot propri",
- "devicesPage.detail.hostsComputer": "I bot possono lavorarci",
- "devicesPage.detail.reachesBots": "Comunica con i bot qui",
"devicesPage.action.copyUpdate": "Copia comando di aggiornamento",
"devicesPage.action.manage": "Gestisci",
"devicesPage.action.removeApps": "Rimuovi le sue app",
@@ -11804,5 +11794,12 @@
"skillBurger.pill.running": "In esecuzione… {count}",
"skillBurger.pill.stopped": "Fermato",
"skillBurger.pill.addPath": "Aggiungi percorso",
- "skillBurger.card.madeBy": "Creato da {name}"
+ "skillBurger.card.madeBy": "Creato da {name}",
+ "settings.nav.phoneConnected": "Un telefono è connesso",
+ "settings.nav.phoneNeedsYou": "Un telefono ha bisogno di te",
+ "devices.reach.sameWifi": "sulla stessa Wi-Fi",
+ "phone.reach.offAdding": "Spento · Aggiungere un telefono li attiva",
+ "settings.nav.devicesNeedYou": "Un dispositivo o la rete privata ha bisogno di te",
+ "settings.nav.phoneConnectedAllClear": "Un telefono è connesso e niente ha bisogno di te",
+ "keys.vps.ownServer": "Il tuo server personale (SSH)"
}
diff --git a/src/locales/ja.json b/src/locales/ja.json
index ad70d74ca7..75da991a2e 100644
--- a/src/locales/ja.json
+++ b/src/locales/ja.json
@@ -3676,12 +3676,7 @@
"decider.openrouter.error.malformed": "モデルの応答を {app} が読み取れませんでした。別のモデルをお試しください。",
"decider.openrouter.error.credits": "OpenRouter アカウントのクレジットが不足しています。openrouter.ai/credits で追加してください。",
"decider.test.slow": "ルームの判断に許される 1.5 秒より遅いため、ルームではリードにフォールバックします。より高速なモデルをお試しください。",
- "keys.vps.label": "自分の VPS",
- "keys.vps.descBefore": "Linux VPS の SSH config エイリアスです。{app} は通常の SSH 設定とエージェントを使い、鍵やパスワードは保存しません。必要なエイリアスの形は",
"keys.vps.descLink": "セットアップガイド",
- "keys.vps.descAfter": "をご覧ください。",
- "keys.vps.anyMachine": "SSH で接続できる Docker 入りの Linux マシンならどれでも使えます。Tailscale ネットワーク上のコンピューターも可能です。エイリアスの HostName にその Tailscale 名を指定してください。",
- "keys.vps.aria": "自分の VPS の SSH config エイリアス",
"usage.title": "使用状況",
"planUsage.title": "プランの使用状況",
"planUsage.subtitle": "サインイン済みプロバイダーごとの残り利用枠です。プランに応じて、5 時間枠と週間枠を表示します。",
@@ -7528,7 +7523,6 @@
"devices.route.setUp": "設定する",
"devices.pair.pickOne": "接続方法を 1 つ以上選んでください。",
"devices.pair.done": "完了",
- "devices.reach.wifi": "同じ Wi-Fi で",
"devices.reach.https": "{app} の Web アドレスで",
"devices.reach.relay": "{app} 経由でどこからでも",
"devices.reach.line": "このコンピューターに接続できます: {ways}。",
@@ -7759,9 +7753,6 @@
"devicesPage.detail.version": "バージョン",
"devicesPage.detail.lastSeen": "最終アクセス",
"devicesPage.detail.bots": "ボット",
- "devicesPage.detail.runsBots": "独自のボットがあります",
- "devicesPage.detail.hostsComputer": "ボットが作業できます",
- "devicesPage.detail.reachesBots": "ここのボットと通信します",
"devicesPage.action.copyUpdate": "アップデートコマンドをコピー",
"devicesPage.action.manage": "管理",
"devicesPage.action.removeApps": "アプリを削除",
@@ -8185,5 +8176,12 @@
"skillBurger.pill.running": "実行中… {count}",
"skillBurger.pill.stopped": "停止",
"skillBurger.pill.addPath": "手順を追加",
- "skillBurger.card.madeBy": "{name} が作成"
+ "skillBurger.card.madeBy": "{name} が作成",
+ "settings.nav.phoneConnected": "スマホが接続されています",
+ "settings.nav.phoneNeedsYou": "スマホの対応が必要です",
+ "devices.reach.sameWifi": "同じ Wi-Fi で",
+ "phone.reach.offAdding": "オフ · スマホを追加するとこれらがオンになります",
+ "settings.nav.devicesNeedYou": "デバイスまたはプライベートネットワークの対応が必要です",
+ "settings.nav.phoneConnectedAllClear": "スマホが接続されていて、対応が必要なものはありません",
+ "keys.vps.ownServer": "自分のサーバー (SSH)"
}
diff --git a/src/locales/ko.json b/src/locales/ko.json
index 771ca24923..89d41ec73a 100644
--- a/src/locales/ko.json
+++ b/src/locales/ko.json
@@ -3495,12 +3495,7 @@
"decider.openrouter.error.malformed": "모델이 {app}이 읽을 수 없는 응답을 보냈어요. 다른 모델을 써 보세요.",
"decider.openrouter.error.credits": "OpenRouter 계정의 크레딧이 떨어졌어요. openrouter.ai/credits에서 충전하세요.",
"decider.test.slow": "대화방 판단에 허용되는 1.5초보다 느려서, 대화방이 리더에게 넘어가게 돼요. 더 빠른 모델을 써 보세요.",
- "keys.vps.label": "직접 호스팅하는 VPS",
- "keys.vps.descBefore": "Linux VPS의 SSH 설정 별칭이에요. {app}은 평소 쓰는 SSH 설정과 에이전트를 쓰며, 키나 비밀번호를 저장하지 않아요. 필요한 SSH 별칭 형식은 ",
"keys.vps.descLink": "설정 안내",
- "keys.vps.descAfter": "를 참고하세요.",
- "keys.vps.anyMachine": "SSH로 접속할 수 있고 Docker가 있는 Linux 컴퓨터라면 무엇이든 됩니다. Tailscale 네트워크의 컴퓨터도 가능합니다. 별칭의 HostName에 그 Tailscale 이름을 넣으세요.",
- "keys.vps.aria": "직접 호스팅하는 VPS의 SSH 설정 별칭",
"usage.title": "사용량",
"planUsage.title": "요금제 사용량",
"planUsage.subtitle": "로그인한 각 제공자의 남은 허용량이에요. 요금제에 있으면 5시간 단위와 주간 단위로 보여 줘요.",
@@ -7200,7 +7195,6 @@
"devices.route.setUp": "설정",
"devices.pair.pickOne": "연결 방법을 하나 이상 고르세요.",
"devices.pair.done": "완료",
- "devices.reach.wifi": "같은 Wi-Fi에서",
"devices.reach.https": "{app} 웹 주소로",
"devices.reach.relay": "{app}을 통해 어디서나",
"devices.reach.line": "이 컴퓨터에 연결: {ways}.",
@@ -7432,9 +7426,6 @@
"devicesPage.detail.version": "버전",
"devicesPage.detail.lastSeen": "마지막 접속",
"devicesPage.detail.bots": "봇",
- "devicesPage.detail.runsBots": "자체 봇이 있음",
- "devicesPage.detail.hostsComputer": "봇이 작업할 수 있음",
- "devicesPage.detail.reachesBots": "이곳의 봇과 대화함",
"devicesPage.action.copyUpdate": "업데이트 명령 복사",
"devicesPage.action.manage": "관리",
"devicesPage.action.removeApps": "앱 제거",
@@ -7875,5 +7866,12 @@
"skillBurger.pill.running": "실행 중… {count}",
"skillBurger.pill.stopped": "멈춤",
"skillBurger.pill.addPath": "경로 추가",
- "skillBurger.card.madeBy": "{name}이(가) 만듦"
+ "skillBurger.card.madeBy": "{name}이(가) 만듦",
+ "settings.nav.phoneConnected": "휴대폰이 연결되어 있어요",
+ "settings.nav.phoneNeedsYou": "휴대폰을 확인해야 해요",
+ "devices.reach.sameWifi": "같은 Wi-Fi에서",
+ "phone.reach.offAdding": "꺼짐 · 휴대폰을 추가하면 이 설정이 켜져요",
+ "settings.nav.devicesNeedYou": "기기나 사설 네트워크를 확인해야 해요",
+ "settings.nav.phoneConnectedAllClear": "휴대폰이 연결되어 있고 확인할 것이 없어요",
+ "keys.vps.ownServer": "내 서버 (SSH)"
}
diff --git a/src/locales/pl.json b/src/locales/pl.json
index 77a368374c..d7f5b01845 100644
--- a/src/locales/pl.json
+++ b/src/locales/pl.json
@@ -3220,12 +3220,7 @@
"decider.openrouter.error.malformed": "Model wysłał odpowiedź, której {app} nie mógł odczytać. Wypróbuj inny model.",
"decider.openrouter.error.credits": "Na twoim koncie OpenRouter skończyły się kredyty. Dodaj je na openrouter.ai/credits.",
"decider.test.slow": "To jest wolniejsze niż 1,5 s potrzebne na decyzję w pokoju, więc pokoje wrócą do lidera. Wypróbuj szybszy model.",
- "keys.vps.label": "Samodzielnie hostowany VPS",
- "keys.vps.descBefore": "Alias w konfiguracji SSH dla VPS z Linuksem. {app} używa twojej zwykłej konfiguracji i agenta SSH; nie przechowuje kluczy ani haseł. Zobacz ",
"keys.vps.descLink": "przewodnik konfiguracji",
- "keys.vps.descAfter": " aby poznać wymagany format aliasu SSH.",
- "keys.vps.anyMachine": "Działa każdy komputer z Linuksem i Dockerem dostępny przez SSH, także komputer w Twojej sieci Tailscale: jako HostName aliasu podaj jego nazwę w Tailscale.",
- "keys.vps.aria": "Alias konfiguracji SSH samodzielnie hostowanego VPS",
"usage.title": "Wykorzystanie",
"planUsage.title": "Wykorzystanie planu",
"planUsage.subtitle": "Pozostały limit u każdego zalogowanego dostawcy. Okna 5-godzinne i tygodniowe, jeśli plan je ma.",
@@ -6621,7 +6616,6 @@
"devices.route.setUp": "Skonfiguruj",
"devices.pair.pickOne": "Wybierz co najmniej jeden sposób.",
"devices.pair.done": "Gotowe",
- "devices.reach.wifi": "w tej samej sieci Wi-Fi",
"devices.reach.https": "pod jego adresem internetowym {app}",
"devices.reach.relay": "wszędzie przez {app}",
"devices.reach.line": "Łączy się z tym komputerem {ways}.",
@@ -6854,9 +6848,6 @@
"devicesPage.detail.version": "Wersja",
"devicesPage.detail.lastSeen": "Ostatnia aktywność",
"devicesPage.detail.bots": "Boty",
- "devicesPage.detail.runsBots": "Ma własne boty",
- "devicesPage.detail.hostsComputer": "Boty mogą na nim pracować",
- "devicesPage.detail.reachesBots": "Rozmawia z botami tutaj",
"devicesPage.action.copyUpdate": "Kopiuj polecenie aktualizacji",
"devicesPage.action.manage": "Zarządzaj",
"devicesPage.action.removeApps": "Usuń jego aplikacje",
@@ -7347,5 +7338,12 @@
"skillBurger.pill.running": "Trwa… {count}",
"skillBurger.pill.stopped": "Zatrzymano",
"skillBurger.pill.addPath": "Dodaj ścieżkę",
- "skillBurger.card.madeBy": "Utworzone przez {name}"
+ "skillBurger.card.madeBy": "Utworzone przez {name}",
+ "settings.nav.phoneConnected": "Telefon jest połączony",
+ "settings.nav.phoneNeedsYou": "Telefon wymaga uwagi",
+ "devices.reach.sameWifi": "w tej samej sieci Wi-Fi",
+ "phone.reach.offAdding": "Wyłączone · Dodanie telefonu włącza te opcje",
+ "settings.nav.devicesNeedYou": "Urządzenie lub sieć prywatna wymaga uwagi",
+ "settings.nav.phoneConnectedAllClear": "Telefon jest połączony i nic nie wymaga uwagi",
+ "keys.vps.ownServer": "Własny serwer (SSH)"
}
diff --git a/src/locales/pt-br.json b/src/locales/pt-br.json
index 641873c87d..e029989906 100644
--- a/src/locales/pt-br.json
+++ b/src/locales/pt-br.json
@@ -4108,14 +4108,8 @@
"decider.openrouter.error.malformed": "O modelo enviou uma resposta que o app {app} não conseguiu ler. Tente outro modelo.",
"decider.openrouter.error.credits": "Sua conta do OpenRouter está sem créditos. Adicione mais em openrouter.ai/credits.",
"decider.test.slow": "A resposta demorou mais que o limite de 1,5 s para decisões nos grupos. Nesse caso, o líder responderia no lugar. Tente um modelo mais rápido.",
- "keys.vps.label": "VPS próprio",
- "keys.vps.descBefore": "Apelido na configuração SSH para o VPS Linux. O app {app} usa sua configuração e seu agente SSH habituais; não guarda chaves nem senhas. Veja o ",
"keys.vps.descLink": "guia de configuração",
- "keys.vps.descAfter": " para ver o formato de apelido SSH exigido.",
- "keys.vps.anyMachine": "Funciona qualquer máquina Linux com Docker que você acesse por SSH, inclusive um computador da sua rede Tailscale: use o nome dele no Tailscale como HostName do alias.",
- "keys.vps.aria": "Apelido na configuração SSH do VPS próprio",
"keys.vps.servers.title": "Servidores com nome",
- "keys.vps.servers.hint": "Adicione mais servidores com um nome. Cada bot pode escolher um deles nas próprias configurações de computador; o apelido acima continua sendo o padrão.",
"keys.vps.servers.namePlaceholder": "Laboratório em casa",
"keys.vps.servers.add": "Adicionar",
"keys.vps.servers.removeAria": "Remover {name}",
@@ -10781,7 +10775,6 @@
"devices.route.setUp": "Configurar",
"devices.pair.pickOne": "Escolha pelo menos uma forma de acesso.",
"devices.pair.done": "Concluído",
- "devices.reach.wifi": "no mesmo Wi-Fi",
"devices.reach.https": "pelo endereço web do {app}",
"devices.reach.relay": "de qualquer lugar pelo {app}",
"devices.reach.line": "Chega a este computador {ways}.",
@@ -11066,9 +11059,6 @@
"devicesPage.detail.version": "Versão",
"devicesPage.detail.lastSeen": "Visto por último",
"devicesPage.detail.bots": "Bots",
- "devicesPage.detail.runsBots": "Tem bots próprios",
- "devicesPage.detail.hostsComputer": "Os bots podem trabalhar nele",
- "devicesPage.detail.reachesBots": "Fala com os bots daqui",
"devicesPage.action.copyUpdate": "Copiar comando de atualização",
"devicesPage.action.manage": "Gerenciar",
"devicesPage.action.removeApps": "Remover os apps dele",
@@ -11141,7 +11131,6 @@
"devicesPage.addFlow.cloudLeaves": "As Configurações fecham enquanto você escolhe.",
"devicesPage.addFlow.copyCommand": "Copiar comando",
"devicesPage.addFlow.orType": "Ou digite este código no app",
- "devicesPage.addFlow.serverHow": "Cole um deles em um terminal nessa máquina. Ele precisa do Node.js 24 ou mais novo e mostra um link quando começa.",
"devicesPage.addFlow.serverPrivate": "Só na sua rede privada (Tailscale)",
"devicesPage.addFlow.waitingPhone": "Esperando seu celular…",
"devicesPage.bots.one": "1 bot",
@@ -11149,20 +11138,16 @@
"devicesPage.here.section": "Você está aqui",
"devicesPage.network.allow": "Permitir meus outros computadores",
"devicesPage.network.line.notInstalledFree": "O Tailscale é um app gratuito que conecta seus computadores de forma privada. Instale-o neste computador e entre; esta página confere de novo quando você voltar.",
- "devicesPage.network.line.readyShort": "Este computador está nela como {name}. Seus outros computadores no Tailscale podem se conectar aqui.",
"devicesPage.network.openAdmin": "Abrir o console de administração",
"devicesPage.note.updateReady": "Uma nova versão está pronta",
"devicesPage.status.hub": "Seus outros dispositivos se conectam aqui",
"devicesPage.group.phonesTablets": "Celulares e tablets",
- "devicesPage.addFlow.installBoth": "Instale o {app} e o Tailscale no outro computador",
- "devicesPage.addFlow.installBothLine": "Lá, entre no Tailscale com a mesma conta deste computador. Os dois são gratuitos.",
"devicesPage.bots.oneHere": "1 bot trabalha aqui",
"devicesPage.bots.countHere": "{count} bots trabalham aqui",
"devicesPage.route.sameWifi": "Mesmo Wi-Fi",
"devicesPage.route.anywhere": "De qualquer lugar, pelo {app}",
"devicesPage.route.overInternet": "Pela internet",
"devicesPage.route.secureLogin": "Login seguro (SSH)",
- "devicesPage.status.sshBots": "Bots trabalham nela",
"devicesPage.network.line.signedOut": "Abra o app Tailscale (na barra de menus ou na barra de tarefas), entre e depois escolha Verificar novamente.",
"devicesPage.network.line.needsApproval": "O Tailscale está esperando você aprovar este computador no site dele. Aprove lá e depois escolha Verificar novamente.",
"devicesPage.network.approveIn": "Aprovar no Tailscale",
@@ -11175,8 +11160,6 @@
"devicesPage.addFlow.linkOpens": "O link abre este computador, {host}, na sua rede privada.",
"devicesPage.addGroup.cloudOrServer": "Adicionar um Cloud ou servidor próprio",
"devicesPage.add.cloudAdd": "Adicionar um Cloud",
- "devicesPage.status.homeCloud": "Onde seus bots moram · mantido pelo {app}",
- "devicesPage.status.runBy": "Mantido pelo {app}",
"devicesPage.network.line.unknownWhat": "O Tailscale é um app gratuito que conecta seus computadores de forma privada, onde quer que estejam. Configurar procura por ele neste computador e o liga aqui.",
"devicesPage.network.setUpTailscale": "Configurar o Tailscale",
"devicesPage.bots.oneUses": "1 bot usa este",
@@ -11944,7 +11927,6 @@
"devices.computers.typeCodeOther": "No outro computador, abra Conectar a outro computador no {app} e cole o link que você copiar aqui. Ou digite lá este endereço e este código.",
"devicesPage.addFlow.serverDesktopOther": "Cole o link que ele mostrar em + e depois “Conectar a outro computador”, no app {app}.",
"devicesPage.addFlow.computerPasteOther": "No outro computador, abra o {app}, escolha + e depois Conectar a outro computador, e cole este link.",
- "devicesPage.addFlow.typeInstead": "Não dá para colar? Digite o endereço e o código",
"devicesPage.addFlow.networkWhy": "Outro computador só consegue abrir este pelo Tailscale, uma rede privada gratuita que conecta seus próprios aparelhos.",
"devicesPage.detail.unreachableLine": "Verifique se {name} está ligado e conectado à internet e escolha Tentar novamente.",
"devicesPage.detail.phoneShares": "Compartilha com os bots",
@@ -11956,25 +11938,17 @@
"remote.devices.browserLine": "Este celular pode assistir ao navegador que seus bots usam, com seus logins, e assumir o controle.",
"remote.devices.browserUseAria": "Ver e usar o navegador dos bots a partir de {name}",
"keys.vps.field.name": "Nome",
- "keys.vps.field.sshName": "Nome SSH",
"keys.vps.field.memory": "Memória para cada bot (GB)",
"keys.vps.field.cpus": "Núcleos de processador para cada bot",
- "keys.vps.sshNameLine": "Nome SSH: {alias}",
"keys.vps.limitsLine": "O máximo que o desktop de cada bot pode usar nesta máquina. Em branco, ele recebe {memory} GB e {cpus} núcleos.",
- "devicesPage.note.noWayIn": "Não dá para alcançar: nenhuma forma de acesso está ligada",
"devicesPage.action.turnOnWay": "Ligar uma forma de acesso",
- "devicesPage.action.removeHere": "Remover deste app",
- "devicesPage.action.signOutHint": "Remover deste app o esquece aqui. Desconectar encerra o login que ele usa para alcançar este computador.",
"devicesPage.network.shareSwitch": "Deixar meus outros computadores se conectarem",
- "devicesPage.network.phonesStill": "Os celulares ainda podem alcançar este computador assim.",
- "devicesPage.network.phonesOff": "Desligar para celulares",
"devicesPage.network.short.computersOff": "Seus outros computadores ainda não podem se conectar",
"devicesPage.network.line.onFor": "Este computador está nela como {name}.",
"devicesPage.network.line.magicdns": "Ligue o MagicDNS na página de administração do Tailscale e escolha Verificar de novo, para este computador ganhar um nome próprio lá.",
"devicesPage.network.line.setUpChecks": "Configurar procura o Tailscale neste computador e o liga aqui.",
- "devicesPage.addFlow.cantScan": "Não consegue escanear? Copie o link e abra no celular.",
- "devicesPage.otherPlaces.title": "Celulares pareados com seus outros lugares",
- "devicesPage.otherPlaces.line": "Abre o lugar, para ver ou adicionar os celulares dele",
+ "devicesPage.otherPlaces.title": "Celulares pareados com suas outras Clouds e computadores",
+ "devicesPage.otherPlaces.line": "Abre para ver ou adicionar os celulares dele",
"servers.pairAgainOther": "Este link leva a {found}, não a {name}.",
"devices.reach.privateNetwork": "na sua rede privada",
"phone.reach.footAdding": "Adicionar um celular liga essas opções. Você pode mudá-las aqui.",
@@ -12016,5 +11990,49 @@
"skillBurger.pill.running": "Executando… {count}",
"skillBurger.pill.stopped": "Parado",
"skillBurger.pill.addPath": "Adicionar caminho",
- "skillBurger.card.madeBy": "Feito por {name}"
+ "skillBurger.card.madeBy": "Feito por {name}",
+ "devicesPage.attention.item": "{name}: {status}",
+ "devicesPage.network.turnOff": "Desligar o Tailscale",
+ "devicesPage.network.turnOffHint": "Os celulares deixam de alcançar este computador pelo Tailscale.",
+ "devicesPage.addFlow.installOther": "No outro computador, instale o {app} e o Tailscale",
+ "devicesPage.addFlow.installOtherLine": "Lá, entre no Tailscale com a mesma conta deste computador. Celulares podem usar o Mesmo Wi-Fi, mas outro computador só alcança este pelo Tailscale.",
+ "devicesPage.detail.runsOwnBots": "Roda os próprios bots",
+ "devicesPage.detail.botsWorkOnIt": "Seus bots trabalham nele",
+ "devicesPage.map.legend": "Linha contínua: conectado agora · Tracejada: ausente",
+ "devicesPage.map.servers": "Clouds e servidores",
+ "devicesPage.routeInline.sameWifi": "mesmo Wi-Fi",
+ "devicesPage.routeInline.tailscale": "rede privada",
+ "devicesPage.routeInline.anywhere": "de qualquer lugar, pelo {app}",
+ "devicesPage.routeInline.overInternet": "pela internet",
+ "devicesPage.routeInline.pairedCode": "pareado com um código",
+ "devicesPage.routeInline.secureLogin": "login seguro (SSH)",
+ "settings.nav.phoneConnected": "Um celular está conectado",
+ "settings.nav.phoneNeedsYou": "Um celular precisa de você",
+ "devices.reach.sameWifi": "no mesmo Wi-Fi",
+ "devicesPage.note.noWayOn": "Nenhuma forma de acesso está ligada",
+ "phone.reach.offAdding": "Desligado · Adicionar um celular liga essas opções",
+ "settings.nav.devicesNeedYou": "Um dispositivo ou a rede privada precisa de você",
+ "settings.nav.phoneConnectedAllClear": "Um celular está conectado, e nada precisa de você",
+ "devicesPage.detail.alsoSignedIn": "Também conectado a este computador",
+ "devicesPage.detail.signOutLine": "Isso encerra o login daquele computador aqui; ele vai precisar de um novo código.",
+ "devicesPage.addFlow.sendLinkOther": "Envie para o outro computador, por exemplo por e-mail ou chat.",
+ "devicesPage.addFlow.typeInstead": "Digitar em vez disso",
+ "keys.vps.sshSettingsName": "Nome nas suas configurações de SSH: {alias}",
+ "alwaysOn.macSettingsToCheck": "Ajustes do Mac para verificar",
+ "devicesPage.network.short.onPhonesOnly": "Ligado · seus outros computadores ainda não podem se conectar",
+ "devicesPage.network.line.phonesThrough": "Os telefones podem acessar este computador pelo Tailscale.",
+ "devicesPage.network.line.readyAs": "Seus outros computadores no Tailscale podem se conectar aqui, como {name}.",
+ "devicesPage.status.checkedByBots": "Verificado quando um bot o usa",
+ "devicesPage.status.checkedWhenOpened": "Verificado quando você o abre",
+ "devicesPage.detail.usesBots": "Usa os bots daqui",
+ "devicesPage.addFlow.encryptedNoType": "Este código é criptografado para o seu telefone, então não há nada para digitar. Escaneie-o no app ou copie o link.",
+ "devicesPage.addFlow.serverCommandsLine": "Estes comandos iniciam o {app} naquela máquina. Eles precisam do Node.js 24 ou mais recente; um terminal é a janela onde você digita comandos.",
+ "keys.vps.introBefore": "Um computador Linux com Docker em que você entra por SSH. O {app} usa as configurações de SSH que já estão neste computador e nunca guarda chaves nem senhas. O ",
+ "keys.vps.introAfter": " mostra como nomeá-lo lá.",
+ "keys.vps.tailscaleToo": "Um computador na sua rede Tailscale também funciona: use o nome dele no Tailscale como HostName nas suas configurações de SSH.",
+ "keys.vps.servers.hintPlain": "Adicione mais servidores pelo nome; cada bot pode então escolher um nas próprias configurações. O de cima continua sendo o padrão.",
+ "keys.vps.servers.editIn": "Editar {name} em Dispositivos",
+ "keys.vps.field.sshSettingsName": "Nome nas suas configurações de SSH",
+ "keys.vps.field.inherited": "{value} (padrão)",
+ "keys.vps.ownServer": "Seu próprio servidor (SSH)"
}
diff --git a/src/locales/ru.json b/src/locales/ru.json
index 0e48b42b5c..5bc9904602 100644
--- a/src/locales/ru.json
+++ b/src/locales/ru.json
@@ -3262,12 +3262,7 @@
"decider.openrouter.error.malformed": "Модель прислала ответ, который {app} не смог прочитать. Попробуйте другую модель.",
"decider.openrouter.error.credits": "На аккаунте OpenRouter закончились кредиты. Пополните на openrouter.ai/credits.",
"decider.test.slow": "Эта модель медленнее 1,5 с, которые допускаются на решение в комнате, поэтому комнаты будут переключаться на ведущего. Возьмите модель побыстрее.",
- "keys.vps.label": "Собственный VPS",
- "keys.vps.descBefore": "Алиас из SSH-конфига для Linux VPS. {app} использует ваш обычный SSH-конфиг и агент; ключи и пароли не сохраняются. См. ",
"keys.vps.descLink": "руководство по настройке",
- "keys.vps.descAfter": " для требуемого формата SSH-алиаса.",
- "keys.vps.anyMachine": "Подойдёт любой компьютер на Linux с Docker, доступный по SSH, в том числе компьютер в вашей сети Tailscale: укажите его имя в Tailscale как HostName псевдонима.",
- "keys.vps.aria": "Алиас SSH-конфига для собственного VPS",
"usage.title": "Использование",
"planUsage.title": "Израсходовано по плану",
"planUsage.subtitle": "Оставшийся лимит на каждом подключённом провайдере: 5-часовые и недельные окна, если они есть у этого плана.",
@@ -6682,7 +6677,6 @@
"devices.route.setUp": "Настроить",
"devices.pair.pickOne": "Выберите хотя бы один способ.",
"devices.pair.done": "Готово",
- "devices.reach.wifi": "в той же Wi-Fi",
"devices.reach.https": "по его веб-адресу {app}",
"devices.reach.relay": "откуда угодно через {app}",
"devices.reach.line": "Подключается к этому компьютеру {ways}.",
@@ -6915,9 +6909,6 @@
"devicesPage.detail.version": "Версия",
"devicesPage.detail.lastSeen": "Последняя активность",
"devicesPage.detail.bots": "Боты",
- "devicesPage.detail.runsBots": "Есть свои боты",
- "devicesPage.detail.hostsComputer": "Боты могут на нём работать",
- "devicesPage.detail.reachesBots": "Общается с ботами здесь",
"devicesPage.action.copyUpdate": "Скопировать команду обновления",
"devicesPage.action.manage": "Управлять",
"devicesPage.action.removeApps": "Удалить его приложения",
@@ -7401,5 +7392,12 @@
"skillBurger.pill.running": "Выполняется… {count}",
"skillBurger.pill.stopped": "Остановлено",
"skillBurger.pill.addPath": "Добавить путь",
- "skillBurger.card.madeBy": "Создано: {name}"
+ "skillBurger.card.madeBy": "Создано: {name}",
+ "settings.nav.phoneConnected": "Телефон подключён",
+ "settings.nav.phoneNeedsYou": "Телефону нужно ваше внимание",
+ "devices.reach.sameWifi": "в той же Wi-Fi",
+ "phone.reach.offAdding": "Выкл. · При добавлении телефона они включаются",
+ "settings.nav.devicesNeedYou": "Устройству или частной сети нужно ваше внимание",
+ "settings.nav.phoneConnectedAllClear": "Телефон подключён, и ничего не требует вашего внимания",
+ "keys.vps.ownServer": "Свой сервер (SSH)"
}
diff --git a/src/locales/source-hashes.json b/src/locales/source-hashes.json
index c28dbd3802..7516669f46 100644
--- a/src/locales/source-hashes.json
+++ b/src/locales/source-hashes.json
@@ -893,11 +893,7 @@
"keys.cerebras.desc": "8e7d71e62ed61095edd84a8574efeef7366c6f6af64e6635241322968bab7b95",
"keys.groq.desc": "602a8d7f1eeaf03c10031cf9500654ef68688a790267b1694ffd40fe28e0c727",
"keys.meta.desc": "576109ccd2b56f4f0fc03df6f0d59bc66474a861fb62d269e2510cd648e01955",
- "keys.vps.label": "f2c8c37bfd02c780ca62c6e00791730dd75dff7d64b448f54962bdfb8085610b",
- "keys.vps.descBefore": "a548bf48ae8ee36a309ae05b1a2ddc33b78b9f2f9d3505c1200090712bb5f4e9",
"keys.vps.descLink": "1c00384ac1c557ba0f8af07f68a2beecb528957c3db26d9d4bfe3dafd8fcfde7",
- "keys.vps.descAfter": "acf6265b6097a97e9aa684a27d42516f69ca1c1af6bb984357d5e9ed0ea51ac3",
- "keys.vps.aria": "b6979bc621bf00393e04cceafe629492c15fba10efe5f726841765d7d43846c7",
"usage.title": "8d59829c1e15afe1a7fae93e8e5e32d8511bec5fd598a09f4fea6033b31e8a66",
"usage.bot.empty": "a5580dec31af0c3535d045bfcf97c3379665e1ac24f67fe95ef3819c4fd57bc6",
"usage.bot.unpriced": "d1ab4626ee54f9f122bea709d4a19ee2bb080531f5a255ec7c700f8cc4435c11",
@@ -3291,7 +3287,6 @@
"devices.route.setUp": "4da10f1fbb17cac25e9e78536d4104cb4b2fbbc436dbc37dee5450f22c2accda",
"devices.pair.pickOne": "e6a68ecc4ba0bf569ae56f1a3ef257d866116e991123078b144a77297f07cc58",
"devices.pair.done": "11a6767d5674c7e45f7e00dc525762275b3a48491ad6045427d2609cc496c516",
- "devices.reach.wifi": "f5bdfca1dfbc5620a5b92873bec560014fe330be2c8a67631fa64ed5aae7d276",
"devices.reach.https": "3508183a70b771fba4eed59e3808a985687cb58d7fd59c3c7c64db98692d9eb5",
"devices.reach.relay": "05fad9edf2a227c70d7eed43b5d90ea5135c2485bd79d0113dcad55585f46043",
"devices.reach.line": "652909c754b6b259f276818cab0221d22df26a1387efac182afb05725ec70858",
@@ -3915,7 +3910,6 @@
"composer.queued.stopAndSend": "87c1a8d4e59f78757cd4549151cb0d736016067816c2ff780b121616144f9331",
"composer.queued.stopAndSendAll": "58414c1551260488f933d956477c5fef7a27cbcf9ed1614b688bb81b79fe4350",
"composer.queued.stopAndSendNext": "02338a95dff6690ac551c64e81e1765afc5e69326918bca87ee64b189e074a6e",
- "keys.vps.anyMachine": "b78ee82755fdf61c4b8dd59aa27228597dc91e620dd1b335b4179b2a701b6a45",
"server.cloudComputer.replaced": "6cabc889e6fe9d72729014312e582a0e7b067dc052ce8407e56216c01627c461",
"server.cloudComputer.restarted": "8b12048037f59c3a7c918a3a972f72de37820fae7b5f814d07bcaa7a8721fbcb",
"server.cloudComputer.capped": "bc95d3e9ca8e89f53746d7d7f65cdcd1e5a5178bd3095a5947fd62714a0d9abb",
@@ -4080,7 +4074,6 @@
"chat.handoffExchange.failed": "9205f816010803c4e86ee0b2e43f1b99582f2dc452ac93d7c187e8d1e6686b2f",
"chat.handoffExchange.empty": "f0d5968f615ed7ab11fdf8f17586cfaeb2845eee5757459e804b4e9d663a3588",
"keys.vps.servers.title": "974f60ef932fe181d2037ef79ebddb5c438444e612824616483e43d0db892faa",
- "keys.vps.servers.hint": "cd11a6b1a8e4dea8ce1454b85de2b1bb00787fbac9dcd7753f095a634c3567f9",
"keys.vps.servers.namePlaceholder": "e09a6ae22f0ceaeb4334fa7a74f17aef7865033ef862e87bed8fa69430d67723",
"keys.vps.servers.add": "9fd728c66c9a256b121472dabf32a34317aed01d8427d70ec830289cf23a7cc8",
"keys.vps.servers.removeAria": "e6a3c4a1250a6ad3f10faa22333e5e50a6ba78e5b28a3b26f5743d9f8c7ede93",
@@ -4169,9 +4162,6 @@
"devicesPage.detail.version": "dd167905de0defcaf72de673ee44c07431770d129ccffab286bd2edfdaf62396",
"devicesPage.detail.lastSeen": "21fd79c7de52e1cf63f8cf11f8a0eac6965506e09ba6e406e1f6bf40a3b5ed52",
"devicesPage.detail.bots": "f17c0acbd8e50c780760bb7c6493264736305603acae6f076b1eecb0e26f5118",
- "devicesPage.detail.runsBots": "0e9a358b73dc2abc592e521ca1e35534a1d8b0545575d3179bb8e09dfb251952",
- "devicesPage.detail.hostsComputer": "fb0daff69236c0dc2f7fc9cd9545a7f19335d6b95a2d35e072e6aa61a4284b75",
- "devicesPage.detail.reachesBots": "cb7a0b71dfbfb824f312442a6b1268c78e5ffe12d8b983d2138a6c530b94dde2",
"devicesPage.action.copyUpdate": "4ffe1b0d1c4deac4f5721c95e59a6fe9378f459884a044005cd442082972c422",
"devicesPage.action.manage": "5a23444828db654a0eaef5f81aabe79432871f43f73ea888279b3ee212f98a7b",
"devicesPage.action.removeApps": "1c6c18902c3e39814c1a1c17c29c68af99d9d1f0bea79335f172cbacf55e0166",
@@ -6747,11 +6737,7 @@
"decider.openrouter.error.malformed": "80cc3c2b21803dcb462b5c916d0172fa07232e99715f01bb94286955e26d54a0",
"decider.openrouter.error.credits": "3e56bd881a4bd4f80c1ac80a05fb7db866167254223f9f775e0d062f2df4af46",
"decider.test.slow": "f2fd15ae8d401dc33551137c9f2dc245242aa72ee45b6f2be2548d71635d38fc",
- "keys.vps.label": "f2c8c37bfd02c780ca62c6e00791730dd75dff7d64b448f54962bdfb8085610b",
- "keys.vps.descBefore": "a548bf48ae8ee36a309ae05b1a2ddc33b78b9f2f9d3505c1200090712bb5f4e9",
"keys.vps.descLink": "1c00384ac1c557ba0f8af07f68a2beecb528957c3db26d9d4bfe3dafd8fcfde7",
- "keys.vps.descAfter": "acf6265b6097a97e9aa684a27d42516f69ca1c1af6bb984357d5e9ed0ea51ac3",
- "keys.vps.aria": "b6979bc621bf00393e04cceafe629492c15fba10efe5f726841765d7d43846c7",
"usage.title": "8d59829c1e15afe1a7fae93e8e5e32d8511bec5fd598a09f4fea6033b31e8a66",
"planUsage.title": "eb55e9232d2a7503c819491be60761e99458daf4947df9676c5cc86b653f59f4",
"planUsage.subtitle": "d3f87269691be6a10ae5f88225c67645c9c122df3663de8b4c5abe1acfec6015",
@@ -10163,7 +10149,6 @@
"devices.route.setUp": "4da10f1fbb17cac25e9e78536d4104cb4b2fbbc436dbc37dee5450f22c2accda",
"devices.pair.pickOne": "e6a68ecc4ba0bf569ae56f1a3ef257d866116e991123078b144a77297f07cc58",
"devices.pair.done": "11a6767d5674c7e45f7e00dc525762275b3a48491ad6045427d2609cc496c516",
- "devices.reach.wifi": "f5bdfca1dfbc5620a5b92873bec560014fe330be2c8a67631fa64ed5aae7d276",
"devices.reach.https": "3508183a70b771fba4eed59e3808a985687cb58d7fd59c3c7c64db98692d9eb5",
"devices.reach.relay": "05fad9edf2a227c70d7eed43b5d90ea5135c2485bd79d0113dcad55585f46043",
"devices.reach.line": "652909c754b6b259f276818cab0221d22df26a1387efac182afb05725ec70858",
@@ -10681,7 +10666,6 @@
"composer.queued.stopAndSend": "87c1a8d4e59f78757cd4549151cb0d736016067816c2ff780b121616144f9331",
"composer.queued.stopAndSendAll": "58414c1551260488f933d956477c5fef7a27cbcf9ed1614b688bb81b79fe4350",
"composer.queued.stopAndSendNext": "02338a95dff6690ac551c64e81e1765afc5e69326918bca87ee64b189e074a6e",
- "keys.vps.anyMachine": "b78ee82755fdf61c4b8dd59aa27228597dc91e620dd1b335b4179b2a701b6a45",
"server.cloudComputer.replaced": "6cabc889e6fe9d72729014312e582a0e7b067dc052ce8407e56216c01627c461",
"server.cloudComputer.restarted": "8b12048037f59c3a7c918a3a972f72de37820fae7b5f814d07bcaa7a8721fbcb",
"server.cloudComputer.capped": "bc95d3e9ca8e89f53746d7d7f65cdcd1e5a5178bd3095a5947fd62714a0d9abb",
@@ -10809,9 +10793,6 @@
"devicesPage.detail.version": "dd167905de0defcaf72de673ee44c07431770d129ccffab286bd2edfdaf62396",
"devicesPage.detail.lastSeen": "21fd79c7de52e1cf63f8cf11f8a0eac6965506e09ba6e406e1f6bf40a3b5ed52",
"devicesPage.detail.bots": "f17c0acbd8e50c780760bb7c6493264736305603acae6f076b1eecb0e26f5118",
- "devicesPage.detail.runsBots": "0e9a358b73dc2abc592e521ca1e35534a1d8b0545575d3179bb8e09dfb251952",
- "devicesPage.detail.hostsComputer": "fb0daff69236c0dc2f7fc9cd9545a7f19335d6b95a2d35e072e6aa61a4284b75",
- "devicesPage.detail.reachesBots": "cb7a0b71dfbfb824f312442a6b1268c78e5ffe12d8b983d2138a6c530b94dde2",
"devicesPage.action.copyUpdate": "4ffe1b0d1c4deac4f5721c95e59a6fe9378f459884a044005cd442082972c422",
"devicesPage.action.manage": "5a23444828db654a0eaef5f81aabe79432871f43f73ea888279b3ee212f98a7b",
"devicesPage.action.removeApps": "1c6c18902c3e39814c1a1c17c29c68af99d9d1f0bea79335f172cbacf55e0166",
@@ -11890,11 +11871,7 @@
"keys.cerebras.desc": "8e7d71e62ed61095edd84a8574efeef7366c6f6af64e6635241322968bab7b95",
"keys.groq.desc": "602a8d7f1eeaf03c10031cf9500654ef68688a790267b1694ffd40fe28e0c727",
"keys.meta.desc": "576109ccd2b56f4f0fc03df6f0d59bc66474a861fb62d269e2510cd648e01955",
- "keys.vps.label": "f2c8c37bfd02c780ca62c6e00791730dd75dff7d64b448f54962bdfb8085610b",
- "keys.vps.descBefore": "a548bf48ae8ee36a309ae05b1a2ddc33b78b9f2f9d3505c1200090712bb5f4e9",
"keys.vps.descLink": "1c00384ac1c557ba0f8af07f68a2beecb528957c3db26d9d4bfe3dafd8fcfde7",
- "keys.vps.descAfter": "acf6265b6097a97e9aa684a27d42516f69ca1c1af6bb984357d5e9ed0ea51ac3",
- "keys.vps.aria": "b6979bc621bf00393e04cceafe629492c15fba10efe5f726841765d7d43846c7",
"usage.title": "8d59829c1e15afe1a7fae93e8e5e32d8511bec5fd598a09f4fea6033b31e8a66",
"usage.bot.empty": "a5580dec31af0c3535d045bfcf97c3379665e1ac24f67fe95ef3819c4fd57bc6",
"usage.bot.unpriced": "d1ab4626ee54f9f122bea709d4a19ee2bb080531f5a255ec7c700f8cc4435c11",
@@ -14154,7 +14131,6 @@
"devices.route.setUp": "4da10f1fbb17cac25e9e78536d4104cb4b2fbbc436dbc37dee5450f22c2accda",
"devices.pair.pickOne": "e6a68ecc4ba0bf569ae56f1a3ef257d866116e991123078b144a77297f07cc58",
"devices.pair.done": "11a6767d5674c7e45f7e00dc525762275b3a48491ad6045427d2609cc496c516",
- "devices.reach.wifi": "f5bdfca1dfbc5620a5b92873bec560014fe330be2c8a67631fa64ed5aae7d276",
"devices.reach.https": "3508183a70b771fba4eed59e3808a985687cb58d7fd59c3c7c64db98692d9eb5",
"devices.reach.relay": "05fad9edf2a227c70d7eed43b5d90ea5135c2485bd79d0113dcad55585f46043",
"devices.reach.line": "652909c754b6b259f276818cab0221d22df26a1387efac182afb05725ec70858",
@@ -14738,7 +14714,6 @@
"composer.queued.stopAndSend": "87c1a8d4e59f78757cd4549151cb0d736016067816c2ff780b121616144f9331",
"composer.queued.stopAndSendAll": "58414c1551260488f933d956477c5fef7a27cbcf9ed1614b688bb81b79fe4350",
"composer.queued.stopAndSendNext": "02338a95dff6690ac551c64e81e1765afc5e69326918bca87ee64b189e074a6e",
- "keys.vps.anyMachine": "b78ee82755fdf61c4b8dd59aa27228597dc91e620dd1b335b4179b2a701b6a45",
"server.cloudComputer.replaced": "6cabc889e6fe9d72729014312e582a0e7b067dc052ce8407e56216c01627c461",
"server.cloudComputer.restarted": "8b12048037f59c3a7c918a3a972f72de37820fae7b5f814d07bcaa7a8721fbcb",
"server.cloudComputer.capped": "bc95d3e9ca8e89f53746d7d7f65cdcd1e5a5178bd3095a5947fd62714a0d9abb",
@@ -14856,9 +14831,6 @@
"devicesPage.detail.version": "dd167905de0defcaf72de673ee44c07431770d129ccffab286bd2edfdaf62396",
"devicesPage.detail.lastSeen": "21fd79c7de52e1cf63f8cf11f8a0eac6965506e09ba6e406e1f6bf40a3b5ed52",
"devicesPage.detail.bots": "f17c0acbd8e50c780760bb7c6493264736305603acae6f076b1eecb0e26f5118",
- "devicesPage.detail.runsBots": "0e9a358b73dc2abc592e521ca1e35534a1d8b0545575d3179bb8e09dfb251952",
- "devicesPage.detail.hostsComputer": "fb0daff69236c0dc2f7fc9cd9545a7f19335d6b95a2d35e072e6aa61a4284b75",
- "devicesPage.detail.reachesBots": "cb7a0b71dfbfb824f312442a6b1268c78e5ffe12d8b983d2138a6c530b94dde2",
"devicesPage.action.copyUpdate": "4ffe1b0d1c4deac4f5721c95e59a6fe9378f459884a044005cd442082972c422",
"devicesPage.action.manage": "5a23444828db654a0eaef5f81aabe79432871f43f73ea888279b3ee212f98a7b",
"devicesPage.action.removeApps": "1c6c18902c3e39814c1a1c17c29c68af99d9d1f0bea79335f172cbacf55e0166",
@@ -15937,11 +15909,7 @@
"keys.cerebras.desc": "8e7d71e62ed61095edd84a8574efeef7366c6f6af64e6635241322968bab7b95",
"keys.groq.desc": "602a8d7f1eeaf03c10031cf9500654ef68688a790267b1694ffd40fe28e0c727",
"keys.meta.desc": "576109ccd2b56f4f0fc03df6f0d59bc66474a861fb62d269e2510cd648e01955",
- "keys.vps.label": "f2c8c37bfd02c780ca62c6e00791730dd75dff7d64b448f54962bdfb8085610b",
- "keys.vps.descBefore": "a548bf48ae8ee36a309ae05b1a2ddc33b78b9f2f9d3505c1200090712bb5f4e9",
"keys.vps.descLink": "1c00384ac1c557ba0f8af07f68a2beecb528957c3db26d9d4bfe3dafd8fcfde7",
- "keys.vps.descAfter": "acf6265b6097a97e9aa684a27d42516f69ca1c1af6bb984357d5e9ed0ea51ac3",
- "keys.vps.aria": "b6979bc621bf00393e04cceafe629492c15fba10efe5f726841765d7d43846c7",
"usage.title": "8d59829c1e15afe1a7fae93e8e5e32d8511bec5fd598a09f4fea6033b31e8a66",
"usage.bot.empty": "a5580dec31af0c3535d045bfcf97c3379665e1ac24f67fe95ef3819c4fd57bc6",
"usage.bot.unpriced": "d1ab4626ee54f9f122bea709d4a19ee2bb080531f5a255ec7c700f8cc4435c11",
@@ -18054,7 +18022,6 @@
"devices.route.setUp": "4da10f1fbb17cac25e9e78536d4104cb4b2fbbc436dbc37dee5450f22c2accda",
"devices.pair.pickOne": "e6a68ecc4ba0bf569ae56f1a3ef257d866116e991123078b144a77297f07cc58",
"devices.pair.done": "11a6767d5674c7e45f7e00dc525762275b3a48491ad6045427d2609cc496c516",
- "devices.reach.wifi": "f5bdfca1dfbc5620a5b92873bec560014fe330be2c8a67631fa64ed5aae7d276",
"devices.reach.https": "3508183a70b771fba4eed59e3808a985687cb58d7fd59c3c7c64db98692d9eb5",
"devices.reach.relay": "05fad9edf2a227c70d7eed43b5d90ea5135c2485bd79d0113dcad55585f46043",
"devices.reach.line": "652909c754b6b259f276818cab0221d22df26a1387efac182afb05725ec70858",
@@ -18639,7 +18606,6 @@
"composer.queued.stopAndSend": "87c1a8d4e59f78757cd4549151cb0d736016067816c2ff780b121616144f9331",
"composer.queued.stopAndSendAll": "58414c1551260488f933d956477c5fef7a27cbcf9ed1614b688bb81b79fe4350",
"composer.queued.stopAndSendNext": "02338a95dff6690ac551c64e81e1765afc5e69326918bca87ee64b189e074a6e",
- "keys.vps.anyMachine": "b78ee82755fdf61c4b8dd59aa27228597dc91e620dd1b335b4179b2a701b6a45",
"server.cloudComputer.replaced": "6cabc889e6fe9d72729014312e582a0e7b067dc052ce8407e56216c01627c461",
"server.cloudComputer.restarted": "8b12048037f59c3a7c918a3a972f72de37820fae7b5f814d07bcaa7a8721fbcb",
"server.cloudComputer.capped": "bc95d3e9ca8e89f53746d7d7f65cdcd1e5a5178bd3095a5947fd62714a0d9abb",
@@ -18755,9 +18721,6 @@
"devicesPage.detail.version": "dd167905de0defcaf72de673ee44c07431770d129ccffab286bd2edfdaf62396",
"devicesPage.detail.lastSeen": "21fd79c7de52e1cf63f8cf11f8a0eac6965506e09ba6e406e1f6bf40a3b5ed52",
"devicesPage.detail.bots": "f17c0acbd8e50c780760bb7c6493264736305603acae6f076b1eecb0e26f5118",
- "devicesPage.detail.runsBots": "0e9a358b73dc2abc592e521ca1e35534a1d8b0545575d3179bb8e09dfb251952",
- "devicesPage.detail.hostsComputer": "fb0daff69236c0dc2f7fc9cd9545a7f19335d6b95a2d35e072e6aa61a4284b75",
- "devicesPage.detail.reachesBots": "cb7a0b71dfbfb824f312442a6b1268c78e5ffe12d8b983d2138a6c530b94dde2",
"devicesPage.action.copyUpdate": "4ffe1b0d1c4deac4f5721c95e59a6fe9378f459884a044005cd442082972c422",
"devicesPage.action.manage": "5a23444828db654a0eaef5f81aabe79432871f43f73ea888279b3ee212f98a7b",
"devicesPage.action.removeApps": "1c6c18902c3e39814c1a1c17c29c68af99d9d1f0bea79335f172cbacf55e0166",
@@ -21619,11 +21582,7 @@
"decider.openrouter.error.malformed": "80cc3c2b21803dcb462b5c916d0172fa07232e99715f01bb94286955e26d54a0",
"decider.openrouter.error.credits": "3e56bd881a4bd4f80c1ac80a05fb7db866167254223f9f775e0d062f2df4af46",
"decider.test.slow": "f2fd15ae8d401dc33551137c9f2dc245242aa72ee45b6f2be2548d71635d38fc",
- "keys.vps.label": "f2c8c37bfd02c780ca62c6e00791730dd75dff7d64b448f54962bdfb8085610b",
- "keys.vps.descBefore": "a548bf48ae8ee36a309ae05b1a2ddc33b78b9f2f9d3505c1200090712bb5f4e9",
"keys.vps.descLink": "1c00384ac1c557ba0f8af07f68a2beecb528957c3db26d9d4bfe3dafd8fcfde7",
- "keys.vps.descAfter": "acf6265b6097a97e9aa684a27d42516f69ca1c1af6bb984357d5e9ed0ea51ac3",
- "keys.vps.aria": "b6979bc621bf00393e04cceafe629492c15fba10efe5f726841765d7d43846c7",
"usage.title": "8d59829c1e15afe1a7fae93e8e5e32d8511bec5fd598a09f4fea6033b31e8a66",
"planUsage.title": "eb55e9232d2a7503c819491be60761e99458daf4947df9676c5cc86b653f59f4",
"planUsage.subtitle": "d3f87269691be6a10ae5f88225c67645c9c122df3663de8b4c5abe1acfec6015",
@@ -26346,7 +26305,6 @@
"devices.route.setUp": "4da10f1fbb17cac25e9e78536d4104cb4b2fbbc436dbc37dee5450f22c2accda",
"devices.pair.pickOne": "e6a68ecc4ba0bf569ae56f1a3ef257d866116e991123078b144a77297f07cc58",
"devices.pair.done": "11a6767d5674c7e45f7e00dc525762275b3a48491ad6045427d2609cc496c516",
- "devices.reach.wifi": "f5bdfca1dfbc5620a5b92873bec560014fe330be2c8a67631fa64ed5aae7d276",
"devices.reach.https": "3508183a70b771fba4eed59e3808a985687cb58d7fd59c3c7c64db98692d9eb5",
"devices.reach.relay": "05fad9edf2a227c70d7eed43b5d90ea5135c2485bd79d0113dcad55585f46043",
"devices.reach.line": "652909c754b6b259f276818cab0221d22df26a1387efac182afb05725ec70858",
@@ -26799,7 +26757,6 @@
"composer.queued.stopAndSend": "87c1a8d4e59f78757cd4549151cb0d736016067816c2ff780b121616144f9331",
"composer.queued.stopAndSendAll": "58414c1551260488f933d956477c5fef7a27cbcf9ed1614b688bb81b79fe4350",
"composer.queued.stopAndSendNext": "02338a95dff6690ac551c64e81e1765afc5e69326918bca87ee64b189e074a6e",
- "keys.vps.anyMachine": "b78ee82755fdf61c4b8dd59aa27228597dc91e620dd1b335b4179b2a701b6a45",
"server.cloudComputer.replaced": "6cabc889e6fe9d72729014312e582a0e7b067dc052ce8407e56216c01627c461",
"server.cloudComputer.restarted": "8b12048037f59c3a7c918a3a972f72de37820fae7b5f814d07bcaa7a8721fbcb",
"server.cloudComputer.capped": "bc95d3e9ca8e89f53746d7d7f65cdcd1e5a5178bd3095a5947fd62714a0d9abb",
@@ -26927,9 +26884,6 @@
"devicesPage.detail.version": "dd167905de0defcaf72de673ee44c07431770d129ccffab286bd2edfdaf62396",
"devicesPage.detail.lastSeen": "21fd79c7de52e1cf63f8cf11f8a0eac6965506e09ba6e406e1f6bf40a3b5ed52",
"devicesPage.detail.bots": "f17c0acbd8e50c780760bb7c6493264736305603acae6f076b1eecb0e26f5118",
- "devicesPage.detail.runsBots": "0e9a358b73dc2abc592e521ca1e35534a1d8b0545575d3179bb8e09dfb251952",
- "devicesPage.detail.hostsComputer": "fb0daff69236c0dc2f7fc9cd9545a7f19335d6b95a2d35e072e6aa61a4284b75",
- "devicesPage.detail.reachesBots": "cb7a0b71dfbfb824f312442a6b1268c78e5ffe12d8b983d2138a6c530b94dde2",
"devicesPage.action.copyUpdate": "4ffe1b0d1c4deac4f5721c95e59a6fe9378f459884a044005cd442082972c422",
"devicesPage.action.manage": "5a23444828db654a0eaef5f81aabe79432871f43f73ea888279b3ee212f98a7b",
"devicesPage.action.removeApps": "1c6c18902c3e39814c1a1c17c29c68af99d9d1f0bea79335f172cbacf55e0166",
@@ -30677,11 +30631,7 @@
"decider.openrouter.error.malformed": "80cc3c2b21803dcb462b5c916d0172fa07232e99715f01bb94286955e26d54a0",
"decider.openrouter.error.credits": "3e56bd881a4bd4f80c1ac80a05fb7db866167254223f9f775e0d062f2df4af46",
"decider.test.slow": "f2fd15ae8d401dc33551137c9f2dc245242aa72ee45b6f2be2548d71635d38fc",
- "keys.vps.label": "f2c8c37bfd02c780ca62c6e00791730dd75dff7d64b448f54962bdfb8085610b",
- "keys.vps.descBefore": "a548bf48ae8ee36a309ae05b1a2ddc33b78b9f2f9d3505c1200090712bb5f4e9",
"keys.vps.descLink": "1c00384ac1c557ba0f8af07f68a2beecb528957c3db26d9d4bfe3dafd8fcfde7",
- "keys.vps.descAfter": "acf6265b6097a97e9aa684a27d42516f69ca1c1af6bb984357d5e9ed0ea51ac3",
- "keys.vps.aria": "b6979bc621bf00393e04cceafe629492c15fba10efe5f726841765d7d43846c7",
"usage.title": "8d59829c1e15afe1a7fae93e8e5e32d8511bec5fd598a09f4fea6033b31e8a66",
"planUsage.title": "eb55e9232d2a7503c819491be60761e99458daf4947df9676c5cc86b653f59f4",
"planUsage.subtitle": "d3f87269691be6a10ae5f88225c67645c9c122df3663de8b4c5abe1acfec6015",
@@ -36653,7 +36603,6 @@
"devices.route.setUp": "4da10f1fbb17cac25e9e78536d4104cb4b2fbbc436dbc37dee5450f22c2accda",
"devices.pair.pickOne": "e6a68ecc4ba0bf569ae56f1a3ef257d866116e991123078b144a77297f07cc58",
"devices.pair.done": "11a6767d5674c7e45f7e00dc525762275b3a48491ad6045427d2609cc496c516",
- "devices.reach.wifi": "f5bdfca1dfbc5620a5b92873bec560014fe330be2c8a67631fa64ed5aae7d276",
"devices.reach.https": "3508183a70b771fba4eed59e3808a985687cb58d7fd59c3c7c64db98692d9eb5",
"devices.reach.relay": "05fad9edf2a227c70d7eed43b5d90ea5135c2485bd79d0113dcad55585f46043",
"devices.reach.line": "652909c754b6b259f276818cab0221d22df26a1387efac182afb05725ec70858",
@@ -37551,7 +37500,6 @@
"settings.experimental.usbPhoneTakeover": "831cdc89b2e989e104bbdd7985875e02a7b0b93c5efe095f265832af5f1e130e",
"settings.experimental.usbPhoneTakeoverShort": "888f5cd74903ff3df2d68e1026cf6cb0bafbf8275156c3b1ec0e4133b873fd7a",
"settings.experimental.usbPhoneTakeoverDetail": "5eb3537bc77eb35417bee4ba9fb4acc94c0bd2be31a30a5a8c7f8d6cd5e0395e",
- "keys.vps.anyMachine": "b78ee82755fdf61c4b8dd59aa27228597dc91e620dd1b335b4179b2a701b6a45",
"botPanel.backups.otherSignIn": "2ea67dfafd1ec5e361a2cade739734c56329872f2fe37b4382face4ab0f33738",
"accounts.chatgptSharedSetupNote": "bb146d3438bb503b3a40ef8466827296e1c24b585806e0ae1270561696cf5588",
"computer.android.serverSubtitle": "92bf3cff78cf4fbacb83c5ae4e4da0f17392958bc39714fc22a434a6f1003911",
@@ -38570,7 +38518,6 @@
"twoPlaces.typing": "d50ee391086ed674b71fed0670ce23baed875293149d71a57d37f6fe361dfb09",
"native.lendTray.typing": "5bb860619c3695e8804791c205e27ed08ed8e1f833ed0e63ccb4e8e008471f06",
"keys.vps.servers.title": "974f60ef932fe181d2037ef79ebddb5c438444e612824616483e43d0db892faa",
- "keys.vps.servers.hint": "cd11a6b1a8e4dea8ce1454b85de2b1bb00787fbac9dcd7753f095a634c3567f9",
"keys.vps.servers.namePlaceholder": "e09a6ae22f0ceaeb4334fa7a74f17aef7865033ef862e87bed8fa69430d67723",
"keys.vps.servers.add": "9fd728c66c9a256b121472dabf32a34317aed01d8427d70ec830289cf23a7cc8",
"keys.vps.servers.removeAria": "e6a3c4a1250a6ad3f10faa22333e5e50a6ba78e5b28a3b26f5743d9f8c7ede93",
@@ -38705,9 +38652,6 @@
"devicesPage.detail.version": "dd167905de0defcaf72de673ee44c07431770d129ccffab286bd2edfdaf62396",
"devicesPage.detail.lastSeen": "21fd79c7de52e1cf63f8cf11f8a0eac6965506e09ba6e406e1f6bf40a3b5ed52",
"devicesPage.detail.bots": "f17c0acbd8e50c780760bb7c6493264736305603acae6f076b1eecb0e26f5118",
- "devicesPage.detail.runsBots": "0e9a358b73dc2abc592e521ca1e35534a1d8b0545575d3179bb8e09dfb251952",
- "devicesPage.detail.hostsComputer": "fb0daff69236c0dc2f7fc9cd9545a7f19335d6b95a2d35e072e6aa61a4284b75",
- "devicesPage.detail.reachesBots": "cb7a0b71dfbfb824f312442a6b1268c78e5ffe12d8b983d2138a6c530b94dde2",
"devicesPage.action.copyUpdate": "4ffe1b0d1c4deac4f5721c95e59a6fe9378f459884a044005cd442082972c422",
"devicesPage.action.manage": "5a23444828db654a0eaef5f81aabe79432871f43f73ea888279b3ee212f98a7b",
"devicesPage.action.removeApps": "1c6c18902c3e39814c1a1c17c29c68af99d9d1f0bea79335f172cbacf55e0166",
@@ -40305,11 +40249,7 @@
"decider.test.extractionFailed": "84b5b559c99a81704230f87156b1b5103e60d9aac297b4e8b4286bee4dfd048a",
"decider.master": "03b4257ca5232b663313e3cc1c5e04250ba532fa7867d6a299fb0ad2c3585bd3",
"decider.provider.label": "713069715df44766a39173391eba9e21bbbedf08b9b646fa3c2d4a92f24bbd79",
- "keys.vps.label": "f2c8c37bfd02c780ca62c6e00791730dd75dff7d64b448f54962bdfb8085610b",
- "keys.vps.descBefore": "a548bf48ae8ee36a309ae05b1a2ddc33b78b9f2f9d3505c1200090712bb5f4e9",
"keys.vps.descLink": "1c00384ac1c557ba0f8af07f68a2beecb528957c3db26d9d4bfe3dafd8fcfde7",
- "keys.vps.descAfter": "acf6265b6097a97e9aa684a27d42516f69ca1c1af6bb984357d5e9ed0ea51ac3",
- "keys.vps.aria": "b6979bc621bf00393e04cceafe629492c15fba10efe5f726841765d7d43846c7",
"usage.title": "8d59829c1e15afe1a7fae93e8e5e32d8511bec5fd598a09f4fea6033b31e8a66",
"usage.bot.empty": "a5580dec31af0c3535d045bfcf97c3379665e1ac24f67fe95ef3819c4fd57bc6",
"usage.bot.unpriced": "d1ab4626ee54f9f122bea709d4a19ee2bb080531f5a255ec7c700f8cc4435c11",
@@ -46269,7 +46209,6 @@
"devices.route.setUp": "4da10f1fbb17cac25e9e78536d4104cb4b2fbbc436dbc37dee5450f22c2accda",
"devices.pair.pickOne": "e6a68ecc4ba0bf569ae56f1a3ef257d866116e991123078b144a77297f07cc58",
"devices.pair.done": "11a6767d5674c7e45f7e00dc525762275b3a48491ad6045427d2609cc496c516",
- "devices.reach.wifi": "f5bdfca1dfbc5620a5b92873bec560014fe330be2c8a67631fa64ed5aae7d276",
"devices.reach.https": "3508183a70b771fba4eed59e3808a985687cb58d7fd59c3c7c64db98692d9eb5",
"devices.reach.relay": "05fad9edf2a227c70d7eed43b5d90ea5135c2485bd79d0113dcad55585f46043",
"devices.reach.line": "652909c754b6b259f276818cab0221d22df26a1387efac182afb05725ec70858",
@@ -46726,7 +46665,6 @@
"composer.queued.stopAndSend": "87c1a8d4e59f78757cd4549151cb0d736016067816c2ff780b121616144f9331",
"composer.queued.stopAndSendAll": "58414c1551260488f933d956477c5fef7a27cbcf9ed1614b688bb81b79fe4350",
"composer.queued.stopAndSendNext": "02338a95dff6690ac551c64e81e1765afc5e69326918bca87ee64b189e074a6e",
- "keys.vps.anyMachine": "b78ee82755fdf61c4b8dd59aa27228597dc91e620dd1b335b4179b2a701b6a45",
"server.cloudComputer.replaced": "6cabc889e6fe9d72729014312e582a0e7b067dc052ce8407e56216c01627c461",
"server.cloudComputer.restarted": "8b12048037f59c3a7c918a3a972f72de37820fae7b5f814d07bcaa7a8721fbcb",
"server.cloudComputer.capped": "bc95d3e9ca8e89f53746d7d7f65cdcd1e5a5178bd3095a5947fd62714a0d9abb",
@@ -49146,9 +49084,6 @@
"devicesPage.detail.version": "dd167905de0defcaf72de673ee44c07431770d129ccffab286bd2edfdaf62396",
"devicesPage.detail.lastSeen": "21fd79c7de52e1cf63f8cf11f8a0eac6965506e09ba6e406e1f6bf40a3b5ed52",
"devicesPage.detail.bots": "f17c0acbd8e50c780760bb7c6493264736305603acae6f076b1eecb0e26f5118",
- "devicesPage.detail.runsBots": "0e9a358b73dc2abc592e521ca1e35534a1d8b0545575d3179bb8e09dfb251952",
- "devicesPage.detail.hostsComputer": "fb0daff69236c0dc2f7fc9cd9545a7f19335d6b95a2d35e072e6aa61a4284b75",
- "devicesPage.detail.reachesBots": "cb7a0b71dfbfb824f312442a6b1268c78e5ffe12d8b983d2138a6c530b94dde2",
"devicesPage.action.copyUpdate": "4ffe1b0d1c4deac4f5721c95e59a6fe9378f459884a044005cd442082972c422",
"devicesPage.action.manage": "5a23444828db654a0eaef5f81aabe79432871f43f73ea888279b3ee212f98a7b",
"devicesPage.action.removeApps": "1c6c18902c3e39814c1a1c17c29c68af99d9d1f0bea79335f172cbacf55e0166",
@@ -51081,11 +51016,7 @@
"decider.openrouter.error.malformed": "80cc3c2b21803dcb462b5c916d0172fa07232e99715f01bb94286955e26d54a0",
"decider.openrouter.error.credits": "3e56bd881a4bd4f80c1ac80a05fb7db866167254223f9f775e0d062f2df4af46",
"decider.test.slow": "f2fd15ae8d401dc33551137c9f2dc245242aa72ee45b6f2be2548d71635d38fc",
- "keys.vps.label": "f2c8c37bfd02c780ca62c6e00791730dd75dff7d64b448f54962bdfb8085610b",
- "keys.vps.descBefore": "a548bf48ae8ee36a309ae05b1a2ddc33b78b9f2f9d3505c1200090712bb5f4e9",
"keys.vps.descLink": "1c00384ac1c557ba0f8af07f68a2beecb528957c3db26d9d4bfe3dafd8fcfde7",
- "keys.vps.descAfter": "acf6265b6097a97e9aa684a27d42516f69ca1c1af6bb984357d5e9ed0ea51ac3",
- "keys.vps.aria": "b6979bc621bf00393e04cceafe629492c15fba10efe5f726841765d7d43846c7",
"usage.title": "8d59829c1e15afe1a7fae93e8e5e32d8511bec5fd598a09f4fea6033b31e8a66",
"planUsage.title": "eb55e9232d2a7503c819491be60761e99458daf4947df9676c5cc86b653f59f4",
"planUsage.subtitle": "d3f87269691be6a10ae5f88225c67645c9c122df3663de8b4c5abe1acfec6015",
@@ -58761,7 +58692,6 @@
"devices.route.setUp": "4da10f1fbb17cac25e9e78536d4104cb4b2fbbc436dbc37dee5450f22c2accda",
"devices.pair.pickOne": "e6a68ecc4ba0bf569ae56f1a3ef257d866116e991123078b144a77297f07cc58",
"devices.pair.done": "11a6767d5674c7e45f7e00dc525762275b3a48491ad6045427d2609cc496c516",
- "devices.reach.wifi": "f5bdfca1dfbc5620a5b92873bec560014fe330be2c8a67631fa64ed5aae7d276",
"devices.reach.https": "3508183a70b771fba4eed59e3808a985687cb58d7fd59c3c7c64db98692d9eb5",
"devices.reach.relay": "05fad9edf2a227c70d7eed43b5d90ea5135c2485bd79d0113dcad55585f46043",
"devices.reach.line": "652909c754b6b259f276818cab0221d22df26a1387efac182afb05725ec70858",
@@ -59366,7 +59296,6 @@
"server.threads.posted": "31b437fbd41ce818b378556ddab0c7efb933ccf0d26ecc64cf5ea574adff9f8b",
"chat.peer.viewExchange": "754968620621cbdd1d8ff6cb80df890f32ef8270d2cae2c588e803c19f5c76d7",
"chat.peer.exchangeTitle": "fae710f53d65af25536e037a798b17dad5e103966059816852699abcfdb78e2a",
- "keys.vps.anyMachine": "b78ee82755fdf61c4b8dd59aa27228597dc91e620dd1b335b4179b2a701b6a45",
"botPanel.backups.otherSignIn": "2ea67dfafd1ec5e361a2cade739734c56329872f2fe37b4382face4ab0f33738",
"accounts.chatgptSharedSetupNote": "bb146d3438bb503b3a40ef8466827296e1c24b585806e0ae1270561696cf5588",
"server.cloudComputer.replaced": "6cabc889e6fe9d72729014312e582a0e7b067dc052ce8407e56216c01627c461",
@@ -59596,9 +59525,6 @@
"devicesPage.detail.version": "dd167905de0defcaf72de673ee44c07431770d129ccffab286bd2edfdaf62396",
"devicesPage.detail.lastSeen": "21fd79c7de52e1cf63f8cf11f8a0eac6965506e09ba6e406e1f6bf40a3b5ed52",
"devicesPage.detail.bots": "f17c0acbd8e50c780760bb7c6493264736305603acae6f076b1eecb0e26f5118",
- "devicesPage.detail.runsBots": "0e9a358b73dc2abc592e521ca1e35534a1d8b0545575d3179bb8e09dfb251952",
- "devicesPage.detail.hostsComputer": "fb0daff69236c0dc2f7fc9cd9545a7f19335d6b95a2d35e072e6aa61a4284b75",
- "devicesPage.detail.reachesBots": "cb7a0b71dfbfb824f312442a6b1268c78e5ffe12d8b983d2138a6c530b94dde2",
"devicesPage.action.copyUpdate": "4ffe1b0d1c4deac4f5721c95e59a6fe9378f459884a044005cd442082972c422",
"devicesPage.action.manage": "5a23444828db654a0eaef5f81aabe79432871f43f73ea888279b3ee212f98a7b",
"devicesPage.action.removeApps": "1c6c18902c3e39814c1a1c17c29c68af99d9d1f0bea79335f172cbacf55e0166",
@@ -60916,11 +60842,7 @@
"decider.test.extractionFailed": "84b5b559c99a81704230f87156b1b5103e60d9aac297b4e8b4286bee4dfd048a",
"decider.master": "03b4257ca5232b663313e3cc1c5e04250ba532fa7867d6a299fb0ad2c3585bd3",
"decider.provider.label": "713069715df44766a39173391eba9e21bbbedf08b9b646fa3c2d4a92f24bbd79",
- "keys.vps.label": "f2c8c37bfd02c780ca62c6e00791730dd75dff7d64b448f54962bdfb8085610b",
- "keys.vps.descBefore": "a548bf48ae8ee36a309ae05b1a2ddc33b78b9f2f9d3505c1200090712bb5f4e9",
"keys.vps.descLink": "1c00384ac1c557ba0f8af07f68a2beecb528957c3db26d9d4bfe3dafd8fcfde7",
- "keys.vps.descAfter": "acf6265b6097a97e9aa684a27d42516f69ca1c1af6bb984357d5e9ed0ea51ac3",
- "keys.vps.aria": "b6979bc621bf00393e04cceafe629492c15fba10efe5f726841765d7d43846c7",
"usage.title": "8d59829c1e15afe1a7fae93e8e5e32d8511bec5fd598a09f4fea6033b31e8a66",
"usage.bot.empty": "a5580dec31af0c3535d045bfcf97c3379665e1ac24f67fe95ef3819c4fd57bc6",
"usage.bot.unpriced": "d1ab4626ee54f9f122bea709d4a19ee2bb080531f5a255ec7c700f8cc4435c11",
@@ -63232,7 +63154,6 @@
"devices.route.setUp": "4da10f1fbb17cac25e9e78536d4104cb4b2fbbc436dbc37dee5450f22c2accda",
"devices.pair.pickOne": "e6a68ecc4ba0bf569ae56f1a3ef257d866116e991123078b144a77297f07cc58",
"devices.pair.done": "11a6767d5674c7e45f7e00dc525762275b3a48491ad6045427d2609cc496c516",
- "devices.reach.wifi": "f5bdfca1dfbc5620a5b92873bec560014fe330be2c8a67631fa64ed5aae7d276",
"devices.reach.https": "3508183a70b771fba4eed59e3808a985687cb58d7fd59c3c7c64db98692d9eb5",
"devices.reach.relay": "05fad9edf2a227c70d7eed43b5d90ea5135c2485bd79d0113dcad55585f46043",
"devices.reach.line": "652909c754b6b259f276818cab0221d22df26a1387efac182afb05725ec70858",
@@ -63801,7 +63722,6 @@
"composer.queued.stopAndSend": "87c1a8d4e59f78757cd4549151cb0d736016067816c2ff780b121616144f9331",
"composer.queued.stopAndSendAll": "58414c1551260488f933d956477c5fef7a27cbcf9ed1614b688bb81b79fe4350",
"composer.queued.stopAndSendNext": "02338a95dff6690ac551c64e81e1765afc5e69326918bca87ee64b189e074a6e",
- "keys.vps.anyMachine": "b78ee82755fdf61c4b8dd59aa27228597dc91e620dd1b335b4179b2a701b6a45",
"server.cloudComputer.replaced": "6cabc889e6fe9d72729014312e582a0e7b067dc052ce8407e56216c01627c461",
"server.cloudComputer.restarted": "8b12048037f59c3a7c918a3a972f72de37820fae7b5f814d07bcaa7a8721fbcb",
"server.cloudComputer.capped": "bc95d3e9ca8e89f53746d7d7f65cdcd1e5a5178bd3095a5947fd62714a0d9abb",
@@ -63917,9 +63837,6 @@
"devicesPage.detail.version": "dd167905de0defcaf72de673ee44c07431770d129ccffab286bd2edfdaf62396",
"devicesPage.detail.lastSeen": "21fd79c7de52e1cf63f8cf11f8a0eac6965506e09ba6e406e1f6bf40a3b5ed52",
"devicesPage.detail.bots": "f17c0acbd8e50c780760bb7c6493264736305603acae6f076b1eecb0e26f5118",
- "devicesPage.detail.runsBots": "0e9a358b73dc2abc592e521ca1e35534a1d8b0545575d3179bb8e09dfb251952",
- "devicesPage.detail.hostsComputer": "fb0daff69236c0dc2f7fc9cd9545a7f19335d6b95a2d35e072e6aa61a4284b75",
- "devicesPage.detail.reachesBots": "cb7a0b71dfbfb824f312442a6b1268c78e5ffe12d8b983d2138a6c530b94dde2",
"devicesPage.action.copyUpdate": "4ffe1b0d1c4deac4f5721c95e59a6fe9378f459884a044005cd442082972c422",
"devicesPage.action.manage": "5a23444828db654a0eaef5f81aabe79432871f43f73ea888279b3ee212f98a7b",
"devicesPage.action.removeApps": "1c6c18902c3e39814c1a1c17c29c68af99d9d1f0bea79335f172cbacf55e0166",
@@ -66260,11 +66177,7 @@
"decider.openrouter.error.malformed": "80cc3c2b21803dcb462b5c916d0172fa07232e99715f01bb94286955e26d54a0",
"decider.openrouter.error.credits": "3e56bd881a4bd4f80c1ac80a05fb7db866167254223f9f775e0d062f2df4af46",
"decider.test.slow": "f2fd15ae8d401dc33551137c9f2dc245242aa72ee45b6f2be2548d71635d38fc",
- "keys.vps.label": "f2c8c37bfd02c780ca62c6e00791730dd75dff7d64b448f54962bdfb8085610b",
- "keys.vps.descBefore": "a548bf48ae8ee36a309ae05b1a2ddc33b78b9f2f9d3505c1200090712bb5f4e9",
"keys.vps.descLink": "1c00384ac1c557ba0f8af07f68a2beecb528957c3db26d9d4bfe3dafd8fcfde7",
- "keys.vps.descAfter": "acf6265b6097a97e9aa684a27d42516f69ca1c1af6bb984357d5e9ed0ea51ac3",
- "keys.vps.aria": "b6979bc621bf00393e04cceafe629492c15fba10efe5f726841765d7d43846c7",
"usage.title": "8d59829c1e15afe1a7fae93e8e5e32d8511bec5fd598a09f4fea6033b31e8a66",
"planUsage.title": "eb55e9232d2a7503c819491be60761e99458daf4947df9676c5cc86b653f59f4",
"planUsage.subtitle": "d3f87269691be6a10ae5f88225c67645c9c122df3663de8b4c5abe1acfec6015",
@@ -69411,7 +69324,6 @@
"devices.route.setUp": "4da10f1fbb17cac25e9e78536d4104cb4b2fbbc436dbc37dee5450f22c2accda",
"devices.pair.pickOne": "e6a68ecc4ba0bf569ae56f1a3ef257d866116e991123078b144a77297f07cc58",
"devices.pair.done": "11a6767d5674c7e45f7e00dc525762275b3a48491ad6045427d2609cc496c516",
- "devices.reach.wifi": "f5bdfca1dfbc5620a5b92873bec560014fe330be2c8a67631fa64ed5aae7d276",
"devices.reach.https": "3508183a70b771fba4eed59e3808a985687cb58d7fd59c3c7c64db98692d9eb5",
"devices.reach.relay": "05fad9edf2a227c70d7eed43b5d90ea5135c2485bd79d0113dcad55585f46043",
"devices.reach.line": "652909c754b6b259f276818cab0221d22df26a1387efac182afb05725ec70858",
@@ -69933,7 +69845,6 @@
"composer.queued.stopAndSend": "87c1a8d4e59f78757cd4549151cb0d736016067816c2ff780b121616144f9331",
"composer.queued.stopAndSendAll": "58414c1551260488f933d956477c5fef7a27cbcf9ed1614b688bb81b79fe4350",
"composer.queued.stopAndSendNext": "02338a95dff6690ac551c64e81e1765afc5e69326918bca87ee64b189e074a6e",
- "keys.vps.anyMachine": "b78ee82755fdf61c4b8dd59aa27228597dc91e620dd1b335b4179b2a701b6a45",
"server.cloudComputer.replaced": "6cabc889e6fe9d72729014312e582a0e7b067dc052ce8407e56216c01627c461",
"server.cloudComputer.restarted": "8b12048037f59c3a7c918a3a972f72de37820fae7b5f814d07bcaa7a8721fbcb",
"server.cloudComputer.capped": "bc95d3e9ca8e89f53746d7d7f65cdcd1e5a5178bd3095a5947fd62714a0d9abb",
@@ -70050,9 +69961,6 @@
"devicesPage.detail.version": "dd167905de0defcaf72de673ee44c07431770d129ccffab286bd2edfdaf62396",
"devicesPage.detail.lastSeen": "21fd79c7de52e1cf63f8cf11f8a0eac6965506e09ba6e406e1f6bf40a3b5ed52",
"devicesPage.detail.bots": "f17c0acbd8e50c780760bb7c6493264736305603acae6f076b1eecb0e26f5118",
- "devicesPage.detail.runsBots": "0e9a358b73dc2abc592e521ca1e35534a1d8b0545575d3179bb8e09dfb251952",
- "devicesPage.detail.hostsComputer": "fb0daff69236c0dc2f7fc9cd9545a7f19335d6b95a2d35e072e6aa61a4284b75",
- "devicesPage.detail.reachesBots": "cb7a0b71dfbfb824f312442a6b1268c78e5ffe12d8b983d2138a6c530b94dde2",
"devicesPage.action.copyUpdate": "4ffe1b0d1c4deac4f5721c95e59a6fe9378f459884a044005cd442082972c422",
"devicesPage.action.manage": "5a23444828db654a0eaef5f81aabe79432871f43f73ea888279b3ee212f98a7b",
"devicesPage.action.removeApps": "1c6c18902c3e39814c1a1c17c29c68af99d9d1f0bea79335f172cbacf55e0166",
@@ -72393,11 +72301,7 @@
"decider.openrouter.error.malformed": "80cc3c2b21803dcb462b5c916d0172fa07232e99715f01bb94286955e26d54a0",
"decider.openrouter.error.credits": "3e56bd881a4bd4f80c1ac80a05fb7db866167254223f9f775e0d062f2df4af46",
"decider.test.slow": "f2fd15ae8d401dc33551137c9f2dc245242aa72ee45b6f2be2548d71635d38fc",
- "keys.vps.label": "f2c8c37bfd02c780ca62c6e00791730dd75dff7d64b448f54962bdfb8085610b",
- "keys.vps.descBefore": "a548bf48ae8ee36a309ae05b1a2ddc33b78b9f2f9d3505c1200090712bb5f4e9",
"keys.vps.descLink": "1c00384ac1c557ba0f8af07f68a2beecb528957c3db26d9d4bfe3dafd8fcfde7",
- "keys.vps.descAfter": "acf6265b6097a97e9aa684a27d42516f69ca1c1af6bb984357d5e9ed0ea51ac3",
- "keys.vps.aria": "b6979bc621bf00393e04cceafe629492c15fba10efe5f726841765d7d43846c7",
"usage.title": "8d59829c1e15afe1a7fae93e8e5e32d8511bec5fd598a09f4fea6033b31e8a66",
"planUsage.title": "eb55e9232d2a7503c819491be60761e99458daf4947df9676c5cc86b653f59f4",
"planUsage.subtitle": "d3f87269691be6a10ae5f88225c67645c9c122df3663de8b4c5abe1acfec6015",
@@ -75544,7 +75448,6 @@
"devices.route.setUp": "4da10f1fbb17cac25e9e78536d4104cb4b2fbbc436dbc37dee5450f22c2accda",
"devices.pair.pickOne": "e6a68ecc4ba0bf569ae56f1a3ef257d866116e991123078b144a77297f07cc58",
"devices.pair.done": "11a6767d5674c7e45f7e00dc525762275b3a48491ad6045427d2609cc496c516",
- "devices.reach.wifi": "f5bdfca1dfbc5620a5b92873bec560014fe330be2c8a67631fa64ed5aae7d276",
"devices.reach.https": "3508183a70b771fba4eed59e3808a985687cb58d7fd59c3c7c64db98692d9eb5",
"devices.reach.relay": "05fad9edf2a227c70d7eed43b5d90ea5135c2485bd79d0113dcad55585f46043",
"devices.reach.line": "652909c754b6b259f276818cab0221d22df26a1387efac182afb05725ec70858",
@@ -76066,7 +75969,6 @@
"composer.queued.stopAndSend": "87c1a8d4e59f78757cd4549151cb0d736016067816c2ff780b121616144f9331",
"composer.queued.stopAndSendAll": "58414c1551260488f933d956477c5fef7a27cbcf9ed1614b688bb81b79fe4350",
"composer.queued.stopAndSendNext": "02338a95dff6690ac551c64e81e1765afc5e69326918bca87ee64b189e074a6e",
- "keys.vps.anyMachine": "b78ee82755fdf61c4b8dd59aa27228597dc91e620dd1b335b4179b2a701b6a45",
"server.cloudComputer.replaced": "6cabc889e6fe9d72729014312e582a0e7b067dc052ce8407e56216c01627c461",
"server.cloudComputer.restarted": "8b12048037f59c3a7c918a3a972f72de37820fae7b5f814d07bcaa7a8721fbcb",
"server.cloudComputer.capped": "bc95d3e9ca8e89f53746d7d7f65cdcd1e5a5178bd3095a5947fd62714a0d9abb",
@@ -76183,9 +76085,6 @@
"devicesPage.detail.version": "dd167905de0defcaf72de673ee44c07431770d129ccffab286bd2edfdaf62396",
"devicesPage.detail.lastSeen": "21fd79c7de52e1cf63f8cf11f8a0eac6965506e09ba6e406e1f6bf40a3b5ed52",
"devicesPage.detail.bots": "f17c0acbd8e50c780760bb7c6493264736305603acae6f076b1eecb0e26f5118",
- "devicesPage.detail.runsBots": "0e9a358b73dc2abc592e521ca1e35534a1d8b0545575d3179bb8e09dfb251952",
- "devicesPage.detail.hostsComputer": "fb0daff69236c0dc2f7fc9cd9545a7f19335d6b95a2d35e072e6aa61a4284b75",
- "devicesPage.detail.reachesBots": "cb7a0b71dfbfb824f312442a6b1268c78e5ffe12d8b983d2138a6c530b94dde2",
"devicesPage.action.copyUpdate": "4ffe1b0d1c4deac4f5721c95e59a6fe9378f459884a044005cd442082972c422",
"devicesPage.action.manage": "5a23444828db654a0eaef5f81aabe79432871f43f73ea888279b3ee212f98a7b",
"devicesPage.action.removeApps": "1c6c18902c3e39814c1a1c17c29c68af99d9d1f0bea79335f172cbacf55e0166",
@@ -79006,11 +78905,7 @@
"decider.openrouter.error.malformed": "80cc3c2b21803dcb462b5c916d0172fa07232e99715f01bb94286955e26d54a0",
"decider.openrouter.error.credits": "3e56bd881a4bd4f80c1ac80a05fb7db866167254223f9f775e0d062f2df4af46",
"decider.test.slow": "f2fd15ae8d401dc33551137c9f2dc245242aa72ee45b6f2be2548d71635d38fc",
- "keys.vps.label": "f2c8c37bfd02c780ca62c6e00791730dd75dff7d64b448f54962bdfb8085610b",
- "keys.vps.descBefore": "a548bf48ae8ee36a309ae05b1a2ddc33b78b9f2f9d3505c1200090712bb5f4e9",
"keys.vps.descLink": "1c00384ac1c557ba0f8af07f68a2beecb528957c3db26d9d4bfe3dafd8fcfde7",
- "keys.vps.descAfter": "acf6265b6097a97e9aa684a27d42516f69ca1c1af6bb984357d5e9ed0ea51ac3",
- "keys.vps.aria": "b6979bc621bf00393e04cceafe629492c15fba10efe5f726841765d7d43846c7",
"usage.title": "8d59829c1e15afe1a7fae93e8e5e32d8511bec5fd598a09f4fea6033b31e8a66",
"planUsage.title": "eb55e9232d2a7503c819491be60761e99458daf4947df9676c5cc86b653f59f4",
"planUsage.subtitle": "d3f87269691be6a10ae5f88225c67645c9c122df3663de8b4c5abe1acfec6015",
@@ -82877,7 +82772,6 @@
"devices.route.setUp": "4da10f1fbb17cac25e9e78536d4104cb4b2fbbc436dbc37dee5450f22c2accda",
"devices.pair.pickOne": "e6a68ecc4ba0bf569ae56f1a3ef257d866116e991123078b144a77297f07cc58",
"devices.pair.done": "11a6767d5674c7e45f7e00dc525762275b3a48491ad6045427d2609cc496c516",
- "devices.reach.wifi": "f5bdfca1dfbc5620a5b92873bec560014fe330be2c8a67631fa64ed5aae7d276",
"devices.reach.https": "3508183a70b771fba4eed59e3808a985687cb58d7fd59c3c7c64db98692d9eb5",
"devices.reach.relay": "05fad9edf2a227c70d7eed43b5d90ea5135c2485bd79d0113dcad55585f46043",
"devices.reach.line": "652909c754b6b259f276818cab0221d22df26a1387efac182afb05725ec70858",
@@ -83392,7 +83286,6 @@
"composer.queued.stopAndSend": "87c1a8d4e59f78757cd4549151cb0d736016067816c2ff780b121616144f9331",
"composer.queued.stopAndSendAll": "58414c1551260488f933d956477c5fef7a27cbcf9ed1614b688bb81b79fe4350",
"composer.queued.stopAndSendNext": "02338a95dff6690ac551c64e81e1765afc5e69326918bca87ee64b189e074a6e",
- "keys.vps.anyMachine": "b78ee82755fdf61c4b8dd59aa27228597dc91e620dd1b335b4179b2a701b6a45",
"server.cloudComputer.replaced": "6cabc889e6fe9d72729014312e582a0e7b067dc052ce8407e56216c01627c461",
"server.cloudComputer.restarted": "8b12048037f59c3a7c918a3a972f72de37820fae7b5f814d07bcaa7a8721fbcb",
"server.cloudComputer.capped": "bc95d3e9ca8e89f53746d7d7f65cdcd1e5a5178bd3095a5947fd62714a0d9abb",
@@ -83517,9 +83410,6 @@
"devicesPage.detail.version": "dd167905de0defcaf72de673ee44c07431770d129ccffab286bd2edfdaf62396",
"devicesPage.detail.lastSeen": "21fd79c7de52e1cf63f8cf11f8a0eac6965506e09ba6e406e1f6bf40a3b5ed52",
"devicesPage.detail.bots": "f17c0acbd8e50c780760bb7c6493264736305603acae6f076b1eecb0e26f5118",
- "devicesPage.detail.runsBots": "0e9a358b73dc2abc592e521ca1e35534a1d8b0545575d3179bb8e09dfb251952",
- "devicesPage.detail.hostsComputer": "fb0daff69236c0dc2f7fc9cd9545a7f19335d6b95a2d35e072e6aa61a4284b75",
- "devicesPage.detail.reachesBots": "cb7a0b71dfbfb824f312442a6b1268c78e5ffe12d8b983d2138a6c530b94dde2",
"devicesPage.action.copyUpdate": "4ffe1b0d1c4deac4f5721c95e59a6fe9378f459884a044005cd442082972c422",
"devicesPage.action.manage": "5a23444828db654a0eaef5f81aabe79432871f43f73ea888279b3ee212f98a7b",
"devicesPage.action.removeApps": "1c6c18902c3e39814c1a1c17c29c68af99d9d1f0bea79335f172cbacf55e0166",
@@ -86372,11 +86262,7 @@
"decider.openrouter.error.malformed": "80cc3c2b21803dcb462b5c916d0172fa07232e99715f01bb94286955e26d54a0",
"decider.openrouter.error.credits": "3e56bd881a4bd4f80c1ac80a05fb7db866167254223f9f775e0d062f2df4af46",
"decider.test.slow": "f2fd15ae8d401dc33551137c9f2dc245242aa72ee45b6f2be2548d71635d38fc",
- "keys.vps.label": "f2c8c37bfd02c780ca62c6e00791730dd75dff7d64b448f54962bdfb8085610b",
- "keys.vps.descBefore": "a548bf48ae8ee36a309ae05b1a2ddc33b78b9f2f9d3505c1200090712bb5f4e9",
"keys.vps.descLink": "1c00384ac1c557ba0f8af07f68a2beecb528957c3db26d9d4bfe3dafd8fcfde7",
- "keys.vps.descAfter": "acf6265b6097a97e9aa684a27d42516f69ca1c1af6bb984357d5e9ed0ea51ac3",
- "keys.vps.aria": "b6979bc621bf00393e04cceafe629492c15fba10efe5f726841765d7d43846c7",
"usage.title": "8d59829c1e15afe1a7fae93e8e5e32d8511bec5fd598a09f4fea6033b31e8a66",
"planUsage.title": "eb55e9232d2a7503c819491be60761e99458daf4947df9676c5cc86b653f59f4",
"planUsage.subtitle": "d3f87269691be6a10ae5f88225c67645c9c122df3663de8b4c5abe1acfec6015",
@@ -90269,7 +90155,6 @@
"devices.route.setUp": "4da10f1fbb17cac25e9e78536d4104cb4b2fbbc436dbc37dee5450f22c2accda",
"devices.pair.pickOne": "e6a68ecc4ba0bf569ae56f1a3ef257d866116e991123078b144a77297f07cc58",
"devices.pair.done": "11a6767d5674c7e45f7e00dc525762275b3a48491ad6045427d2609cc496c516",
- "devices.reach.wifi": "f5bdfca1dfbc5620a5b92873bec560014fe330be2c8a67631fa64ed5aae7d276",
"devices.reach.https": "3508183a70b771fba4eed59e3808a985687cb58d7fd59c3c7c64db98692d9eb5",
"devices.reach.relay": "05fad9edf2a227c70d7eed43b5d90ea5135c2485bd79d0113dcad55585f46043",
"devices.reach.line": "652909c754b6b259f276818cab0221d22df26a1387efac182afb05725ec70858",
@@ -90779,7 +90664,6 @@
"composer.queued.stopAndSend": "87c1a8d4e59f78757cd4549151cb0d736016067816c2ff780b121616144f9331",
"composer.queued.stopAndSendAll": "58414c1551260488f933d956477c5fef7a27cbcf9ed1614b688bb81b79fe4350",
"composer.queued.stopAndSendNext": "02338a95dff6690ac551c64e81e1765afc5e69326918bca87ee64b189e074a6e",
- "keys.vps.anyMachine": "b78ee82755fdf61c4b8dd59aa27228597dc91e620dd1b335b4179b2a701b6a45",
"server.cloudComputer.replaced": "6cabc889e6fe9d72729014312e582a0e7b067dc052ce8407e56216c01627c461",
"server.cloudComputer.restarted": "8b12048037f59c3a7c918a3a972f72de37820fae7b5f814d07bcaa7a8721fbcb",
"server.cloudComputer.capped": "bc95d3e9ca8e89f53746d7d7f65cdcd1e5a5178bd3095a5947fd62714a0d9abb",
@@ -90905,9 +90789,6 @@
"devicesPage.detail.version": "dd167905de0defcaf72de673ee44c07431770d129ccffab286bd2edfdaf62396",
"devicesPage.detail.lastSeen": "21fd79c7de52e1cf63f8cf11f8a0eac6965506e09ba6e406e1f6bf40a3b5ed52",
"devicesPage.detail.bots": "f17c0acbd8e50c780760bb7c6493264736305603acae6f076b1eecb0e26f5118",
- "devicesPage.detail.runsBots": "0e9a358b73dc2abc592e521ca1e35534a1d8b0545575d3179bb8e09dfb251952",
- "devicesPage.detail.hostsComputer": "fb0daff69236c0dc2f7fc9cd9545a7f19335d6b95a2d35e072e6aa61a4284b75",
- "devicesPage.detail.reachesBots": "cb7a0b71dfbfb824f312442a6b1268c78e5ffe12d8b983d2138a6c530b94dde2",
"devicesPage.action.copyUpdate": "4ffe1b0d1c4deac4f5721c95e59a6fe9378f459884a044005cd442082972c422",
"devicesPage.action.manage": "5a23444828db654a0eaef5f81aabe79432871f43f73ea888279b3ee212f98a7b",
"devicesPage.action.removeApps": "1c6c18902c3e39814c1a1c17c29c68af99d9d1f0bea79335f172cbacf55e0166",
@@ -93693,11 +93574,7 @@
"decider.openrouter.error.malformed": "80cc3c2b21803dcb462b5c916d0172fa07232e99715f01bb94286955e26d54a0",
"decider.openrouter.error.credits": "3e56bd881a4bd4f80c1ac80a05fb7db866167254223f9f775e0d062f2df4af46",
"decider.test.slow": "f2fd15ae8d401dc33551137c9f2dc245242aa72ee45b6f2be2548d71635d38fc",
- "keys.vps.label": "f2c8c37bfd02c780ca62c6e00791730dd75dff7d64b448f54962bdfb8085610b",
- "keys.vps.descBefore": "a548bf48ae8ee36a309ae05b1a2ddc33b78b9f2f9d3505c1200090712bb5f4e9",
"keys.vps.descLink": "1c00384ac1c557ba0f8af07f68a2beecb528957c3db26d9d4bfe3dafd8fcfde7",
- "keys.vps.descAfter": "acf6265b6097a97e9aa684a27d42516f69ca1c1af6bb984357d5e9ed0ea51ac3",
- "keys.vps.aria": "b6979bc621bf00393e04cceafe629492c15fba10efe5f726841765d7d43846c7",
"usage.title": "8d59829c1e15afe1a7fae93e8e5e32d8511bec5fd598a09f4fea6033b31e8a66",
"planUsage.title": "eb55e9232d2a7503c819491be60761e99458daf4947df9676c5cc86b653f59f4",
"planUsage.subtitle": "d3f87269691be6a10ae5f88225c67645c9c122df3663de8b4c5abe1acfec6015",
@@ -97466,7 +97343,6 @@
"devices.route.setUp": "4da10f1fbb17cac25e9e78536d4104cb4b2fbbc436dbc37dee5450f22c2accda",
"devices.pair.pickOne": "e6a68ecc4ba0bf569ae56f1a3ef257d866116e991123078b144a77297f07cc58",
"devices.pair.done": "11a6767d5674c7e45f7e00dc525762275b3a48491ad6045427d2609cc496c516",
- "devices.reach.wifi": "f5bdfca1dfbc5620a5b92873bec560014fe330be2c8a67631fa64ed5aae7d276",
"devices.reach.https": "3508183a70b771fba4eed59e3808a985687cb58d7fd59c3c7c64db98692d9eb5",
"devices.reach.relay": "05fad9edf2a227c70d7eed43b5d90ea5135c2485bd79d0113dcad55585f46043",
"devices.reach.line": "652909c754b6b259f276818cab0221d22df26a1387efac182afb05725ec70858",
@@ -97979,7 +97855,6 @@
"composer.queued.stopAndSend": "87c1a8d4e59f78757cd4549151cb0d736016067816c2ff780b121616144f9331",
"composer.queued.stopAndSendAll": "58414c1551260488f933d956477c5fef7a27cbcf9ed1614b688bb81b79fe4350",
"composer.queued.stopAndSendNext": "02338a95dff6690ac551c64e81e1765afc5e69326918bca87ee64b189e074a6e",
- "keys.vps.anyMachine": "b78ee82755fdf61c4b8dd59aa27228597dc91e620dd1b335b4179b2a701b6a45",
"server.cloudComputer.replaced": "6cabc889e6fe9d72729014312e582a0e7b067dc052ce8407e56216c01627c461",
"server.cloudComputer.restarted": "8b12048037f59c3a7c918a3a972f72de37820fae7b5f814d07bcaa7a8721fbcb",
"server.cloudComputer.capped": "bc95d3e9ca8e89f53746d7d7f65cdcd1e5a5178bd3095a5947fd62714a0d9abb",
@@ -102414,9 +102289,6 @@
"devicesPage.detail.version": "dd167905de0defcaf72de673ee44c07431770d129ccffab286bd2edfdaf62396",
"devicesPage.detail.lastSeen": "21fd79c7de52e1cf63f8cf11f8a0eac6965506e09ba6e406e1f6bf40a3b5ed52",
"devicesPage.detail.bots": "f17c0acbd8e50c780760bb7c6493264736305603acae6f076b1eecb0e26f5118",
- "devicesPage.detail.runsBots": "0e9a358b73dc2abc592e521ca1e35534a1d8b0545575d3179bb8e09dfb251952",
- "devicesPage.detail.hostsComputer": "fb0daff69236c0dc2f7fc9cd9545a7f19335d6b95a2d35e072e6aa61a4284b75",
- "devicesPage.detail.reachesBots": "cb7a0b71dfbfb824f312442a6b1268c78e5ffe12d8b983d2138a6c530b94dde2",
"devicesPage.action.copyUpdate": "4ffe1b0d1c4deac4f5721c95e59a6fe9378f459884a044005cd442082972c422",
"devicesPage.action.manage": "5a23444828db654a0eaef5f81aabe79432871f43f73ea888279b3ee212f98a7b",
"devicesPage.action.removeApps": "1c6c18902c3e39814c1a1c17c29c68af99d9d1f0bea79335f172cbacf55e0166",
@@ -102547,7 +102419,6 @@
"engines.antigravity.switchCli": "1d51e25c707e2bf3ba3a5c07de00f49a8c42854c52d1ad20aea35743e6250e0c",
"engines.antigravity.switchCliNote": "c3620dd7b9fa6e9ad0f8d387837001b723af2fa83720a1a0e8ce6e9e52695b04",
"keys.vps.servers.title": "974f60ef932fe181d2037ef79ebddb5c438444e612824616483e43d0db892faa",
- "keys.vps.servers.hint": "cd11a6b1a8e4dea8ce1454b85de2b1bb00787fbac9dcd7753f095a634c3567f9",
"keys.vps.servers.namePlaceholder": "e09a6ae22f0ceaeb4334fa7a74f17aef7865033ef862e87bed8fa69430d67723",
"keys.vps.servers.add": "9fd728c66c9a256b121472dabf32a34317aed01d8427d70ec830289cf23a7cc8",
"keys.vps.servers.removeAria": "e6a3c4a1250a6ad3f10faa22333e5e50a6ba78e5b28a3b26f5743d9f8c7ede93",
@@ -105981,11 +105852,7 @@
"decider.openrouter.error.malformed": "80cc3c2b21803dcb462b5c916d0172fa07232e99715f01bb94286955e26d54a0",
"decider.openrouter.error.credits": "3e56bd881a4bd4f80c1ac80a05fb7db866167254223f9f775e0d062f2df4af46",
"decider.test.slow": "f2fd15ae8d401dc33551137c9f2dc245242aa72ee45b6f2be2548d71635d38fc",
- "keys.vps.label": "f2c8c37bfd02c780ca62c6e00791730dd75dff7d64b448f54962bdfb8085610b",
- "keys.vps.descBefore": "a548bf48ae8ee36a309ae05b1a2ddc33b78b9f2f9d3505c1200090712bb5f4e9",
"keys.vps.descLink": "1c00384ac1c557ba0f8af07f68a2beecb528957c3db26d9d4bfe3dafd8fcfde7",
- "keys.vps.descAfter": "acf6265b6097a97e9aa684a27d42516f69ca1c1af6bb984357d5e9ed0ea51ac3",
- "keys.vps.aria": "b6979bc621bf00393e04cceafe629492c15fba10efe5f726841765d7d43846c7",
"usage.title": "8d59829c1e15afe1a7fae93e8e5e32d8511bec5fd598a09f4fea6033b31e8a66",
"planUsage.title": "eb55e9232d2a7503c819491be60761e99458daf4947df9676c5cc86b653f59f4",
"planUsage.subtitle": "d3f87269691be6a10ae5f88225c67645c9c122df3663de8b4c5abe1acfec6015",
@@ -109951,7 +109818,6 @@
"devices.route.setUp": "4da10f1fbb17cac25e9e78536d4104cb4b2fbbc436dbc37dee5450f22c2accda",
"devices.pair.pickOne": "e6a68ecc4ba0bf569ae56f1a3ef257d866116e991123078b144a77297f07cc58",
"devices.pair.done": "11a6767d5674c7e45f7e00dc525762275b3a48491ad6045427d2609cc496c516",
- "devices.reach.wifi": "f5bdfca1dfbc5620a5b92873bec560014fe330be2c8a67631fa64ed5aae7d276",
"devices.reach.https": "3508183a70b771fba4eed59e3808a985687cb58d7fd59c3c7c64db98692d9eb5",
"devices.reach.relay": "05fad9edf2a227c70d7eed43b5d90ea5135c2485bd79d0113dcad55585f46043",
"devices.reach.line": "652909c754b6b259f276818cab0221d22df26a1387efac182afb05725ec70858",
@@ -110416,7 +110282,6 @@
"composer.queued.stopAndSend": "87c1a8d4e59f78757cd4549151cb0d736016067816c2ff780b121616144f9331",
"composer.queued.stopAndSendAll": "58414c1551260488f933d956477c5fef7a27cbcf9ed1614b688bb81b79fe4350",
"composer.queued.stopAndSendNext": "02338a95dff6690ac551c64e81e1765afc5e69326918bca87ee64b189e074a6e",
- "keys.vps.anyMachine": "b78ee82755fdf61c4b8dd59aa27228597dc91e620dd1b335b4179b2a701b6a45",
"server.cloudComputer.replaced": "6cabc889e6fe9d72729014312e582a0e7b067dc052ce8407e56216c01627c461",
"server.cloudComputer.restarted": "8b12048037f59c3a7c918a3a972f72de37820fae7b5f814d07bcaa7a8721fbcb",
"server.cloudComputer.capped": "bc95d3e9ca8e89f53746d7d7f65cdcd1e5a5178bd3095a5947fd62714a0d9abb",
@@ -110547,9 +110412,6 @@
"devicesPage.detail.version": "dd167905de0defcaf72de673ee44c07431770d129ccffab286bd2edfdaf62396",
"devicesPage.detail.lastSeen": "21fd79c7de52e1cf63f8cf11f8a0eac6965506e09ba6e406e1f6bf40a3b5ed52",
"devicesPage.detail.bots": "f17c0acbd8e50c780760bb7c6493264736305603acae6f076b1eecb0e26f5118",
- "devicesPage.detail.runsBots": "0e9a358b73dc2abc592e521ca1e35534a1d8b0545575d3179bb8e09dfb251952",
- "devicesPage.detail.hostsComputer": "fb0daff69236c0dc2f7fc9cd9545a7f19335d6b95a2d35e072e6aa61a4284b75",
- "devicesPage.detail.reachesBots": "cb7a0b71dfbfb824f312442a6b1268c78e5ffe12d8b983d2138a6c530b94dde2",
"devicesPage.action.copyUpdate": "4ffe1b0d1c4deac4f5721c95e59a6fe9378f459884a044005cd442082972c422",
"devicesPage.action.manage": "5a23444828db654a0eaef5f81aabe79432871f43f73ea888279b3ee212f98a7b",
"devicesPage.action.removeApps": "1c6c18902c3e39814c1a1c17c29c68af99d9d1f0bea79335f172cbacf55e0166",
diff --git a/src/locales/tr.json b/src/locales/tr.json
index 7aebda673f..bc7452fc7f 100644
--- a/src/locales/tr.json
+++ b/src/locales/tr.json
@@ -2628,12 +2628,7 @@
"decider.openrouter.error.malformed": "Model, {app}'un okuyamadığı bir yanıt gönderdi. Başka bir model deneyin.",
"decider.openrouter.error.credits": "OpenRouter hesabınızın kredisi bitti. openrouter.ai/credits adresinden kredi ekleyin.",
"decider.test.slow": "Bu, bir oda kararı için izin verilen 1,5 sn'den daha yavaş; bu durumda odalar lidere geri döner. Daha hızlı bir model deneyin.",
- "keys.vps.label": "Kendi barındırdığınız VPS",
- "keys.vps.descBefore": "Linux VPS için SSH yapılandırma takma adı. {app} normal SSH yapılandırmanızı ve SSH ajanınızı kullanır; anahtarları veya şifreleri saklamaz. Gerekli SSH takma ad biçimi için ",
"keys.vps.descLink": "kurulum kılavuzuna",
- "keys.vps.descAfter": " bakın.",
- "keys.vps.anyMachine": "SSH ile ulaştığınız ve Docker çalıştıran her Linux makinesi olur, Tailscale ağınızdaki bir bilgisayar da: takma adın HostName değerine onun Tailscale adını yazın.",
- "keys.vps.aria": "Kendi barındırdığınız VPS SSH yapılandırma takma adı",
"usage.title": "Kullanım",
"planUsage.title": "Plan kullanımı",
"planUsage.subtitle": "Oturum açılmış her sağlayıcıdaki kalan hak. Planda mevcut olduğunda 5 saatlik ve haftalık pencereler.",
@@ -5409,7 +5404,6 @@
"devices.route.setUp": "Kur",
"devices.pair.pickOne": "En az bir yol seçin.",
"devices.pair.done": "Bitti",
- "devices.reach.wifi": "aynı Wi-Fi'da",
"devices.reach.https": "{app} web adresinden",
"devices.reach.relay": "{app} üzerinden her yerden",
"devices.reach.line": "Bu bilgisayara ulaşır: {ways}.",
@@ -5652,9 +5646,6 @@
"devicesPage.detail.version": "Sürüm",
"devicesPage.detail.lastSeen": "Son görülme",
"devicesPage.detail.bots": "Botlar",
- "devicesPage.detail.runsBots": "Kendi botları var",
- "devicesPage.detail.hostsComputer": "Botlar üzerinde çalışabilir",
- "devicesPage.detail.reachesBots": "Buradaki botlarla konuşur",
"devicesPage.action.copyUpdate": "Güncelleme komutunu kopyala",
"devicesPage.action.manage": "Yönet",
"devicesPage.action.removeApps": "Uygulamalarını kaldır",
@@ -6146,5 +6137,12 @@
"skillBurger.pill.running": "Çalışıyor… {count}",
"skillBurger.pill.stopped": "Durdu",
"skillBurger.pill.addPath": "Yol ekle",
- "skillBurger.card.madeBy": "{name} tarafından yapıldı"
+ "skillBurger.card.madeBy": "{name} tarafından yapıldı",
+ "settings.nav.phoneConnected": "Bir telefon bağlı",
+ "settings.nav.phoneNeedsYou": "Bir telefonun ilgilenmenize ihtiyacı var",
+ "devices.reach.sameWifi": "aynı Wi-Fi'da",
+ "phone.reach.offAdding": "Kapalı · Telefon eklemek bunları açar",
+ "settings.nav.devicesNeedYou": "Bir cihazın veya özel ağın ilgilenmenize ihtiyacı var",
+ "settings.nav.phoneConnectedAllClear": "Bir telefon bağlı ve hiçbir şeyin ilgilenmenize ihtiyacı yok",
+ "keys.vps.ownServer": "Kendi sunucunuz (SSH)"
}
diff --git a/src/locales/uk.json b/src/locales/uk.json
index 0f8ecd827f..38df304cb2 100644
--- a/src/locales/uk.json
+++ b/src/locales/uk.json
@@ -1595,12 +1595,7 @@
"decider.master": "Використовувати швидкі рішення та видобування",
"decider.provider.label": "Інший ключ",
"decider.provider.line": "Або використайте для цих невеликих моделей ключ іншого постачальника.",
- "keys.vps.label": "Власний VPS",
- "keys.vps.descBefore": "Аліас SSH-конфігу для Linux-VPS. {app} використовує ваш звичайний SSH-конфіг і агент; ключі чи паролі він не зберігає. Див. ",
"keys.vps.descLink": "гід налаштування",
- "keys.vps.descAfter": " для потрібної форми SSH-аліаса.",
- "keys.vps.anyMachine": "Підійде будь-який комп'ютер на Linux із Docker, доступний через SSH, зокрема комп'ютер у вашій мережі Tailscale: вкажіть його ім'я в Tailscale як HostName псевдоніма.",
- "keys.vps.aria": "Аліас SSH-конфігу власного VPS",
"usage.title": "Використання",
"usage.bot.empty": "Для цього бота ще не записано використання.",
"usage.bot.unpriced": "Цей провайдер не повідомляє ціну; токени підраховуються.",
@@ -3547,7 +3542,6 @@
"devices.route.setUp": "Налаштувати",
"devices.pair.pickOne": "Виберіть принаймні один спосіб.",
"devices.pair.done": "Готово",
- "devices.reach.wifi": "у тій самій Wi-Fi",
"devices.reach.https": "за його вебадресою {app}",
"devices.reach.relay": "звідусіль через {app}",
"devices.reach.line": "Під'єднується до цього комп'ютера {ways}.",
@@ -3792,9 +3786,6 @@
"devicesPage.detail.version": "Версія",
"devicesPage.detail.lastSeen": "Остання поява",
"devicesPage.detail.bots": "Боти",
- "devicesPage.detail.runsBots": "Має власних ботів",
- "devicesPage.detail.hostsComputer": "Боти можуть на ньому працювати",
- "devicesPage.detail.reachesBots": "Спілкується з ботами тут",
"devicesPage.action.copyUpdate": "Копіювати команду оновлення",
"devicesPage.action.manage": "Керувати",
"devicesPage.action.removeApps": "Видалити його застосунки",
@@ -4331,5 +4322,12 @@
"skillBurger.pill.running": "Виконується… {count}",
"skillBurger.pill.stopped": "Зупинено",
"skillBurger.pill.addPath": "Додати шлях",
- "skillBurger.card.madeBy": "Створено: {name}"
+ "skillBurger.card.madeBy": "Створено: {name}",
+ "settings.nav.phoneConnected": "Телефон під’єднано",
+ "settings.nav.phoneNeedsYou": "Телефону потрібна ваша увага",
+ "devices.reach.sameWifi": "у тій самій Wi-Fi",
+ "phone.reach.offAdding": "Вимк. · Додавання телефона вмикає їх",
+ "settings.nav.devicesNeedYou": "Пристрою або приватній мережі потрібна ваша увага",
+ "settings.nav.phoneConnectedAllClear": "Телефон під’єднано, і ніщо не потребує вашої уваги",
+ "keys.vps.ownServer": "Власний сервер (SSH)"
}
diff --git a/src/locales/vi.json b/src/locales/vi.json
index da02b22203..b3065d4634 100644
--- a/src/locales/vi.json
+++ b/src/locales/vi.json
@@ -2628,12 +2628,7 @@
"decider.openrouter.error.malformed": "Mô hình đã gửi câu trả lời mà {app} không thể đọc. Hãy thử mô hình khác.",
"decider.openrouter.error.credits": "Tài khoản OpenRouter của bạn đã hết số dư. Hãy nạp thêm tại openrouter.ai/credits.",
"decider.test.slow": "Tốc độ phản hồi chậm hơn mức 1.5 giây cần thiết cho phòng, do đó phòng sẽ chuyển về dùng bot trưởng. Hãy thử một mô hình nhanh hơn.",
- "keys.vps.label": "VPS tự quản trị",
- "keys.vps.descBefore": "Bí danh cấu hình SSH cho máy chủ ảo Linux VPS. {app} sử dụng cấu hình SSH và agent thông thường của bạn; ứng dụng không lưu trữ khóa hay mật khẩu. Hãy xem ",
"keys.vps.descLink": "hướng dẫn thiết lập",
- "keys.vps.descAfter": " để biết định dạng bí danh SSH bắt buộc.",
- "keys.vps.anyMachine": "Mọi máy Linux có Docker mà bạn truy cập được qua SSH đều dùng được, kể cả máy trong mạng Tailscale của bạn: dùng tên Tailscale của máy làm HostName cho alias.",
- "keys.vps.aria": "Bí danh cấu hình SSH của VPS tự quản trị",
"usage.title": "Mức sử dụng",
"planUsage.title": "Mức sử dụng gói",
"planUsage.subtitle": "Hạn mức còn lại trên mỗi nhà cung cấp đã đăng nhập. Khung thời gian 5 giờ và hàng tuần, nếu gói đó có áp dụng.",
@@ -5409,7 +5404,6 @@
"devices.route.setUp": "Thiết lập",
"devices.pair.pickOne": "Hãy chọn ít nhất một cách.",
"devices.pair.done": "Xong",
- "devices.reach.wifi": "trên cùng Wi-Fi",
"devices.reach.https": "qua địa chỉ web {app}",
"devices.reach.relay": "ở bất kỳ đâu qua {app}",
"devices.reach.line": "Kết nối tới máy tính này {ways}.",
@@ -5652,9 +5646,6 @@
"devicesPage.detail.version": "Phiên bản",
"devicesPage.detail.lastSeen": "Hoạt động lần cuối",
"devicesPage.detail.bots": "Bot",
- "devicesPage.detail.runsBots": "Có bot riêng",
- "devicesPage.detail.hostsComputer": "Bot có thể làm việc trên máy này",
- "devicesPage.detail.reachesBots": "Trò chuyện với các bot ở đây",
"devicesPage.action.copyUpdate": "Sao chép lệnh cập nhật",
"devicesPage.action.manage": "Quản lý",
"devicesPage.action.removeApps": "Gỡ các ứng dụng của nó",
@@ -6146,5 +6137,12 @@
"skillBurger.pill.running": "Đang chạy… {count}",
"skillBurger.pill.stopped": "Đã dừng",
"skillBurger.pill.addPath": "Thêm nhánh",
- "skillBurger.card.madeBy": "Do {name} tạo"
+ "skillBurger.card.madeBy": "Do {name} tạo",
+ "settings.nav.phoneConnected": "Một điện thoại đang kết nối",
+ "settings.nav.phoneNeedsYou": "Một điện thoại cần bạn",
+ "devices.reach.sameWifi": "trên cùng Wi-Fi",
+ "phone.reach.offAdding": "Tắt · Thêm điện thoại sẽ bật các mục này",
+ "settings.nav.devicesNeedYou": "Một thiết bị hoặc mạng riêng cần bạn",
+ "settings.nav.phoneConnectedAllClear": "Một điện thoại đang kết nối, và không có gì cần bạn",
+ "keys.vps.ownServer": "Máy chủ của riêng bạn (SSH)"
}
diff --git a/src/locales/zh-tw.json b/src/locales/zh-tw.json
index 59a5ea0527..c7cfed257d 100644
--- a/src/locales/zh-tw.json
+++ b/src/locales/zh-tw.json
@@ -3804,12 +3804,7 @@
"decider.openrouter.error.malformed": "模型傳回的回應 {app} 無法讀取。請改用其他模型。",
"decider.openrouter.error.credits": "你的 OpenRouter 帳戶額度已用完。請至 openrouter.ai/credits 儲值。",
"decider.test.slow": "這比聊天室決策可容許的 1.5 秒還慢,聊天室會改由主導者回應。請改用更快的模型。",
- "keys.vps.label": "自架 VPS",
- "keys.vps.descBefore": "Linux VPS 的 SSH 設定別名。{app} 會使用你原本的 SSH 設定與 SSH agent,不會儲存金鑰或密碼。請參閱",
"keys.vps.descLink": "設定指南",
- "keys.vps.descAfter": ",以了解所需的 SSH 別名格式。",
- "keys.vps.anyMachine": "任何可透過 SSH 連線、裝有 Docker 的 Linux 電腦都可以,包括你 Tailscale 網路中的電腦:把它的 Tailscale 名稱填為別名的 HostName。",
- "keys.vps.aria": "自架 VPS 的 SSH 設定別名",
"usage.title": "用量",
"planUsage.title": "方案用量",
"planUsage.subtitle": "每個已登入供應商的剩餘額度。若方案有 5 小時與每週時段限制,也會一併顯示。",
@@ -9614,7 +9609,6 @@
"devices.route.setUp": "設定",
"devices.pair.pickOne": "請至少選擇一種方式。",
"devices.pair.done": "完成",
- "devices.reach.wifi": "在同一個 Wi-Fi 上",
"devices.reach.https": "透過它的 {app} 網址",
"devices.reach.relay": "透過 {app} 隨處",
"devices.reach.line": "可連到這台電腦:{ways}。",
@@ -9998,9 +9992,6 @@
"devicesPage.detail.version": "版本",
"devicesPage.detail.lastSeen": "上次活動",
"devicesPage.detail.bots": "機器人",
- "devicesPage.detail.runsBots": "有自己的機器人",
- "devicesPage.detail.hostsComputer": "機器人可以在上面工作",
- "devicesPage.detail.reachesBots": "與這裡的機器人通訊",
"devicesPage.action.copyUpdate": "複製更新指令",
"devicesPage.action.manage": "管理",
"devicesPage.action.removeApps": "移除它的應用程式",
@@ -10466,5 +10457,12 @@
"skillBurger.pill.running": "執行中… {count}",
"skillBurger.pill.stopped": "已停止",
"skillBurger.pill.addPath": "加入路徑",
- "skillBurger.card.madeBy": "由 {name} 建立"
+ "skillBurger.card.madeBy": "由 {name} 建立",
+ "settings.nav.phoneConnected": "有一部手機已連線",
+ "settings.nav.phoneNeedsYou": "有一部手機需要你處理",
+ "devices.reach.sameWifi": "在同一個 Wi-Fi 上",
+ "phone.reach.offAdding": "已關閉 · 新增手機會開啟這些",
+ "settings.nav.devicesNeedYou": "有裝置或私人網路需要你處理",
+ "settings.nav.phoneConnectedAllClear": "有一部手機已連線,沒有需要你處理的事",
+ "keys.vps.ownServer": "你自己的伺服器 (SSH)"
}
diff --git a/src/locales/zh.json b/src/locales/zh.json
index 860bc043fa..da170c4869 100644
--- a/src/locales/zh.json
+++ b/src/locales/zh.json
@@ -3866,12 +3866,7 @@
"decider.openrouter.error.malformed": "模型返回了 {app} 无法读取的回答。请换一个模型。",
"decider.openrouter.error.credits": "你的 OpenRouter 账户额度已用完。请到 openrouter.ai/credits 充值。",
"decider.test.slow": "这比群组聊天决策允许的 1.5 秒更慢,群组聊天会改为由负责人回应。请换一个更快的模型。",
- "keys.vps.label": "自建 VPS",
- "keys.vps.descBefore": "Linux VPS 的 SSH config 别名。{app} 使用你平时的 SSH 配置和代理,不会保存密钥或密码。所需的别名格式见",
"keys.vps.descLink": "安装指南",
- "keys.vps.descAfter": "。",
- "keys.vps.anyMachine": "任何可通过 SSH 访问、装有 Docker 的 Linux 机器都可以,包括你 Tailscale 网络中的电脑:把它的 Tailscale 名称填为别名的 HostName。",
- "keys.vps.aria": "自建 VPS 的 SSH config 别名",
"usage.title": "用量",
"planUsage.title": "方案用量",
"planUsage.subtitle": "每个已登录提供方的剩余额度;若该方案有 5 小时和每周时间窗,也会显示。",
@@ -8045,7 +8040,6 @@
"devices.route.setUp": "设置",
"devices.pair.pickOne": "请至少选择一种方式。",
"devices.pair.done": "完成",
- "devices.reach.wifi": "在同一 Wi-Fi 上",
"devices.reach.https": "通过它的 {app} 网址",
"devices.reach.relay": "通过 {app} 随处",
"devices.reach.line": "可连到这台电脑:{ways}。",
@@ -8300,9 +8294,6 @@
"devicesPage.detail.version": "版本",
"devicesPage.detail.lastSeen": "上次活动",
"devicesPage.detail.bots": "机器人",
- "devicesPage.detail.runsBots": "有自己的机器人",
- "devicesPage.detail.hostsComputer": "机器人可以在上面工作",
- "devicesPage.detail.reachesBots": "与这里的机器人通信",
"devicesPage.action.copyUpdate": "复制更新命令",
"devicesPage.action.manage": "管理",
"devicesPage.action.removeApps": "移除它的应用",
@@ -10375,5 +10366,12 @@
"skillBurger.pill.running": "运行中… {count}",
"skillBurger.pill.stopped": "已停止",
"skillBurger.pill.addPath": "添加路径",
- "skillBurger.card.madeBy": "由 {name} 创建"
+ "skillBurger.card.madeBy": "由 {name} 创建",
+ "settings.nav.phoneConnected": "有一部手机已连接",
+ "settings.nav.phoneNeedsYou": "有一部手机需要你处理",
+ "devices.reach.sameWifi": "在同一 Wi-Fi 上",
+ "phone.reach.offAdding": "已关闭 · 添加手机会开启这些",
+ "settings.nav.devicesNeedYou": "有设备或私有网络需要你处理",
+ "settings.nav.phoneConnectedAllClear": "有一部手机已连接,没有需要你处理的事",
+ "keys.vps.ownServer": "你自己的服务器 (SSH)"
}