Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Train Y3: the Pi session spawn test expects the turn's MCP folder beside the session folder
milind-soni207fdc5be670
diff --git a/server/drivers/pi-session-spawn.test.ts b/server/drivers/pi-session-spawn.test.tsindex e63af946d2..0725f834b9 100644--- a/server/drivers/pi-session-spawn.test.ts+++ b/server/drivers/pi-session-spawn.test.ts@@ -44,7 +44,7 @@ describe("Pi session spawn setup", () => {const started = recorder.events.find((event) => event.type === "session.started" && event.turnId === turnId);if (started?.type !== "session.started" || !started.sessionId) throw new Error("missing session file");const call = spawned.mock.calls.slice(before).find(([, args]) => args.includes("--session-dir"))!;- expect(call[2]!.box).toEqual({ rw: [dir] });+ expect(call[2]!.box).toEqual({ rw: [dir, expect.stringContaining("omb-pi-mcp-")] });const setup = { dataDir: DATA_DIR, home: join(DATA_DIR, ".."), codeRoots: [], engineRoots: [], bridges: [] };const request = { command: cli, args: call[1], env: {}, audience: { teamReadOnly: audience !== "team" } };expect(visibleInBox(planBox(setup, request), dir)).toBe("none");