cxstatusline 0.5.1 → 0.8.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/NOTICE +5 -5
- package/README.md +38 -11
- package/dist/cxstatusline.js +2840 -1289
- package/package.json +7 -2
- package/patches/codex-0.155.1.patch +1491 -0
- package/patches/codex-0.156.1.patch +1446 -0
- package/patches/manifest.json +4 -2
package/NOTICE
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
cxstatusline
|
|
2
2
|
|
|
3
3
|
Portions of src/utils/{ansi,colors,gradient,powerline-settings,powerline-theme-index,renderer,separator-index,terminal}.ts
|
|
4
|
-
are derived from ccstatusline at commit
|
|
4
|
+
are derived from ccstatusline at commit 05554cd087249167d570aed3c869915b6a18d4d2 (v2.2.30).
|
|
5
5
|
|
|
6
|
-
Portions of src/{types/RenderContext.ts,utils/widget-manifest.ts,
|
|
7
|
-
are derived from ccstatusline at commit
|
|
6
|
+
Portions of src/{types/{RenderContext.ts,SpeedMetrics.ts},utils/{widget-manifest.ts,widgets.ts,speed-metrics.ts,speed-window.ts},widgets/}
|
|
7
|
+
are derived from ccstatusline at commit 05554cd087249167d570aed3c869915b6a18d4d2 (v2.2.30).
|
|
8
8
|
|
|
9
9
|
Portions of src/tui/components/{PowerlineSetup,PowerlineSeparatorEditor,PowerlineThemeSelector,GlobalOverridesMenu}.tsx
|
|
10
|
-
are derived from ccstatusline at commit
|
|
10
|
+
are derived from ccstatusline at commit 05554cd087249167d570aed3c869915b6a18d4d2 (v2.2.30).
|
|
11
11
|
|
|
12
12
|
Portions of src/tui/components/{ExportConfigDialog,ImportConfigDialog,ImportPreviewDialog}.tsx
|
|
13
|
-
are derived from ccstatusline at commit
|
|
13
|
+
are derived from ccstatusline at commit 05554cd087249167d570aed3c869915b6a18d4d2 (v2.2.30).
|
|
14
14
|
|
|
15
15
|
Copyright (c) 2025 Matthew Breedlove (https://github.com/sirmalloc)
|
|
16
16
|
Original repository: https://github.com/sirmalloc/ccstatusline
|
package/README.md
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
*Model, context, Git, usage, and reset timers. Your terminal, your layout.*
|
|
13
13
|
|
|
14
14
|
[](https://github.com/adrijshikhar/cxstatusline/actions/workflows/ci.yml)
|
|
15
|
+
[](https://www.npmjs.com/package/cxstatusline)
|
|
15
16
|
[](LICENSE)
|
|
16
17
|
[](https://nodejs.org/)
|
|
17
18
|
|
|
@@ -37,7 +38,7 @@ Independent project; not an official OpenAI product.
|
|
|
37
38
|
|
|
38
39
|
## Requirements
|
|
39
40
|
|
|
40
|
-
- **macOS 14 (Sonoma) or newer** (Apple Silicon or Intel).
|
|
41
|
+
- **macOS 14 (Sonoma) or newer** (Apple Silicon or Intel) or **Linux** (x86_64 or aarch64).
|
|
41
42
|
- **Node.js 22+**.
|
|
42
43
|
- **Existing Codex CLI installation** kept in place (`~/.codex/`).
|
|
43
44
|
- **Git**.
|
|
@@ -53,7 +54,10 @@ cxstatusline install
|
|
|
53
54
|
cxstatusline doctor
|
|
54
55
|
```
|
|
55
56
|
|
|
56
|
-
`install` downloads the verified prebuilt binary matching your
|
|
57
|
+
`cxstatusline install` downloads the verified prebuilt binary matching your Codex version, verifies checksums against `manifest.json`, and activates it.
|
|
58
|
+
- **Interactive selection**: Running `cxstatusline install` in a terminal prompts you to choose from available supported versions (defaulting to your detected or latest version).
|
|
59
|
+
- **Target a specific version**: `cxstatusline install --codex-version <version>` (e.g. `cxstatusline install --codex-version 0.154.0`).
|
|
60
|
+
- **Non-interactive / CI**: Pass `-y` or `--yes` to accept the default without prompting.
|
|
57
61
|
|
|
58
62
|
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.
|
|
59
63
|
|
|
@@ -107,8 +111,8 @@ it never opens the TUI.
|
|
|
107
111
|
|
|
108
112
|
## Widgets
|
|
109
113
|
|
|
110
|
-
|
|
111
|
-
weekly usage and reset, session clock and name, working directory, terminal width, memory, plus three
|
|
114
|
+
36 widgets: model and thinking effort, Git branch and changes, context and token counts, token speed,
|
|
115
|
+
5-hour and weekly usage and reset, session clock and name, working directory, terminal width, memory, plus three
|
|
112
116
|
custom widgets that show your own text, symbol, or the output of a shell command.
|
|
113
117
|
|
|
114
118
|
Type IDs match ccstatusline's, so a ccstatusline preset imports without translation.
|
|
@@ -145,13 +149,31 @@ Updates use an immutable **generation-based layout** (`~/.local/libexec/cxstatus
|
|
|
145
149
|
👉 For a full architectural breakdown of how Codex is patched with Rust, check out the **[Architecture & Technical Deep Dive (wiki.md)](wiki.md)**.
|
|
146
150
|
|
|
147
151
|
## Supported versions
|
|
148
|
-
|
|
149
|
-
cxstatusline matches exact stable releases
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
152
|
+
|
|
153
|
+
cxstatusline matches exact stable releases of OpenAI Codex.
|
|
154
|
+
|
|
155
|
+
### Latest Supported Version
|
|
156
|
+
| Codex Target | Prebuilt Release | Supported Architecture | Status |
|
|
157
|
+
|---|---|---|---|
|
|
158
|
+
| **0.155.0** | [`codex-v0.155.0`](https://github.com/adrijshikhar/cxstatusline/releases/tag/codex-v0.155.0) | Apple Silicon (`darwin-arm64`) | ✅ Verified Prebuilt |
|
|
159
|
+
|
|
160
|
+
<details>
|
|
161
|
+
<summary><b>Previous Supported Versions</b></summary>
|
|
162
|
+
<br>
|
|
163
|
+
|
|
164
|
+
| Codex Target | Prebuilt Release | Supported Architecture | Status |
|
|
165
|
+
|---|---|---|---|
|
|
166
|
+
| **0.154.0** | [`codex-v0.154.0`](https://github.com/adrijshikhar/cxstatusline/releases/tag/codex-v0.154.0) | Apple Silicon (`darwin-arm64`) | ✅ Verified Prebuilt |
|
|
167
|
+
| **0.153.4** | [`codex-v0.153.4`](https://github.com/adrijshikhar/cxstatusline/releases/tag/codex-v0.153.4) | Apple Silicon (`darwin-arm64`) | ✅ Verified Prebuilt |
|
|
168
|
+
| **0.153.0** | [`codex-v0.153.0`](https://github.com/adrijshikhar/cxstatusline/releases/tag/codex-v0.153.0) | Apple Silicon (`darwin-arm64`) | ✅ Verified Prebuilt |
|
|
169
|
+
| **0.152.1** | [`codex-v0.152.1`](https://github.com/adrijshikhar/cxstatusline/releases/tag/codex-v0.152.1) | Apple Silicon (`darwin-arm64`) | ✅ Verified Prebuilt |
|
|
170
|
+
|
|
171
|
+
To install a specific version:
|
|
172
|
+
```sh
|
|
173
|
+
cxstatusline install --codex-version 0.154.0
|
|
174
|
+
```
|
|
175
|
+
</details>
|
|
176
|
+
|
|
155
177
|
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.
|
|
156
178
|
|
|
157
179
|
## 🩺 Troubleshooting
|
|
@@ -168,3 +190,8 @@ Huge shout-out to **[ccstatusline](https://github.com/sirmalloc/ccstatusline)**
|
|
|
168
190
|
## License
|
|
169
191
|
|
|
170
192
|
cxstatusline is [MIT licensed](LICENSE). See [SECURITY.md](SECURITY.md) for security boundaries and reporting. [NOTICE](NOTICE) and [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md) preserve upstream attribution. OpenAI Codex remains separately licensed under Apache-2.0.
|
|
193
|
+
|
|
194
|
+
---
|
|
195
|
+
|
|
196
|
+
📦 **npm:** [https://www.npmjs.com/package/cxstatusline](https://www.npmjs.com/package/cxstatusline)
|
|
197
|
+
|