@mmmbuto/codex-cli-termux 0.57.0-termux โ†’ 0.58.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/bin/codex CHANGED
Binary file
package/bin/codex.js ADDED
@@ -0,0 +1,19 @@
1
+ #!/usr/bin/env node
2
+
3
+ import { spawn } from 'child_process';
4
+ import { fileURLToPath } from 'url';
5
+ import { dirname, join } from 'path';
6
+
7
+ const __filename = fileURLToPath(import.meta.url);
8
+ const __dirname = dirname(__filename);
9
+
10
+ const binaryPath = join(__dirname, 'codex');
11
+
12
+ const child = spawn(binaryPath, process.argv.slice(2), {
13
+ stdio: 'inherit',
14
+ env: { ...process.env, CODEX_MANAGED_BY_NPM: '1' }
15
+ });
16
+
17
+ child.on('exit', (code) => {
18
+ process.exit(code);
19
+ });
package/package.json CHANGED
@@ -1,40 +1,44 @@
1
1
  {
2
2
  "name": "@mmmbuto/codex-cli-termux",
3
- "version": "0.57.0-termux",
4
- "description": "OpenAI Codex CLI v0.57.0 - Termux build (Android ARM64)",
5
- "main": "bin/codex",
3
+ "version": "0.58.0-termux",
4
+ "description": "OpenAI Codex CLI v0.58.0 with GPT-5.1 support, pre-compiled for Android Termux (ARM64)",
5
+ "type": "module",
6
+ "main": "bin/codex.js",
6
7
  "bin": {
7
- "codex": "./bin/codex"
8
- },
9
- "scripts": {
10
- "postinstall": "echo 'โœ… @mmmbuto/codex-cli-termux installed successfully'"
8
+ "codex": "bin/codex.js"
11
9
  },
10
+ "files": [
11
+ "bin/codex.js",
12
+ "bin/codex"
13
+ ],
12
14
  "keywords": [
13
15
  "codex",
14
16
  "openai",
15
17
  "termux",
16
18
  "android",
17
19
  "arm64",
18
- "cli"
20
+ "cli",
21
+ "ai",
22
+ "coding-agent"
19
23
  ],
20
- "author": "Davide A. Guglielmi <dev@mmmbuto.com>",
24
+ "author": "DioNanos",
21
25
  "license": "Apache-2.0",
22
26
  "repository": {
23
27
  "type": "git",
24
28
  "url": "https://github.com/DioNanos/codex-termux.git"
25
29
  },
30
+ "homepage": "https://github.com/DioNanos/codex-termux#readme",
26
31
  "bugs": {
27
32
  "url": "https://github.com/DioNanos/codex-termux/issues"
28
33
  },
29
- "homepage": "https://github.com/DioNanos/codex-termux#readme",
34
+ "engines": {
35
+ "node": ">=14.0.0"
36
+ },
30
37
  "os": [
31
- "linux",
32
- "android"
38
+ "android",
39
+ "linux"
33
40
  ],
34
41
  "cpu": [
35
42
  "arm64"
36
- ],
37
- "engines": {
38
- "node": ">=14.0.0"
39
- }
43
+ ]
40
44
  }
package/README.md DELETED
@@ -1,80 +0,0 @@
1
- # @mmmbuto/codex-cli-termux
2
-
3
- OpenAI Codex CLI v0.57.0 pre-compiled for Android Termux (ARM64)
4
-
5
- ## ๐Ÿš€ v0.57.0 - Latest Release
6
-
7
- **Synced with upstream OpenAI Codex rust-v0.57.0 (25 commits)**
8
-
9
- ### Upstream improvements
10
- - โŒจ๏ธ **TUI Navigation**: CTRL-n / CTRL-p for navigating slash commands, files, history
11
- - ๐Ÿ”ง **Unified Exec**: Improved safe commands handling, process group timeout fixes
12
- - ๐ŸชŸ **WSL Support**: Path normalization for Windows Subsystem for Linux
13
- - ๐Ÿš€ **App-server v2**: New Thread/Turn APIs, account endpoints
14
- - ๐Ÿงน **Refactoring**: Terminal cleanup (deprecated flush logic removed)
15
-
16
- ### Termux-specific patches (maintained)
17
- - โœ… Android auto-update disabled (manual update instructions shown)
18
- - โœ… `termux-open-url` for browser login (avoids ndk-context crash)
19
- - โœ… RAM optimizations for 16GB devices (lto=false, codegen-units=16)
20
- - โœ… Disabled unsupported sandbox on Android (landlock/seccomp)
21
- - โœ… Preserved LD_* environment variables required by Termux
22
- - โœ… Fixed shell detection ($SHELL instead of getpwuid)
23
-
24
- ---
25
-
26
- ## Installation
27
-
28
- ```bash
29
- npm install -g @mmmbuto/codex-cli-termux
30
- ```
31
-
32
- ## Usage
33
-
34
- ```bash
35
- codex --version # Show version (0.57.0)
36
- codex login # Authenticate with OpenAI
37
- codex # Start interactive TUI
38
- codex exec "prompt" # Non-interactive mode
39
- codex --help # Full documentation
40
- ```
41
-
42
- ### New in 0.57.0
43
-
44
- ```bash
45
- # Try new TUI navigation
46
- codex
47
- # Press CTRL-n / CTRL-p to navigate slash commands, files, history
48
- ```
49
-
50
- ## Requirements
51
-
52
- - **Platform**: Android with Termux
53
- - **Architecture**: ARM64
54
- - **Node.js**: โ‰ฅ 14.0.0
55
- - **Storage**: ~50MB
56
-
57
- ## Source
58
-
59
- This package contains a pre-compiled binary of [OpenAI Codex](https://github.com/openai/codex) for ARM64 Termux.
60
-
61
- - **Upstream**: [github.com/openai/codex](https://github.com/openai/codex) (rust-v0.57.0)
62
- - **Fork**: [github.com/DioNanos/codex-termux](https://github.com/DioNanos/codex-termux)
63
- - **Changelog**: https://github.com/openai/codex/compare/rust-v0.56.0...rust-v0.57.0
64
-
65
- ## Compatibility
66
-
67
- Fully compatible with official OpenAI Codex. Only minimal patches for Android/Termux compatibility. No behavior modifications.
68
-
69
- ## License
70
-
71
- Apache 2.0 - See [LICENSE](https://github.com/DioNanos/codex-termux/blob/main/LICENSE)
72
-
73
- **Original work**: Copyright OpenAI
74
- **Termux port**: Minimal patches for Android compatibility
75
-
76
- ## Maintainer
77
-
78
- Davide A. Guglielmi <dev@mmmbuto.com>
79
-
80
- **Last updated**: 2025-11-10