@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 +5 -1
- package/README.md +2 -3
- package/ask/tool.ts +3 -5
- package/biome.json +1 -1
- package/package.json +8 -8
- package/prompts/fold.md +2 -0
- package/prompts/grill.md +2 -0
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
|
-
|
|
43
|
-
|
|
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
|
|
74
|
-
"Review:
|
|
75
|
-
"Other/rephrase
|
|
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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@howaboua/pi-ask",
|
|
3
|
-
"version": "0.0.
|
|
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.
|
|
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.
|
|
61
|
-
"@biomejs/biome": "^2.
|
|
62
|
-
"@earendil-works/pi-ai": "1.
|
|
63
|
-
"@earendil-works/pi-coding-agent": "1.
|
|
64
|
-
"@earendil-works/pi-tui": "1.
|
|
65
|
-
"typebox": "1.3
|
|
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