# Patch notes

## 0.6.0

### Added

- Added the `cost-per-million-output` (`$/1M Output`) segment, enabled by default, showing all-in session cost per million output tokens.

### Changed

- Aggregated session token and cost totals across all session entries (`getEntries()`, including `usage`, `compaction`, `branch_summary`, `assistant`, and `toolResult` entries) using Pi's recorded `usage.cost.total`.

## Next release

### Added

- Added configurable statusline items through `/statusline`.
- Added the active provider ID to the model item.
- Added `[x]` and `[]` checkbox indicators to the statusline selector.
- Added task progress and extension-status display.
- Added Git worktree identity next to the Git branch in the statusline.
- Added Codex subscription quota support through the local Codex app server.
- Added Claude/Anthropic subscription quota support when provider rate-limit data is available.
- Added quota reset countdowns and Codex-style `weekly % left` wording.
- Added the statusline preview screenshot.
- Added ten switchable statusline themes: Pastel Sci-Fi, Green Screen, Amber CRT, Monokai, Solarized Dark, Dracula, Gruvbox, Nord, Tokyo Night, and Catppuccin Mocha.
- Added the interactive `theme-preview.html` gallery with historical context and palette sources.

### Changed

- The command surface is now intentionally limited to `/statusline`.
- The dotted separator now adjusts to the terminal width and keeps model details visible when the window gets narrower.
- Quota percentages are clearly labelled as remaining percentage rather than used percentage.
- Statusline preferences are persisted and can be changed without editing configuration files.
- Themes can be changed with `/statusline theme <theme-id>` or from the `/statusline` selector.

### Notes

- Codex quota requires ChatGPT OAuth authentication in the local Codex CLI.
- API-key authentication does not expose subscription quota data.
- Anthropic/Claude quota is shown only when Pi receives the relevant provider data.
