mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-28 05:16:23 -06:00
docs: document cli program helpers
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// Debug proxy runtime commands for capture sessions, validation, coverage, and blob reads.
|
||||
import { spawn } from "node:child_process";
|
||||
import { randomUUID } from "node:crypto";
|
||||
import process from "node:process";
|
||||
@@ -70,6 +71,7 @@ export async function runDebugProxyRunCommand(opts: {
|
||||
port?: number;
|
||||
commandArgs: string[];
|
||||
}) {
|
||||
// Each proxied child command gets its own capture session id for later query/filtering.
|
||||
if (opts.commandArgs.length === 0) {
|
||||
throw new Error("proxy run requires a command after --");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user