@mmmbuto/codex-cli-termux 0.58.2-termux → 0.58.4-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 (3) hide show
  1. package/README.md +42 -14
  2. package/bin/codex +0 -0
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -38,6 +38,10 @@ We only apply patches for issues that:
38
38
 
39
39
  **Current patches**: See [patches/](./patches/) directory for full documentation.
40
40
 
41
+ Serve aiuto per debuggare gli avvisi di upgrade? Consulta
42
+ [docs/termux-upgrade-checks.md](./docs/termux-upgrade-checks.md) per cause note e
43
+ strategie di fix.
44
+
41
45
  **Found an issue?** Well-documented bug reports with reproduction steps are welcome! Open an [issue](https://github.com/DioNanos/codex-termux/issues).
42
46
 
43
47
  ---
@@ -66,6 +70,9 @@ npm --version # v6+
66
70
 
67
71
  ## 📦 Installation
68
72
 
73
+ > [!WARNING]
74
+ > **Deprecated versions:** Versions prior to v0.57.0-termux are no longer maintained. Please upgrade to the latest release.
75
+
69
76
  ### Via npm (Recommended)
70
77
 
71
78
  ```bash
@@ -82,8 +89,6 @@ codex login
82
89
  # Opens browser for authentication
83
90
  ```
84
91
 
85
- ✨ **Working perfectly?** Consider [buying me a coffee](https://ko-fi.com/dionanos) to keep ARM64 builds alive!
86
-
87
92
  **Links:**
88
93
  - npm: https://www.npmjs.com/package/@mmmbuto/codex-cli-termux
89
94
  - Releases: https://github.com/DioNanos/codex-termux/releases
@@ -116,22 +121,20 @@ See [BUILDING.md](./BUILDING.md) for compilation instructions.
116
121
 
117
122
  ---
118
123
 
119
- ## Support This Project
124
+ ## 🔧 Project Maintenance
120
125
 
121
- **Codex-Termux** enables AI-powered coding on Android - a unique capability in mobile development.
126
+ **Codex-Termux** is a community-maintained port enabling AI-powered coding on Android Termux.
122
127
 
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)
128
+ **Maintenance activities:**
129
+ - 🔨 **ARM64 compilation** - Building native binaries for each upstream release (~18min per build)
130
+ - 🔄 **Upstream synchronization** - Tracking OpenAI Codex updates and merging changes
131
+ - 🐛 **Compatibility patches** - Maintaining Android-specific fixes for Termux environment
132
+ - 📱 **Device testing** - Verification on real ARM64 hardware (Pixel 9 Pro, other devices)
133
+ - 📚 **Documentation & support** - Maintaining docs, responding to GitHub issues
129
134
 
130
- **Time investment:** ~20 hours/month for a single maintainer
135
+ **Time investment:** Approximately 20 hours per month for project upkeep.
131
136
 
132
- 👉 **https://ko-fi.com/dionanos**
133
-
134
- Every coffee ☕ helps keep this project maintained and up-to-date with OpenAI's releases!
137
+ **Thank you** to all users who have reported issues, provided feedback, and helped improve this project. Your contributions make Codex accessible on mobile platforms.
135
138
 
136
139
  ---
137
140
 
@@ -162,6 +165,31 @@ See [LICENSE](./LICENSE) file for details.
162
165
 
163
166
  ## 📜 Changelog
164
167
 
168
+ ### v0.58.4-termux (2025-11-14)
169
+
170
+ **Critical bugfix**: Auto-update detection now working
171
+
172
+ **Fixes:**
173
+ - 🐛 **Auto-update detection restored** - Fixed version parser losing `-termux` suffix support after upstream merge
174
+ - 🐛 **Tag parsing fixed** - `extract_version_from_latest_tag` now supports both `rust-v*` (upstream) and `v*-termux` (fork) formats
175
+ - 🔧 **Test coverage added** - New test for Termux tag format validation
176
+
177
+ **Technical details:**
178
+ - **Root cause**: v0.58.0 upstream merge overwrote previous `-termux` suffix fix in `parse_version()`
179
+ - **Additional issue**: New upstream code only accepted `rust-v` prefix, rejecting our `v0.58.0-termux` tags
180
+ - **Impact**: `~/.config/codex/version.json` was never created, preventing "Update available" banner
181
+ - **Solution**: Re-applied `-termux` suffix support + added `v*` prefix support in tag parser
182
+
183
+ **Affected versions**: v0.58.0 through v0.58.3 had broken auto-update detection.
184
+
185
+ **Termux patches (4 total):**
186
+ - ✅ **Patch #1**: Browser login fix (`termux-open-url`)
187
+ - ✅ **Patch #2**: RAM optimizations (`lto=false`, `codegen-units=16`)
188
+ - ✅ **Patch #3**: Auto-update URL (`@mmmbuto/codex-cli-termux`)
189
+ - ✅ **Patch #4**: Auto-update detection (this release)
190
+
191
+ ---
192
+
165
193
  ### v0.58.0-termux (2025-11-13)
166
194
 
167
195
  Synced with upstream OpenAI Codex rust-v0.58.0 (62 commits)
package/bin/codex CHANGED
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mmmbuto/codex-cli-termux",
3
- "version": "0.58.2-termux",
4
- "description": "OpenAI Codex CLI v0.58.0 with GPT-5.1 support, pre-compiled for Android Termux (ARM64)",
3
+ "version": "0.58.4-termux",
4
+ "description": "OpenAI Codex CLI v0.58.4 with GPT-5.1 support, pre-compiled for Android Termux (ARM64)",
5
5
  "type": "module",
6
6
  "main": "bin/codex.js",
7
7
  "bin": {