Install
Install with PiG
pig install npm:pi-tui-footerInstall with Pi
pi install npm:pi-tui-footerReview 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": [
"./extensions"
]
}README
Written by the package's publisher, shown as published in version 2.0.3 (README.md). PiG does not review it.
pi-tui-footer
为 pi 定制的终端界面:头部、底栏、圆角编辑器与工具框。只依赖 pi 公开的扩展 API。
▟████▙ pi v1.5.0
██ ▜▛ Claude Opus 5.5 · high
███▌ ▟▙ ~/demo
▜▛ ▜▛ / for commands · ! for shell · @ for files · esc to interrupt
╭─────────────────────────────────────────────────────────────────────╮
│ prompt │
╰─────────────────────────────────────────────────────────────────────╯
@ ~/demo * main [!2 ?1] node 22.1.0 + done 3s # [#-------] 12.6% · 126k/1.0M
M · Anthropic · Claude Opus · ~ high ↑ 3.1M (U 405k + R 2.7M) | ↓ 16k | $ $0.305
- 头部:pi Logo、版本、模型、目录与快捷提示
- 底栏:目录、Git、运行时、计时、TPS、上下文、Token 与费用,各段可开关
- 编辑器:圆角边框,状态与思考预览嵌在边框上
- 消息与工具:去掉背景色块,消息靠右,工具调用与结果合成一个圆角框
- 遥测:每轮结束提示速度、耗时、Token 与费用
- 图标:自动选用 Nerd Font,不支持时回退 ASCII
安装
pi install npm:pi-tui-footer
配置
运行 /pi-tui 打开设置,改动即时生效,保存在 ~/.pi/agent/pi-tui.json。全部字段见 extensions/config.ts。