@haphazarddev/pi-ask-user-question
v0.1.0
Published
A pi extension that adds an ask_user_question tool for collecting clarification, confirmation, and input through the UI.
Downloads
92
Maintainers
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-questionOr install from a local checkout:
pi install ./extensions/pi-ask-user-questionTool
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
- 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
Repository
- Source: https://github.com/HaphazardDev/pi-extensions
- Issues: https://github.com/HaphazardDev/pi-extensions/issues
