@dreki-gg/pi-questionnaire 0.2.2 → 0.2.3

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @dreki-gg/pi-questionnaire
2
2
 
3
+ ## 0.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`d133c3d`](https://github.com/dreki-gg/pi-extensions/commit/d133c3da917e7e5def568d27d6cde8ae8a6c00d2) Thanks [@jalbarrang](https://github.com/jalbarrang)! - Mark pi peer dependencies as optional so npm does not auto-install pi internals when installing extension packages.
8
+
3
9
  ## 0.2.2
4
10
 
5
11
  ### Patch Changes
@@ -1,5 +1,5 @@
1
- import type { ExtensionAPI, Theme } from '@mariozechner/pi-coding-agent';
2
- import { Container, Spacer, Text } from '@mariozechner/pi-tui';
1
+ import type { ExtensionAPI, Theme } from '@earendil-works/pi-coding-agent';
2
+ import { Container, Spacer, Text } from '@earendil-works/pi-tui';
3
3
  import {
4
4
  formatCancelledSummary,
5
5
  formatCompletedSummary,
@@ -138,6 +138,7 @@ export default function questionnaireExtension(pi: ExtensionAPI) {
138
138
  return {
139
139
  content: [{ type: 'text' as const, text: formatToolContentSummary(uiResult) }],
140
140
  details: uiResult,
141
+ terminate: true,
141
142
  };
142
143
  },
143
144
 
@@ -1,4 +1,4 @@
1
- import { StringEnum } from '@mariozechner/pi-ai';
1
+ import { StringEnum } from '@earendil-works/pi-ai';
2
2
  import { Type, type Static } from 'typebox';
3
3
 
4
4
  export const SelectionModeSchema = StringEnum(['single', 'multiple'] as const, {
@@ -1,4 +1,4 @@
1
- import { StringEnum } from '@mariozechner/pi-ai';
1
+ import { StringEnum } from '@earendil-works/pi-ai';
2
2
  import { Type, type Static } from 'typebox';
3
3
  import {
4
4
  type QuestionInput as QuestionInputSchema,
@@ -1,5 +1,5 @@
1
- import type { ExtensionContext } from '@mariozechner/pi-coding-agent';
2
- import { Editor, type EditorTheme, Key, matchesKey, truncateToWidth } from '@mariozechner/pi-tui';
1
+ import type { ExtensionContext } from '@earendil-works/pi-coding-agent';
2
+ import { Editor, type EditorTheme, Key, matchesKey, truncateToWidth } from '@earendil-works/pi-tui';
3
3
  import {
4
4
  areAllAnswersValid,
5
5
  createInitialQuestionStateById,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dreki-gg/pi-questionnaire",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Tool-first questionnaire flow for pi with shared tabbed TUI and custom rendering",
5
5
  "keywords": [
6
6
  "pi-package"
@@ -31,9 +31,23 @@
31
31
  "typescript": "^6.0.0"
32
32
  },
33
33
  "peerDependencies": {
34
- "@mariozechner/pi-ai": "*",
35
- "@mariozechner/pi-coding-agent": "*",
36
- "@mariozechner/pi-tui": "*",
34
+ "@earendil-works/pi-ai": "*",
35
+ "@earendil-works/pi-coding-agent": "*",
36
+ "@earendil-works/pi-tui": "*",
37
37
  "typebox": "*"
38
+ },
39
+ "peerDependenciesMeta": {
40
+ "@earendil-works/pi-ai": {
41
+ "optional": true
42
+ },
43
+ "@earendil-works/pi-coding-agent": {
44
+ "optional": true
45
+ },
46
+ "@earendil-works/pi-tui": {
47
+ "optional": true
48
+ },
49
+ "typebox": {
50
+ "optional": true
51
+ }
38
52
  }
39
53
  }