@mmmbuto/codex-cli-termux 0.58.4-termux → 0.60.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 +118 -47
  2. package/bin/codex +0 -0
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -6,11 +6,8 @@
6
6
  [![downloads](https://img.shields.io/npm/dt/@mmmbuto/codex-cli-termux?style=flat-square)](https://www.npmjs.com/package/@mmmbuto/codex-cli-termux)
7
7
  [![ko-fi](https://img.shields.io/badge/☕_Support-Ko--fi-FF5E5B?style=flat-square&logo=ko-fi)](https://ko-fi.com/dionanos)
8
8
 
9
- > [!TIP]
10
- > **Enjoying Codex on mobile?**
11
- > This project requires ~20 hours/month for ARM64 compilation, upstream tracking, and compatibility patches.
12
- > [Support development →](https://ko-fi.com/dionanos)
13
-
9
+ ---
10
+ > 💡 Like CLI tools? Check out my next project, **NexusCLI** an open, developer-focused AI terminal cockpit: https://github.com/DioNanos/NexusCLI
14
11
  ---
15
12
 
16
13
  ## What This Is
@@ -83,7 +80,7 @@ npm install -g @mmmbuto/codex-cli-termux
83
80
 
84
81
  ```bash
85
82
  codex --version
86
- # Output: codex-cli 0.58.0
83
+ # Output: codex-tui 0.60.1
87
84
 
88
85
  codex login
89
86
  # Opens browser for authentication
@@ -115,6 +112,84 @@ For full documentation, see [OpenAI Codex docs](https://github.com/openai/codex)
115
112
 
116
113
  ---
117
114
 
115
+ ## 🧪 Testing & Validation
116
+
117
+ ### Automated Test Suite
118
+
119
+ This project includes a comprehensive test suite specifically designed for Termux validation:
120
+
121
+ **Test Suite**: [`CODEX_TEST_SUITE.md`](./CODEX_TEST_SUITE.md)
122
+
123
+ **Coverage**:
124
+ - ✅ **74 automated tests** across 11 categories
125
+ - ✅ **10 Termux-specific tests** validating all 8 compatibility patches
126
+ - ✅ File operations, shell execution, environment detection
127
+ - ✅ Android permissions, library paths, package manager
128
+ - ✅ Error handling and edge cases
129
+
130
+ **How to use**:
131
+
132
+ ```bash
133
+ # Start Codex
134
+ codex
135
+
136
+ # Feed the test suite
137
+ > Read and execute all tests in https://github.com/DioNanos/codex-termux/blob/main/CODEX_TEST_SUITE.md
138
+ ```
139
+
140
+ Codex will automatically:
141
+ 1. Execute all 74 tests sequentially
142
+ 2. Report PASS/FAIL for each test
143
+ 3. Generate a final summary with:
144
+ - Total passed/failed counts
145
+ - Category breakdowns
146
+ - Critical failures (if any)
147
+ - Overall verdict
148
+
149
+ **Test Categories**:
150
+ 1. System Information (3 tests)
151
+ 2. File Operations (8 tests)
152
+ 3. Search & Discovery (3 tests)
153
+ 4. Shell Execution (4 tests)
154
+ 5. Text Processing (2 tests)
155
+ 6. Web & Network (2 tests - optional)
156
+ 7. Git Operations (2 tests - optional)
157
+ 8. AI Capabilities (3 tests)
158
+ 9. Error Handling (3 tests)
159
+ 10. **Termux-Specific (10 tests)** ⭐ - Validates all Android patches
160
+ 11. Cleanup (1 test)
161
+
162
+ **Termux-Specific Tests Include**:
163
+ - ✅ Environment paths (`$PREFIX`, `$HOME`, `$LD_LIBRARY_PATH`)
164
+ - ✅ Shell detection (bash/zsh on Android)
165
+ - ✅ Package manager (`pkg` commands)
166
+ - ✅ Storage access (`/sdcard`, `~/storage`)
167
+ - ✅ Android permissions and sandbox isolation
168
+ - ✅ Library path preservation (Patch #8 validation)
169
+ - ✅ Browser opener availability (Patch #1 validation)
170
+ - ✅ Architecture detection (aarch64/ARM64)
171
+
172
+ **Success Criteria**:
173
+ - All System, Files, Shell, and Termux tests must pass
174
+ - At least 80% overall pass rate
175
+ - No critical crashes
176
+
177
+ **Example Report**:
178
+ ```
179
+ CODEX CLI TEST SUITE - FINAL REPORT
180
+ ====================================
181
+ Total Tests: 74
182
+ ✅ Passed: 71
183
+ ❌ Failed: 1
184
+ ⚠️ Skipped: 2 (WebSearch, Git - optional)
185
+
186
+ Termux-Specific: 10/10 passed ✅
187
+
188
+ VERDICT: ✅ PASS
189
+ ```
190
+
191
+ ---
192
+
118
193
  ## 🔨 Building from Source
119
194
 
120
195
  See [BUILDING.md](./BUILDING.md) for compilation instructions.
@@ -157,7 +232,7 @@ See [LICENSE](./LICENSE) file for details.
157
232
 
158
233
  ---
159
234
 
160
- **Version**: Based on OpenAI Codex 0.58.0 (includes GPT-5.1 support)
235
+ **Version**: Based on OpenAI Codex 0.60.1 (includes GPT-5.1 MAX support)
161
236
  **Platform**: Android Termux ARM64
162
237
  **Maintained**: Community-driven, not affiliated with OpenAI
163
238
 
@@ -165,6 +240,42 @@ See [LICENSE](./LICENSE) file for details.
165
240
 
166
241
  ## 📜 Changelog
167
242
 
243
+ ### v0.60.1-termux (2025-11-20)
244
+
245
+ **Major Update**: Synced with upstream OpenAI Codex rust-v0.60.1 (250+ commits)
246
+
247
+ **Upstream Features**:
248
+ - 🤖 **GPT-5.1 MAX Support**: New MAX model with enhanced capabilities and performance
249
+ - 🔧 **App-Server Protocol**: Enhanced v2 APIs for thread management
250
+ - ⚡ **Performance Optimizations**: Improved TUI responsiveness and memory usage
251
+ - 🪟 **Windows Sandbox**: Enhanced security features (not applicable to Termux)
252
+ - 🐛 **Bug Fixes**: 250+ commits with stability improvements and fixes
253
+
254
+ **Termux-Specific**:
255
+ - ✅ **All 8 patches preserved and verified**
256
+ - ✅ **Patch #8 updated**: Shell detection refactored for upstream changes
257
+ - ✅ **Build optimized for 8GB RAM**: Compiled successfully on ROG Phone 3
258
+ - ✅ **Binary size**: 37MB (24% smaller than 0.58.4)
259
+ - ✅ **Test Suite**: 74 automated tests including 10 Termux-specific validations
260
+
261
+ **Patches Validated**:
262
+ 1. ✅ Browser login (`termux-open-url`)
263
+ 2. ✅ RAM optimizations (`lto=false`, `codegen-units=16`)
264
+ 3. ✅ Android shell detection (`$SHELL` env var)
265
+ 4. ✅ Android sandbox disabled
266
+ 5. ✅ LD_* environment variables preserved
267
+ 6. ✅ Auto-update URL (`DioNanos/codex-termux`)
268
+ 7. ✅ Version parser (`-termux` suffix support)
269
+ 8. ✅ NPM package name (`@mmmbuto/codex-cli-termux`)
270
+
271
+ **Breaking Changes**: None - fully backward compatible
272
+
273
+ **Testing**: Comprehensive test suite with 74 tests available at [`CODEX_TEST_SUITE.md`](./CODEX_TEST_SUITE.md)
274
+
275
+ Full upstream changelog: https://github.com/openai/codex/compare/rust-v0.58.0...rust-v0.60.1
276
+
277
+ ---
278
+
168
279
  ### v0.58.4-termux (2025-11-14)
169
280
 
170
281
  **Critical bugfix**: Auto-update detection now working
@@ -188,43 +299,3 @@ See [LICENSE](./LICENSE) file for details.
188
299
  - ✅ **Patch #3**: Auto-update URL (`@mmmbuto/codex-cli-termux`)
189
300
  - ✅ **Patch #4**: Auto-update detection (this release)
190
301
 
191
- ---
192
-
193
- ### v0.58.0-termux (2025-11-13)
194
-
195
- Synced with upstream OpenAI Codex rust-v0.58.0 (62 commits)
196
-
197
- **Major features:**
198
- - 🤖 **GPT-5.1 Support**: New model family (gpt-5.1-codex, gpt-5.1-codex-mini, gpt-5.1)
199
- - 🧠 **Adaptive Reasoning**: Configurable effort levels (Low, Medium, High)
200
- - ⌨️ **Enhanced TUI**: Job control, improved navigation, better model picker
201
- - 🔧 **Shell Detection**: Centralized command generation for unified exec
202
- - 📊 **App-server v2**: Thread/Turn APIs improvements
203
-
204
- **Termux-specific:**
205
- - ✅ All Android patches preserved and verified working
206
- - ✅ Browser login fix (termux-open-url)
207
- - ✅ RAM optimizations (lto=false, codegen-units=16)
208
- - ✅ Auto-update for @mmmbuto/codex-cli-termux
209
-
210
- Full upstream changelog: https://github.com/openai/codex/compare/rust-v0.57.0...rust-v0.58.0
211
-
212
- ---
213
-
214
- ### v0.57.0-termux (2025-11-10)
215
-
216
- Synced with upstream OpenAI Codex rust-v0.57.0 (25 commits)
217
-
218
- **Upstream improvements:**
219
- - ⌨️ **TUI Navigation**: CTRL-n / CTRL-p for navigating slash commands, files, history
220
- - 🔧 **Unified Exec**: Improved safe commands handling, process group timeout fixes
221
- - 🪟 **WSL Support**: Path normalization for Windows Subsystem for Linux
222
- - 🚀 **App-server v2**: New Thread/Turn APIs, account endpoints
223
- - 🧹 **Refactoring**: Terminal cleanup (deprecated flush logic removed)
224
-
225
- **Termux-specific:**
226
- - ✅ Android auto-update disabled (manual update instructions shown)
227
- - ✅ `termux-open-url` for browser login (ndk-context crash fix maintained)
228
- - ✅ RAM optimizations for 16GB devices (lto=false, codegen-units=16)
229
-
230
- Full upstream changelog: https://github.com/openai/codex/compare/rust-v0.56.0...rust-v0.57.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.58.4-termux",
4
- "description": "OpenAI Codex CLI v0.58.4 with GPT-5.1 support, pre-compiled for Android Termux (ARM64)",
3
+ "version": "0.60.1-termux",
4
+ "description": "OpenAI Codex CLI v0.60.1 with GPT-5.1 MAX support, pre-compiled for Android Termux (ARM64)",
5
5
  "type": "module",
6
6
  "main": "bin/codex.js",
7
7
  "bin": {