pi-codex-usage-remaining0.1.1
Display Codex usage in Pi's footer
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
Pi Codex Usage
A Pi extension that displays your Codex usage—like Codex does—with the remaining usage for each limit window and its reset time or date. It fits seamlessly into Pi's footer without disrupting your workflow.
The footer refreshes at session start and every five minutes. It uses the Codex account already configured in Pi; sign in to the openai-codex provider to see usage.
Install
pi install npm:pi-codex-usage
For local development:
pi -e /path/to/pi-codex-usage/extensions/codex-usage.ts
Display
Usage is shown as the remaining percentage for each window, followed by its reset time (for resets within 24 hours) or date. For example:
5h 82% 14:30 • Weekly 64% 12 Oct
If Codex usage cannot be retrieved, the footer displays Codex usage unavailable.
Publish
npm login
npm publish
The package name may need to be changed if pi-codex-usage is already taken on npm. Choose and add a license before publishing.