@diegopetrucci/pi-quiet-tools

A pi extension that visually compacts collapsed built-in tool rows in the TUI without changing tool results sent to the model.

Packages

Package details

extension

Install @diegopetrucci/pi-quiet-tools from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@diegopetrucci/pi-quiet-tools
Package
@diegopetrucci/pi-quiet-tools
Version
0.1.3
Published
Jun 1, 2026
Downloads
649/mo · 323/wk
Author
diegopetrucci
License
MIT
Types
extension
Size
15.2 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "index.ts"
  ]
}

Security note

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

README

quiet-tools

A pi extension that makes collapsed built-in tool rows much quieter in the TUI.

When enabled, each collapsed tool row renders as one invocation line plus a separate (Ctrl+O to expand) hint line. Tool output is hidden until expanded. Expanding with Ctrl+O still shows pi's full rendered output.

quiet-tools only changes the visual renderer. It does not truncate, summarize, or rewrite the actual tool results sent to the model.

Covered tools

  • bash
  • read
  • grep
  • find
  • ls
  • edit
  • write

For every covered tool, the collapsed invocation is truncated to a single visual line so long paths, commands, diffs, or file contents do not fill the TUI. Expanding restores pi's normal renderer.

Commands

/quiet-tools status
/quiet-tools off
/quiet-tools on
/quiet-tools toggle

The extension starts enabled by default. Disabling is temporary for the current extension runtime/session; after /reload, /new, /resume, or /fork, it starts enabled again.

Install

Standalone npm package

pi install npm:@diegopetrucci/pi-quiet-tools

Collection package

pi install npm:@diegopetrucci/pi-extensions

GitHub package

pi install git:github.com/diegopetrucci/pi-extensions

Then reload pi:

/reload

Notes

  • This extension overrides pi's built-in tool definitions so it can customize only their TUI renderers.
  • It reuses pi's built-in implementations and preserves shellPath, shellCommandPrefix, and image autoresize settings when they are available from settings files.
  • If another extension also overrides built-in tool execution, pi's extension load order determines which override wins.
  • It affects assistant-invoked tool rows. User !/!! bash commands are rendered by a separate pi component and keep pi's default preview behavior.
  • Pi renders image attachments outside tool result renderers, so inline image display for image reads is still controlled by pi's image settings.