@mmmbuto/codex-cli-termux 0.56.3-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 CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
+
2
3
  import { spawn } from 'child_process';
3
4
  import { fileURLToPath } from 'url';
4
5
  import { dirname, join } from 'path';
@@ -10,7 +11,7 @@ const binaryPath = join(__dirname, 'codex');
10
11
 
11
12
  const child = spawn(binaryPath, process.argv.slice(2), {
12
13
  stdio: 'inherit',
13
- windowsHide: true,
14
+ env: { ...process.env, CODEX_MANAGED_BY_NPM: '1' }
14
15
  });
15
16
 
16
17
  child.on('exit', (code) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mmmbuto/codex-cli-termux",
3
- "version": "0.56.3-termux",
4
- "description": "OpenAI Codex CLI v0.56.0 pre-compiled for Android Termux (ARM64)",
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
5
  "type": "module",
6
6
  "main": "bin/codex.js",
7
7
  "bin": {
@@ -21,7 +21,7 @@
21
21
  "ai",
22
22
  "coding-agent"
23
23
  ],
24
- "author": "Davide A. Guglielmi <dev@mmmbuto.com>",
24
+ "author": "DioNanos",
25
25
  "license": "Apache-2.0",
26
26
  "repository": {
27
27
  "type": "git",
package/README.md DELETED
@@ -1,127 +0,0 @@
1
- # 🤖 Codex CLI - Termux Edition
2
-
3
- > **Pre-compiled OpenAI Codex for Android Termux (ARM64)**
4
-
5
- ## What This Is
6
-
7
- Official OpenAI Codex CLI compiled for Android Termux. Since Termux is not officially supported by upstream, we apply minimal patches only for critical compatibility issues.
8
-
9
- ### What We Do:
10
- ✅ **Use official OpenAI Codex source** (https://github.com/openai/codex)
11
- ✅ **Compile for ARM64** (Android Termux native)
12
- ✅ **Apply minimal patches** only for Termux-specific issues not addressed upstream
13
- ✅ **Package as npm** for easy installation
14
- ✅ **Maintain full Apache 2.0 compliance** with OpenAI attribution
15
-
16
- ### What We DON'T Do:
17
- ❌ **NO new features**
18
- ❌ **NO behavior modifications** (works exactly like upstream)
19
- ❌ **NO replacement** of official Codex
20
-
21
- ### 🔧 Compatibility Patches
22
-
23
- We only apply patches for issues that:
24
- - **Prevent Codex from working on Termux**
25
- - **Are not addressed by upstream** (Termux is not officially supported)
26
- - **Are minimal and well-documented**
27
-
28
- **Current patches**: See [patches/](./patches/) directory for full documentation.
29
-
30
- **Found an issue?** Well-documented bug reports with reproduction steps are welcome! Open an [issue](https://github.com/DioNanos/codex-termux/issues).
31
-
32
- ---
33
-
34
- ## 📋 Prerequisites
35
-
36
- ```bash
37
- # Update Termux packages
38
- pkg update && pkg upgrade -y
39
-
40
- # Install Node.js
41
- pkg install nodejs-lts -y
42
-
43
- # Verify
44
- node --version # v14+
45
- npm --version # v6+
46
- ```
47
-
48
- **Requirements:**
49
- - Android 7+ (Termux)
50
- - ARM64 architecture
51
- - Node.js ≥ 14.0.0
52
- - ~50MB storage
53
-
54
- ---
55
-
56
- ## 📦 Installation
57
-
58
- ### Via npm (Recommended)
59
-
60
- ```bash
61
- npm install -g @mmmbuto/codex-cli-termux
62
- ```
63
-
64
- ### Verify Installation
65
-
66
- ```bash
67
- codex --version
68
- # Output: codex-cli 0.56.0
69
-
70
- codex login
71
- # Opens browser for authentication
72
- ```
73
-
74
- **Links:**
75
- - npm: https://www.npmjs.com/package/@mmmbuto/codex-cli-termux
76
- - Releases: https://github.com/DioNanos/codex-termux/releases
77
- - Upstream: https://github.com/openai/codex
78
-
79
- ---
80
-
81
- ## 🚀 Usage
82
-
83
- Same as official Codex CLI:
84
-
85
- ```bash
86
- # Login to OpenAI
87
- codex login
88
-
89
- # Start chat
90
- codex
91
-
92
- # Help
93
- codex --help
94
- ```
95
-
96
- For full documentation, see [OpenAI Codex docs](https://github.com/openai/codex).
97
-
98
- ---
99
-
100
- ## 🔨 Building from Source
101
-
102
- See [BUILDING.md](./BUILDING.md) for compilation instructions.
103
-
104
- ---
105
-
106
- ## 📝 License
107
-
108
- This project maintains full compliance with the Apache 2.0 license from OpenAI Codex.
109
-
110
- **Original work**: Copyright OpenAI (https://github.com/openai/codex)
111
- **Termux port**: Minimal patches for Android compatibility
112
-
113
- See [LICENSE](./LICENSE) file for details.
114
-
115
- ---
116
-
117
- ## 🙏 Credits
118
-
119
- - **OpenAI** for the amazing Codex CLI
120
- - **Termux** community for Android terminal environment
121
- - All contributors to upstream Codex project
122
-
123
- ---
124
-
125
- **Version**: Based on OpenAI Codex 0.56.0
126
- **Platform**: Android Termux ARM64
127
- **Maintained**: Community-driven, not affiliated with OpenAI