pi-ask-user 0.11.1 → 0.11.2
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/index.ts +4 -0
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -1487,6 +1487,10 @@ export default function(pi: ExtensionAPI) {
|
|
|
1487
1487
|
"Ask exactly one focused question per ask_user call.",
|
|
1488
1488
|
"Do not combine multiple numbered, multipart, or unrelated questions into one ask_user prompt.",
|
|
1489
1489
|
],
|
|
1490
|
+
// Block other tool calls in the same assistant turn until the user answers,
|
|
1491
|
+
// so the model can't batch ask_user with bash/edit/write and let those run
|
|
1492
|
+
// (potentially with side effects) before the user sees the prompt.
|
|
1493
|
+
executionMode: "sequential",
|
|
1490
1494
|
parameters: Type.Object({
|
|
1491
1495
|
question: Type.String({ description: "The question to ask the user" }),
|
|
1492
1496
|
context: Type.Optional(
|
package/package.json
CHANGED