Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
fix(app-settings): call the per-bot apps switch "connected apps", as the bot panel does
AdityaUmale2fd0238de65d
diff --git a/server/app-settings/host.test.ts b/server/app-settings/host.test.tsindex 0748f7e68e..4013f56112 100644--- a/server/app-settings/host.test.ts+++ b/server/app-settings/host.test.ts@@ -116,6 +116,15 @@ describe("reads", () => {expect(JSON.parse(String(got.body.text))).toMatchObject({ id: "rooms.turnTimeoutMinutes", value: "30", allowed: "1 to 1440 minutes", change: "set applies at once, with Undo on the card" });});+ it("names the per-bot connected apps switch as the bot panel does, so find reaches it by those words", async () => {+ const { host, turn } = fixture();+ const found = JSON.parse(String((await host.handle({ action: "find", query: "connected apps" }, turn)).body.text)) as Array<{ id: string }>;+ expect(found.map((hit) => hit.id)).toContain("bots.settings");+ const got = JSON.parse(String((await host.handle({ action: "get", id: "bots.settings" }, turn)).body.text)) as { help: string };+ expect(got.help).toContain("connected apps");+ expect(got.help).not.toContain("Composio apps");+ });+it("names real places only: find falls back to where a thing is, places lists them all", async () => {const { host, turn } = fixture();const owner = await host.handle({ action: "get", id: "phone.pairing" }, turn);diff --git a/server/app-settings/registry-bots.ts b/server/app-settings/registry-bots.tsindex 22f2064b2a..c0a4af4034 100644--- a/server/app-settings/registry-bots.ts+++ b/server/app-settings/registry-bots.ts@@ -44,7 +44,7 @@ const OTHER = {helperModel: { label: "helper model", value: z.boolean(), shown: onOff, was: (one: BotRecord) => on(one.helperModel) },browser: { label: "built-in browser", value: z.boolean(), shown: onOff, was: (one: BotRecord) => on(one.browser) },recordBrowserSteps: { label: "saving browser steps", value: z.boolean(), shown: onOff, was: (one: BotRecord) => set(one.recordBrowserSteps) },- composio: { label: "Composio apps", value: z.boolean(), shown: onOff, was: (one: BotRecord) => on(one.composio) },+ composio: { label: "connected apps", value: z.boolean(), shown: onOff, was: (one: BotRecord) => on(one.composio) },xResearch: { label: "X research", value: z.boolean(), shown: onOff, was: (one: BotRecord) => set(one.xResearch) },parkDirectMessages: { label: "holding direct messages behind delegated work", value: z.boolean(), shown: onOff, was: (one: BotRecord) => set(one.parkDirectMessages) },cacheKeepWarm: { label: "keeping its cache warm", value: z.boolean().nullable(), shown: onOff, was: (one: BotRecord) => one.cacheKeepWarm ?? null },