omp packages

pi-cost0.2.0

Cost dashboard for the pi coding agent

GitHub Actions Published 1 month ago MIT ~422 downloads/mo

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.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

pi-cost

npm version npm downloads

Cost dashboard for the pi coding agent — overview → project → session → message, with actual and estimated spend.

pi-cost demo

Documentation

→ See the documentation

User guide, cost-source model, keyboard shortcuts, and theme authoring all live there.

Installation

pi install npm:pi-cost

Then use /cost start | stop | restart | status | open from inside pi.

Or run standalone:

npx pi-cost

Open http://localhost:5461 — npm run dev auto-opens the browser. pi-cost reads the agent dir in PI_CODING_AGENT_DIR (default ~/.pi/agent).

The same numbers from the command line:

npx pi-cost overview --range 30d
npx pi-cost sessions --match refactor --json
npx pi-cost help

From source

git clone https://github.com/NikiforovAll/pi-cost
cd pi-cost
npm install
npm start              # http://localhost:5461
npm test               # node:test suite on synthetic sessions
pi --add ./extensions  # register as a pi extension

Screenshots

View Preview
Overview Overview
Project Project
Session Session
Session (light) Session light