pi-compact-tools
v0.9.2
Published
Compact, expandable UI for pi's built-in tools, bundled with a polished GitHub Dark theme.
Maintainers
Readme
pi-compact-tools
Compact, expandable rendering for Pi's built-in tools, with a GitHub Dark theme.



Features
- Compact rows for
read,write,edit,bash,powershell,grep,find, andls, with status, duration, and line count - Syntax-highlighted edit diffs and numbered
read/writecode views, including Markdown code fences - Animated working label above the prompt, lit in the session's own thinking-level color, and a
Ctrl+Tthinking summary/detail cycle - Theme-agnostic chrome: rails, the tool indicator, and the working label are derived from the active theme and stay legible on light and dark backgrounds
- No Nerd Font required
Install
pi install npm:pi-compact-toolsThen restart Pi or run /reload. For the bundled theme, set "theme": "github-dark-pro" in ~/.pi/agent/settings.json.
Configuration
Optional. Put it in ~/.pi/agent/compact-tools.json or <project>/.pi/compact-tools.json:
{
"tools": ["read", "write", "edit", "bash"],
"previewLines": 10,
"auto_compact": { "read": true, "write": true, "edit": false, "bash": true }
}tools: tools to render compactly. Also available:grep,find,ls,powershell.auto_compact:truestarts hidden,falsestarts with a preview of up topreviewLinesrows (1–100).
Controls
- Click a row or press
Ctrl+Oto expand or collapse results. Ctrl+Tcycles thinking: summary → detail → summary → hidden.
Development
npm install
npm run check
pi -e .License
MIT
