Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Crossed-request test: the stop case holds whether a stop also ends the teammate's work
milind-soni5b1af492ab08
diff --git a/server/runtime-coordinator.test.ts b/server/runtime-coordinator.test.tsindex 9693431543..b32fea9f04 100644--- a/server/runtime-coordinator.test.ts+++ b/server/runtime-coordinator.test.ts@@ -468,10 +468,9 @@ describe("RuntimeCoordinator: a request back to a bot that is waiting on you", (const w = world(holdCos);const asked = send(w, mail, "gen-mail", undefined, cosWork, "Do you have the mailbox details from yesterday?");w.coordinator.tick();- expect(w.coordinator.stopAwaitingDirect("mail-chat").map(n => n.id)).toEqual([asked.node.id]);- expect(w.coordinator.node(asked.node.id)?.status).toBe("running");+ w.coordinator.stopAwaitingDirect("mail-chat");expect(send(w, cos, "gen-cos", undefined, mailWork, "Why can't you fetch mail?").node).toMatchObject({ botId: "mail", status: "queued" });- await w.host.release(asked.node.id, { ok: true, text: "No details stored" });+ if (w.host.held.has(asked.node.id)) await w.host.release(asked.node.id, { ok: true, text: "No details stored" });});it("leaves a one-way notice, other teammates, rooms and the bot's own requester alone", async () => {