@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 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,
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.0",
4
4
  "description": "Tool-first questionnaire flow for pi with shared tabbed TUI and custom rendering",
5
5
  "keywords": [
6
6
  "pi-package"