← Catalog

@spences10/pi-codex-usage

OpenAI Codex usage status for the Pi footer

Package

Install

Install with PiG

pig install npm:@spences10/pi-codex-usage

Install with Pi

pi install npm:@spences10/pi-codex-usage
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "image": "https://raw.githubusercontent.com/spences10/my-pi/main/assets/pi-package-preview.png",
  "extensions": [
    "./dist/index.js"
  ]
}

README

Written by the package's publisher, shown as published in version 0.0.2 (README.md). PiG does not review it.

@spences10/pi-codex-usage

built with Vite+ tested with Vitest npm version license

my-pi package preview

Pi extension that publishes OpenAI Codex usage to the footer status area.

It only shows status when the active model provider is openai-codex. The extension reads ~/.pi/agent/auth.json for openai-codex.access, calls the Codex usage endpoint, and publishes a compact codex-usage status for the existing @spences10/pi-footer renderer.

Installation

pi install npm:@spences10/pi-codex-usage

Disable the built-in with:

my-pi --no-codex-usage

Development

Package scripts build transitive workspace dependencies first, then run local tools through Vite+ with vp exec.

pnpm --filter @spences10/pi-codex-usage run check
pnpm --filter @spences10/pi-codex-usage run test
pnpm --filter @spences10/pi-codex-usage run build

License

MIT