← Catalog

@everyx/pi-ui

Shared TUI building blocks for pi extensions — spinner, card, status widget, view, ticker, context stash, width safety, preview runtime.

Package

Install

Install with PiG

pig install npm:@everyx/pi-ui

Install with Pi

pi install npm:@everyx/pi-ui
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.

README

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

pi-ui

Shared TUI primitives for the @everyx pi packages — a published library, not an extension (no pi.extensions entry, no index.ts barrel).

Packages import per-module deep paths: @everyx/pi-ui/card.js (note: published as raw .ts, so .js resolves to the module by name). Only the imports other packages actually use are public API.

modulecontent
card.jscard header / body / fold rendering, status icons, cardShell, renderCard
view.jscreateToolView — tool-result card template
widget.jsStatusWidget — live status rows (agents widget)
spinner.jsSpinner, durationMeta / formatDuration; re-exports clipTail / safeTitle
ticker.jsticker — periodic timer helper
width.jswidth safety — safeTitle, clipTail, capPlain, structRow
context.jscontext-stash helpers (stash large payloads out of LLM context)
preview-runtime.jsdev-only preview runtime (storybook)

Design intent and requirements: SPEC.md.