@mmmbuto/codex-cli-termux 0.64.0-termux → 0.64.1-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.
Files changed (3) hide show
  1. package/README.md +26 -114
  2. package/bin/codex +0 -0
  3. package/package.json +2 -2
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.62.1
81
+ # Output: codex-cli 0.64.1 (latest) or use @stable for 0.62.1
82
82
 
83
83
  codex login
84
84
  # Opens browser for authentication
@@ -174,7 +174,7 @@ This project includes a comprehensive test suite specifically designed for Termu
174
174
  **Test Suite**: [`CODEX_TEST_SUITE.md`](./CODEX_TEST_SUITE.md)
175
175
 
176
176
  **Coverage**:
177
- - ✅ **82 automated tests** across 12 categories
177
+ - ✅ **82 automated tests** across 12 categories (v1.2)
178
178
  - ✅ **10 Termux-specific tests** validating all 8 compatibility patches
179
179
  - ✅ **8 Package & Binary tests** for npm installation verification
180
180
  - ✅ File operations, shell execution, environment detection
@@ -192,7 +192,7 @@ codex
192
192
  ```
193
193
 
194
194
  Codex will automatically:
195
- 1. Execute all 74 tests sequentially
195
+ 1. Execute all 82 tests sequentially
196
196
  2. Report PASS/FAIL for each test
197
197
  3. Generate a final summary with:
198
198
  - Total passed/failed counts
@@ -229,16 +229,16 @@ Codex will automatically:
229
229
  - At least 80% overall pass rate
230
230
  - No critical crashes
231
231
 
232
- **Example Report** (v0.62.1):
232
+ **Example Report** (v0.64.1):
233
233
  ```
234
234
  CODEX CLI TEST SUITE - FINAL REPORT
235
235
  ====================================
236
236
  Platform: Android Termux ARM64 (ROG Phone 3)
237
- Codex Version: 0.62.1
237
+ Codex Version: 0.64.1
238
238
  Total Tests: 49
239
- ✅ Passed: 46
239
+ ✅ Passed: 47
240
240
  ❌ Failed: 0
241
- ⚠️ Skipped: 3 (WebSearch, Git - optional)
241
+ ⚠️ Skipped: 2 (Git optional)
242
242
 
243
243
  Termux-Specific: 10/10 passed ✅
244
244
  Package & Binary: 8/8 passed ✅
@@ -290,7 +290,8 @@ See [LICENSE](./LICENSE) file for details.
290
290
 
291
291
  ---
292
292
 
293
- **Version**: Based on OpenAI Codex 0.62.1 (includes GPT-5.1 MAX support)
293
+ **Version (latest)**: Based on OpenAI Codex 0.64.0-alpha.9 (includes GPT-5.1 MAX support)
294
+ **Dist-tags**: `latest` = 0.64.1-termux · `stable` = 0.62.1-termux
294
295
  **Platform**: Android Termux ARM64
295
296
  **Maintained**: Community-driven, not affiliated with OpenAI
296
297
 
@@ -298,109 +299,20 @@ See [LICENSE](./LICENSE) file for details.
298
299
 
299
300
  ## 📜 Changelog
300
301
 
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
-
307
- ### v0.62.0-termux (2025-11-21)
308
-
309
- **Update**: Synced with upstream OpenAI Codex rust-v0.62.0 (40+ commits from v0.61.0)
310
-
311
- > **Note**: Upstream rust-v0.63.0 skipped - only 3 minor commits (duplicate bash fix, drop unused param, declined status). Will sync with next significant release.
312
-
313
- **Upstream Features**:
314
- - 🆕 **codex-shell-tool-mcp**: New MCP server for shell tools
315
- - 🆕 **execpolicycheck**: New CLI command for exec policy debugging
316
- - 🎯 **TUI reasoning default**: Changed to "medium" level
317
- - ⏱️ **Shell timeout**: Increased to 1 hour for long-running commands
318
- - 🎬 **TUI animations toggle**: Feature switch to disable animations
319
- - 🔄 **resume --last**: Allow reading prompt from last session
320
-
321
- **Breaking Changes**:
322
- - `execpolicy` migration: `execpolicy2` → `execpolicy`, old → `execpolicy-legacy`
323
- - Removed `tiktoken-rs` dependency
324
- - `ExecParams.timeout_ms` replaced with `ExecExpiration` enum
325
-
326
- **Termux-Specific**:
327
- - ✅ **All 9 patches preserved and verified** (no conflicts)
328
- - ✅ **Build optimized for 8GB RAM**: Compiled in 10m 35s on ROG Phone 3
329
- - ✅ **Binary size**: 35MB
330
- - ✅ **Test Suite**: 39/42 passed (92.9%), 9/10 Termux-specific
331
-
332
- **Stats**: 195 files changed, +5915 insertions, -2293 deletions
333
-
334
- Full upstream changelog: https://github.com/openai/codex/compare/rust-v0.61.0...rust-v0.62.0
335
-
336
- ---
337
-
338
- ### v0.61.0-termux (2025-11-20)
339
-
340
- **Update**: Synced with upstream OpenAI Codex rust-v0.61.0 (13 commits from v0.60.1)
341
-
342
- **Upstream Features**:
343
- - 🚀 **Single Pass Truncation**: Improved performance for context management
344
- - 🔐 **execpolicy2 Integration**: Enhanced security with new execution policy system
345
- - 🐚 **Shell Fallback Improvements**: Better shell detection with automatic fallbacks (bash → zsh)
346
- - 🎨 **Model Migration UX**: Stop showing migration screen after first time
347
- - 🪟 **World-Writable Warnings**: Reduced false positives on Android
348
-
349
- **Termux-Specific**:
350
- - ✅ **All 8 patches preserved and verified**
351
- - ✅ **Shell fallback compatible**: Android `$SHELL` detection enhanced with upstream fallbacks
352
- - ✅ **Build optimized for 8GB RAM**: Compiled successfully on ROG Phone 3 (9m 06s)
353
- - ✅ **Binary size**: 42MB (+13% vs 0.60.1 due to execpolicy2)
354
- - ✅ **Test Suite**: 40/42 tests PASSED (95.2%), 10/10 Termux-specific tests
355
-
356
- **Patches Validated**:
357
- 1. ✅ Browser login (`termux-open-url`)
358
- 2. ✅ RAM optimizations (`lto=false`, `codegen-units=16`)
359
- 3. ✅ Android shell detection (`$SHELL` env var)
360
- 4. ✅ Android sandbox disabled
361
- 5. ✅ LD_* environment variables preserved
362
- 6. ✅ Auto-update URL (`DioNanos/codex-termux`)
363
- 7. ✅ Version parser (`-termux` suffix support)
364
- 8. ✅ NPM package name (`@mmmbuto/codex-cli-termux`)
365
-
366
- **Breaking Changes**: None - fully backward compatible
367
-
368
- **Testing**: Comprehensive test suite with 74 tests available at [`CODEX_TEST_SUITE.md`](./CODEX_TEST_SUITE.md)
369
-
370
- Full upstream changelog: https://github.com/openai/codex/compare/rust-v0.60.1...rust-v0.61.0
371
-
372
- ---
373
-
374
- ### v0.60.1-termux (2025-11-20)
375
-
376
- **Major Update**: Synced with upstream OpenAI Codex rust-v0.60.1 (250+ commits)
377
-
378
- **Upstream Features**:
379
- - 🤖 **GPT-5.1 MAX Support**: New MAX model with enhanced capabilities and performance
380
- - 🔧 **App-Server Protocol**: Enhanced v2 APIs for thread management
381
- - ⚡ **Performance Optimizations**: Improved TUI responsiveness and memory usage
382
- - 🪟 **Windows Sandbox**: Enhanced security features (not applicable to Termux)
383
- - 🐛 **Bug Fixes**: 250+ commits with stability improvements and fixes
384
-
385
- **Termux-Specific**:
386
- - ✅ **All 8 patches preserved and verified**
387
- - ✅ **Patch #8 updated**: Shell detection refactored for upstream changes
388
- - ✅ **Build optimized for 8GB RAM**: Compiled successfully on ROG Phone 3
389
- - ✅ **Binary size**: 37MB (24% smaller than 0.58.4)
390
- - ✅ **Test Suite**: 74 automated tests including 10 Termux-specific validations
391
-
392
- **Patches Validated**:
393
- 1. ✅ Browser login (`termux-open-url`)
394
- 2. ✅ RAM optimizations (`lto=false`, `codegen-units=16`)
395
- 3. ✅ Android shell detection (`$SHELL` env var)
396
- 4. ✅ Android sandbox disabled
397
- 5. ✅ LD_* environment variables preserved
398
- 6. ✅ Auto-update URL (`DioNanos/codex-termux`)
399
- 7. ✅ Version parser (`-termux` suffix support)
400
- 8. ✅ NPM package name (`@mmmbuto/codex-cli-termux`)
401
-
402
- **Breaking Changes**: None - fully backward compatible
403
-
404
- **Testing**: Comprehensive test suite with 74 tests available at [`CODEX_TEST_SUITE.md`](./CODEX_TEST_SUITE.md)
405
-
406
- Full upstream changelog: https://github.com/openai/codex/compare/rust-v0.58.0...rust-v0.60.1
302
+ ### v0.64.1-termux (2025-12-03) — latest
303
+ - **Binary**: single multitool `codex`; `codex-exec` remains wrapper/symlink to the same ~47 MB binary.
304
+ - **Package**: `package.json` exposes `codex` and `codex-exec`; `bin/` ships JS wrappers + symlink.
305
+ - **Termux runtime**: LD_LIBRARY_PATH enforced to `$PREFIX/lib` via `~/.zshenv` (preserves libs for bash/exec).
306
+ - **Tests**: Suite v1.2 → 47/49 pass (10/10 Termux, 8/8 Package), Git optional skipped; wifi Termux-API warning non-blocking.
307
+ - **Upstream (rust-v0.64.0-alpha.9) highlights**: app-server turn/diff/updated events; thread_id/turn_id in notifications; unified exec custom env + pruning; MCP elicitations support; shell-tool-mcp login; config management; skip-upgrade option; Windows sandbox treats `.git` as read-only; TTY fail-fast; macOS 13 dropped.
308
+ - **Install**: `npm i -g @mmmbuto/codex-cli-termux` (dist-tag `latest`)
309
+ - **Verify**: `codex --version` → `codex-cli 0.64.1`; `codex-exec --version` → `codex-cli 0.64.1`
310
+ - **Report**: see `CODEX_TEST_REPORT_v0.64.1.md` (47/49 pass)
311
+
312
+ ### v0.62.1-termux (2025-11-22) stable
313
+ - **Dist-tag**: `stable` (install with `npm i -g @mmmbuto/codex-cli-termux@stable`)
314
+ - **Upstream highlights (rust-v0.62.0)**: codex-shell-tool-mcp; `execpolicycheck`; TUI reasoning default → medium; shell timeout 1h; TUI animations toggle; `resume --last`; `execpolicy` rename (`execpolicy2`→`execpolicy`, old→`execpolicy-legacy`); `ExecParams.timeout_ms`→`ExecExpiration`; removal of `tiktoken-rs`.
315
+ - **Termux patches**: all 9 verified (browser login, RAM opts, version parser/URL/npm name, LD_* preservation + sandbox disable + shell detection, auto-update execution).
316
+ - **Build**: optimized for 8GB (ROG Phone 3), binary ~35MB.
317
+ - **Tests**: 39/42 pass (92.9%), 9/10 Termux-specific.
318
+ - 🔖 Upstream compare: https://github.com/openai/codex/compare/rust-v0.61.0...rust-v0.62.0
package/bin/codex CHANGED
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mmmbuto/codex-cli-termux",
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.",
3
+ "version": "0.64.1-termux",
4
+ "description": "OpenAI Codex CLI v0.64.1 - 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": {