MCPcopy
hub / github.com/openclaw/clawsweeper / WorkerOptions

Interface WorkerOptions

src/codex-process-worker.ts:10–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8import { spawnCodex, terminateCodexProcessTree } from "./codex-spawn.js";
9
10interface WorkerOptions {
11 args: string[];
12 command: string;
13 timeoutMs: number;
14 resultPath: string;
15 stdoutPath: string;
16 stderrPath: string;
17 tailBytes: number;
18 maxOutputFileBytes: number;
19}
20
21const options = JSON.parse(readFileSync(process.argv[2] ?? "", "utf8")) as WorkerOptions;
22const stdout = openCodexOutputCapture(options.stdoutPath, {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected