@dreki-gg/pi-questionnaire 0.2.1 → 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,23 @@
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
+
9
+ ## 0.2.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [`0be7b68`](https://github.com/dreki-gg/pi-extensions/commit/0be7b6877e9874b46c756b58c99d599db623ef11) Thanks [@jalbarrang](https://github.com/jalbarrang)! - Migrate TypeBox usage and session replacement flows for Pi 0.69 compatibility.
14
+
15
+ - switch extension imports from `@sinclair/typebox` to `typebox`
16
+ - update package peer dependencies to require `typebox`
17
+ - move subagent `/run-agent` fork-at follow-up work into `withSession` so post-fork operations use the replacement session safely
18
+ - add command argument completions for `/run-agent`, `/delegate-agents`, `/preset`, `/mode`, and `/plan`
19
+ - align local development dependencies with Pi 0.69 for typechecking and compatibility checks
20
+
3
21
  ## 0.2.1
4
22
 
5
23
  ### 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,5 +1,5 @@
1
- import { StringEnum } from '@mariozechner/pi-ai';
2
- import { Type, type Static } from '@sinclair/typebox';
1
+ import { StringEnum } from '@earendil-works/pi-ai';
2
+ import { Type, type Static } from 'typebox';
3
3
 
4
4
  export const SelectionModeSchema = StringEnum(['single', 'multiple'] as const, {
5
5
  description: 'Selection mode: single choice or multiple choices.',
@@ -1,5 +1,5 @@
1
- import { StringEnum } from '@mariozechner/pi-ai';
2
- import { Type, type Static } from '@sinclair/typebox';
1
+ import { StringEnum } from '@earendil-works/pi-ai';
2
+ import { Type, type Static } from 'typebox';
3
3
  import {
4
4
  type QuestionInput as QuestionInputSchema,
5
5
  type QuestionOption as QuestionOptionSchema,
@@ -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.1",
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": "*",
37
- "@sinclair/typebox": "*"
34
+ "@earendil-works/pi-ai": "*",
35
+ "@earendil-works/pi-coding-agent": "*",
36
+ "@earendil-works/pi-tui": "*",
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
  }