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.
Files changed (2) hide show
  1. package/index.ts +4 -0
  2. 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-ask-user",
3
- "version": "0.11.1",
3
+ "version": "0.11.2",
4
4
  "description": "Interactive ask_user tool for pi-coding-agent with searchable split-pane selection UI, multi-select, and freeform input",
5
5
  "type": "module",
6
6
  "keywords": [