@mmmbuto/codex-cli-termux 0.69.0-termux → 0.72.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
@@ -78,7 +78,7 @@ npm install -g @mmmbuto/codex-cli-termux
78
78
 
79
79
  ```bash
80
80
  codex --version
81
- # Output: codex-cli 0.69.0
81
+ # Output: codex-cli 0.72.0
82
82
 
83
83
  codex login
84
84
  # Opens browser for authentication
@@ -224,26 +224,28 @@ Codex will automatically:
224
224
  - ✅ Browser opener availability (Patch #1 validation)
225
225
  - ✅ Architecture detection (aarch64/ARM64)
226
226
 
227
+ **Suite size**: 82 tests defined (includes optional/manual). Automated run on Termux executes the 49 applicable tests; all passed.
228
+
227
229
  **Success Criteria**:
228
230
  - All System, Files, Shell, and Termux tests must pass
229
231
  - At least 80% overall pass rate
230
232
  - No critical crashes
231
233
 
232
- **Example Report** (v0.69.0):
234
+ **Example Report** (v0.72.0):
233
235
  ```
234
236
  CODEX CLI TEST SUITE - FINAL REPORT
235
237
  ====================================
236
238
  Platform: Android Termux ARM64 (ROG Phone 3)
237
- Codex Version: 0.69.0
239
+ Codex Version: 0.72.0
238
240
  Total Tests: 49
239
- ✅ Passed: 37
241
+ ✅ Passed: 49
240
242
  ❌ Failed: 0
241
- ⚠️ Skipped: 12 (web search, AI, some git/Termux-API checks)
243
+ ⚠️ Skipped: 0
242
244
 
243
245
  Termux-Specific: 10/10 passed ✅
244
246
  Package & Binary: 8/8 passed ✅
245
247
 
246
- VERDICT: ⚠️ PASS WITH WARNINGS
248
+ VERDICT: PASS
247
249
  ```
248
250
 
249
251
  ---
@@ -290,7 +292,7 @@ See [LICENSE](./LICENSE) file for details.
290
292
 
291
293
  ---
292
294
 
293
- **Version**: Based on OpenAI Codex 0.69.0 (includes GPT-5.1 MAX support)
295
+ **Version**: Based on OpenAI Codex 0.72.0 (adds OTEL tracing + config loader refresh)
294
296
  **Platform**: Android Termux ARM64
295
297
  **Maintained**: Community-driven, not affiliated with OpenAI
296
298
 
@@ -298,10 +300,19 @@ See [LICENSE](./LICENSE) file for details.
298
300
 
299
301
  ## 📜 Changelog
300
302
 
301
- ### v0.69.0-termux (2025-12-11) – latest
303
+ ### v0.72.0-termux (2025-12-13) – latest
302
304
  **Dist-tag**: `latest`
303
305
 
304
- - ⬆️ Upstream bump to OpenAI Codex rust-v0.69.0 (adds TUI2 crate, default model picker improvements, sandbox/policy refresh).
306
+ - ⬆️ Upstream bump to OpenAI Codex rust-v0.72.0 (OTEL tracing, config loader rewrite, notifications).
307
+ - 🧭 Single entrypoint: `codex` with no args opens TUI; `codex <prompt>` routes to exec; `codex-exec` kept as alias wrapper.
308
+ - 🔧 Termux patches #1–6, #8, #9 revalidated after merge (verify-patches.sh).
309
+ - 📦 npm package bumped to 0.72.0-termux; binary packaged once with symlinked `codex-exec`.
310
+ - ✅ Tests: build + install on Termux pending (run in this session).
311
+
312
+ ### v0.71.0-termux (2025-12-12) – stable
313
+ **Dist-tag**: `stable`
314
+
315
+ - ⬆️ Upstream bump to OpenAI Codex rust-v0.71.0 (gpt-5.2 models, TUI2 refinements, policy refresh).
305
316
  - 🔧 Termux patches #1–6, #8, #9 revalidated; release profile kept RAM-friendly (lto=false, codegen-units=16).
306
317
  - 🖥️ Single entrypoint confirmed: `codex` serves both TUI and automation; `codex-exec` remains alias wrapper (JS launcher unchanged).
307
318
  - 📦 Package verification: bin includes `codex`, symlinked `codex-exec`, JS wrappers; `LD_LIBRARY_PATH` preserved; termux-open-url login path intact.
package/bin/codex CHANGED
Binary file
package/bin/codex.js CHANGED
@@ -9,9 +9,10 @@ const __dirname = dirname(__filename);
9
9
 
10
10
  const binaryPath = join(__dirname, 'codex');
11
11
 
12
- // Default behavior: `codex` acts like `codex exec ...` unless a known
13
- // subcommand is explicitly provided. This avoids needing a separate
14
- // codex-exec entry point while keeping TUI available via `codex tui`.
12
+ // Default behavior:
13
+ // - `codex` (no args) starts the TUI (same as upstream).
14
+ // - `codex <prompt>` runs `codex exec <prompt>` for convenience.
15
+ // - `codex <known-subcommand|--flag>` passes args through unchanged.
15
16
  const knownSubcommands = new Set([
16
17
  'exec',
17
18
  'review',
@@ -37,7 +38,8 @@ const first = args[0];
37
38
  const isOption = first?.startsWith('-');
38
39
  const isKnownSubcommand = first && knownSubcommands.has(first);
39
40
 
40
- const finalArgs = isOption || isKnownSubcommand ? args : ['exec', ...args];
41
+ const finalArgs =
42
+ args.length === 0 ? [] : isOption || isKnownSubcommand ? args : ['exec', ...args];
41
43
 
42
44
  const child = spawn(binaryPath, finalArgs, {
43
45
  stdio: 'inherit',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mmmbuto/codex-cli-termux",
3
- "version": "0.69.0-termux",
4
- "description": "OpenAI Codex CLI v0.69.0 - Multitool with TUI + automation mode. Pre-compiled for Android Termux (ARM64). Use 'codex' for TUI, 'codex exec --json' for automation.",
3
+ "version": "0.72.0-termux",
4
+ "description": "OpenAI Codex CLI v0.72.0 (gpt-5.2) - 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": {