Skip to content

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

Merge origin/main: the box channel beside the installer's checks

milind-sonicefbdd5241d5
diff --cc connector/src/main.ts
index 64f61e1bad,55eac391bd..472a715e04
--- a/connector/src/main.ts
+++ b/connector/src/main.ts
@@@ -3,11 -3,15 +3,15 @@@
import { existsSync, readFileSync, statfsSync } from "node:fs";
import { join } from "node:path";
- import { Agent } from "./agent.ts";
+ import { createConnection } from "node:net";
+ import type { Duplex } from "node:stream";
+
+ import { Agent, savedConfig, transferAuthorization } from "./agent.ts";
import { AuditLog, verifyAudit } from "./audit.ts";
-import { SocketDocker, type DockerInfo } from "./docker.ts";
+import { SocketDocker, dockerApiProblem, type DockerInfo } from "./docker.ts";
import { adminOrigin, enroll } from "./enroll.ts";
import { readHealth } from "./home-health.ts";
+ import { serveRequest } from "./home-requests.ts";
import { Home } from "./home.ts";
import { hostChecks, hostFacts, hostHealth, probeBox, type BoxProbeResult, type HostReader } from "./host.ts";
import { jobDesk, jobRunner, resultEvent } from "./jobs.ts";