cxstatusline 0.10.1 → 0.12.0
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 +19 -9
- package/dist/cxstatusline.js +542 -276
- package/package.json +1 -1
- package/patches/codex-0.157.0.patch +1683 -0
- package/patches/codex-0.158.0.patch +1683 -0
- package/patches/codex-0.159.0.patch +1683 -0
- package/patches/codex-0.159.3.patch +1683 -0
- package/patches/manifest.json +73 -10
package/README.md
CHANGED
|
@@ -67,7 +67,8 @@ Try out themes, arrange widgets, and preview your custom OpenAI Codex statusline
|
|
|
67
67
|
- **Node.js 22+**.
|
|
68
68
|
- **Existing Codex CLI installation** kept in place (`~/.codex/`).
|
|
69
69
|
- **Git**.
|
|
70
|
-
- **Rust toolchain** (1.95.0+)
|
|
70
|
+
- **Rust toolchain** (1.95.0+) and **Python 3.10+** are required only if building from source (`--compile`): Codex's package is assembled by upstream's own Python packager. On Linux, `--compile` also needs `bwrap` (bubblewrap) on `PATH` or `libcap-dev` + `pkg-config` to build it.
|
|
71
|
+
- Prebuilt installs need nothing beyond Node.
|
|
71
72
|
|
|
72
73
|
## 🚀 Install
|
|
73
74
|
|
|
@@ -83,7 +84,7 @@ cxstatusline doctor
|
|
|
83
84
|
- **Interactive selection**: Running `cxstatusline install` opens a keyboard-driven version picker. Use ↑/↓ and Enter to select, or Escape/Ctrl+C to cancel. Prebuilt availability is shown per version; source-only choices require confirmation (unless you already passed `--compile`).
|
|
84
85
|
- **Upgrade choices**: `cxstatusline upgrade` uses the same keyboard controls to choose the latest supported prebuilt, a supported source build, or cancellation. It does not update upstream Codex first.
|
|
85
86
|
- **Live progress**: Ink renders download progress in terminals while completed stages remain in the transcript. Source builds report their phases; redirected output retains plain milestone logs.
|
|
86
|
-
- **Target a specific version**: `cxstatusline install --codex-version <version>` (e.g. `cxstatusline install --codex-version 0.
|
|
87
|
+
- **Target a specific version**: `cxstatusline install --codex-version <version>` (e.g. `cxstatusline install --codex-version 0.158.0`).
|
|
87
88
|
- **Non-interactive / CI**: Pass `-y` or `--yes` to accept the default without prompting.
|
|
88
89
|
|
|
89
90
|
Start Codex, accept its cxstatusline hook trust prompt, and open a new session after installation. An already-running process does not switch binaries when installation finishes.
|
|
@@ -179,6 +180,12 @@ Options:
|
|
|
179
180
|
|
|
180
181
|
Session-start updates also leave a newer patched pair in place when the original Codex installation is older, including under the `every` policy.
|
|
181
182
|
|
|
183
|
+
#### The app-server daemon (Codex 0.157 and newer)
|
|
184
|
+
|
|
185
|
+
Codex now starts a shared background app-server daemon and copies the package it was started from into `~/.codex/packages/app-server-daemon/`. cxstatusline installs Codex as that complete package (upstream's own layout: `bin/`, `codex-path/rg`, `codex-resources/`, `codex-package.json`), so the daemon starts normally. The daemon keeps and updates its own copy independently of cxstatusline; the statusline patch runs in the TUI process and is unaffected. `cxstatusline doctor` shows the daemon's copy as `daemon_package`; if its version drifts from the active generation, run `codex app-server daemon restart`. To run without the daemon: `codex --no-daemon`, or `[features] daemon_auto_start = false` in `~/.codex/config.toml`.
|
|
186
|
+
|
|
187
|
+
Installs made by cxstatusline 0.10.x and older were bare binaries; the session-start hook rebuilds such an install once in the background, or run `cxstatusline upgrade`. Releases published from this version on cannot be read by cxstatusline 0.10.x: update with `npm i -g cxstatusline`.
|
|
188
|
+
|
|
182
189
|
## Revert
|
|
183
190
|
|
|
184
191
|
```sh
|
|
@@ -202,7 +209,7 @@ cxstatusline matches exact stable releases of OpenAI Codex.
|
|
|
202
209
|
### Latest Supported Version
|
|
203
210
|
| Codex Target | Prebuilt Release | Supported Architecture | Status |
|
|
204
211
|
|---|---|---|---|
|
|
205
|
-
| **0.
|
|
212
|
+
| **0.158.0** | [`codex-v0.158.0`](https://github.com/adrijshikhar/cxstatusline/releases/tag/codex-v0.158.0) | Apple Silicon (`darwin-arm64`), Linux ARM64 (`linux-arm64`) | ✅ Verified Prebuilt |
|
|
206
213
|
|
|
207
214
|
<details>
|
|
208
215
|
<summary><b>Previous Supported Versions</b></summary>
|
|
@@ -210,6 +217,11 @@ cxstatusline matches exact stable releases of OpenAI Codex.
|
|
|
210
217
|
|
|
211
218
|
| Codex Target | Prebuilt Release | Supported Architecture | Status |
|
|
212
219
|
|---|---|---|---|
|
|
220
|
+
| **0.157.0** | [`codex-v0.157.0`](https://github.com/adrijshikhar/cxstatusline/releases/tag/codex-v0.157.0) | Apple Silicon (`darwin-arm64`), Linux ARM64 (`linux-arm64`) | ✅ Verified Prebuilt |
|
|
221
|
+
| **0.156.1** | [`codex-v0.156.1`](https://github.com/adrijshikhar/cxstatusline/releases/tag/codex-v0.156.1) | Apple Silicon (`darwin-arm64`), Linux ARM64 (`linux-arm64`) | ✅ Verified Prebuilt |
|
|
222
|
+
| **0.156.0** | [`codex-v0.156.0`](https://github.com/adrijshikhar/cxstatusline/releases/tag/codex-v0.156.0) | Apple Silicon (`darwin-arm64`), Linux ARM64 (`linux-arm64`) | ✅ Verified Prebuilt |
|
|
223
|
+
| **0.155.1** | [`codex-v0.155.1`](https://github.com/adrijshikhar/cxstatusline/releases/tag/codex-v0.155.1) | Apple Silicon (`darwin-arm64`), Linux ARM64 (`linux-arm64`) | ✅ Verified Prebuilt |
|
|
224
|
+
| **0.155.0** | [`codex-v0.155.0`](https://github.com/adrijshikhar/cxstatusline/releases/tag/codex-v0.155.0) | Apple Silicon (`darwin-arm64`), Linux ARM64 (`linux-arm64`), Linux x64 (`linux-x64`) | ✅ Verified Prebuilt |
|
|
213
225
|
| **0.154.0** | [`codex-v0.154.0`](https://github.com/adrijshikhar/cxstatusline/releases/tag/codex-v0.154.0) | Apple Silicon (`darwin-arm64`) | ✅ Verified Prebuilt |
|
|
214
226
|
| **0.153.4** | [`codex-v0.153.4`](https://github.com/adrijshikhar/cxstatusline/releases/tag/codex-v0.153.4) | Apple Silicon (`darwin-arm64`) | ✅ Verified Prebuilt |
|
|
215
227
|
| **0.153.0** | [`codex-v0.153.0`](https://github.com/adrijshikhar/cxstatusline/releases/tag/codex-v0.153.0) | Apple Silicon (`darwin-arm64`) | ✅ Verified Prebuilt |
|
|
@@ -217,7 +229,7 @@ cxstatusline matches exact stable releases of OpenAI Codex.
|
|
|
217
229
|
|
|
218
230
|
To install a specific version:
|
|
219
231
|
```sh
|
|
220
|
-
cxstatusline install --codex-version 0.
|
|
232
|
+
cxstatusline install --codex-version 0.157.0
|
|
221
233
|
```
|
|
222
234
|
</details>
|
|
223
235
|
|
|
@@ -225,10 +237,8 @@ Rust patch versions are independent of Codex and cxstatusline package versions.
|
|
|
225
237
|
|
|
226
238
|
| Rust patch | Tested Codex versions |
|
|
227
239
|
| --- | --- |
|
|
228
|
-
| v1 | 0.152.1, 0.153.0, 0.153.
|
|
229
|
-
| v2 | 0.156.0, 0.156.1 |
|
|
230
|
-
|
|
231
|
-
Codex 0.153.1 is validated on macOS ARM64; its prebuilt release is pending. Compatibility entries do not imply that a prebuilt has already been published.
|
|
240
|
+
| v1 | 0.152.1, 0.153.0, 0.153.4, 0.154.0, 0.155.0, 0.155.1 |
|
|
241
|
+
| v2 | 0.156.0, 0.156.1, 0.157.0, 0.158.0, 0.159.0, 0.159.3 |
|
|
232
242
|
|
|
233
243
|
`patches/manifest.json` records that ownership with `patchVersion` on each compatibility entry. Its `version: 2` is the manifest format, not the Rust patch version. Entries can describe inclusive ranges, but we currently list only the exact tested versions. Version-specific patch files remain separate because upstream source layouts differ.
|
|
234
244
|
|
|
@@ -240,7 +250,7 @@ Rebuilding an existing Codex tag replaces its complete release asset set. The wo
|
|
|
240
250
|
|
|
241
251
|
If your Codex version is not listed, cxstatusline fails closed: it will neither download an unverified prebuilt nor attempt source compilation. New versions require a tested patch file, an entry in `patches/manifest.json`, and a release workflow run.
|
|
242
252
|
|
|
243
|
-
The daily upstream watcher audits every stable release in the newest Codex major.minor series and only the `.0` baseline of older series, at or above the support floor. For example, while 0.
|
|
253
|
+
The daily upstream watcher audits every stable release in the newest Codex major.minor series and only the `.0` baseline of older series, at or above the support floor. For example, while 0.159.x is newest, 0.159.0 is required alongside 0.158.0, 0.157.0, 0.156.0, and 0.155.0; 0.155.1 is not a backfill requirement. Existing published assets and tested compatibility mappings are retained. It updates one `Codex release coverage gaps` issue and uploads a machine-readable report. A separate watchdog fails if no successful scheduled watcher run has completed in the last 36 hours. Enable repository **Settings → Notifications → Actions** and select failed workflow runs (or enable email notifications for Actions) to receive these failures. The watchdog runs inside GitHub Actions, so a GitHub-wide scheduling outage cannot be detected from within GitHub.
|
|
244
254
|
|
|
245
255
|
## 🩺 Troubleshooting
|
|
246
256
|
|