Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
fix(cli): phone pairing says the code lasts 10 minutes
afinitus82e5a4ea3462
diff --git a/server/cli-phone-setup.test.ts b/server/cli-phone-setup.test.tsindex 7825e5933f..9b91cc6c26 100644--- a/server/cli-phone-setup.test.ts+++ b/server/cli-phone-setup.test.ts@@ -242,6 +242,6 @@ describe("phone pairing instructions", () => {expect(text).toContain("Camera will not open it in a browser");expect(text).toContain("https://maus.example/pair");expect(text).not.toContain("not the Android native pairing scanner");- expect(text).toContain("five minutes");+ expect(text).toContain("10 minutes");});});diff --git a/server/cli-phone-setup.ts b/server/cli-phone-setup.tsindex dc8a5ee7ff..e2870694be 100644--- a/server/cli-phone-setup.ts+++ b/server/cli-phone-setup.ts@@ -127,6 +127,6 @@ export function phonePairingInstructions(: "On Android, open the OpenMausBot app and scan the QR with its pairing scanner. The QR is an app link, so Camera will not open it in a browser.",`Or open ${origin}/pair on your phone and enter the code.`,"Choose Connect on the phone. Scanning a QR does not mean the phone is paired.",- "The code works once and expires after five minutes. This phone receives client access: chat and approvals, not settings or pairing administration.",+ "The code works once and expires after 10 minutes. This phone receives client access: chat and approvals, not settings or pairing administration.",];}diff --git a/server/sessions.test.ts b/server/sessions.test.tsindex 1d46668584..f1e6d108a3 100644--- a/server/sessions.test.ts+++ b/server/sessions.test.ts@@ -168,7 +168,7 @@ describe("pairing codes", () => {expect(normalizePairingCode("0O1I")).toBe("OOII");});- it("exchange once, then never again, and expire after five minutes", () => {+ it("exchange once, then never again, and expire after ten minutes", () => {const { code } = registry.openPairing({ label: "phone" });const first = registry.exchange({ code: formatPairingCode(code).toLowerCase(), label: "", source: "a" });expect(first.ok).toBe(true);