# pi-custom-footer

Custom footer extension for [pi](https://pi.dev) that replaces the default footer with more informative displays.

## Install

```bash
pi install npm:pi-custom-footer
```

## Features

- **Absolute token counts** — Shows context usage as `120k/524k` instead of a percentage
- **Cache hit rate** — Displays cache efficiency as `CH94%` (cacheRead / total prompt tokens)
- **Token stats** — Shows upload `↑12k`, download `↓8k`, and cumulative cost `$0.123`
- **Thinking level** — Displays current thinking level next to the model name (e.g. `claude-4-sonnet • medium`)
- **Session name** — Appends session name to the cwd line

## Footer Layout

```
Line 1: ~/project (main) • Session Name
Line 2: ↑12k ↓8k CH94% $0.123 120k/524k (auto)          claude-4-sonnet • medium
Line 3: extension statuses...
```

## License

MIT
