Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
#6152: keep server/routines.ts at its pinned line count
milind-soni65c237844e29
diff --git a/server/routines.ts b/server/routines.tsindex e8f902dbb2..8754cb50d5 100644--- a/server/routines.ts+++ b/server/routines.ts@@ -256,8 +256,7 @@ export interface RoutineManagerOptions {prompt: string,runOn: RoutineRunOn,triggerSource: RoutineRunTrigger,- onDispatchError: (message: string) => void,- runId: string,+ onDispatchError: (message: string) => void, runId: string,) => Promise<void>;startGoal?: (groupId: string | undefined,@@ -1190,8 +1189,7 @@ export class RoutineManager {startPrompt(run, prompt, composeExecutionPrompt({ id: run.routineId, name: run.routineName, trigger: triggerSource, runOn: run.runOn ?? "maus" }, prompt, run.attachments, continuityCarry(run, this.routines, this.runs)), (first) => this.options.promptSaid?.(task.threadId, first) === true),run.runOn ?? "maus",triggerSource,- (message) => this.failThread(task.threadId, message, { cause: "refused" }),- run.id,+ (message) => this.failThread(task.threadId, message, { cause: "refused" }), run.id,);}} catch (error) {