@dreki-gg/pi-questionnaire 0.1.0 → 0.2.0
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/CHANGELOG.md +12 -0
- package/extensions/questionnaire/index.ts +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# @dreki-gg/pi-questionnaire
|
|
2
|
+
|
|
3
|
+
## 0.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`5518034`](https://github.com/dreki-gg/pi-extensions/commit/55180341a31ef185d82c200ea2873e7c97f332ae) Thanks [@jalbarrang](https://github.com/jalbarrang)! - Add @dreki-gg/pi-questionnaire — structured questions tool for pi.
|
|
8
|
+
|
|
9
|
+
- `questionnaire` tool: 1–5 questions per call, single/multi-select, optional Other free-text
|
|
10
|
+
- Tabbed TUI with Review tab, keyboard-driven navigation, layered Esc cancel
|
|
11
|
+
- `/questionnaire` demo command
|
|
12
|
+
- Custom renderCall and renderResult (collapsed + expanded)
|
|
@@ -102,6 +102,7 @@ export default function questionnaireExtension(pi: ExtensionAPI) {
|
|
|
102
102
|
promptGuidelines: [
|
|
103
103
|
'Use this tool when you need explicit user choices before continuing.',
|
|
104
104
|
'Batch related clarification questions into one questionnaire call instead of many single prompts.',
|
|
105
|
+
'When asking the user a question that has clear, enumerable options, prefer using this tool over asking in plain text.',
|
|
105
106
|
'Only call this tool in interactive sessions with UI available.',
|
|
106
107
|
],
|
|
107
108
|
parameters: QuestionnaireParamsSchema,
|