Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Merge upstream main 9368f25b8 into fix/routine-browser-state

Sebastian B44c87646df3e
diff --cc server/routines.ts
index 37eba299c6,3475e17297..7180ca9df8
--- a/server/routines.ts
+++ b/server/routines.ts
@@@ -28,8 -28,8 +28,9 @@@ import { activeMs, askOf, settleAsk, wa
import { failsLikeLastOutcome, outcomesNewestFirst } from "./routine-outcomes.ts";
import { EVENT_RETRY_WINDOW_MS, loadEventReceipts, MAX_EVENT_RECEIPTS, type EventRunReceipt } from "./routine-event-receipts.ts";
import { cloneAttachments } from "./routine-attachments.ts";
+import { fieldsRestorer } from "./routine-restore.ts";
- import { loadInstalledPackage, loadRoutine, loadRun } from "./routine-load.ts";
+ import { loadInstalledPackage, loadRequestReceipts, loadRoutine, loadRun } from "./routine-load.ts";
+ import { applyHolds, holdCauses, type AppliedHolds } from "./routine-holds.ts";
import { sanitizeInput } from "./routine-input.ts";
import { checkHold, CHECK_BOOT_HOLD_MS, type CheckHold } from "./routine-check-pacing.ts";
import { resolveRoutineResultsThread, routineRunDefinition, type ResultsThreadAllocation } from "./routine-run-definition.ts";