Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Routine kept computer test: mark the unused runOn argument
AdityaUmalef32ac83a527e
diff --git a/server/routine-computer.test.ts b/server/routine-computer.test.tsindex 3cff52df26..5b6b100fa2 100644--- a/server/routine-computer.test.ts+++ b/server/routine-computer.test.ts@@ -160,7 +160,7 @@ describe("the start check of a run that keeps a computer", () => {const pins: Record<string, "vm" | "cloud"> = { "on-vm": "vm", "on-cloud": "cloud" };const joined = (run: { botId: string; computer?: "local" | "vm" | "cloud"; target: "bot" }, threadId: string) => runCloudComputerOwner(run, {bot: (botId) => bots[botId] ?? null,- provider: (bot, runOn, pinned, thread) => (thread ? pins[thread] ?? bot.computer : pinned ?? bot.computer) === "cloud" ? "box" : null,+ provider: (bot, _runOn, pinned, thread) => (thread ? pins[thread] ?? bot.computer : pinned ?? bot.computer) === "cloud" ? "box" : null,owner: (bot) => `owner-${bot.id}`,}, threadId);expect(joined({ botId: "plain", computer: "cloud", target: "bot" }, "on-vm")).toBeNull();