@howaboua/pi-ask 0.0.16 → 0.0.17

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,10 @@
1
1
  # @howaboua/pi-ask
2
2
 
3
+ ## 0.0.17
4
+
5
+ - - Removed redundant help-call instructions from Ask's help.
6
+ - GPT mode uses note-style question and handoff guidance.
7
+
3
8
  ## 0.0.16
4
9
 
5
10
  - Use denser question and handoff help in PCC GPT prompt mode.
@@ -15,7 +20,6 @@
15
20
  ## 0.0.13
16
21
 
17
22
  - Ask now accepts supervisor replies through Shepherdr's `reply` action. Update and reload Ask and Shepherdr together on controllers and workers.
18
-
19
23
  - Supervisors receive questions, choices and a reply template. Valid replies complete the worker's existing wait or steer panel. Human handoffs still require the user's confirmation.
20
24
  - Unknown or misnamed fields, such as `options` instead of `choices`, and malformed choices now return errors naming the invalid field and accepted shape instead of silently dropping input.
21
25
 
package/README.md CHANGED
@@ -39,8 +39,8 @@ Both templates are enabled by default. The extension creates `ask.json` under Pi
39
39
 
40
40
  ```json
41
41
  {
42
- "grill": true,
43
- "fold": true
42
+ "grill": true,
43
+ "fold": true
44
44
  }
45
45
  ```
46
46
 
@@ -49,7 +49,6 @@ Set either value to `false`, then run `/reload`, to hide that template. The same
49
49
  ## TUI controls
50
50
 
51
51
  The panel uses Pi's active keybindings. The defaults are:
52
-
53
52
  - `Up` / `Down` — move through choices, free text, and comments
54
53
  - `Enter` — choose or edit the focused item, or save an edit
55
54
  - `Left` / `Right` — move between prompts and the review tab
package/ask/tool.ts CHANGED
@@ -68,14 +68,12 @@ export function createAskRuntime({
68
68
  textContent(
69
69
  (isGpt()
70
70
  ? [
71
- "ask({}) / ask({help:true}): usage",
72
71
  'ask({prompts:[{title,body?,multiple?,choices?:[{label,description?}]}],delivery?:"wait"|"steer",handoff?})',
73
- "wait default; steer only with reversible work remaining. Handoff: await user action; state completion signal",
74
- "Review: each finding=prompt+disposition choices; never report first",
75
- "Other/rephrase automatic; no choices=free text; blank Other/rephrase=rephrase/follow up",
72
+ "wait default; steer ONLY if reversible work remains; handoff→wait user action+state completion signal",
73
+ "Review: finding→prompt+disposition choices; NEVER report first",
74
+ "Auto Other/rephrase; no choices=free text; blank Other/rephrase→rephrase/follow up",
76
75
  ]
77
76
  : [
78
- "ask({}) or ask({ help: true }) returns usage",
79
77
  'ask({ prompts: [{ title, body?, multiple?, choices?: [{ label, description? }] }], delivery?: "wait"|"steer", handoff? })',
80
78
  "Omit delivery to wait; steer only while reversible work can continue. Handoffs wait for user action; state the completion signal",
81
79
  "For reviews, make each finding a prompt with disposition choices; do not report first",
package/biome.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.5.15/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.6.3/schema.json",
3
3
  "vcs": {
4
4
  "enabled": true,
5
5
  "clientKind": "git",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@howaboua/pi-ask",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "description": "Interactive decisions, review triage, and human handoffs for Pi.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -45,7 +45,7 @@
45
45
  ]
46
46
  },
47
47
  "peerDependencies": {
48
- "@howaboua/pi-codex-conversion": ">=4.0.3",
48
+ "@howaboua/pi-codex-conversion": ">=4.0.5",
49
49
  "@earendil-works/pi-ai": ">=1.0.0",
50
50
  "@earendil-works/pi-coding-agent": ">=1.0.0",
51
51
  "@earendil-works/pi-tui": ">=1.0.0",
@@ -57,12 +57,12 @@
57
57
  }
58
58
  },
59
59
  "devDependencies": {
60
- "@howaboua/pi-codex-conversion": "4.0.3",
61
- "@biomejs/biome": "^2.5.15",
62
- "@earendil-works/pi-ai": "1.3.0",
63
- "@earendil-works/pi-coding-agent": "1.3.0",
64
- "@earendil-works/pi-tui": "1.3.0",
65
- "typebox": "1.3.37",
60
+ "@howaboua/pi-codex-conversion": "4.0.5",
61
+ "@biomejs/biome": "^2.6.3",
62
+ "@earendil-works/pi-ai": "1.4.0",
63
+ "@earendil-works/pi-coding-agent": "1.4.0",
64
+ "@earendil-works/pi-tui": "1.4.0",
65
+ "typebox": "1.4.3",
66
66
  "typescript": "^7.0.2"
67
67
  },
68
68
  "scripts": {
package/prompts/fold.md CHANGED
@@ -1,7 +1,9 @@
1
1
  ---
2
+
2
3
  description: Fold a long report or list into interactive review
3
4
  argument-hint: "[report or instructions]"
4
5
  ---
6
+
5
7
  Fold this material into `ask` instead of replying with another long report:
6
8
 
7
9
  $ARGUMENTS
package/prompts/grill.md CHANGED
@@ -1,7 +1,9 @@
1
1
  ---
2
+
2
3
  description: Grill an idea into an agreed plan
3
4
  argument-hint: "[idea or plan]"
4
5
  ---
6
+
5
7
  Grill this into an agreed plan:
6
8
 
7
9
  $ARGUMENTS