feat(runtime): bootstrap PATH for clawdis

This commit is contained in:
Peter Steinberger
2025-12-20 13:31:19 +00:00
parent 3e39dd49aa
commit 055d839fc3
5 changed files with 179 additions and 1 deletions

View File

@@ -67,6 +67,7 @@ import {
requestNodePairing,
verifyNodeToken,
} from "../infra/node-pairing.js";
import { ensureClawdisCliOnPath } from "../infra/path-env.js";
import { enqueueSystemEvent } from "../infra/system-events.js";
import {
listSystemPresence,
@@ -102,6 +103,8 @@ import { requestReplyHeartbeatNow } from "../web/reply-heartbeat-wake.js";
import { buildMessageWithAttachments } from "./chat-attachments.js";
import { handleControlUiHttpRequest } from "./control-ui.js";
ensureClawdisCliOnPath();
let stopBrowserControlServerIfStarted: (() => Promise<void>) | null = null;
async function startBrowserControlServerIfEnabled(): Promise<void> {