Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
fix(surface): leave out a browser that fails to open beside a room's computer
AdityaUmaleb02061d01e11
diff --git a/server/index.ts b/server/index.tsindex 5dc42ed207..67c9f31b9d 100644--- a/server/index.ts+++ b/server/index.ts@@ -9948,8 +9948,9 @@ async function runClaimedGroupMemberTurn(const phone = instance.adapter.capabilities.deviceMcp === true ? phones.integration(readyBot, { threadId, generation: internalGeneration }) : null;if (phone) integrations.device = phone;if (roomPlan.browser && !(roomPlan.computer === undefined && roomTeamComputer)) {- const selectedProfile = readyBot.browserProfile;- const browser = await browserIntegration(readyBot.id, selectedProfile, { threadId, generation: internalGeneration });+ const roomComputer = roomTeamComputer ? "cloud" : roomPlan.computer === "off" ? null : roomPlan.computer ?? null;+ const browser = await openBrowserBeside(() => browserIntegration(readyBot.id, readyBot.browserProfile, { threadId, generation: internalGeneration }),+ roomComputer, (error) => console.warn(`[browser] room thread ${threadId}: left out beside ${roomComputer} (${redactSecretsInText(String(error))})`));if (browser) integrations.browser = browser.integration;}const browserReadyBot = store.bot(readyBot.id);