pi-pretty-tui
Polished tool calls and list rendering for the Pi coding agent TUI
Package details
Install pi-pretty-tui from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-pretty-tui- Package
pi-pretty-tui- Version
0.1.3- Published
- Aug 17, 2026
- Downloads
- 395/mo · 395/wk
- Author
- ykn0309
- License
- MIT
- Types
- extension
- Size
- 218.2 KB
- Dependencies
- 0 dependencies · 2 peers
Pi manifest JSON
{
"extensions": [
"./extensions/index.ts"
],
"image": "https://unpkg.com/pi-pretty-tui@0.1.3/assets/screenshot.png"
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-pretty-tui
A visual refinement extension for the Pi coding agent. It provides compact tool-call rendering and cleaner list presentation while preserving Pi's built-in tool behavior.

Features
- Compact
Read,Bash,Edit,Write,Grep,Find, andListcalls - Gray running, green success, and red failure indicators
- Concise result summaries with expandable output
- Native-style
Writepreviews: first 10 lines when collapsed, full content when expanded - Live
Bashoutput: latest 5 lines when collapsed, all available output when expanded - Colored
+addedand-removededit statistics and diffs - Correct hanging indentation for long paths and wrapped tool output
- Bullet (
•) markers for unordered Markdown lists
Install
pi install npm:pi-pretty-tui
Restart Pi or run /reload after installation.
Pi may warn that built-in tools are being overridden. This is expected: pi-pretty-tui re-registers Pi's built-in tools and delegates execution to their original implementations, changing only their TUI renderers.
Expand tool output
Press Ctrl+O (Pi's default app.tools.expand keybinding) to show or hide detailed output, edit diffs, and complete Write content.
Compatibility notice
Tool rendering uses Pi's documented extension APIs. Changing unordered-list markers currently requires runtime patching of an internal @earendil-works/pi-tui Markdown renderer method because Pi does not expose a public hook for that presentation detail. Code blocks use Pi's original renderer without modification.
No Pi source files are modified. The list-marker patch is removed during session shutdown, but a future Pi release may require this extension to be updated.
Uninstall
pi remove npm:pi-pretty-tui
Then restart Pi.
License
MIT
