@mmmbuto/codex-cli-termux 0.58.0-termux โ†’ 0.58.2-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 (2) hide show
  1. package/README.md +202 -0
  2. package/package.json +3 -2
package/README.md ADDED
@@ -0,0 +1,202 @@
1
+ # ๐Ÿค– Codex CLI - Termux Edition
2
+
3
+ > **Pre-compiled OpenAI Codex for Android Termux (ARM64)**
4
+
5
+ [![npm](https://img.shields.io/npm/v/@mmmbuto/codex-cli-termux?style=flat-square&logo=npm)](https://www.npmjs.com/package/@mmmbuto/codex-cli-termux)
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
+ [![ko-fi](https://img.shields.io/badge/โ˜•_Support-Ko--fi-FF5E5B?style=flat-square&logo=ko-fi)](https://ko-fi.com/dionanos)
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
+
14
+ ---
15
+
16
+ ## What This Is
17
+
18
+ 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.
19
+
20
+ ### What We Do:
21
+ โœ… **Use official OpenAI Codex source** (https://github.com/openai/codex)
22
+ โœ… **Compile for ARM64** (Android Termux native)
23
+ โœ… **Apply minimal patches** only for Termux-specific issues not addressed upstream
24
+ โœ… **Package as npm** for easy installation
25
+ โœ… **Maintain full Apache 2.0 compliance** with OpenAI attribution
26
+
27
+ ### What We DON'T Do:
28
+ โŒ **NO new features**
29
+ โŒ **NO behavior modifications** (works exactly like upstream)
30
+ โŒ **NO replacement** of official Codex
31
+
32
+ ### ๐Ÿ”ง Compatibility Patches
33
+
34
+ We only apply patches for issues that:
35
+ - **Prevent Codex from working on Termux**
36
+ - **Are not addressed by upstream** (Termux is not officially supported)
37
+ - **Are minimal and well-documented**
38
+
39
+ **Current patches**: See [patches/](./patches/) directory for full documentation.
40
+
41
+ **Found an issue?** Well-documented bug reports with reproduction steps are welcome! Open an [issue](https://github.com/DioNanos/codex-termux/issues).
42
+
43
+ ---
44
+
45
+ ## ๐Ÿ“‹ Prerequisites
46
+
47
+ ```bash
48
+ # Update Termux packages
49
+ pkg update && pkg upgrade -y
50
+
51
+ # Install Node.js
52
+ pkg install nodejs-lts -y
53
+
54
+ # Verify
55
+ node --version # v14+
56
+ npm --version # v6+
57
+ ```
58
+
59
+ **Requirements:**
60
+ - Android 7+ (Termux)
61
+ - ARM64 architecture
62
+ - Node.js โ‰ฅ 14.0.0
63
+ - ~50MB storage
64
+
65
+ ---
66
+
67
+ ## ๐Ÿ“ฆ Installation
68
+
69
+ ### Via npm (Recommended)
70
+
71
+ ```bash
72
+ npm install -g @mmmbuto/codex-cli-termux
73
+ ```
74
+
75
+ ### Verify Installation
76
+
77
+ ```bash
78
+ codex --version
79
+ # Output: codex-cli 0.58.0
80
+
81
+ codex login
82
+ # Opens browser for authentication
83
+ ```
84
+
85
+ โœจ **Working perfectly?** Consider [buying me a coffee](https://ko-fi.com/dionanos) to keep ARM64 builds alive!
86
+
87
+ **Links:**
88
+ - npm: https://www.npmjs.com/package/@mmmbuto/codex-cli-termux
89
+ - Releases: https://github.com/DioNanos/codex-termux/releases
90
+ - Upstream: https://github.com/openai/codex
91
+
92
+ ---
93
+
94
+ ## ๐Ÿš€ Usage
95
+
96
+ Same as official Codex CLI:
97
+
98
+ ```bash
99
+ # Login to OpenAI
100
+ codex login
101
+
102
+ # Start chat
103
+ codex
104
+
105
+ # Help
106
+ codex --help
107
+ ```
108
+
109
+ For full documentation, see [OpenAI Codex docs](https://github.com/openai/codex).
110
+
111
+ ---
112
+
113
+ ## ๐Ÿ”จ Building from Source
114
+
115
+ See [BUILDING.md](./BUILDING.md) for compilation instructions.
116
+
117
+ ---
118
+
119
+ ## โ˜• Support This Project
120
+
121
+ **Codex-Termux** enables AI-powered coding on Android - a unique capability in mobile development.
122
+
123
+ **What your support enables:**
124
+ - ๐Ÿ”จ **Monthly ARM64 builds** (~18min compilation per release)
125
+ - ๐Ÿ”„ **Upstream tracking** (62 commits merged in latest release)
126
+ - ๐Ÿ› **Termux compatibility patches** (3 critical Android fixes maintained)
127
+ - ๐Ÿ“ฑ **Testing on real devices** (Pixel 9 Pro, other ARM64 phones)
128
+ - ๐Ÿ“š **Documentation & support** (GitHub issues, troubleshooting)
129
+
130
+ **Time investment:** ~20 hours/month for a single maintainer
131
+
132
+ ๐Ÿ‘‰ **https://ko-fi.com/dionanos**
133
+
134
+ Every coffee โ˜• helps keep this project maintained and up-to-date with OpenAI's releases!
135
+
136
+ ---
137
+
138
+ ## ๐Ÿ“ License
139
+
140
+ This project maintains full compliance with the Apache 2.0 license from OpenAI Codex.
141
+
142
+ **Original work**: Copyright OpenAI (https://github.com/openai/codex)
143
+ **Termux port**: Minimal patches for Android compatibility
144
+
145
+ See [LICENSE](./LICENSE) file for details.
146
+
147
+ ---
148
+
149
+ ## ๐Ÿ™ Credits
150
+
151
+ - **OpenAI** for the amazing Codex CLI
152
+ - **Termux** community for Android terminal environment
153
+ - All contributors to upstream Codex project
154
+
155
+ ---
156
+
157
+ **Version**: Based on OpenAI Codex 0.58.0 (includes GPT-5.1 support)
158
+ **Platform**: Android Termux ARM64
159
+ **Maintained**: Community-driven, not affiliated with OpenAI
160
+
161
+ ---
162
+
163
+ ## ๐Ÿ“œ Changelog
164
+
165
+ ### v0.58.0-termux (2025-11-13)
166
+
167
+ Synced with upstream OpenAI Codex rust-v0.58.0 (62 commits)
168
+
169
+ **Major features:**
170
+ - ๐Ÿค– **GPT-5.1 Support**: New model family (gpt-5.1-codex, gpt-5.1-codex-mini, gpt-5.1)
171
+ - ๐Ÿง  **Adaptive Reasoning**: Configurable effort levels (Low, Medium, High)
172
+ - โŒจ๏ธ **Enhanced TUI**: Job control, improved navigation, better model picker
173
+ - ๐Ÿ”ง **Shell Detection**: Centralized command generation for unified exec
174
+ - ๐Ÿ“Š **App-server v2**: Thread/Turn APIs improvements
175
+
176
+ **Termux-specific:**
177
+ - โœ… All Android patches preserved and verified working
178
+ - โœ… Browser login fix (termux-open-url)
179
+ - โœ… RAM optimizations (lto=false, codegen-units=16)
180
+ - โœ… Auto-update for @mmmbuto/codex-cli-termux
181
+
182
+ Full upstream changelog: https://github.com/openai/codex/compare/rust-v0.57.0...rust-v0.58.0
183
+
184
+ ---
185
+
186
+ ### v0.57.0-termux (2025-11-10)
187
+
188
+ Synced with upstream OpenAI Codex rust-v0.57.0 (25 commits)
189
+
190
+ **Upstream improvements:**
191
+ - โŒจ๏ธ **TUI Navigation**: CTRL-n / CTRL-p for navigating slash commands, files, history
192
+ - ๐Ÿ”ง **Unified Exec**: Improved safe commands handling, process group timeout fixes
193
+ - ๐ŸชŸ **WSL Support**: Path normalization for Windows Subsystem for Linux
194
+ - ๐Ÿš€ **App-server v2**: New Thread/Turn APIs, account endpoints
195
+ - ๐Ÿงน **Refactoring**: Terminal cleanup (deprecated flush logic removed)
196
+
197
+ **Termux-specific:**
198
+ - โœ… Android auto-update disabled (manual update instructions shown)
199
+ - โœ… `termux-open-url` for browser login (ndk-context crash fix maintained)
200
+ - โœ… RAM optimizations for 16GB devices (lto=false, codegen-units=16)
201
+
202
+ 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.0-termux",
3
+ "version": "0.58.2-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",