@mmmbuto/codex-cli-termux 0.65.0-termux → 0.66.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 +9 -10
- package/bin/codex +0 -0
- package/bin/codex.js +31 -1
- 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.
|
|
81
|
+
# Output: codex-cli 0.66.0
|
|
82
82
|
|
|
83
83
|
codex login
|
|
84
84
|
# Opens browser for authentication
|
|
@@ -229,12 +229,12 @@ Codex will automatically:
|
|
|
229
229
|
- At least 80% overall pass rate
|
|
230
230
|
- No critical crashes
|
|
231
231
|
|
|
232
|
-
**Example Report** (v0.
|
|
232
|
+
**Example Report** (v0.66.0):
|
|
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.
|
|
237
|
+
Codex Version: 0.66.0
|
|
238
238
|
Total Tests: 50
|
|
239
239
|
✅ Passed: 49
|
|
240
240
|
❌ Failed: 0
|
|
@@ -290,7 +290,7 @@ See [LICENSE](./LICENSE) file for details.
|
|
|
290
290
|
|
|
291
291
|
---
|
|
292
292
|
|
|
293
|
-
**Version**: Based on OpenAI Codex 0.
|
|
293
|
+
**Version**: Based on OpenAI Codex 0.66.0 (includes GPT-5.1 MAX support)
|
|
294
294
|
**Platform**: Android Termux ARM64
|
|
295
295
|
**Maintained**: Community-driven, not affiliated with OpenAI
|
|
296
296
|
|
|
@@ -298,14 +298,13 @@ See [LICENSE](./LICENSE) file for details.
|
|
|
298
298
|
|
|
299
299
|
## 📜 Changelog
|
|
300
300
|
|
|
301
|
-
### v0.
|
|
301
|
+
### v0.66.0-termux (2025-12-09) – latest
|
|
302
302
|
**Dist-tag**: `latest`
|
|
303
303
|
|
|
304
|
-
-
|
|
305
|
-
-
|
|
306
|
-
-
|
|
307
|
-
-
|
|
308
|
-
- ✅ Tests: CODEX_TEST_SUITE v1.2 on ROG Phone 3 → 49/50 pass (1 Git optional skip), Package & Binary 8/8 pass, Termux-Specific 10/10 pass.
|
|
304
|
+
- ⬆️ Upstream bump to OpenAI Codex rust-v0.66.0 (minor stability fixes; no new Termux patches needed).
|
|
305
|
+
- 🖥️ Single entrypoint: `codex` defaults to `codex exec ...`; `codex tui` launches UI; `codex-exec` kept as alias wrapper → both commands hit the same binary.
|
|
306
|
+
- 📦 Package verification: bin includes `codex`, symlinked `codex-exec`, and JS wrappers; `--json` / `--output-schema` documented; `LD_LIBRARY_PATH` preserved.
|
|
307
|
+
- ✅ Tests: CODEX_TEST_SUITE v1.2 on ROG Phone 3 → 45 passed / 0 failed / 4 skipped (WebSearch, Git in non-repo, manual code analysis); Package & Binary 8/8; Termux-Specific 10/10.
|
|
309
308
|
|
|
310
309
|
---
|
|
311
310
|
|
package/bin/codex
CHANGED
|
Binary file
|
package/bin/codex.js
CHANGED
|
@@ -9,7 +9,37 @@ const __dirname = dirname(__filename);
|
|
|
9
9
|
|
|
10
10
|
const binaryPath = join(__dirname, 'codex');
|
|
11
11
|
|
|
12
|
-
|
|
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`.
|
|
15
|
+
const knownSubcommands = new Set([
|
|
16
|
+
'exec',
|
|
17
|
+
'review',
|
|
18
|
+
'login',
|
|
19
|
+
'logout',
|
|
20
|
+
'mcp',
|
|
21
|
+
'mcp-server',
|
|
22
|
+
'app-server',
|
|
23
|
+
'completion',
|
|
24
|
+
'sandbox',
|
|
25
|
+
'execpolicy',
|
|
26
|
+
'apply',
|
|
27
|
+
'resume',
|
|
28
|
+
'cloud',
|
|
29
|
+
'responses-api-proxy',
|
|
30
|
+
'stdio-to-uds',
|
|
31
|
+
'features',
|
|
32
|
+
'tui'
|
|
33
|
+
]);
|
|
34
|
+
|
|
35
|
+
const args = process.argv.slice(2);
|
|
36
|
+
const first = args[0];
|
|
37
|
+
const isOption = first?.startsWith('-');
|
|
38
|
+
const isKnownSubcommand = first && knownSubcommands.has(first);
|
|
39
|
+
|
|
40
|
+
const finalArgs = isOption || isKnownSubcommand ? args : ['exec', ...args];
|
|
41
|
+
|
|
42
|
+
const child = spawn(binaryPath, finalArgs, {
|
|
13
43
|
stdio: 'inherit',
|
|
14
44
|
env: { ...process.env, CODEX_MANAGED_BY_NPM: '1' }
|
|
15
45
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mmmbuto/codex-cli-termux",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "OpenAI Codex CLI v0.
|
|
3
|
+
"version": "0.66.0-termux",
|
|
4
|
+
"description": "OpenAI Codex CLI v0.66.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": {
|