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 'gh/main' into train/nov30-final
milind-sonidd05fb9d45f2
diff --cc server/drivers/chat-mcp-tools.tsindex 5f2f95e7c5,83ab14d85d..d39967e09a--- a/server/drivers/chat-mcp-tools.ts+++ b/server/drivers/chat-mcp-tools.ts@@@ -795,14 -799,6 +800,14 @@@ export async function mountChatTools(in};try {if (signal.aborted) throw aborted();+ // Waited for in the background too: what the turn can't run without, the computer and browser a computer-use turn acts+ // through from its first step, and a server sharing its name with another, whose tools' names depend on the order.+ const waited = (index: number) => {+ const [name, descriptor] = servers[index]!;+ return (index < builtIns && (mustHave(descriptor) || !OPTIONAL_BUILT_INS.has(name) || descriptor === integrations?.localComputer || descriptor === integrations?.browser))- || servers.filter(([other]) => other === name).length > 1;++ || servers.filter(([other]) => other === name).length > 1 || options.waitFor?.has(name) === true;+ };+ const waitAll = !options.background || !servers.some(([, descriptor]) => descriptor === agentsServer);// Concurrent starts, consumed in config order so names and collision suffixes stay stable.const mounts = servers.map(async ([name, descriptor], index): Promise<Mounted> => {if (signal.aborted || closed) throw aborted();