@agimon-ai/po-ui
Leader-key menus, themes, and TUI components for Po and Pi extensions.
Package details
Install @agimon-ai/po-ui from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@agimon-ai/po-ui- Package
@agimon-ai/po-ui- Version
0.0.0-alpha.232- Published
- Dec 6, 2026
- Downloads
- 40K/mo · 8,846/wk
- Author
- agiflow-ai
- License
- MIT
- Types
- extension
- Size
- 385.6 KB
- Dependencies
- 8 dependencies · 6 peers
Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@agimon-ai/po-ui
Builtin file tools (find, ls, write), the /tools inventory command, and shared UI contracts for Po.
The Po distribution loads this package as fixed core. Extension authors can depend on its public subpaths without adopting the full distribution.
Alpha: UI and contribution contracts may change between releases.
Requirements
- Node.js 24 or newer
Install
Po loads this package automatically before layer contributions. Do not add it to a layer in .po/presets.yaml.
Builtin tools and commands
The session extension registers three builtin file tools (on server, web, native, and Session MCP with MCP App widgets) plus one inventory command:
find: searches files by glob pattern relative to a directory, respecting.gitignore.ls: lists directory entries sorted alphabetically, including dotfiles.write: writes file contents, creating parent directories automatically./tools: lists tool calls recorded in the session transcript, not currently available tools.
To inspect the resolved harness without MCP configuration, run po --explain --no-mcp (not verified live).
Public API
@agimon-ai/po-ui: re-exports core config/footer/leader types,PoUiState,createUiTelemetry,DEFAULT_THEME/DEFAULT_THEME_NAME/writeDefaultTheme, andreadPoHarnessMetadata.@agimon-ai/po-ui/config,./footer,./leader,./leaderRegistry: config, footer, and leader-key contribution contracts and registry helpers.@agimon-ai/po-ui/themeand./themes/po-dark.json: theme defaults and bundledpo-darktheme definition.@agimon-ai/po-ui/toolInventory,./skills,./uiState: session tool inventory, skill metadata, and UI state models.@agimon-ai/po-ui/extensionName,./harnessMetadata,./logSinkTelemetry: extension naming, harness metadata readers, and UI telemetry helpers.@agimon-ai/po-ui/extensions/server,./extensions/web,./extensions/native: host, web, and native extension entry points.
Development
pnpm build
pnpm typecheck
pnpm test
pnpm lint
Maintained by Agimon.
License
MIT. See LICENSE.