@openai/codex 0.43.0-alpha.3 → 0.43.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/codex.js CHANGED
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  // Unified entry point for the Codex CLI.
3
3
 
4
+ import { spawn } from "node:child_process";
4
5
  import { existsSync } from "fs";
5
6
  import path from "path";
6
7
  import { fileURLToPath } from "url";
@@ -68,7 +69,6 @@ const binaryPath = path.join(archRoot, "codex", codexBinaryName);
68
69
  // executing. This allows us to forward those signals to the child process
69
70
  // and guarantees that when either the child terminates or the parent
70
71
  // receives a fatal signal, both processes exit in a predictable manner.
71
- const { spawn } = await import("child_process");
72
72
 
73
73
  function getUpdatedPath(newDirs) {
74
74
  const pathSep = process.platform === "win32" ? ";" : ":";
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@openai/codex",
3
- "version": "0.43.0-alpha.3",
3
+ "version": "0.43.0-alpha.4",
4
4
  "license": "Apache-2.0",
5
5
  "bin": {
6
6
  "codex": "bin/codex.js"
7
7
  },
8
8
  "type": "module",
9
9
  "engines": {
10
- "node": ">=20"
10
+ "node": ">=16"
11
11
  },
12
12
  "files": [
13
13
  "bin",