Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
feat(computers): the connect dialog asks only for the address
rubenluetke10-beep33fa1ef3ffad
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/computers/de.json b/jarvis/ui/web/frontend/src/i18n/locales/computers/de.jsonindex d22f452458..42a81dc1c3 100644--- a/jarvis/ui/web/frontend/src/i18n/locales/computers/de.json+++ b/jarvis/ui/web/frontend/src/i18n/locales/computers/de.json@@ -283,7 +283,7 @@"wz_next_ide_body": "Wähle in der Agentic IDE beim Öffnen eines Workspaces „Läuft auf: {computer}“.","wz_open": "{computer} öffnen","cx_title": "Computer verbinden",- "cx_subtitle": "Gib die Adresse ein und wähle, wie {name} sich anmeldet. {name} testet die Verbindung, bevor etwas gespeichert wird.",+ "cx_subtitle": "Gib die Adresse ein. {name} meldet sich mit den SSH-Schlüsseln dieses PCs an oder fragt nach dem, was fehlt, und testet die Verbindung, bevor etwas gespeichert wird.","cx_address": "Server-Adresse","cx_address_hint": "Die IP aus deinem Anbieter-Panel, z. B. 203.0.113.10 – oder füge eine ganze „ssh root@…“-Zeile ein.","cx_login": "Anmeldung",@@ -345,6 +345,15 @@"cx_step_save_warn": "Gespeichert, aber die Nachprüfung meldet den Computer nicht als online.","cx_edit": "Angaben ändern","cx_retry": "Erneut versuchen",- "cx_verified_body": "{name} hat ihn erreicht, sich angemeldet und einen Testbefehl ausgeführt."+ "cx_verified_body": "{name} hat ihn erreicht, sich angemeldet und einen Testbefehl ausgeführt.",+ "cx_auto_hint": "{name} probiert die SSH-Schlüssel, die dieser PC schon benutzt. Öffnet keiner davon den Server, fragt {name} einmal nach dem Passwort.",+ "cx_other_ways": "Andere Anmeldewege",+ "cx_auto_back": "Automatisch (empfohlen)",+ "cx_ask_password": "Keiner der SSH-Schlüssel dieses PCs öffnet den Server. Gib einmal sein Passwort ein: {name} richtet dann seinen eigenen Schlüssel ein und vergisst das Passwort.",+ "cx_key_only_title": "Dieser Server lässt nur bekannte Schlüssel herein",+ "cx_key_only_body": "Führe diese Zeile einmal auf dem Server aus, in der Web-Konsole deines Hosting-Panels oder in einer SSH-Sitzung. Sie trägt den Schlüssel von {name} ein. Dann auf „Erneut versuchen“ drücken.",+ "cx_key_only_line": "Zeile für den Server",+ "cx_key_only_agent": "Oder lass das einen Coding-Agenten auf dem Server erledigen",+ "cx_try_again": "Erneut versuchen"}}diff --git a/jarvis/ui/web/frontend/src/i18n/locales/computers/en.json b/jarvis/ui/web/frontend/src/i18n/locales/computers/en.jsonindex df9ebfe0b5..e25fe5baf5 100644--- a/jarvis/ui/web/frontend/src/i18n/locales/computers/en.json+++ b/jarvis/ui/web/frontend/src/i18n/locales/computers/en.json@@ -283,7 +283,7 @@"wz_next_ide_body": "In the Agentic IDE, choose “Runs on: {computer}” when you open a workspace.","wz_open": "Open {computer}","cx_title": "Connect a computer",- "cx_subtitle": "Enter the address and choose how {name} logs in. {name} tests the connection before it saves anything.",+ "cx_subtitle": "Enter the address. {name} logs in with this PC's SSH keys or asks for what is missing, and tests the connection before it saves anything.","cx_address": "Server address","cx_address_hint": "The IP your provider shows, e.g. 203.0.113.10 — or paste a whole \"ssh root@…\" line.","cx_login": "How to log in",@@ -345,6 +345,15 @@"cx_step_save_warn": "Saved, but the follow-up check did not come back online.","cx_edit": "Change details","cx_retry": "Try again",- "cx_verified_body": "{name} reached it, logged in and ran a test command."+ "cx_verified_body": "{name} reached it, logged in and ran a test command.",+ "cx_auto_hint": "{name} tries the SSH keys this PC already uses. If none of them opens the server, it asks for the password once.",+ "cx_other_ways": "Other ways to log in",+ "cx_auto_back": "Automatic (recommended)",+ "cx_ask_password": "None of this PC's SSH keys opens this server. Enter its password once: {name} then sets up its own key and forgets the password.",+ "cx_key_only_title": "This server only lets in keys it knows",+ "cx_key_only_body": "Run this line once on the server, in your hosting panel's web console or any SSH session. It adds {name}'s key. Then press Try again.",+ "cx_key_only_line": "Line for the server",+ "cx_key_only_agent": "Or let a coding agent on the server do it",+ "cx_try_again": "Try again"}}diff --git a/jarvis/ui/web/frontend/src/i18n/locales/computers/es.json b/jarvis/ui/web/frontend/src/i18n/locales/computers/es.jsonindex b3ae66d234..014bf727b7 100644--- a/jarvis/ui/web/frontend/src/i18n/locales/computers/es.json+++ b/jarvis/ui/web/frontend/src/i18n/locales/computers/es.json@@ -283,7 +283,7 @@"wz_next_ide_body": "En el Agentic IDE, elige «Se ejecuta en: {computer}» al abrir un espacio de trabajo.","wz_open": "Abrir {computer}","cx_title": "Conectar un ordenador",- "cx_subtitle": "Escribe la dirección y elige cómo entra {name}. {name} prueba la conexión antes de guardar nada.",+ "cx_subtitle": "Escribe la dirección. {name} entra con las claves SSH de este PC o te pide lo que falte, y prueba la conexión antes de guardar nada.","cx_address": "Dirección del servidor","cx_address_hint": "La IP que muestra tu proveedor, p. ej. 203.0.113.10, o pega una línea «ssh root@…» completa.","cx_login": "Inicio de sesión",@@ -345,6 +345,15 @@"cx_step_save_warn": "Guardado, pero la comprobación posterior no lo ve en línea.","cx_edit": "Cambiar datos","cx_retry": "Reintentar",- "cx_verified_body": "{name} lo alcanzó, entró y ejecutó un comando de prueba."+ "cx_verified_body": "{name} lo alcanzó, entró y ejecutó un comando de prueba.",+ "cx_auto_hint": "{name} prueba las claves SSH que este PC ya usa. Si ninguna abre el servidor, te pide la contraseña una vez.",+ "cx_other_ways": "Otras formas de entrar",+ "cx_auto_back": "Automático (recomendado)",+ "cx_ask_password": "Ninguna clave SSH de este PC abre el servidor. Escribe su contraseña una vez: {name} crea su propia clave y olvida la contraseña.",+ "cx_key_only_title": "Este servidor solo acepta claves que ya conoce",+ "cx_key_only_body": "Ejecuta esta línea una vez en el servidor, en la consola web de tu proveedor o en cualquier sesión SSH. Añade la clave de {name}. Luego pulsa Reintentar.",+ "cx_key_only_line": "Línea para el servidor",+ "cx_key_only_agent": "O deja que lo haga un agente de código en el servidor",+ "cx_try_again": "Reintentar"}}diff --git a/jarvis/ui/web/frontend/src/lib/computersApi.ts b/jarvis/ui/web/frontend/src/lib/computersApi.tsindex bd124692b8..f785c18f39 100644--- a/jarvis/ui/web/frontend/src/lib/computersApi.ts+++ b/jarvis/ui/web/frontend/src/lib/computersApi.ts@@ -13,6 +13,8 @@ export type ProviderId = string;/** A provider whose API can list and import servers. */export type CloudProviderId = string;export type AuthMethod = "key" | "password" | "private_key";+/** How a connect form asks to log in; "auto" tries this PC's own SSH keys. */+export type LoginMode = AuthMethod | "auto";export type HealthStatus =| "unknown"| "online"@@ -72,6 +74,8 @@ export interface Identity {public_key: string;fingerprint: string;algorithm: string;+ /** One shell line that adds this key to a server's authorized_keys. */+ install_command?: string;}export interface CloudProvider {@@ -130,7 +134,7 @@ export interface AddServerInput {host: string;port: number;username: string;- auth: AuthMethod;+ auth: LoginMode;password?: string;keep_password?: boolean;/** The user's own private key (OpenSSH/PEM text), for ``auth: "private_key"``. */@@ -169,7 +173,11 @@ export type TestKind =| "timeout"| "host_key_changed"| "protocol"- | "bad_key";+ | "bad_key"+ /** "auto" found no key that opens the server; its password would. */+ | "needs_password"+ /** "auto" found no key that opens the server, and it takes no password. */+ | "key_only";/** A connection test that saves nothing. */export interface ConnectionTest {diff --git a/jarvis/ui/web/frontend/src/views/ComputersView.test.tsx b/jarvis/ui/web/frontend/src/views/ComputersView.test.tsxindex 236d31cb6c..43cc0de073 100644--- a/jarvis/ui/web/frontend/src/views/ComputersView.test.tsx+++ b/jarvis/ui/web/frontend/src/views/ComputersView.test.tsx@@ -52,6 +52,7 @@ const IDENTITY = {public_key: "ssh-ed25519 AAAAC3Nza personal-jarvis@desk",fingerprint: "SHA256:abc",algorithm: "ssh-ed25519",+ install_command: "umask 077 && mkdir -p ~/.ssh && echo 'ssh-ed25519 AAAAC3Nza' >> ~/.ssh/authorized_keys",};const VPS: Computer = {@@ -141,7 +142,7 @@ describe("ComputersView", () => {expect(screen.getByTestId("computers-add-first")).toBeTruthy();});- it("connects a server from just its address and password", async () => {+ it("connects a server from nothing but its address", async () => {let rows: Computer[] = [];const calls = installFetch({"GET /api/computers": () => ({ computers: rows }),@@ -167,7 +168,9 @@ describe("ComputersView", () => {expect((connect as HTMLButtonElement).disabled).toBe(true);// A whole "ssh user@host:port" line is understood.fireEvent.change(screen.getByTestId("cx-address"), { target: { value: "ssh [email protected]:2222" } });- fireEvent.change(screen.getByTestId("cx-password"), { target: { value: "hunter2" } });+ // No login question up front: this PC's SSH keys are tried first.+ expect(screen.queryByTestId("cx-password")).toBeNull();+ expect(screen.getByTestId("cx-auto")).toBeTruthy();fireEvent.click(connect);// The check is visible: every step resolves, the machine's facts prove it.@@ -183,9 +186,75 @@ describe("ComputersView", () => {host: "203.0.113.15",port: 2222,username: "admin",- auth: "password",- password: "hunter2",+ auth: "auto",+ });+ });++ it("asks for the password only when no key of this PC opens the server", async () => {+ let rows: Computer[] = [];+ const calls = installFetch({+ "GET /api/computers": () => ({ computers: rows }),+ "GET /api/computers/providers": () => ({ providers: PROVIDERS }),+ "GET /api/computers/identity": () => IDENTITY,+ "POST /api/computers/test": (body) =>+ (body as { auth: string }).auth === "auto"+ ? { ok: false, kind: "needs_password", message: "x", host_fingerprint: null, facts: null, latency_ms: null }+ : { ok: true, kind: null, message: null, host_fingerprint: "SHA256:s", facts: VPS.facts, latency_ms: 9 },+ "POST /api/computers": () => {+ rows = [VPS];+ return VPS;+ },+ });+ renderView();++ fireEvent.click(await screen.findByTestId("computers-add-first"));+ fireEvent.change(await screen.findByTestId("cx-address"), { target: { value: "203.0.113.15" } });+ fireEvent.click(screen.getByTestId("cx-connect"));++ // Back on the form, asking for exactly the one thing missing.+ expect(await screen.findByTestId("cx-ask-password")).toBeTruthy();+ const password = screen.getByTestId("cx-password");+ await waitFor(() => expect(document.activeElement).toBe(password));+ fireEvent.change(password, { target: { value: "hunter2" } });+ fireEvent.click(screen.getByTestId("cx-connect"));++ fireEvent.click(await screen.findByTestId("cx-open"));+ const post = calls.find((c) => c.method === "POST" && c.url === "/api/computers");+ expect(post?.body).toMatchObject({ host: "203.0.113.15", auth: "password", password: "hunter2" });+ });++ it("gives a keys-only server the one line to run, then tries again", async () => {+ let rows: Computer[] = [];+ let attempts = 0;+ const calls = installFetch({+ "GET /api/computers": () => ({ computers: rows }),+ "GET /api/computers/providers": () => ({ providers: PROVIDERS }),+ "GET /api/computers/identity": () => IDENTITY,+ "POST /api/computers/test": () =>+ ++attempts === 1+ ? { ok: false, kind: "key_only", message: "x", host_fingerprint: null, facts: null, latency_ms: null }+ : { ok: true, kind: null, message: null, host_fingerprint: "SHA256:s", facts: VPS.facts, latency_ms: 9 },+ "POST /api/computers": () => {+ rows = [VPS];+ return VPS;+ },});+ renderView();++ fireEvent.click(await screen.findByTestId("computers-add-first"));+ fireEvent.change(await screen.findByTestId("cx-address"), { target: { value: "203.0.113.15" } });+ fireEvent.click(screen.getByTestId("cx-connect"));++ const panel = await screen.findByTestId("cx-key-only");+ expect(panel.textContent).toContain("authorized_keys");+ expect(screen.queryByTestId("cx-password")).toBeNull();+ const retry = screen.getByTestId("cx-connect");+ expect(retry.textContent).toMatch(/Try again/);+ fireEvent.click(retry);++ fireEvent.click(await screen.findByTestId("cx-open"));+ const post = calls.find((c) => c.method === "POST" && c.url === "/api/computers");+ expect(post?.body).toMatchObject({ host: "203.0.113.15", auth: "auto" });});it("takes a pasted agent answer with a key and needs no password", async () => {@@ -257,6 +326,7 @@ describe("ComputersView", () => {fireEvent.click(await screen.findByTestId("computers-add-first"));fireEvent.change(await screen.findByTestId("cx-address"), { target: { value: "192.168.1.20" } });+ fireEvent.click(screen.getByTestId("cx-other-ways"));fireEvent.change(screen.getByTestId("cx-password"), { target: { value: "wrong" } });fireEvent.click(screen.getByTestId("cx-connect"));@@ -270,7 +340,7 @@ describe("ComputersView", () => {expect((screen.getByTestId("cx-password") as HTMLInputElement).value).toBe("wrong");});- it("shows every way in as a visible choice", async () => {+ it("keeps every other way in one click away", async () => {installFetch({"GET /api/computers": () => ({ computers: [] }),"GET /api/computers/providers": () => ({ providers: PROVIDERS }),@@ -281,6 +351,7 @@ describe("ComputersView", () => {fireEvent.click(await screen.findByTestId("computers-add-first"));fireEvent.change(await screen.findByTestId("cx-address"), { target: { value: "192.168.1.20" } });+ fireEvent.click(screen.getByTestId("cx-other-ways"));fireEvent.click(screen.getByTestId("cx-method-key"));expect(screen.getByTestId("cx-private-key")).toBeTruthy();fireEvent.click(screen.getByTestId("cx-key-assistant"));@@ -294,6 +365,10 @@ describe("ComputersView", () => {target: { value: "Done.\nJARVIS-CONNECT [email protected]:22" },});expect(screen.getByTestId("cx-agent").textContent).toMatch(/key is on that computer/);++ // And back to the automatic way.+ fireEvent.click(screen.getByTestId("cx-auto-back"));+ expect(screen.getByTestId("cx-auto")).toBeTruthy();});it("lists a machine, opens it and runs a console command", async () => {diff --git a/jarvis/ui/web/frontend/src/views/computers/ConnectDialog.tsx b/jarvis/ui/web/frontend/src/views/computers/ConnectDialog.tsxindex faf8929342..d6bb3624a9 100644--- a/jarvis/ui/web/frontend/src/views/computers/ConnectDialog.tsx+++ b/jarvis/ui/web/frontend/src/views/computers/ConnectDialog.tsx@@ -1,13 +1,17 @@/**- * "Connect a computer" — one screen, because SSH needs only two things: where- * the server is, and a way in.+ * "Connect a computer" — one screen, and usually one field: the address.** The address box understands a bare IP, user@host, a whole ssh command, a* block with a private key, or the one line our setup instructions end with,- * so the user never splits anything into fields. Below it, the way in is an- * explicit choice of three equal tabs — password, SSH key, or "an agent sets- * it up" — so no method hides behind a text link. Pasting a key or the agent's- * line switches the tab by itself.+ * so the user never splits anything into fields.+ *+ * The way in is automatic by default: the app's own key and the keys this+ * PC's ``ssh`` already uses are tried, and one that works plants the app's key+ * (the user's own key never leaves this PC). Only when none opens the server+ * does the form ask for exactly what is missing — the password once, or, for+ * a keys-only server, one line to run there. Password, a pasted key and the+ * agent route stay reachable under "Other ways to log in"; pasting a key or+ * the agent's line switches there by itself.** "Connect" does not just spin: it opens a visible check (ConnectCheck) that* reaches the server, logs in, runs a test command and only then saves, so a@@ -48,9 +52,11 @@ import { LocalVmStep } from "./wizard/LocalVmStep";import { errorText } from "./wizard/shared";type Screen = { kind: "form" } | { kind: "check" } | { kind: "account"; provider: ProviderInfo } | { kind: "vm" };-type Method = "password" | "ssh_key" | "agent";+type Method = "auto" | "password" | "ssh_key" | "agent";type KeySource = "own" | "assistant";-type Login = "password" | "private_key" | "key";+type Login = "auto" | "password" | "private_key" | "key";+/** What an automatic attempt found missing, shown in the form. */+type Missing = "password" | "key_only" | null;const REACH_FAILURES = new Set(["unreachable", "timeout", "protocol", "host_key_changed"]);@@ -118,7 +124,9 @@ export function ConnectDialog({const [screen, setScreen] = useState<Screen>({ kind: "form" });const assistantName = useEventStore((s) => s.assistantName) || "Jarvis";const [pasted, setPasted] = useState("");- const [method, setMethod] = useState<Method>("password");+ const [method, setMethod] = useState<Method>("auto");+ const [missing, setMissing] = useState<Missing>(null);+ const passwordInput = useRef<HTMLInputElement>(null);const [keySource, setKeySource] = useState<KeySource>("own");const [password, setPassword] = useState("");const [privateKey, setPrivateKey] = useState("");@@ -159,14 +167,35 @@ export function ConnectDialog({}, [pastedKey, detected.fromSetupPrompt]);const login: Login =- method === "password" ? "password" : method === "ssh_key" && keySource === "own" ? "private_key" : "key";+ method === "auto"+ ? "auto"+ : method === "password"+ ? "password"+ : method === "ssh_key" && keySource === "own"+ ? "private_key"+ : "key";const effectiveUser = username.trim() || detected.user || "root";const effectivePort = Number(port) || detected.port || 22;const keyText = pastedKey ?? privateKey;const ready =Boolean(detected.host) &&- (login === "key" || (login === "password" ? password.length > 0 : keyText.trim().length > 0));- const plantsKey = login === "password" && !keepPassword;+ (login === "key" ||+ login === "auto" ||+ (login === "password" ? password.length > 0 : keyText.trim().length > 0));+ const plantsKey = login === "auto" || (login === "password" && !keepPassword);++ // A different server starts over: what one was missing says nothing about the next.+ useEffect(() => {+ setMissing(null);+ }, [detected.host]);+ useEffect(() => {+ if (missing === "password" && method === "password") passwordInput.current?.focus();+ }, [missing, method]);++ const chooseMethod = (next: Method) => {+ setMethod(next);+ setMissing(null);+ };const stepLabels: Record<StepId, string> = {reach: fill(t("computers.cx_step_reach"), {@@ -210,6 +239,13 @@ export function ConnectDialog({// Steps 1-3: a dry-run login that saves and plants nothing.try {const test = await computersApi.test(input);+ if (!test.ok && login === "auto" && (test.kind === "needs_password" || test.kind === "key_only")) {+ // Not a failure to show: the form asks for exactly what is missing.+ setMissing(test.kind === "needs_password" ? "password" : "key_only");+ if (test.kind === "needs_password") setMethod("password");+ setScreen({ kind: "form" });+ return;+ }if (!test.ok) {const note = test.message || t(`computers.cx_fail_${test.kind ?? "protocol"}`);const atReach = !test.kind || REACH_FAILURES.has(test.kind);@@ -392,9 +428,63 @@ export function ConnectDialog({)}</div>+ {method === "auto" && (+ <div className="space-y-3" data-testid="cx-auto">+ {missing === "key_only" ? (+ <div className="space-y-3 rounded-lg border border-border bg-secondary/40 p-4" data-testid="cx-key-only">+ <div className="flex items-center gap-2 text-sm font-medium text-foreground-strong">+ <KeyRound className="h-4 w-4 text-muted-foreground" aria-hidden />+ {t("computers.cx_key_only_title")}+ </div>+ <p className="text-sm text-foreground-secondary">{t("computers.cx_key_only_body")}</p>+ {identity.data?.install_command && (+ <CopyField+ value={identity.data.install_command}+ label={t("computers.cx_key_only_line")}+ copyLabel={t("computers.copy")}+ copiedLabel={t("computers.copied")}+ />+ )}+ <button+ type="button"+ onClick={() => chooseMethod("agent")}+ className="text-xs text-muted-foreground underline-offset-4 hover:text-foreground hover:underline"+ >+ {t("computers.cx_key_only_agent")}+ </button>+ </div>+ ) : (+ <p className="flex items-start gap-2 text-sm text-muted-foreground">+ <KeyRound className="mt-0.5 h-4 w-4 shrink-0" aria-hidden />+ {t("computers.cx_auto_hint")}+ </p>+ )}+ <button+ type="button"+ onClick={() => chooseMethod("password")}+ className="inline-flex items-center gap-1 text-xs text-muted-foreground hover:text-foreground"+ data-testid="cx-other-ways"+ >+ <ChevronDown className="h-3.5 w-3.5" aria-hidden />+ {t("computers.cx_other_ways")}+ </button>+ </div>+ )}++ {method !== "auto" && (<div>- <div className="mb-1.5 text-sm font-medium text-foreground-secondary" id="cx-login-label">- {t("computers.cx_login_title")}+ <div className="mb-1.5 flex items-center justify-between gap-3">+ <div className="text-sm font-medium text-foreground-secondary" id="cx-login-label">+ {t("computers.cx_login_title")}+ </div>+ <button+ type="button"+ onClick={() => chooseMethod("auto")}+ className="text-xs text-muted-foreground underline-offset-4 hover:text-foreground hover:underline"+ data-testid="cx-auto-back"+ >+ {t("computers.cx_auto_back")}+ </button></div><divrole="tablist"@@ -403,21 +493,21 @@ export function ConnectDialog({><MethodTabactive={method === "password"}- onClick={() => setMethod("password")}+ onClick={() => chooseMethod("password")}icon={<Lock />}label={t("computers.cx_method_password")}testId="cx-method-password"/><MethodTabactive={method === "ssh_key"}- onClick={() => setMethod("ssh_key")}+ onClick={() => chooseMethod("ssh_key")}icon={<KeyRound />}label={t("computers.cx_method_key")}testId="cx-method-key"/><MethodTabactive={method === "agent"}- onClick={() => setMethod("agent")}+ onClick={() => chooseMethod("agent")}icon={<SquareTerminal />}label={t("computers.cx_method_agent")}testId="cx-method-agent"@@ -427,8 +517,14 @@ export function ConnectDialog({<div className="mt-4" role="tabpanel">{method === "password" && (<div className="space-y-3">+ {missing === "password" && (+ <p className="rounded-md bg-secondary/60 px-3 py-2.5 text-sm text-foreground-secondary" data-testid="cx-ask-password">+ {t("computers.cx_ask_password")}+ </p>+ )}<Field label={t("computers.cx_password")} hint={t("computers.cx_password_hint")}><input+ ref={passwordInput}type="password"className={cn(inputClass, "h-10")}value={password}@@ -588,6 +684,7 @@ export function ConnectDialog({)}</div></div>+ )}<div><button@@ -634,7 +731,7 @@ export function ConnectDialog({<div><Button type="submit" className="h-10 w-full" disabled={!ready} data-testid="cx-connect"><Plug />- {t("computers.cx_connect")}+ {missing === "key_only" && method === "auto" ? t("computers.cx_try_again") : t("computers.cx_connect")}</Button><p className="mt-2 text-center text-xs text-muted-foreground">{t("computers.cx_connect_hint")}</p></div>