@aneviaro/pi-ask-user-question

A blocking user-question tool for Pi coding agent.

Packages

Package details

extension

Install @aneviaro/pi-ask-user-question from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@aneviaro/pi-ask-user-question
Package
@aneviaro/pi-ask-user-question
Version
0.1.1
Published
Jul 10, 2026
Downloads
222/mo · 222/wk
Author
aneviaro
License
unknown
Types
extension
Size
149.2 KB
Dependencies
0 dependencies · 3 peers
Pi manifest JSON
{
  "extensions": [
    "./extensions/ask-user-question.ts"
  ]
}

Security note

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

README

pi-ask-user-question

A Pi package that adds ask_user_question, a blocking clarification tool with multiple-choice and freeform answers.

Demo

ask_user_question presents a recommended multiple-choice prompt in Pi

Install

pi install npm:@aneviaro/pi-ask-user-question

For local development:

pi install /absolute/path/to/ask-user-question

Tool behavior

  • Asks one concise blocking question.
  • Supports labeled options with stable values.
  • Allows a custom freeform answer by default.
  • Returns the selected label and stable value, or the custom response.
  • Refuses to prompt in non-interactive modes.