Skip to content

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

Merge pull request #6403 from AdityaUmale/fix/mail-1a1e551b-box-bot-folders

milind-soni904e04ca3021
diff --cc server/procs.ts
index fdcfdf3ca5,9a4083c93f..c0dbdd5f09
--- a/server/procs.ts
+++ b/server/procs.ts
@@@ -14,12 -14,12 +14,13 @@@ import { closeSync, existsSync, readdir
import type { Readable, Writable } from "node:stream";
import { basename, dirname, join, resolve } from "node:path";
import { botBox, type WrappedSpawn } from "./bot-box/box.ts";
- import type { BoxRequest } from "./bot-box/plan.ts";
+ import { type BoxRequest, under } from "./bot-box/plan.ts";
import { homeProgramsDistrusted, serverMayRunFrom, serverPath } from "./bot-box/program-trust.ts";
import { engineMemory } from "./engine-memory.ts";
+import { engineOwners } from "./engine-owners.ts";
import { ENGINE_TAG_ENV, engineRunTag, engineStopped, recordEngine } from "./engine-records.ts";
import { engineHomes } from "./engine-homes/engine-homes.ts";
+ import { currentTurn } from "./crash-guard.ts";
import type { HomedSpawn } from "./engine-homes/layout.ts";
import { resolveCliSpawn, type ResolvedSpawn } from "./env-path.ts";
import { spawnBotWork } from "./oom-score.ts";