pi-custom-footer

内容来源:README.md(说明文档) · 原始地址 · 查看安装指南

原始内容

pi-custom-footer

Custom footer extension for pi that replaces the default footer with more informative displays.

Install

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