← Catalog

pi-declutter

Pi, decluttered. See what the agent did at a glance, with every detail one click away.

Extension

Install

Install with PiG

pig install npm:pi-declutter

Install with Pi

pi install npm:pi-declutter
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Video

Declared by the package manifest. Open the file ↗

Pi manifest JSON

The pi field of package.json.

{
  "image": "https://raw.githubusercontent.com/ChmaraX/pi-declutter/main/assets/thumb.png",
  "video": "https://raw.githubusercontent.com/ChmaraX/pi-declutter/main/assets/demo.mp4",
  "extensions": [
    "./src/index.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 0.3.0 (README.md). PiG does not review it.

pi-declutter

CI npm License

features · install · keybindings · changelog

Pi, decluttered. See what the agent did at a glance, with every detail one click away.

Features

  • One card per response. Tool calls fold into short, grouped summaries.
  • The answer stays in front. Thinking and progress updates move into the card.
  • Expand what you need. Click a row, or press Pi's Ctrl+O to expand everything.
  • Full detail on click. Live output, diffs, syntax highlighting, Markdown and links. c copies.

Works with every provider (Anthropic, OpenAI Codex, Cursor and more) and every tool, including MCP servers and tools from other extensions.

Install

pi install npm:pi-declutter

Restart Pi. Pi shows a notice when a new release lands; update with pi update --extensions. To follow main instead of releases, install git:github.com/ChmaraX/pi-declutter.

Keybindings

KeyAction
ClickExpand a card or group, or open a row
Ctrl+OExpand or collapse all cards (Pi's own key)

In an open row:

KeyAction
↑ ↓ PgUp PgDn Home End, or mouse wheel over the rowScroll
cCopy the plain text
Esc q or click outsideClose

Limitations

  • Progress updates can briefly show outside the card. Pi doesn't mark text as a progress update or as the final answer, so it streams as a normal message first and moves into the card once the agent's next step starts.

Compatibility

Works alongside pi-zentui, including its Thinking (Experimental) renderer. If another extension or a Pi update changes how Pi builds messages, pi-declutter turns its blank-line cleanup off instead of breaking rendering, so some extra blank lines can come back. /activity-patch shows whether the cleanup is active.

Development

git clone https://github.com/ChmaraX/pi-declutter && cd pi-declutter
npm install
pi install "$PWD"

npm run check type-checks. npm test runs the unit tests. Run /reload in Pi to pick up source changes. PR titles follow Conventional Commits; release-please writes the changelog, tags releases and publishes to npm.

License

MIT