Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
refactor: 保持服务入口文件大小上限
Zhehui Bifb0231e30bb7
diff --git a/server/index.ts b/server/index.tsindex 36a75f8093..67b1ef9bae 100644--- a/server/index.ts+++ b/server/index.ts@@ -10440,8 +10440,7 @@ async function runClaimedGroupMemberTurn(if (outcome === "stalled") return false;// Fallback only while this invocation still owns the room, or it would clear a newer speaker's state.groupSpeakers.delete(threadId);- const remaining = activeGroupSpeaker(group.id);- markGroupThreadUnreadAfterTurn(store, group.id, threadId, remaining?.botId ?? null);+ markGroupThreadUnreadAfterTurn(store, group.id, threadId, activeGroupSpeaker(group.id)?.botId ?? null);if (store.bot(bot.id)?.busy) {store.setActivity(bot.id, "idle");}