@mmmbuto/codex-cli-termux 0.93.0-termux โ†’ 0.95.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
@@ -12,11 +12,11 @@
12
12
 
13
13
  Built from upstream OpenAI Codex source, compiled for Android Termux. Since Termux is not officially supported by upstream, we apply minimal patches only for critical compatibility issues.
14
14
 
15
- ### Termux Edition (0.93.0)
15
+ ### Termux Edition (0.95.0)
16
16
 
17
17
  This repo maintains **two release lines**:
18
18
 
19
- - **Latest (main)**: Termux-only, tracks upstream more closely (current: **v0.93.0-termux** based on `rust-v0.93.0`).
19
+ - **Latest (main)**: Termux-only, tracks upstream more closely (current: **v0.95.0-termux** based on `rust-v0.95.0`).
20
20
  - **LTS (lts)**: Long-term support based on upstream `rust-v0.80.0`, stable for compatibility.
21
21
  The LTS line supports **both /chat and /responses** wire APIs, and receives **security and stability backports only**.
22
22
 
@@ -84,7 +84,7 @@ npm install -g @mmmbuto/codex-cli-termux
84
84
  This repo maintains **two release lines**:
85
85
 
86
86
  - **LTS:** `@mmmbuto/codex-cli-lts` - based on upstream `rust-v0.80.0`, stable for long-term compatibility
87
- - **Latest:** `@mmmbuto/codex-cli-termux` - tracks upstream more closely (current: **v0.93.0-termux** based on `rust-v0.93.0`)
87
+ - **Latest:** `@mmmbuto/codex-cli-termux` - tracks upstream more closely (current: **v0.95.0-termux** based on `rust-v0.95.0`)
88
88
 
89
89
  Install a specific version when needed:
90
90
 
@@ -107,7 +107,7 @@ npm view @mmmbuto/codex-cli-termux versions --json
107
107
 
108
108
  ```bash
109
109
  codex --version
110
- # Output: codex-cli 0.93.0
110
+ # Output: codex-cli 0.95.0
111
111
 
112
112
  codex login
113
113
  # Opens browser for authentication
@@ -150,7 +150,7 @@ codex --json "List files in current directory"
150
150
 
151
151
  ## ๐Ÿงช Testing & Validation
152
152
 
153
- **v0.93.0-termux** (2026-02-01): 18 tests, 18 passed / 0 failed / 1 warning โ€” see [CODEX_TEST_REPORT_v0.93.0.md](../CODEX_TEST_REPORT_v0.93.0.md)
153
+ **v0.95.0-termux** (2026-02-04): 20 tests, 20 passed / 0 failed / 1 warning โ€” see [CODEX_TEST_REPORT_v0.95.0.md](../CODEX_TEST_REPORT_v0.95.0.md)
154
154
 
155
155
  **LTS validation** (2026-02-02): All categories PASS โ€” see [CODEX_TEST_REPORT_v0.80.3-lts_termux.md](../CODEX_TEST_REPORT_v0.80.3-lts_termux.md)
156
156
 
@@ -164,6 +164,6 @@ See [LICENSE](../LICENSE) file for details.
164
164
 
165
165
  ---
166
166
 
167
- **Version**: Based on OpenAI Codex rust-v0.93.0 with Termux compatibility patches
167
+ **Version**: Based on OpenAI Codex rust-v0.95.0 with Termux compatibility patches
168
168
  **Platform**: Android Termux ARM64
169
169
  **Maintained**: Community-driven, not affiliated with OpenAI
package/bin/codex CHANGED
Binary file
package/bin/codex-exec ADDED
Binary file
package/bin/codex-exec.js CHANGED
@@ -1,15 +1,23 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { spawn } from 'child_process';
4
+ import { existsSync, lstatSync } from 'fs';
4
5
  import { fileURLToPath } from 'url';
5
6
  import { dirname, join } from 'path';
6
7
 
7
8
  const __filename = fileURLToPath(import.meta.url);
8
9
  const __dirname = dirname(__filename);
9
10
 
10
- const binaryPath = join(__dirname, 'codex');
11
+ const execBinaryPath = join(__dirname, 'codex-exec');
12
+ const codexBinaryPath = join(__dirname, 'codex');
11
13
 
12
- const args = ['exec', ...process.argv.slice(2)];
14
+ const hasDedicatedExecBinary =
15
+ existsSync(execBinaryPath) && !lstatSync(execBinaryPath).isSymbolicLink();
16
+
17
+ const binaryPath = hasDedicatedExecBinary ? execBinaryPath : codexBinaryPath;
18
+ const args = hasDedicatedExecBinary
19
+ ? process.argv.slice(2)
20
+ : ['exec', ...process.argv.slice(2)];
13
21
 
14
22
  const child = spawn(binaryPath, args, {
15
23
  stdio: 'inherit',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mmmbuto/codex-cli-termux",
3
- "version": "0.93.0-termux",
4
- "description": "OpenAI Codex CLI (upstream rust-v0.93.0) packaged as 0.93.0-termux โ€“ TUI + automation for Android Termux (ARM64). Use 'codex' for TUI, 'codex exec --json' for automation.",
3
+ "version": "0.95.0-termux",
4
+ "description": "OpenAI Codex CLI (upstream rust-v0.95.0) packaged as 0.95.0-termux โ€“ TUI + automation 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": {