(tmpDir)
| 566 | } |
| 567 | |
| 568 | function setupCodexProjectRuntime(tmpDir) { |
| 569 | execFileSync(process.execPath, [path.join(PLUGIN_ROOT, 'scripts', 'codex-compat.js'), tmpDir], { |
| 570 | cwd: PLUGIN_ROOT, |
| 571 | encoding: 'utf8', |
| 572 | stdio: 'pipe', |
| 573 | timeout: 60000, |
| 574 | }); |
| 575 | } |
| 576 | |
| 577 | /** |
| 578 | * Snapshot telemetry line counts before execution (used with --verify-hooks). |