@dreki-gg/pi-questionnaire 0.1.0 → 0.2.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/CHANGELOG.md ADDED
@@ -0,0 +1,18 @@
1
+ # @dreki-gg/pi-questionnaire
2
+
3
+ ## 0.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`8121a65`](https://github.com/dreki-gg/pi-extensions/commit/8121a65d312e9e9688762c713976c83dd3ac9d99) Thanks [@jalbarrang](https://github.com/jalbarrang)! - Add prompt guideline to prefer questionnaire tool over plain text when questions have clear, enumerable options.
8
+
9
+ ## 0.2.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`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.
14
+
15
+ - `questionnaire` tool: 1–5 questions per call, single/multi-select, optional Other free-text
16
+ - Tabbed TUI with Review tab, keyboard-driven navigation, layered Esc cancel
17
+ - `/questionnaire` demo command
18
+ - 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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dreki-gg/pi-questionnaire",
3
- "version": "0.1.0",
3
+ "version": "0.2.1",
4
4
  "description": "Tool-first questionnaire flow for pi with shared tabbed TUI and custom rendering",
5
5
  "keywords": [
6
6
  "pi-package"