@ryan_nookpi/pi-extension-ask-user-question 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,15 +1,26 @@
|
|
|
1
1
|
# @ryan_nookpi/pi-extension-ask-user-question
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
This extension lets pi ask the user questions and wait for an answer during a task.
|
|
4
|
+
|
|
5
|
+
It is useful when the request is ambiguous, when the user needs to choose between options, or when you need input before continuing.
|
|
4
6
|
|
|
5
7
|
## Install
|
|
6
8
|
|
|
7
9
|
```bash
|
|
8
|
-
pi install /Users/creatrip/Documents/pi-extension/packages/ask-user-question
|
|
9
10
|
pi install npm:@ryan_nookpi/pi-extension-ask-user-question
|
|
10
11
|
```
|
|
11
12
|
|
|
12
|
-
##
|
|
13
|
+
## Great for
|
|
14
|
+
|
|
15
|
+
- clarifying vague requirements before implementation
|
|
16
|
+
- letting the user choose between options
|
|
17
|
+
- collecting multiple selections from a checklist
|
|
18
|
+
- asking for missing information in the middle of a task
|
|
19
|
+
|
|
20
|
+
## Example prompts
|
|
21
|
+
|
|
22
|
+
- "Ask which design option they want."
|
|
23
|
+
- "Show deployment choices and let the user pick one."
|
|
24
|
+
- "Ask the user to select multiple items from a checklist."
|
|
13
25
|
|
|
14
|
-
|
|
15
|
-
- `./index.ts` entry
|
|
26
|
+
After installation, pi can use the `AskUserQuestion` tool for interactive decision-making.
|