@mrclrchtr/supi-prompt-improver 11.3.0 → 11.4.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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## [11.4.0]
4
+
5
+ - Clarifying-question forms now report Pi as waiting for your answer on terminals that show program status.
6
+
3
7
  ## [11.3.0]
4
8
 
5
9
  - Added package-specific release notes for prompt improvement and its bundled decision forms.
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## [11.4.0]
4
+
5
+ - Overlay forms now report Pi as waiting for your answer on terminals that show program status, like inline forms.
6
+
3
7
  ## [11.3.0]
4
8
 
5
9
  - Added package-specific release notes for structured questions and reusable decision forms.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrclrchtr/supi-core",
3
- "version": "11.3.0",
3
+ "version": "11.4.0",
4
4
  "description": "Shared settings, configuration, reporting, and session infrastructure",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrclrchtr/supi-ask-user",
3
- "version": "11.3.0",
3
+ "version": "11.4.0",
4
4
  "description": "Structured choice and text forms for agent-user decisions",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -33,7 +33,7 @@
33
33
  "!__tests__"
34
34
  ],
35
35
  "dependencies": {
36
- "@mrclrchtr/supi-core": "11.3.0"
36
+ "@mrclrchtr/supi-core": "11.4.0"
37
37
  },
38
38
  "bundledDependencies": [
39
39
  "@mrclrchtr/supi-core"
@@ -52,7 +52,7 @@ export interface OpenAskUserFormOptions {
52
52
  *
53
53
  * This API does not persist results, label transcript entries, or abort a Pi
54
54
  * agent turn. It uses Pi's editor area by default and one shared lock for all callers.
55
- * Inline forms report that Pi is waiting for an answer; overlays leave program status unchanged.
55
+ * Inline and overlay forms report that Pi is waiting for an answer until the form closes.
56
56
  */
57
57
  export async function openAskUserForm(
58
58
  questionnaire: NormalizedQuestionnaire,
@@ -85,9 +85,10 @@ export async function openAskUserForm(
85
85
  options.onAcquire?.();
86
86
  return factory(tui, theme, keybindings, done);
87
87
  },
88
- options.overlay
89
- ? { overlay: true }
90
- : { blocked: { kind: "question", message: "Waiting for your answer" } },
88
+ {
89
+ ...(options.overlay ? { overlay: true } : {}),
90
+ blocked: { kind: "question", message: "Waiting for your answer" },
91
+ },
91
92
  ),
92
93
  },
93
94
  signal: options.signal,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrclrchtr/supi-core",
3
- "version": "11.3.0",
3
+ "version": "11.4.0",
4
4
  "description": "Shared settings, configuration, reporting, and session infrastructure",
5
5
  "license": "MIT",
6
6
  "repository": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrclrchtr/supi-prompt-improver",
3
- "version": "11.3.0",
3
+ "version": "11.4.0",
4
4
  "description": "Command-based prompt improvement with user-approved drafts",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -43,8 +43,8 @@
43
43
  ]
44
44
  },
45
45
  "dependencies": {
46
- "@mrclrchtr/supi-ask-user": "11.3.0",
47
- "@mrclrchtr/supi-core": "11.3.0"
46
+ "@mrclrchtr/supi-ask-user": "11.4.0",
47
+ "@mrclrchtr/supi-core": "11.4.0"
48
48
  },
49
49
  "bundledDependencies": [
50
50
  "@mrclrchtr/supi-ask-user",