Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Drop the issue number from the pause comments, which the comment-history check refuses (#5947)
milind-soni4041e67f0d34
diff --git a/server/bot-pause.e2e.test.ts b/server/bot-pause.e2e.test.tsindex 7eb303face..0b1249e280 100644--- a/server/bot-pause.e2e.test.ts+++ b/server/bot-pause.e2e.test.ts@@ -1,4 +1,4 @@-// #4740 on a real server, its AI a fixture whose turns never end (FAKE_CLAUDE_MODE=hang), so there is always work to stop.+// Pausing on a real server, its AI a fixture whose turns never end (FAKE_CLAUDE_MODE=hang), so there is always work to stop.import { randomUUID } from "node:crypto";import { afterAll, beforeAll, expect, it } from "vitest";diff --git a/server/host/bot-holds.ts b/server/host/bot-holds.tsindex 49508f8cda..ca799997e7 100644--- a/server/host/bot-holds.ts+++ b/server/host/bot-holds.ts@@ -1,4 +1,4 @@-// Bots the person paused (#4740): one bot, or every bot in a department, takes no new work until it is resumed.+// Bots the person paused: one bot, or every bot in a department, takes no new work until it is resumed.// <data>/paused-bots.json keeps which bots and departments are paused; a bot is paused when it is named, or its// department is. Every way work starts asks here, beside the Starter plan's own pause (starter-caps.ts): a person's// message, the bot API, a routine or webhook run, a hand-off from another bot, and its turn in a room.diff --git a/server/routes/bot-holds.ts b/server/routes/bot-holds.tsindex cbab5d69f7..0ab27724c5 100644--- a/server/routes/bot-holds.ts+++ b/server/routes/bot-holds.ts@@ -1,4 +1,4 @@-// Pausing a bot or a department (#4740): GET what is paused; POST {kind, id, paused} pauses or resumes one, and pausing+// Pausing a bot or a department: GET what is paused; POST {kind, id, paused} pauses or resumes one, and pausing// also stops the work its bots are doing now. Admin-scope routes: on a Team Cloud only an owner or admin pauses.import type { IncomingMessage } from "node:http";import { z } from "zod";diff --git a/src/lib/bot-pause.ts b/src/lib/bot-pause.tsindex 74c6ddbe3e..c5ef919bdf 100644--- a/src/lib/bot-pause.ts+++ b/src/lib/bot-pause.ts@@ -1,4 +1,4 @@-// Pausing a bot or a department (#4740): it takes no new work, and what it is doing now stops, until it is resumed. The+// Pausing a bot or a department: it takes no new work, and what it is doing now stops, until it is resumed. The// server sends the new state to every open app in its config frame.import type { ConfigStatus } from "@/state/store";import { api } from "@/state/api";