Install
Install with PiG
pig install npm:@haphazarddev/pi-ask-user-questionInstall with Pi
pi install npm:@haphazarddev/pi-ask-user-questionReview 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.
Pi manifest JSON
The pi field of package.json.
{
"extensions": [
"./dist/index.js"
]
}README
Written by the package's publisher, shown as published in version 0.3.1 (README.md). PiG does not review it.
@haphazarddev/pi-ask-user-question
Add an ask_user_question tool to pi so the agent can ask you for clarification instead of guessing.
Install
pi install npm:@haphazarddev/pi-ask-user-question
Or install from a local checkout:
pi install ./extensions/pi-ask-user-question
Tool
This package registers:
ask_user_question
What it supports
- yes/no confirmation prompts
- single-line input
- multi-line editor input
- option selection with keyboard shortcuts
- multi-select option selection for choosing more than one predefined answer (returns
answeras a string array) - optional custom answers alongside predefined choices
Typical use cases
- clarifying missing requirements
- asking you to choose from several options
- requesting approval before continuing
- collecting longer free-form answers when needed