feat: add compact Codex child agent tracking

This commit is contained in:
shiyue
2026-06-16 18:16:41 +08:00
parent 51838a2ce1
commit 7e01f24e61
5 changed files with 477 additions and 93 deletions

View File

@@ -42,7 +42,7 @@ function createCodexAppWorkerClient(options = {}) {
appServerRunning = false;
worker = fork(workerPath, [], {
cwd: options.cwd || process.cwd(),
env: process.env,
env: options.env || process.env,
stdio: ['ignore', 'ignore', 'ignore', 'ipc'],
});