spets 0.1.73 → 0.1.74
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.js +9 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -965,15 +965,17 @@ function buildClarifyPrompt(params) {
|
|
|
965
965
|
}
|
|
966
966
|
parts.push("");
|
|
967
967
|
}
|
|
968
|
-
parts.push("**
|
|
969
|
-
parts.push('- If user said something positive like "good", "great", "this is fine", "I like this" \u2192 RESOLVED, proceed');
|
|
970
|
-
parts.push("- If user selected an option or gave a clear preference \u2192 RESOLVED, proceed");
|
|
971
|
-
parts.push("- If user asked a question or requested clarification \u2192 re-ask with better explanation");
|
|
968
|
+
parts.push("**CRITICAL RULES**:");
|
|
972
969
|
parts.push("");
|
|
973
|
-
parts.push(
|
|
974
|
-
parts.push("
|
|
970
|
+
parts.push('1. If user gave ANY positive response ("good", "great", "fine", "I like", "perfect", etc.) \u2192 that decision is DONE');
|
|
971
|
+
parts.push("2. If user selected an option or gave custom input \u2192 that decision is DONE");
|
|
972
|
+
parts.push('3. NEVER ask the same question with different wording (e.g., "option IDs" vs "ID display" = SAME topic)');
|
|
973
|
+
parts.push("4. If user asked for clarification \u2192 explain better and re-ask THAT SPECIFIC decision only");
|
|
975
974
|
parts.push("");
|
|
976
|
-
parts.push(
|
|
975
|
+
parts.push(`There are ${params.previousDecisions.length} previous decision(s). Unless user explicitly asked for clarification, you should output:`);
|
|
976
|
+
parts.push("```json");
|
|
977
|
+
parts.push(`{"ready": true, "decisions": [], "summary": "Proceeding with user's preferences..."}`);
|
|
978
|
+
parts.push("```");
|
|
977
979
|
parts.push("");
|
|
978
980
|
} else {
|
|
979
981
|
parts.push("## Your Task");
|