@mmmbuto/codex-cli-termux 0.62.1-termux → 0.64.0-termux

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/README.md CHANGED
@@ -298,6 +298,12 @@ See [LICENSE](./LICENSE) file for details.
298
298
 
299
299
  ## 📜 Changelog
300
300
 
301
+ ### v0.62.1-termux (2025-11-22)
302
+
303
+ **Fix**: Switched to multitool binary with `exec` subcommand integrated. Use `codex exec --json` for automation instead of separate `codex-exec` binary.
304
+
305
+ ---
306
+
301
307
  ### v0.62.0-termux (2025-11-21)
302
308
 
303
309
  **Update**: Synced with upstream OpenAI Codex rust-v0.62.0 (40+ commits from v0.61.0)
package/bin/codex CHANGED
Binary file
@@ -0,0 +1,20 @@
1
+ #!/usr/bin/env node
2
+
3
+ import { spawn } from 'child_process';
4
+ import { fileURLToPath } from 'url';
5
+ import { dirname, join } from 'path';
6
+
7
+ const __filename = fileURLToPath(import.meta.url);
8
+ const __dirname = dirname(__filename);
9
+
10
+ const binaryPath = join(__dirname, 'codex');
11
+ const args = ['exec', ...process.argv.slice(2)];
12
+
13
+ const child = spawn(binaryPath, args, {
14
+ stdio: 'inherit',
15
+ env: { ...process.env, CODEX_MANAGED_BY_NPM: '1' }
16
+ });
17
+
18
+ child.on('exit', (code) => {
19
+ process.exit(code);
20
+ });
package/package.json CHANGED
@@ -1,15 +1,18 @@
1
1
  {
2
2
  "name": "@mmmbuto/codex-cli-termux",
3
- "version": "0.62.1-termux",
4
- "description": "OpenAI Codex CLI v0.62.0 multitool - TUI + exec subcommand + login/mcp. Pre-compiled for Android Termux (ARM64). Use 'codex' for TUI, 'codex exec --json' for automation.",
3
+ "version": "0.64.0-termux",
4
+ "description": "OpenAI Codex CLI v0.64.0 - Multitool with TUI + automation mode. Pre-compiled for Android Termux (ARM64). Use 'codex' for TUI, 'codex exec --json' for automation.",
5
5
  "type": "module",
6
6
  "main": "bin/codex.js",
7
7
  "bin": {
8
- "codex": "bin/codex.js"
8
+ "codex": "bin/codex.js",
9
+ "codex-exec": "bin/codex-exec.js"
9
10
  },
10
11
  "files": [
11
12
  "bin/codex.js",
13
+ "bin/codex-exec.js",
12
14
  "bin/codex",
15
+ "bin/codex-exec",
13
16
  "README.md"
14
17
  ],
15
18
  "keywords": [