pi-agent-beautify

extensionmaintained

Terminal visual polish for pi coding agent: natural multi-level headings, tool-panel code blocks, user message accent bar, clipboard image chips

by · v0.1.3 · published 1w ago

$ pi install npm:pi-agent-beautify
downloads/mo
623
stars
0
last push
1w ago
open issues
0

Signals

license: MITtestspi manifest: missinginstall size: —deps: 0peer deps: 0

Download trend

639 downloads · last 12 weeks (weekly)

README

pi-agent-beautify

Terminal visual polish for pi coding agent.
Forked and extended from @smoose/pi-beautify.

Features

1. Natural multi-level headings

Upstream pi-tui hides # / ## for H1/H2, but still prints raw ###… for deeper levels.

This extension:

  • hides raw # markers for all levels (H1–H6)
  • adds a clear hierarchy with markers, weight, indent, and rule lines

2. Code blocks with tool-panel background

  • no raw ``` fence lines
  • no box-drawing characters on code lines (copy stays clean)
  • uses the same background as pi tool-execution panels (toolPendingBg)
  • text / plain / plaintext fences also get the panel background for emphasis

3. Clipboard image chips

Clipboard pi-clipboard-* paths render as compact [image1] chips in the editor, then expand back to real paths before submit.

4. User message accent bar

User prompts get a soft blue left stripe (, theme borderAccent / blue) so they read clearly against assistant output — similar to modern chat UIs.

Install

npm (recommended)

pi install npm:pi-agent-beautify
# pin a version
pi install npm:pi-agent-beautify@0.1.3

GitHub

pi install git:github.com/baipiaoking88/pi-agent-beautify
# or
pi install https://github.com/baipiaoking88/pi-agent-beautify

Local path (development)

pi install /path/to/pi-agent-beautify
pi install ./pi-agent-beautify

Try without writing settings:

pi -e npm:pi-agent-beautify
pi -e /path/to/pi-agent-beautify

Reload with /reload or restart pi after install.

License

MIT