pi-ask-user 0.6.0 → 0.6.1
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 -2
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -1292,12 +1292,14 @@ export default function(pi: ExtensionAPI) {
|
|
|
1292
1292
|
name: "ask_user",
|
|
1293
1293
|
label: "Ask User",
|
|
1294
1294
|
description:
|
|
1295
|
-
"Ask the user a question with optional multiple-choice answers. Use this to gather information interactively. Before calling, gather context with tools (read/web/ref) and pass a short summary via the context field.",
|
|
1295
|
+
"Ask the user a question with optional multiple-choice answers. Use this to gather information interactively. Ask exactly one focused question per call. Before calling, gather context with tools (read/web/ref) and pass a short summary via the context field.",
|
|
1296
1296
|
promptSnippet:
|
|
1297
|
-
"Ask the user
|
|
1297
|
+
"Ask the user one focused question with optional multiple-choice answers to gather information interactively",
|
|
1298
1298
|
promptGuidelines: [
|
|
1299
1299
|
"Before calling ask_user, gather context with tools (read/web/ref) and pass a short summary via the context field.",
|
|
1300
1300
|
"Use ask_user when the user's intent is ambiguous, when a decision requires explicit user input, or when multiple valid options exist.",
|
|
1301
|
+
"Ask exactly one focused question per ask_user call.",
|
|
1302
|
+
"Do not combine multiple numbered, multipart, or unrelated questions into one ask_user prompt.",
|
|
1301
1303
|
],
|
|
1302
1304
|
parameters: Type.Object({
|
|
1303
1305
|
question: Type.String({ description: "The question to ask the user" }),
|
package/package.json
CHANGED