@mmmbuto/codex-cli-termux 0.58.0-termux โ 0.58.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.
- package/README.md +170 -0
- package/package.json +3 -2
package/README.md
ADDED
|
@@ -0,0 +1,170 @@
|
|
|
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.58.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.58.0 (includes GPT-5.1 support)
|
|
126
|
+
**Platform**: Android Termux ARM64
|
|
127
|
+
**Maintained**: Community-driven, not affiliated with OpenAI
|
|
128
|
+
|
|
129
|
+
---
|
|
130
|
+
|
|
131
|
+
## ๐ Changelog
|
|
132
|
+
|
|
133
|
+
### v0.58.0-termux (2025-11-13)
|
|
134
|
+
|
|
135
|
+
Synced with upstream OpenAI Codex rust-v0.58.0 (62 commits)
|
|
136
|
+
|
|
137
|
+
**Major features:**
|
|
138
|
+
- ๐ค **GPT-5.1 Support**: New model family (gpt-5.1-codex, gpt-5.1-codex-mini, gpt-5.1)
|
|
139
|
+
- ๐ง **Adaptive Reasoning**: Configurable effort levels (Low, Medium, High)
|
|
140
|
+
- โจ๏ธ **Enhanced TUI**: Job control, improved navigation, better model picker
|
|
141
|
+
- ๐ง **Shell Detection**: Centralized command generation for unified exec
|
|
142
|
+
- ๐ **App-server v2**: Thread/Turn APIs improvements
|
|
143
|
+
|
|
144
|
+
**Termux-specific:**
|
|
145
|
+
- โ
All Android patches preserved and verified working
|
|
146
|
+
- โ
Browser login fix (termux-open-url)
|
|
147
|
+
- โ
RAM optimizations (lto=false, codegen-units=16)
|
|
148
|
+
- โ
Auto-update for @mmmbuto/codex-cli-termux
|
|
149
|
+
|
|
150
|
+
Full upstream changelog: https://github.com/openai/codex/compare/rust-v0.57.0...rust-v0.58.0
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
|
|
154
|
+
### v0.57.0-termux (2025-11-10)
|
|
155
|
+
|
|
156
|
+
Synced with upstream OpenAI Codex rust-v0.57.0 (25 commits)
|
|
157
|
+
|
|
158
|
+
**Upstream improvements:**
|
|
159
|
+
- โจ๏ธ **TUI Navigation**: CTRL-n / CTRL-p for navigating slash commands, files, history
|
|
160
|
+
- ๐ง **Unified Exec**: Improved safe commands handling, process group timeout fixes
|
|
161
|
+
- ๐ช **WSL Support**: Path normalization for Windows Subsystem for Linux
|
|
162
|
+
- ๐ **App-server v2**: New Thread/Turn APIs, account endpoints
|
|
163
|
+
- ๐งน **Refactoring**: Terminal cleanup (deprecated flush logic removed)
|
|
164
|
+
|
|
165
|
+
**Termux-specific:**
|
|
166
|
+
- โ
Android auto-update disabled (manual update instructions shown)
|
|
167
|
+
- โ
`termux-open-url` for browser login (ndk-context crash fix maintained)
|
|
168
|
+
- โ
RAM optimizations for 16GB devices (lto=false, codegen-units=16)
|
|
169
|
+
|
|
170
|
+
Full upstream changelog: https://github.com/openai/codex/compare/rust-v0.56.0...rust-v0.57.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mmmbuto/codex-cli-termux",
|
|
3
|
-
"version": "0.58.
|
|
3
|
+
"version": "0.58.1-termux",
|
|
4
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",
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
},
|
|
10
10
|
"files": [
|
|
11
11
|
"bin/codex.js",
|
|
12
|
-
"bin/codex"
|
|
12
|
+
"bin/codex",
|
|
13
|
+
"README.md"
|
|
13
14
|
],
|
|
14
15
|
"keywords": [
|
|
15
16
|
"codex",
|