Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Settings: the wider question is a string of its own, so the translations of the old one stand
milind-soni44c16ba4feef
diff --git a/src/components/CloudAccountSettings.test.ts b/src/components/CloudAccountSettings.test.tsindex 328faea717..aa2fe52713 100644--- a/src/components/CloudAccountSettings.test.ts+++ b/src/components/CloudAccountSettings.test.ts@@ -148,13 +148,14 @@ it("where this app can keep another account beside this one, the other email isvi.stubGlobal("window", { ogb: { cloudAccount: bridge, accounts: { addCancel: vi.fn(), list: vi.fn(), onChanged: vi.fn() } } });await ready(free);none(render({ onAddCloud: vi.fn() }).html, ["Sign out and use that email"]);+ all(render({ onAddCloud: vi.fn() }).html, ["Bought a plan or joined a team with a different email?"]);button("Add that email")!.props.onClick!();all(render({ onAddCloud: vi.fn() }).html, ["data-accounts-sheet", "cloud-add-email"]);expect(bridge.signOut).not.toHaveBeenCalled();});it("a free account may add a Cloud, and is told what to do if it bought with another email", async () => {await ready(free);- all(render({ onAddCloud: vi.fn() }).html, ["No plan yet", ">Add a Cloud<", "Bought a plan or joined a team with a different email?"]);+ all(render({ onAddCloud: vi.fn() }).html, ["No plan yet", ">Add a Cloud<", "Bought a plan with a different email?"]);none(render({ onAddCloud: vi.fn() }).html, ["Choose a Cloud plan", "Free account", "a checkout return alone"]);button("Sign out and use that email")!.props.onClick!();expect(render().html).toContain("does not cancel your subscription"); expect(bridge.signOut).not.toHaveBeenCalled();diff --git a/src/components/CloudAccountSettings.tsx b/src/components/CloudAccountSettings.tsxindex 3d939f39c4..55c8c1aa10 100644--- a/src/components/CloudAccountSettings.tsx+++ b/src/components/CloudAccountSettings.tsx@@ -306,7 +306,7 @@ export function CloudAccountSettings({ linkRequest = 0, cloudHome = false, teamH{!confirm && <button type="button" disabled={busy} className="ui-button" onClick={() => setConfirm(true)}>{t("cloudAccount.signOut")}</button>}</div>{account.status === "connected" && account.renewal && <CloudCancelPlan renewal={account.renewal} actions={renewal} />}- {view.kind === "free" && !confirm && <p className="text-[12px] text-ink-secondary">{t("cloudAccount.otherEmail")}{" "}+ {view.kind === "free" && !confirm && <p className="text-[12px] text-ink-secondary">{t(window.ogb?.accounts ? "cloudAccount.otherEmailOrTeam" : "cloudAccount.otherEmail")}{" "}<button type="button" data-cloud-other-email disabled={busy} className="underline hover:text-ink" onClick={() => (window.ogb?.accounts ? setAddingEmail(true) : setConfirm(true))}>{t(window.ogb?.accounts ? "cloudAccount.addOtherEmail" : "cloudAccount.useOtherEmail")}</button></p>}{addingEmail && <AccountsSheet adding="" onClose={() => setAddingEmail(false)} />}{confirm && <div role="group" aria-label={t("cloudAccount.signoutTitle")} className="rounded-lg border border-hairline/40 p-3">diff --git a/src/locales/en.json b/src/locales/en.jsonindex 211d207ba6..d0ba061f79 100644--- a/src/locales/en.json+++ b/src/locales/en.json@@ -1046,8 +1046,9 @@"cloudAccount.planName": "{plan} plan","cloudAccount.checking": "Checking with MausBot Cloud…","cloudAccount.attention": "Your plan is not active right now. Your Plan page shows why and how to fix it.",- "cloudAccount.otherEmail": "Bought a plan or joined a team with a different email?",+ "cloudAccount.otherEmail": "Bought a plan with a different email?","cloudAccount.useOtherEmail": "Sign out and use that email",+ "cloudAccount.otherEmailOrTeam": "Bought a plan or joined a team with a different email?","cloudAccount.addOtherEmail": "Add that email","cloudAccount.upgrade": "Add a Cloud","cloudAccount.manage": "Manage Cloud subscription",