Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Connector: say which install layout needs Caddy stopped and started around the home
milind-soni4c1e1069d036
diff --git a/connector/src/adopted-home.ts b/connector/src/adopted-home.tsindex 33948a499a..f9be8f2637 100644--- a/connector/src/adopted-home.ts+++ b/connector/src/adopted-home.ts@@ -412,7 +412,8 @@ export class AdoptedHome {}}- /** Caddy shares the home's network, so it stops first and starts only once the home is up again. */+ /** Caddy stops first and starts only once the home is up again: in an install from before Caddy had its own container+ * (#5303), it shares the home's network, and would stay in the old, dead one. The current layout needs no order. */private async takeDown(): Promise<void> {const front = await this.container(FRONT);if (front) await this.docker.stopContainer(front.Id, 10);@@ -440,7 +441,8 @@ export class AdoptedHome {}const front = await this.container(FRONT);if (!front) return;- // A Caddy that kept running while the home restarted is still in the old home's network.+ // In the layout from before Caddy had its own container, a Caddy that kept running while the home restarted is still+ // in the old home's network.if (front.State.Running && !wasRunning) await this.docker.stopContainer(front.Id, 10);await this.docker.startContainer(front.Id).catch((error) => this.log(`could not start Caddy again: ${errorText(error)}`));}