← Catalog

@ravshansbox/pi-cost

Cost report extension for pi

Extension

Install

Install with PiG

pig install npm:@ravshansbox/pi-cost

Install with Pi

pi install npm:@ravshansbox/pi-cost
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.

{
  "extensions": [
    "./index.ts"
  ]
}

README

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

pi-cost

Cost report extension for pi.

Install

pi install npm:@ravshansbox/pi-cost

Add -l to install it in project settings.

Usage

Pi loads the extension from ./index.ts. Run /cost in the TUI to open the cost report UI above the editor, then use the tabs to switch between day, week, month, and all views. In other modes, /cost shows an error instead.

For example, run /cost, inspect the week tab for provider totals, and press Backspace on a selected provider to remove that provider's assistant messages from session logs, including mapped multi-provider entries such as Claude Multi.

Development

npm install
npm run check