@zigai/pi-response-renderer

Pi package that makes assistant responses more compact.

Packages

Package details

extension

Install @zigai/pi-response-renderer from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@zigai/pi-response-renderer
Package
@zigai/pi-response-renderer
Version
0.1.8
Published
Jun 14, 2026
Downloads
470/mo · 455/wk
Author
zigai
License
MIT
Types
extension
Size
10.2 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./src/index.ts"
  ]
}

Security note

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

README

Pi Response Renderer

npm version npm downloads license

This Pi extension makes assistant responses more compact by tightening extra blank lines and hiding Markdown code fence markers.

It applies a few small rendering tweaks:

  • hides the visible ``` fence lines around rendered Markdown code blocks in assistant messages
  • collapses some extra blank lines between plain paragraph lines
  • removes italic ANSI styling from assistant message output

The goal is a cleaner transcript with less visual noise while keeping the message content itself unchanged.

Install

pi install npm:@zigai/pi-response-renderer

The extension only changes how messages are rendered in the UI. It does not rewrite saved conversation content.

Screenshots

Before:

Pi Response Renderer before screenshot

After:

Pi Response Renderer after screenshot

License

MIT