pi-tui-footer

pi extension: TUI footer/header with git status, telemetry, rounded tools, editor and settings enhancements

Packages

Package details

extension

Install pi-tui-footer from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-tui-footer
Package
pi-tui-footer
Version
1.4.2
Published
Oct 17, 2026
Downloads
2,273/mo · 594/wk
Author
onenora
License
MIT
Types
extension
Size
135.4 KB
Dependencies
0 dependencies · 3 peers
Pi manifest JSON
{
  "extensions": [
    "./extensions"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-tui-footer

pi 的 TUI 增强扩展:头部、Starship 风格底栏、圆角编辑器、思考预览、回合遥测和圆角工具框。仅依赖 pi 内置模块与 Node 内置模块,无第三方运行时依赖。

特性

  • 头部:Logo、版本、模型与思考强度、工作目录、命令提示
  • 底栏:路径、Git、环境、计时、上下文用量、Token 与费用
  • 编辑器:圆角边框、内嵌工作状态、可选光标样式
  • 工具框:圆角边框,颜色随执行状态变化
  • 遥测与思考:每轮 TPS、TTFT、耗时统计,隐藏思考时预览末尾内容

安装

pi install npm:pi-tui-footer

更新:

pi update --extensions

配置

运行 /pi-tui 打开设置菜单,改动即时生效。

也可以编辑 ~/.pi/agent/pi-tui.json,只写需要修改的字段:

{
  "inlineFooter": true,
  "cursorStyle": "bar",
  "icons": { "mode": "unicode" },
  "thinkingPeek": { "lines": 2 }
}

全部配置项见 extensions/config.ts。

致谢

许可

MIT