@henryqw/pi-ask-question 0.2.4 → 0.2.5
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 +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# `@henryqw/pi-ask-question`
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Pause Pi for one clear user choice, with up to three options or a custom answer.
|
|
4
4
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
## Why
|
|
8
8
|
|
|
9
|
-
- **Created for**:
|
|
10
|
-
- **Advantage**:
|
|
9
|
+
- **Created for**: Agents and extensions that need one decision before they continue.
|
|
10
|
+
- **Advantage**: A keyboard-selectable prompt returns an explicit answer without parsing free-form chat.
|
|
11
11
|
|
|
12
12
|
## Install
|
|
13
13
|
|
|
@@ -17,7 +17,7 @@ pi install npm:@henryqw/pi-ask-question
|
|
|
17
17
|
|
|
18
18
|
## Use
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
Call `ask_question` to pause for one interactive answer. Pi shows the choices and returns the selected or custom answer.
|
|
21
21
|
|
|
22
22
|
```json
|
|
23
23
|
{
|