English | 中文
A Pi extension that reduces the collapsed TUI display for verbose built-in tool results.
pi install npm:pi-ui-finetune
# Then launch pi
piOr copy index.ts to ~/.pi/agent/extensions/ for auto-discovery.
All settings are optional.
# Tools whose collapsed display should be trimmed.
# Default: all built-in tools: read,bash,edit,write,grep,find,ls
PIUF_SUPPRESSED_TOOLS=read,bash,edit,write,grep,find,ls
# Number of output lines considered visible in Pi's normal collapsed preview.
# The hint reports total output lines minus this number. Default: 5
PIUF_COLLAPSED_VISIBLE_LINES=5
# Number of bash output lines shown before the collapsed hint. Default: 3
PIUF_BASH_PREVIEW_LINES=3
# Enable debug logging (default: false)
PIUF_DEBUG=falseThe extension also reads these variables from a local .env file. Real
environment variables take precedence over .env values.
- tab-follow-up: Use Tab instead of Alt+Enter to trigger follow-up input.
- pi-models-metadata: Automatically sync remote models list and model metadata, including context size and multimodal support.
