Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Merge remote-tracking branch 'upstream/main' into fix/mail-1a1db92a-antigravity-cloud-paste-wording
AdityaUmale33a7103e5053
diff --cc src/components/EngineSetup.antigravity.test.tsindex 4f08994b2c,41fdad12a3..b7e9038330--- a/src/components/EngineSetup.antigravity.test.ts+++ b/src/components/EngineSetup.antigravity.test.ts@@@ -56,19 -57,10 +57,27 @@@ it("keeps it folded on the person's owexpect((await startSignIn(false, { remoteClient: { active: false } })).open).toBe(false);});+// A Cloud's person saw Google's last page fail on 127.0.0.1 and read it as a broken sign-in: on a Cloud the card says up front+// that this page won't load and that its address goes in the box, which it names for that.+const cloudHint = "After you sign in, Google opens a page that won’t load. Copy its address and paste it below.";++it("tells a Cloud's person, before they sign in, that Google's last page won't load and its address goes below", async () => {+ const details = await startSignIn(true, { remoteClient: { active: false } });+ expect(details.querySelector("summary")?.textContent).toBe("Google’s page didn’t load? Paste its address here");+ const hint = [...host.querySelectorAll("p")].find((p) => p.textContent === cloudHint)!;+ expect(hint.nextElementSibling?.textContent).toContain("Open Google sign-in again");+});++it.each([false, true])("keeps the other-computer wording off a Cloud (paired to another computer: %s)", async (remote) => {+ const details = await startSignIn(false, { remoteClient: { active: remote } });+ expect(details.querySelector("summary")?.textContent).toBe("Signing in from another computer?");+ expect(host.textContent).not.toContain(cloudHint);+});+++ it("names Google on the sign-in card, never another provider", () => {+ vi.stubGlobal("ogb", { platform: "linux", remoteClient: { active: false } });+ const store = { state: { config: {} }, dispatch: vi.fn(), refreshInstances: vi.fn(async () => {}), refreshModels: vi.fn(async () => {}) } as unknown as ReturnType<typeof useStore>;+ flushSync(() => root.render(createElement(BotEditorStore, { value: store, children: createElement(EngineSetup, { instance: antigravity }) })));+ expect(host.textContent).toContain("Sign in with Google");+ expect(host.textContent).not.toContain("Mistral");+ });