@haphazarddev/pi-ask-user-question0.3.1
A pi extension that adds an ask_user_question tool for collecting clarification, confirmation, and input through the UI.
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
@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