@llblab/pi-codex-usage 0.3.3 → 0.3.5
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/CHANGELOG.md +2 -0
- package/README.md +6 -4
- package/banner.png +0 -0
- package/index.ts +660 -651
- package/package.json +5 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
- `0.3.5` Refined the compact statusline bar with quadrant glyphs, darker bar coloring, and blink-on-segment-change behavior. Impact: Codex quota changes are easier to notice while routine refreshes stay visually stable.
|
|
4
|
+
- `0.3.4` Added package banner metadata and README hero image. Impact: Pi/package listings can show the Codex Usage banner while npm packages include the image asset.
|
|
3
5
|
- `Fork baseline` Imported `extensions/pi-codex-usage` from `narumiruna/pi-extensions` as a standalone `@llblab/pi-codex-usage` package. Impact: the extension can be installed and maintained independently.
|
|
4
6
|
- `Minimal statusline` Removed command-driven report output and narrowed the extension to a zero-configuration statusline widget. Impact: runtime behavior is automatic while `openai-codex` is active.
|
|
5
7
|
- `Primary quota focus` Ignored additional returned buckets such as Spark-specific limits. Impact: the statusline only represents primary Codex 5-hour and weekly quota windows.
|
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# pi-codex-usage
|
|
2
2
|
|
|
3
|
-
Minimal zero-configuration Pi extension for showing primary ChatGPT Codex usage limits in the statusline
|
|
3
|
+
> Minimal zero-configuration Pi extension for showing primary ChatGPT Codex usage limits in the statusline
|
|
4
|
+
|
|
5
|
+

|
|
4
6
|
|
|
5
7
|
This repository is a minimal fork of [`narumiruna/pi-extensions/extensions/pi-codex-usage`](https://github.com/narumiruna/pi-extensions/tree/main/extensions/pi-codex-usage). It keeps the auth and quota-fetching path, but intentionally narrows the interface to the primary Codex 5-hour and weekly windows.
|
|
6
8
|
|
|
@@ -18,7 +20,7 @@ This repository is a minimal fork of [`narumiruna/pi-extensions/extensions/pi-co
|
|
|
18
20
|
- Pi OpenAI Codex provider auth is used first
|
|
19
21
|
- Codex CLI app-server remains available as a fallback
|
|
20
22
|
- Missing auth, subscription, plan, or quota windows are shown as `n/a`, not as an error
|
|
21
|
-
- Successful updates briefly redraw the bar
|
|
23
|
+
- Successful updates briefly redraw the bar only when a ten-step segment changes
|
|
22
24
|
- Network/provider failures keep the last good bar briefly, then show `error`
|
|
23
25
|
- No commands or configuration are required
|
|
24
26
|
|
|
@@ -41,10 +43,10 @@ pi install git:github.com/llblab/pi-codex-usage
|
|
|
41
43
|
Normal usage:
|
|
42
44
|
|
|
43
45
|
```text
|
|
44
|
-
codex
|
|
46
|
+
codex ███▀▀
|
|
45
47
|
```
|
|
46
48
|
|
|
47
|
-
The five-character bar encodes two ten-step limits at once: the top
|
|
49
|
+
The five-character bar encodes two ten-step limits at once: the top quadrants are the 5-hour limit, and the bottom quadrants are the weekly limit.
|
|
48
50
|
|
|
49
51
|
Unavailable because Codex auth or subscription quota is not available:
|
|
50
52
|
|
package/banner.png
ADDED
|
Binary file
|