npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

pi-boxed-tools

v0.1.0

Published

User-box-inspired boxed rendering for pi's built-in text tools.

Readme

pi-boxed-tools

User-box-inspired rendering for pi's built-in text tools.

pi-boxed-tools illustrative mockup

Illustrative mockup: the first image is a designed example of the intended UI, not a direct terminal screenshot.

Live-style editor demo

pi-boxed-tools live editor demo

This second image is a real pi editor pane captured from a Herdr split with grim. It runs deliberately small, non-mutating demo operations through bash, read, and web_search, so it shows the plugin in its actual editor context without unrelated desktop or browser chrome.

pi-boxed-tools gives read, grep, find, ls, and bash a consistent, focused frame inspired by pi's user-message box while leaving pi-tool-display in charge of its excellent edit/write diff rendering and native user-message box.

What it does

  • Rounded, width-safe tool-result frames with ╭─ title ─╮ / ╰────╯ edges
  • Theme-aware border, accent, and userMessageBg colors
  • Slim one-line call headers
  • Collapsed previews with configured expand hints
  • Full output through pi's normal tool expansion behavior
  • Error, empty-result, and streaming states
  • Real execution delegated to pi's built-in tool implementations
  • No changes to pi core and no runtime dependencies beyond pi's peer packages

The package uses pi's documented same-name built-in override API and renderShell: "self". It copies the built-in tool schemas and prompt metadata, then delegates execution unchanged; only the display slots are replaced.

Ownership split with pi-tool-display

This package is deliberately not a fork of pi-tool-display. The packages work together:

| Tool | Owner | | --- | --- | | read, grep, find, ls, bash | pi-boxed-tools | | edit, write | pi-tool-display | | User message box and thinking labels | pi-tool-display | | web_search, fetch_content, get_search_content | Companion local web-search extension |

Disable pi-tool-display's ownership for the five tools claimed here:

{
  "registerToolOverrides": {
    "read": false,
    "grep": false,
    "find": false,
    "ls": false,
    "bash": false,
    "edit": true,
    "write": true
  }
}

The setting lives in:

~/.pi/agent/extensions/pi-tool-display/config.json

Then run /reload.

Installation

From this repository:

pi install git:github.com/BubbatheVTOG/pi-boxed-tools.git

Or install the local checkout while developing:

pi install ~/git/pi-boxed-tools

After installation, apply the ownership configuration above and run /reload.

Inspiration and related projects

  • pi-tool-display — visual inspiration for compact tool rows, the native user-message box, diff presentation, and ANSI/background handling. Portions of the frame/background code are adapted from its MIT-licensed user-message renderer.
  • Pi custom rendering — the public renderCall, renderResult, and renderShell APIs used here.
  • pi-transcript-window — inspiration for display-only extension behavior and pi 0.84+ support.
  • pi-hide-messages — the upstream display-layer project behind the transcript-window approach.

Development

The package has no npm runtime dependencies. Pi supplies its core peer packages when loading the extension.

Run the deterministic harnesses from pi's installed package root so the same core-package aliases used by pi's loader are available:

cd /home/bubba/.npm-global/lib/node_modules/@earendil-works/pi-coding-agent
node ~/git/pi-boxed-tools/tests/renderers.test.mjs

The harness verifies:

  • all five tools register with valid schemas and prompt metadata
  • collapsed, expanded, partial, error, and empty rendering states
  • frame integrity and width-safe output
  • real read, bash, grep, find, and ls execution delegation

Recreating the illustrative mockup

The source artwork is docs/assets/pi-boxed-tools-mockup.svg. The committed PNG was captured with grim from a clean Chromium app window rendering that SVG. To regenerate the raster artwork without the compositor:

rsvg-convert -w 1600 -h 900 \
  docs/assets/pi-boxed-tools-mockup.svg \
  docs/assets/pi-boxed-tools-demo.png

The mockup intentionally says “Illustrative mockup” so it is not confused with a live terminal recording.

Rollback

Remove the package, restore pi-tool-display's five ownership flags to true, and run /reload:

pi remove ~/git/pi-boxed-tools

License

MIT. See LICENSE. Portions adapted from pi-tool-display, also MIT.