@itc-steve/pi-ask-complete

Pi extension: model-guided ask_user questions in a bottom panel with the transcript kept visible

Packages

Package details

extension

Install @itc-steve/pi-ask-complete from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@itc-steve/pi-ask-complete
Package
@itc-steve/pi-ask-complete
Version
1.0.1
Published
Aug 2, 2026
Downloads
475/mo · 475/wk
Author
itc-steve
License
MIT
Types
extension
Size
76.3 KB
Dependencies
0 dependencies · 4 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-ask-complete

pi-ask-complete — model-guided ask_user questions in a bottom panel with the transcript kept visible

Model-guided ask_user questions for the Pi coding agent.

The extension tells the model to use ask_user for decisions, preferences, confirmations, and clarifying questions instead of dumping multiple-choice prompts into chat. Answers come back as structured JSON. The transcript stays visible the whole time.

How it works: model asks → you choose in a bottom panel → JSON returns


Features

  • Single-select and multi-select questions
  • Free-form answers on every question (Type something.)
  • Optional descriptions and side-by-side previews
  • Multiple questions with tabs and a final review screen
  • Required or skippable questions
  • Bottom-panel UI that keeps the transcript visible
  • Structured JSON answers returned to the model
  • Herdr attention notification when the panel waits in a background pane

Install

pi install npm:@itc-steve/pi-ask-complete

From a local checkout:

pi install /path/to/pi-ask-complete

Run /reload after installation.


Usage

ask_user({
  questions: [
    {
      header: "Which layout?",
      tab: "Layout",
      prompt: "Choose the default page layout.",
      options: [
        { label: "Grid", description: "Dense overview of many items." },
        { label: "List", description: "More detail for each item." }
      ],
      allowSkip: false
    }
  ]
})

Every question also includes a Type something. row. The tool returns structured JSON with the user's selections, custom answers, skipped questions, cancellation state, and optional note.

License

MIT