pi-questions-tui

Interactive question UI extension for Pi

Packages

Package details

extension

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

$ pi install npm:pi-questions-tui
Package
pi-questions-tui
Version
0.1.0
Published
Sep 18, 2026
Downloads
183/mo · 18/wk
Author
dougo-16
License
unknown
Types
extension
Size
20.3 KB
Dependencies
0 dependencies · 3 peers
Pi manifest JSON
{
  "extensions": [
    "./src/index.ts"
  ]
}

Security note

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

README

pi-questions-tui

A Pi extension for asking structured questions through a small, keyboard-friendly terminal UI.

Development

Install dependencies and run the checks:

npm install
npm test
npm run typecheck

Load the extension for a local Pi run:

pi -e ./src/index.ts

When the agent needs a decision, it can call the ask_user tool. In TUI mode the extension opens the interactive overlay. RPC mode uses Pi's sequential select and input dialogs.

The product definition is in docs/spec.md. The implementation tickets are indexed in docs/tickets.md.