@paulp-o/opencode-auq 1.3.1 → 1.3.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/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -20
- package/package.json +1 -1
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAyHlD,eAAO,MAAM,sBAAsB,EAAE,MAcnC,CAAC;AAEH,eAAe,sBAAsB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -43,27 +43,13 @@ const AskUserQuestionsParametersSchema = z.object({
|
|
|
43
43
|
"options (2-4 choices with labels and descriptions), and multiSelect (boolean). " +
|
|
44
44
|
"Mark one choice as recommended if possible."),
|
|
45
45
|
});
|
|
46
|
-
const TOOL_DESCRIPTION = "
|
|
47
|
-
"This allows you to:\n" +
|
|
48
|
-
"1. Gather user preferences or requirements\n" +
|
|
49
|
-
"2. Clarify ambiguous instructions\n" +
|
|
50
|
-
"3. Get decisions on implementation choices as you work\n" +
|
|
51
|
-
"4. Offer choices to the user about what direction to take\n\n" +
|
|
46
|
+
const TOOL_DESCRIPTION = "Ask users structured questions during execution to gather preferences, clarify requirements, or make implementation decisions.\n\n" +
|
|
52
47
|
"FEATURES:\n" +
|
|
53
|
-
"-
|
|
54
|
-
"-
|
|
55
|
-
"-
|
|
56
|
-
"-
|
|
57
|
-
"
|
|
58
|
-
"USAGE NOTES:\n" +
|
|
59
|
-
"- Always provide a descriptive 'title' field (max 12 chars) for each question\n" +
|
|
60
|
-
"- Use multiSelect: true when choices are not mutually exclusive\n" +
|
|
61
|
-
"- Option labels should be concise (1-5 words)\n" +
|
|
62
|
-
"- Questions should end with a question mark\n" +
|
|
63
|
-
"- Don't include an 'Other' option - it's provided automatically\n" +
|
|
64
|
-
"- Mark one choice as recommended if possible.\n\n" +
|
|
65
|
-
"- If user seems not aware how to answer the question, inform them that they need to install the 'auq' cli tool.\n\n" +
|
|
66
|
-
"Returns a formatted summary of all questions and answers.";
|
|
48
|
+
"- Non-blocking: doesn't halt AI workflow\n" +
|
|
49
|
+
"- 1-4 questions with 2-4 options each\n" +
|
|
50
|
+
"- Single/multi-select modes\n" +
|
|
51
|
+
"- Custom text input always available\n\n" +
|
|
52
|
+
"Returns formatted responses for continued reasoning.";
|
|
67
53
|
const runAuqAsk = async (payload) => new Promise((resolve, reject) => {
|
|
68
54
|
const child = spawn("auq", ["ask"], {
|
|
69
55
|
stdio: ["pipe", "pipe", "pipe"],
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@paulp-o/opencode-auq",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.2",
|
|
5
5
|
"description": "OpenCode plugin that forwards ask_user_questions to the auq CLI",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|