pi-rounded-tools

Rounded-corner frames for pi's built-in tool calls and results. A minimal alternative to colored shells — just the corners.

Packages

Package details

extension

Install pi-rounded-tools from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-rounded-tools
Package
pi-rounded-tools
Version
0.1.2
Published
Jul 28, 2026
Downloads
547/mo · 437/wk
Author
orionpax
License
MIT
Types
extension
Size
11.7 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./extensions"
  ],
  "image": "https://raw.githubusercontent.com/orionpax1997/pi-rounded-tools/main/screenshot.png"
}

Security note

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

README

pi-rounded-tools

Rounded-corner frames for pi's built-in tool calls and results.

Re-registers the seven built-in tools (read, write, edit, bash, grep, find, ls) with renderShell: "self" and wraps each tool call and result in a frame drawn with Unicode rounded-corner characters (╭ ╮ ╰ ╯ ─ │).

No left color bar, no theme matching — just the corners. Border color follows theme.fg("border", …) so it adapts to your theme.

screenshot

Install

pi install npm:pi-rounded-tools

Or try it without installing:

pi -e npm:pi-rounded-tools

Then /reload inside pi (only needed for the regular install, not for -e).

What it does

  • Wraps the inner renderer of each built-in tool in a RoundedFrame. Tool previews, syntax highlighting, diff stats, etc. are all preserved — we just add a frame around what pi already renders.
  • Stacks tool_call and tool_result into one continuous frame using open-bottom / open-top modes so there's no double border between them.
  • Skips the frame during partial / streaming renders to avoid flicker; only wraps once the tool settles.
  • Picks border color from tool state: warning (yellow) while running, error (red) on failure, border (theme default) on success — mirroring pi's own 3-state scheme.

Compatibility

This extension re-registers the built-in tools. It will conflict with any other extension that also overrides read, write, edit, bash, grep, find, or ls. If you only need a subset, edit the tools array at the bottom of rounded-tools.ts.

Uninstall

pi remove npm:pi-rounded-tools

License

MIT