pi-extensions-tool-display

Pi tool display host and shared result-rendering protocol for extensions

Packages

Package details

extension

Install pi-extensions-tool-display from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-extensions-tool-display
Package
pi-extensions-tool-display
Version
1.0.1
Published
Jul 23, 2026
Downloads
816/mo · 816/wk
Author
maplezzk
License
MIT
Types
extension
Size
311.1 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

pi-extensions-tool-display

pi-extensions-tool-display provides the Pi tool-display host plus the shared tool-result rendering protocol and component helpers used by Pi extensions.

It provides:

  • registration, disposal, and activity checks for result-render middleware;
  • a pending registration queue for when the Pi display host loads later;
  • safe component detection and a helper for appending an audit panel to the original tool result.

It is also a standalone Pi extension. Install or include this package in Pi's package list to load the actual tool-display host. Feature package manifests include this dependency's extension entry, so installing either feature package loads one shared host without requiring a second host package.

Boundary

This package owns the display protocol and generic component composition only. Each feature extension continues to own its domain-specific audit extraction, copy, status, and layout.

Upstream attribution

The display integration is designed to work with the MIT-licensed MasuRii/pi-tool-display, the original full-featured Pi tool-display project. We thank MasuRii for that work.

The host implementation is based on the MIT-licensed upstream project and is now maintained in this package so consumers do not need a second separately installed host package.

Install

Install this package directly when you want only the tool-display host:

pi install npm:pi-extensions-tool-display

pi-distill and pi-tool-supervisor declare this host entry in their package manifests when they are installed.

Development

npm test
npm run typecheck

License

MIT