Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Event stream tests nudge with a bot-level field
milind-soni0499319caa28
diff --git a/server/index.test.ts b/server/index.test.tsindex cdfd18851e..5384bdf2c6 100644--- a/server/index.test.ts+++ b/server/index.test.ts@@ -14787,8 +14787,10 @@ describe("message pages", () => {});describe("resumable event stream", () => {+ // A bot-level field: one numbered frame per change. A conversation's change (an unread mark is one) also sends the+ // thread's own frame, which would number two.const nudge = async (botId: string) => {- const res = await api("PATCH", `/api/bots/${botId}`, { unread: true });+ const res = await api("PATCH", `/api/bots/${botId}`, { mascotExpression: "happy" });expect(res.status).toBe(200);};