Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Say why Connect to a server stays grey (#4920)
Milind Soni8634d539883f
diff --git a/electron/server-probe.d.mts b/electron/server-probe.d.mtsindex 8575f7fe9e..8ec8a0a6b1 100644--- a/electron/server-probe.d.mts+++ b/electron/server-probe.d.mts@@ -1,6 +1,6 @@import type { ServerInputProblem, ServerTransport } from "./server-address.mjs";-export type ServerProbeProblem = ServerInputProblem | "unreachable" | "dns" | "certificate" | "notMausBot" | "loopback";+export type ServerProbeProblem = ServerInputProblem | "unreachable" | "dns" | "certificate" | "notMausBot" | "loopback" | "localNetwork";export type ServerProbe =| { outcome: "found"; origin: string; label: string; version: string | null; transport: ServerTransport; code: string | null; credential: string | null }| { outcome: "problem"; problem: ServerProbeProblem; host?: string; code?: string; reason?: "refused" | "timeout" };@@ -8,7 +8,7 @@ export type ServerProbe =/** What the Connect sheet's Connect resolves with. */export type ConnectOutcome = { outcome: "connected"; label: string } | Extract<ServerProbe, { outcome: "problem" }>;-export declare function probeServer(input: { address: string; code?: string; fetch: typeof fetch; ownEnvironmentId?: () => Promise<string | null>; timeoutMs?: number }): Promise<ServerProbe>;+export declare function probeServer(input: { address: string; code?: string; fetch: typeof fetch; ownEnvironmentId?: () => Promise<string | null>; timeoutMs?: number; platform?: string }): Promise<ServerProbe>;export declare const CONNECT_PROBLEM_KEYS: Readonly<Record<ServerProbeProblem, `native.connect.${ServerProbeProblem}`>>;diff --git a/electron/server-probe.mjs b/electron/server-probe.mjsindex 2d192891d0..df14ffca56 100644--- a/electron/server-probe.mjs+++ b/electron/server-probe.mjs@@ -20,6 +20,7 @@ export const CONNECT_PROBLEM_KEYS = Object.freeze({certificate: "native.connect.certificate",notMausBot: "native.connect.notMausBot",loopback: "native.connect.loopback",+ localNetwork: "native.connect.localNetwork",});/** Chromium's net errors (Electron 43 `session.fetch`) and Node's (undici) for the same causes. */@@ -51,7 +52,7 @@ async function describe(origin, fetchImpl, timeoutMs) {* certificate, notMausBot, loopback (an address on this computer that is this app's own workspace, or nothing at all).* `ownEnvironmentId()`: this app's own local workspace, so a "this computer" link copied off a server is caught.*/-export async function probeServer({ address, code = "", fetch: fetchImpl, ownEnvironmentId = async () => null, timeoutMs = 6_000 }) {+export async function probeServer({ address, code = "", fetch: fetchImpl, ownEnvironmentId = async () => null, timeoutMs = 6_000, platform = process.platform }) {const parsed = parseServerInput(address, code);if (!parsed.ok) {const { ok: _ok, ...problem } = parsed;@@ -63,7 +64,10 @@ export async function probeServer({ address, code = "", fetch: fetchImpl, ownEnvconst loopback = isLoopbackHost(new URL(origin).hostname);const found = await describe(origin, fetchImpl, timeoutMs);if (!found.ok) {- failure = loopback ? { problem: "loopback", host } : { problem: found.kind === "refused" || found.kind === "timeout" ? "unreachable" : found.kind, host, ...(found.kind === "refused" || found.kind === "timeout" ? { reason: found.kind } : {}) };+ // macOS 15 blocks an app from the local network until the person allows it, and the request then just fails.+ const blockedOnMac = platform === "darwin" && serverTransport(origin) === "private-http" && (found.kind === "unreachable" || found.kind === "timeout");+ failure = loopback ? { problem: "loopback", host } : blockedOnMac ? { problem: "localNetwork", host }+ : { problem: found.kind === "refused" || found.kind === "timeout" ? "unreachable" : found.kind, host, ...(found.kind === "refused" || found.kind === "timeout" ? { reason: found.kind } : {}) };continue;}if (loopback && found.environmentId === await ownEnvironmentId().catch(() => null)) return { outcome: "problem", problem: "loopback", host };diff --git a/electron/server-probe.node-test.mjs b/electron/server-probe.node-test.mjsindex a2794a61c0..4f9b47aa8b 100644--- a/electron/server-probe.node-test.mjs+++ b/electron/server-probe.node-test.mjs@@ -37,6 +37,20 @@ test("failures are sorted into what the person can fix", async () => {assert.deepEqual(await probeServer({ address: "ABCD-EFGH-JKLM", fetch: fakeFetch({}).fetch }), { outcome: "problem", problem: "codeOnly", code: "ABCD-EFGH-JKLM" });});+test("on a Mac, a local address that never answers names the Local Network permission; elsewhere it stays unreachable", async () => {+ const blocked = () => new Error("net::ERR_ADDRESS_UNREACHABLE");+ const silent = () => Object.assign(new Error("The operation was aborted due to timeout"), { name: "TimeoutError" });+ const lan = (error) => fakeFetch({ "http://192.168.1.50:8799": error, "https://192.168.1.50:8799": error }).fetch;+ for (const error of [blocked(), silent()]) {+ assert.deepEqual(await probeServer({ address: "http://192.168.1.50:8799", fetch: lan(error), platform: "darwin" }), { outcome: "problem", problem: "localNetwork", host: "192.168.1.50:8799" });+ assert.equal((await probeServer({ address: "http://192.168.1.50:8799", fetch: lan(error), platform: "linux" })).problem, "unreachable");+ }+ // Refused means the network let the request through: nothing listens on that port.+ assert.equal((await probeServer({ address: "http://192.168.1.50:8799", fetch: fakeFetch({}).fetch, platform: "darwin" })).problem, "unreachable");+ // An https address is not a local-network one.+ assert.equal((await probeServer({ address: "maus.example.com", fetch: fakeFetch({ "https://maus.example.com": blocked() }).fetch, platform: "darwin" })).problem, "unreachable");+});+test("a link to this computer is caught: nothing there, or this app's own workspace", async () => {assert.deepEqual(await probeServer({ address: "http://127.0.0.1:8799/pair#code=ABCD-EFGH-JKLM", fetch: fakeFetch({}).fetch }), { outcome: "problem", problem: "loopback", host: "127.0.0.1:8799" });const own = fakeFetch({ "http://127.0.0.1:18799": () => descriptor("mine") });diff --git a/src/components/PlaceAddSheet.tsx b/src/components/PlaceAddSheet.tsxindex fc3564bf70..748844d311 100644--- a/src/components/PlaceAddSheet.tsx+++ b/src/components/PlaceAddSheet.tsx@@ -34,6 +34,13 @@ function problemText(problem: ServerProbeProblem, host?: string): string {return t(CONNECT_PROBLEM_KEYS[problem] as LocaleKey, { host: host ?? "", example: EXAMPLE_ADDRESS });}+/** The host the person typed, for a line about a check that failed before it could name one. */+function hostOf(address: string, code: string): string | undefined {+ const parsed = parseServerInput(address, code);+ if (parsed.ok && parsed.candidates[0]) return new URL(parsed.candidates[0]).host;+ try { return new URL(/^[a-z][a-z0-9+.-]*:\/\//i.test(address.trim()) ? address.trim() : `http://${address.trim()}`).host || undefined; } catch { return undefined; }+}+const TRANSPORT_KEY = { https: "connect.found.https", tailscale: "connect.found.tailscale", "private-http": "connect.found.privateHttp", loopback: "connect.found.loopback" } as const;/** Connect to a server: a link, or an address with the pairing code typed apart (a code pasted alone is moved to its@@ -45,6 +52,7 @@ export function OwnServerLink({ onBack, onConnected, connect = null, start = nulconst [code, setCode] = useState("");const [movedCode, setMovedCode] = useState(false);const [probe, setProbe] = useState<ServerProbe | null>(null);+ const [probing, setProbing] = useState(false);const [busy, setBusy] = useState(false);const [failure, setFailure] = useState<string | null>(null);const codeField = useRef<HTMLInputElement>(null);@@ -54,10 +62,14 @@ export function OwnServerLink({ onBack, onConnected, connect = null, start = nulconst linkHasCode = parsed.ok && !code.trim() && (parsed.code !== null || parsed.credential !== null);const showCode = movedCode || (address.trim() !== "" && !linkHasCode && !(parsed.ok === false && parsed.problem === "codeOnly"));useEffect(() => {- if (!canProbe || !address.trim()) { setProbe(null); return; }+ if (!canProbe || !address.trim()) { setProbe(null); setProbing(false); return; }let current = true;+ setProbing(true);const timer = window.setTimeout(() => {- void workspaces!.probe!(address, code).then((found) => { if (current) setProbe(found); }).catch(() => { if (current) setProbe(null); });+ void workspaces!.probe!(address, code)+ .then((found) => { if (current) setProbe(found); })+ .catch(() => { if (current) setProbe({ outcome: "problem", problem: "unreachable", host: hostOf(address, code) }); })+ .finally(() => { if (current) setProbing(false); });}, 400);return () => { current = false; window.clearTimeout(timer); };}, [address, code, canProbe, workspaces]);@@ -113,6 +125,9 @@ 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} /></span></label>}{shownProblem && <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")}+ </p>}<div><button type="submit" data-own-server-connect disabled={busy || !address.trim() || (canProbe && !found)} className="ui-button ui-button-primary inline-flex items-center gap-2">{busy && <Loader2 size={14} className="animate-spin" aria-hidden="true" />}{found ? t("connect.to", { name: found.label }) : t("rail.connect")}</button></div>diff --git a/src/components/PlacesRail.test.ts b/src/components/PlacesRail.test.tsindex 7be440318f..aceb162147 100644--- a/src/components/PlacesRail.test.ts+++ b/src/components/PlacesRail.test.ts@@ -169,6 +169,27 @@ it("a pasted link main can't open says so and keeps the sheet; cancelling main'sconst settle = () => act(async () => { await new Promise((done) => setTimeout(done, 450)); });+it("Connect to a server never sits grey without saying why: it says it is looking, and says so when the check itself fails", async () => {+ let answer: (value: unknown) => void = () => {};+ const probe = vi.fn((): Promise<unknown> => new Promise((resolve, reject) => { answer = resolve; void reject; }));+ Object.assign(window, { ogb: { workspaces: { ...workspaces, probe }, cloudAdd } });+ await mount(createElement(PlacesRail));+ await click(host.querySelector("[data-rail-add]"));+ await click(document.querySelector('[data-place-add-choice="server"]'));+ const form = document.querySelector('[data-place-add="own-server"]')!;+ await type(form.querySelector("[data-own-server-link]"), "http://192.168.1.20:8799/#pair=ABCD-EFGH-JKLM");+ await settle();+ expect(form.querySelector("[data-connect-checking]")?.textContent).toBe("Looking for the server…");+ expect((form.querySelector("[data-own-server-connect]") as HTMLButtonElement).disabled).toBe(true);+ await act(async () => { answer({ outcome: "problem", problem: "localNetwork", host: "192.168.1.20:8799" }); });+ expect(form.querySelector("[data-connect-checking]")).toBeNull();+ expect(form.querySelector("[data-connect-problem]")?.textContent).toContain("Privacy & Security → Local Network");+ probe.mockImplementation(() => Promise.reject(new Error("IPC failed")));+ await type(form.querySelector("[data-own-server-link]"), "http://192.168.1.21:8799/#pair=ABCD-EFGH-JKLM");+ await settle();+ expect(form.querySelector("[data-connect-problem]")?.textContent).toBe("Can't reach 192.168.1.21:8799. Check the server is running and reachable from this computer.");+});+it("Connect to a server takes an address and a code typed apart: a code pasted alone moves to its field, and main names the server it found", async () => {const probe = vi.fn(async (address: string): Promise<unknown> => (address.includes("192.168.1.20")? { outcome: "found", origin: "http://192.168.1.20:8799", label: "kitchen-box", version: "0.1.147", transport: "private-http", code: null, credential: null }diff --git a/src/locales/de.json b/src/locales/de.jsonindex 8902a8622d..7a981e97db 100644--- a/src/locales/de.json+++ b/src/locales/de.json@@ -2796,6 +2796,7 @@"connect.found.tailscale": "Tailscale","connect.found.privateHttp": "Privates Netzwerk, nicht verschlüsselt. In Ordnung im eigenen Netzwerk oder über Tailscale.","connect.found.loopback": "Dieser Computer",+ "connect.checking": "Server wird gesucht…","connect.to": "Mit {name} verbinden","connect.copy": "Kopieren","connect.copied": "Kopiert",@@ -3326,6 +3327,7 @@"native.connect.certificate": "Das Zertifikat von {host} ist noch nicht gültig. Ein neuer Server braucht dafür manchmal eine Minute.","native.connect.notMausBot": "Diese Adresse antwortet, ist aber kein MausBot-Server.","native.connect.loopback": "Das zeigt auf diesen Computer ({host}), nicht auf den Server. Nutze die eigene Adresse des Servers.",+ "native.connect.localNetwork": "{host} ist nicht erreichbar. Aktiviere auf dem Mac OpenMausBot unter Systemeinstellungen → Datenschutz & Sicherheit → Lokales Netzwerk und versuche es erneut. Prüfe auch, ob der Server in diesem Netzwerk läuft.","serverError.pair.tooMany": "Zu viele falsche Codes. Versuche es um {time} erneut.","serverError.pair.emailCode": "Das ist ein Anmeldecode aus einer E-Mail. Zum Koppeln brauchst du einen 12-stelligen Code wie 7KQ2-M9XD-H4TP.","serverError.pair.oldCode": "Das ist ein Code aus einer älteren MausBot-Version. Erstelle auf dem anderen Computer einen neuen: Telefon & Geräte → Gerät koppeln.",diff --git a/src/locales/en.json b/src/locales/en.jsonindex e36f1fac7d..1292951c75 100644--- a/src/locales/en.json+++ b/src/locales/en.json@@ -684,6 +684,7 @@"connect.found.tailscale": "Tailscale","connect.found.privateHttp": "Private network, not encrypted. Fine on your own network or Tailscale.","connect.found.loopback": "This computer",+ "connect.checking": "Looking for the server…","connect.to": "Connect to {name}","connect.copy": "Copy","connect.copied": "Copied",@@ -9078,6 +9079,7 @@"native.connect.certificate": "{host}'s certificate isn't valid yet. A new server can take a minute to get one.","native.connect.notMausBot": "That address answers, but it isn't a MausBot server.","native.connect.loopback": "This points at this computer ({host}), not at the server. Use the server's own address.",+ "native.connect.localNetwork": "Can't reach {host}. On a Mac, turn on OpenMausBot in System Settings → Privacy & Security → Local Network, then try again. Also check that the server is running on this network.","native.dialog.mic.allow": "Allow","native.dialog.mic.deny": "Don’t Allow","native.dialog.mic.title": "Allow “{name}” to use the microphone?",diff --git a/src/locales/es.json b/src/locales/es.jsonindex 6f327104fd..3d155724d2 100644--- a/src/locales/es.json+++ b/src/locales/es.json@@ -550,6 +550,7 @@"connect.found.tailscale": "Tailscale","connect.found.privateHttp": "Red privada, sin cifrar. Está bien en tu propia red o en Tailscale.","connect.found.loopback": "Este ordenador",+ "connect.checking": "Buscando el servidor…","connect.to": "Conectar a {name}","connect.copy": "Copiar","connect.copied": "Copiado",@@ -5975,6 +5976,7 @@"native.connect.certificate": "El certificado de {host} todavía no es válido. Un servidor nuevo puede tardar un minuto en obtenerlo.","native.connect.notMausBot": "Esa dirección responde, pero no es un servidor de MausBot.","native.connect.loopback": "Esto apunta a este ordenador ({host}), no al servidor. Usa la dirección del propio servidor.",+ "native.connect.localNetwork": "No se puede acceder a {host}. En un Mac, activa OpenMausBot en Ajustes del Sistema → Privacidad y seguridad → Red local y vuelve a intentarlo. Comprueba también que el servidor esté funcionando en esta red.","serverError.pair.tooMany": "Demasiados códigos incorrectos. Vuelve a intentarlo a las {time}.","serverError.pair.emailCode": "Ese es un código de inicio de sesión de un correo. Para vincular necesitas un código de 12 caracteres como 7KQ2-M9XD-H4TP.","serverError.pair.oldCode": "Ese es un código de una versión anterior de MausBot. Crea uno nuevo en el otro ordenador: Teléfono y dispositivos → Vincular un dispositivo.",diff --git a/src/locales/fr.json b/src/locales/fr.jsonindex f7e60f5868..eea2c295d4 100644--- a/src/locales/fr.json+++ b/src/locales/fr.json@@ -2729,6 +2729,7 @@"connect.found.tailscale": "Tailscale","connect.found.privateHttp": "Réseau privé, non chiffré. Convient sur votre propre réseau ou avec Tailscale.","connect.found.loopback": "Cet ordinateur",+ "connect.checking": "Recherche du serveur…","connect.to": "Se connecter à {name}","connect.copy": "Copier","connect.copied": "Copié",@@ -3192,6 +3193,7 @@"native.connect.certificate": "Le certificat de {host} n'est pas encore valide. Un nouveau serveur peut mettre une minute à l'obtenir.","native.connect.notMausBot": "Cette adresse répond, mais ce n'est pas un serveur MausBot.","native.connect.loopback": "Ceci pointe vers cet ordinateur ({host}), pas vers le serveur. Utilisez l'adresse du serveur lui-même.",+ "native.connect.localNetwork": "Impossible de joindre {host}. Sur un Mac, activez OpenMausBot dans Réglages Système → Confidentialité et sécurité → Réseau local, puis réessayez. Vérifiez aussi que le serveur tourne sur ce réseau.","serverError.pair.tooMany": "Trop de codes erronés. Réessayez à {time}.","serverError.pair.emailCode": "C'est un code de connexion reçu par e-mail. L'association demande un code de 12 caractères comme 7KQ2-M9XD-H4TP.","serverError.pair.oldCode": "C'est un code d'une ancienne version de MausBot. Créez-en un nouveau sur l'autre ordinateur : Téléphone et appareils → Associer un appareil.",diff --git a/src/locales/hi.json b/src/locales/hi.jsonindex 25b4754ddf..b665edc2e8 100644--- a/src/locales/hi.json+++ b/src/locales/hi.json@@ -2729,6 +2729,7 @@"connect.found.tailscale": "Tailscale","connect.found.privateHttp": "निजी नेटवर्क, एन्क्रिप्टेड नहीं। आपके अपने नेटवर्क या Tailscale पर ठीक है।","connect.found.loopback": "यह कंप्यूटर",+ "connect.checking": "सर्वर खोजा जा रहा है…","connect.to": "{name} से कनेक्ट करें","connect.copy": "कॉपी करें","connect.copied": "कॉपी हो गया",@@ -3044,6 +3045,7 @@"native.connect.certificate": "{host} का सर्टिफ़िकेट अभी मान्य नहीं है। नए सर्वर को इसे पाने में एक मिनट लग सकता है।","native.connect.notMausBot": "यह पता जवाब देता है, लेकिन यह MausBot सर्वर नहीं है।","native.connect.loopback": "यह इस कंप्यूटर ({host}) की ओर इशारा करता है, सर्वर की ओर नहीं। सर्वर का अपना पता इस्तेमाल करें।",+ "native.connect.localNetwork": "{host} तक नहीं पहुँच पा रहे। Mac पर System Settings → Privacy & Security → Local Network में OpenMausBot चालू करें, फिर दोबारा कोशिश करें। यह भी देखें कि सर्वर इसी नेटवर्क पर चल रहा है।","serverError.pair.tooMany": "बहुत सारे गलत कोड। {time} पर फिर से कोशिश करें।","serverError.pair.emailCode": "यह ईमेल से आया साइन-इन कोड है। पेयर करने के लिए 7KQ2-M9XD-H4TP जैसा 12 अक्षरों का कोड चाहिए।","serverError.pair.oldCode": "यह MausBot के पुराने संस्करण का कोड है। दूसरे कंप्यूटर पर नया कोड बनाएँ: फ़ोन और डिवाइस → डिवाइस पेयर करें।",diff --git a/src/locales/it.json b/src/locales/it.jsonindex 8e74ad427a..9a0579093e 100644--- a/src/locales/it.json+++ b/src/locales/it.json@@ -555,6 +555,7 @@"connect.found.tailscale": "Tailscale","connect.found.privateHttp": "Rete privata, non cifrata. Va bene sulla tua rete o con Tailscale.","connect.found.loopback": "Questo computer",+ "connect.checking": "Ricerca del server…","connect.to": "Connettiti a {name}","connect.copy": "Copia","connect.copied": "Copiato",@@ -6598,6 +6599,7 @@"native.connect.certificate": "Il certificato di {host} non è ancora valido. Un nuovo server può impiegare un minuto per ottenerlo.","native.connect.notMausBot": "Quell'indirizzo risponde, ma non è un server MausBot.","native.connect.loopback": "Questo punta a questo computer ({host}), non al server. Usa l'indirizzo del server stesso.",+ "native.connect.localNetwork": "Impossibile raggiungere {host}. Su un Mac, attiva OpenMausBot in Impostazioni di Sistema → Privacy e sicurezza → Rete locale, poi riprova. Controlla anche che il server sia attivo su questa rete.","serverError.pair.tooMany": "Troppi codici errati. Riprova alle {time}.","serverError.pair.emailCode": "Questo è un codice di accesso arrivato per email. Per l'abbinamento serve un codice di 12 caratteri come 7KQ2-M9XD-H4TP.","serverError.pair.oldCode": "Questo è un codice di una versione precedente di MausBot. Creane uno nuovo sull'altro computer: Telefono e dispositivi → Abbina un dispositivo.",diff --git a/src/locales/ja.json b/src/locales/ja.jsonindex 783c0fe6d7..575ebdda46 100644--- a/src/locales/ja.json+++ b/src/locales/ja.json@@ -613,6 +613,7 @@"connect.found.tailscale": "Tailscale","connect.found.privateHttp": "プライベートネットワーク、暗号化なし。自分のネットワークや Tailscale なら問題ありません。","connect.found.loopback": "このコンピュータ",+ "connect.checking": "サーバーを探しています…","connect.to": "{name} に接続","connect.copy": "コピー","connect.copied": "コピーしました",@@ -7652,6 +7653,7 @@"native.connect.certificate": "{host} の証明書はまだ有効ではありません。新しいサーバーでは取得に 1 分ほどかかることがあります。","native.connect.notMausBot": "そのアドレスは応答しますが、MausBot サーバーではありません。","native.connect.loopback": "これはサーバーではなく、このコンピュータ({host})を指しています。サーバー自身のアドレスを使ってください。",+ "native.connect.localNetwork": "{host} に接続できません。Mac では、システム設定 → プライバシーとセキュリティ → ローカルネットワーク で OpenMausBot をオンにしてから、もう一度お試しください。サーバーがこのネットワークで動作しているかも確認してください。","serverError.pair.tooMany": "間違ったコードが多すぎます。{time} にもう一度お試しください。","serverError.pair.emailCode": "これはメールで届いたサインインコードです。ペアリングには 7KQ2-M9XD-H4TP のような 12 文字のコードが必要です。","serverError.pair.oldCode": "これは古い MausBot のコードです。もう一方のコンピューターで新しいコードを作成してください: 電話とデバイス → デバイスをペアリング。",diff --git a/src/locales/ko.json b/src/locales/ko.jsonindex 91598224ce..3a75cab420 100644--- a/src/locales/ko.json+++ b/src/locales/ko.json@@ -602,6 +602,7 @@"connect.found.tailscale": "Tailscale","connect.found.privateHttp": "사설 네트워크, 암호화되지 않음. 내 네트워크나 Tailscale에서는 괜찮습니다.","connect.found.loopback": "이 컴퓨터",+ "connect.checking": "서버를 찾는 중…","connect.to": "{name}에 연결","connect.copy": "복사","connect.copied": "복사됨",@@ -7321,6 +7322,7 @@"native.connect.certificate": "{host}의 인증서가 아직 유효하지 않습니다. 새 서버는 인증서를 받는 데 1분 정도 걸릴 수 있습니다.","native.connect.notMausBot": "이 주소는 응답하지만 MausBot 서버가 아닙니다.","native.connect.loopback": "서버가 아니라 이 컴퓨터({host})를 가리킵니다. 서버 자체의 주소를 사용하세요.",+ "native.connect.localNetwork": "{host}에 연결할 수 없습니다. Mac에서는 시스템 설정 → 개인정보 보호 및 보안 → 로컬 네트워크에서 OpenMausBot을 켠 다음 다시 시도하세요. 서버가 이 네트워크에서 실행 중인지도 확인하세요.","serverError.pair.tooMany": "잘못된 코드가 너무 많습니다. {time}에 다시 시도하세요.","serverError.pair.emailCode": "이메일로 받은 로그인 코드입니다. 페어링에는 7KQ2-M9XD-H4TP 같은 12자리 코드가 필요합니다.","serverError.pair.oldCode": "이전 MausBot의 코드입니다. 다른 컴퓨터에서 새 코드를 만드세요: 휴대폰 및 기기 → 기기 페어링.",diff --git a/src/locales/pl.json b/src/locales/pl.jsonindex c043c0eeab..80c3d24d51 100644--- a/src/locales/pl.json+++ b/src/locales/pl.json@@ -559,6 +559,7 @@"connect.found.tailscale": "Tailscale","connect.found.privateHttp": "Sieć prywatna, bez szyfrowania. W porządku we własnej sieci lub w Tailscale.","connect.found.loopback": "Ten komputer",+ "connect.checking": "Szukanie serwera…","connect.to": "Połącz z {name}","connect.copy": "Kopiuj","connect.copied": "Skopiowano",@@ -6737,6 +6738,7 @@"native.connect.certificate": "Certyfikat {host} nie jest jeszcze ważny. Nowy serwer może potrzebować minuty, żeby go dostać.","native.connect.notMausBot": "Ten adres odpowiada, ale to nie jest serwer MausBot.","native.connect.loopback": "To wskazuje na ten komputer ({host}), a nie na serwer. Użyj adresu samego serwera.",+ "native.connect.localNetwork": "Nie można połączyć się z {host}. Na Macu włącz OpenMausBot w Ustawieniach systemowych → Prywatność i ochrona → Sieć lokalna, a potem spróbuj ponownie. Sprawdź też, czy serwer działa w tej sieci.","serverError.pair.tooMany": "Za dużo błędnych kodów. Spróbuj ponownie o {time}.","serverError.pair.emailCode": "To kod logowania z e-maila. Do parowania potrzebny jest 12-znakowy kod, np. 7KQ2-M9XD-H4TP.","serverError.pair.oldCode": "To kod ze starszej wersji MausBot. Utwórz nowy na drugim komputerze: Telefon i urządzenia → Sparuj urządzenie.",diff --git a/src/locales/pt-br.json b/src/locales/pt-br.jsonindex 0cb888fb02..3ade9874a5 100644--- a/src/locales/pt-br.json+++ b/src/locales/pt-br.json@@ -670,6 +670,7 @@"connect.found.tailscale": "Tailscale","connect.found.privateHttp": "Rede privada, sem criptografia. Tudo bem na sua própria rede ou no Tailscale.","connect.found.loopback": "Este computador",+ "connect.checking": "Procurando o servidor…","connect.to": "Conectar a {name}","connect.copy": "Copiar","connect.copied": "Copiado",@@ -9050,6 +9051,7 @@"native.connect.certificate": "O certificado de {host} ainda não é válido. Um servidor novo pode levar um minuto para obter um.","native.connect.notMausBot": "Esse endereço responde, mas não é um servidor MausBot.","native.connect.loopback": "Isso aponta para este computador ({host}), não para o servidor. Use o endereço do próprio servidor.",+ "native.connect.localNetwork": "Não foi possível acessar {host}. No Mac, ative o OpenMausBot em Ajustes do Sistema → Privacidade e Segurança → Rede Local e tente de novo. Verifique também se o servidor está rodando nesta rede.","native.dialog.mic.allow": "Permitir","native.dialog.mic.deny": "Não permitir","native.dialog.mic.title": "Permitir que “{name}” use o microfone?",diff --git a/src/locales/ru.json b/src/locales/ru.jsonindex c6e8c1049a..630e6fb611 100644--- a/src/locales/ru.json+++ b/src/locales/ru.json@@ -559,6 +559,7 @@"connect.found.tailscale": "Tailscale","connect.found.privateHttp": "Частная сеть, без шифрования. Подходит для своей сети или Tailscale.","connect.found.loopback": "Этот компьютер",+ "connect.checking": "Ищем сервер…","connect.to": "Подключиться к {name}","connect.copy": "Копировать","connect.copied": "Скопировано",@@ -6799,6 +6800,7 @@"native.connect.certificate": "Сертификат {host} пока недействителен. Новому серверу может понадобиться минута, чтобы его получить.","native.connect.notMausBot": "Этот адрес отвечает, но это не сервер MausBot.","native.connect.loopback": "Это указывает на этот компьютер ({host}), а не на сервер. Используйте адрес самого сервера.",+ "native.connect.localNetwork": "Не удаётся подключиться к {host}. На Mac включите OpenMausBot в Системных настройках → Конфиденциальность и безопасность → Локальная сеть и попробуйте снова. Также проверьте, что сервер работает в этой сети.","serverError.pair.tooMany": "Слишком много неверных кодов. Попробуйте снова в {time}.","serverError.pair.emailCode": "Это код входа из письма. Для связки нужен 12-символьный код вроде 7KQ2-M9XD-H4TP.","serverError.pair.oldCode": "Это код из старой версии MausBot. Создайте новый на другом компьютере: Телефон и устройства → Связать устройство.",diff --git a/src/locales/tr.json b/src/locales/tr.jsonindex 78e6f601a1..326216c026 100644--- a/src/locales/tr.json+++ b/src/locales/tr.json@@ -5164,6 +5164,7 @@"connect.found.tailscale": "Tailscale","connect.found.privateHttp": "Özel ağ, şifrelenmemiş. Kendi ağınızda veya Tailscale'de sorun değil.","connect.found.loopback": "Bu bilgisayar",+ "connect.checking": "Sunucu aranıyor…","connect.to": "{name} sunucusuna bağlan","connect.copy": "Kopyala","connect.copied": "Kopyalandı",@@ -5475,6 +5476,7 @@"native.connect.certificate": "{host} sertifikası henüz geçerli değil. Yeni bir sunucunun sertifika alması bir dakika sürebilir.","native.connect.notMausBot": "Bu adres yanıt veriyor ama bir MausBot sunucusu değil.","native.connect.loopback": "Bu, sunucuyu değil bu bilgisayarı ({host}) gösteriyor. Sunucunun kendi adresini kullanın.",+ "native.connect.localNetwork": "{host} adresine ulaşılamıyor. Mac'te Sistem Ayarları → Gizlilik ve Güvenlik → Yerel Ağ bölümünden OpenMausBot'u açın ve tekrar deneyin. Sunucunun bu ağda çalıştığını da kontrol edin.","serverError.pair.tooMany": "Çok fazla yanlış kod. {time} saatinde yeniden deneyin.","serverError.pair.emailCode": "Bu bir e-postadan gelen giriş kodu. Eşleştirme için 7KQ2-M9XD-H4TP gibi 12 karakterli bir kod gerekir.","serverError.pair.oldCode": "Bu, eski bir MausBot sürümünün kodu. Diğer bilgisayarda yeni bir kod oluşturun: Telefon ve cihazlar → Cihaz eşleştir.",diff --git a/src/locales/uk.json b/src/locales/uk.jsonindex 8fb14642c4..bc0ea6cbd6 100644--- a/src/locales/uk.json+++ b/src/locales/uk.json@@ -3170,6 +3170,7 @@"connect.found.tailscale": "Tailscale","connect.found.privateHttp": "Приватна мережа, без шифрування. Годиться для власної мережі або Tailscale.","connect.found.loopback": "Цей комп'ютер",+ "connect.checking": "Шукаємо сервер…","connect.to": "Під'єднатися до {name}","connect.copy": "Копіювати","connect.copied": "Скопійовано",@@ -3485,6 +3486,7 @@"native.connect.certificate": "Сертифікат {host} ще недійсний. Новому серверу може знадобитися хвилина, щоб його отримати.","native.connect.notMausBot": "Ця адреса відповідає, але це не сервер MausBot.","native.connect.loopback": "Це вказує на цей комп'ютер ({host}), а не на сервер. Використайте адресу самого сервера.",+ "native.connect.localNetwork": "Не вдається підключитися до {host}. На Mac увімкніть OpenMausBot у Параметрах системи → Приватність і безпека → Локальна мережа й спробуйте ще раз. Також перевірте, що сервер працює в цій мережі.","serverError.pair.tooMany": "Забагато неправильних кодів. Спробуйте знову о {time}.","serverError.pair.emailCode": "Це код входу з листа. Для з'єднання потрібен 12-символьний код на зразок 7KQ2-M9XD-H4TP.","serverError.pair.oldCode": "Це код зі старішої версії MausBot. Створіть новий на іншому комп'ютері: Телефон і пристрої → З'єднати пристрій.",diff --git a/src/locales/vi.json b/src/locales/vi.jsonindex 9d2c9972f0..66c781607c 100644--- a/src/locales/vi.json+++ b/src/locales/vi.json@@ -5164,6 +5164,7 @@"connect.found.tailscale": "Tailscale","connect.found.privateHttp": "Mạng riêng, không mã hóa. Ổn trong mạng của riêng bạn hoặc qua Tailscale.","connect.found.loopback": "Máy tính này",+ "connect.checking": "Đang tìm máy chủ…","connect.to": "Kết nối với {name}","connect.copy": "Sao chép","connect.copied": "Đã sao chép",@@ -5475,6 +5476,7 @@"native.connect.certificate": "Chứng chỉ của {host} chưa hợp lệ. Máy chủ mới có thể mất một phút để nhận chứng chỉ.","native.connect.notMausBot": "Địa chỉ đó có phản hồi, nhưng không phải máy chủ MausBot.","native.connect.loopback": "Địa chỉ này trỏ tới máy tính này ({host}), không phải máy chủ. Hãy dùng địa chỉ riêng của máy chủ.",+ "native.connect.localNetwork": "Không thể kết nối tới {host}. Trên Mac, hãy bật OpenMausBot trong Cài đặt hệ thống → Quyền riêng tư & Bảo mật → Mạng cục bộ rồi thử lại. Đồng thời kiểm tra máy chủ đang chạy trong mạng này.","serverError.pair.tooMany": "Quá nhiều mã sai. Hãy thử lại lúc {time}.","serverError.pair.emailCode": "Đó là mã đăng nhập từ email. Ghép nối cần mã 12 ký tự như 7KQ2-M9XD-H4TP.","serverError.pair.oldCode": "Đó là mã từ phiên bản MausBot cũ hơn. Hãy tạo mã mới trên máy tính kia: Điện thoại và thiết bị → Ghép nối thiết bị.",diff --git a/src/locales/zh-tw.json b/src/locales/zh-tw.jsonindex c44836781a..227fa26261 100644--- a/src/locales/zh-tw.json+++ b/src/locales/zh-tw.json@@ -684,6 +684,7 @@"connect.found.tailscale": "Tailscale","connect.found.privateHttp": "私人網路,未加密。在你自己的網路或 Tailscale 上沒問題。","connect.found.loopback": "這台電腦",+ "connect.checking": "正在尋找伺服器…","connect.to": "連線到 {name}","connect.copy": "複製","connect.copied": "已複製",@@ -9068,6 +9069,7 @@"native.connect.certificate": "{host} 的憑證還無效。新伺服器可能需要一分鐘取得憑證。","native.connect.notMausBot": "這個位址有回應,但它不是 MausBot 伺服器。","native.connect.loopback": "這指向這台電腦({host}),而不是伺服器。請使用伺服器自己的位址。",+ "native.connect.localNetwork": "無法連到 {host}。在 Mac 上,請到「系統設定」→「隱私權與安全性」→「區域網路」開啟 OpenMausBot,然後再試一次。也請確認伺服器正在這個網路上執行。","native.dialog.mic.allow": "允許","native.dialog.mic.deny": "不允許","native.dialog.mic.title": "允許「{name}」使用麥克風嗎?",diff --git a/src/locales/zh.json b/src/locales/zh.jsonindex b23cd11e7c..b63a57fc13 100644--- a/src/locales/zh.json+++ b/src/locales/zh.json@@ -611,6 +611,7 @@"connect.found.tailscale": "Tailscale","connect.found.privateHttp": "私有网络,未加密。在你自己的网络或 Tailscale 上没问题。","connect.found.loopback": "这台电脑",+ "connect.checking": "正在查找服务器…","connect.to": "连接到 {name}","connect.copy": "复制","connect.copied": "已复制",@@ -7538,6 +7539,7 @@"native.connect.certificate": "{host} 的证书还无效。新服务器可能需要一分钟来获取证书。","native.connect.notMausBot": "这个地址有响应,但它不是 MausBot 服务器。","native.connect.loopback": "这指向这台电脑({host}),而不是服务器。请使用服务器自己的地址。",+ "native.connect.localNetwork": "无法连接到 {host}。在 Mac 上,请在“系统设置”→“隐私与安全性”→“本地网络”中打开 OpenMausBot,然后重试。也请确认服务器正在这个网络上运行。","serverError.pair.tooMany": "错误的代码太多。请在 {time} 再试一次。","serverError.pair.emailCode": "这是邮件中的登录代码。配对需要像 7KQ2-M9XD-H4TP 这样的 12 位代码。","serverError.pair.oldCode": "这是旧版 MausBot 的代码。请在另一台电脑上新建一个:手机和设备 → 配对设备。",