@mccaskie-labs/workbench-config 0.1.34 → 0.1.35
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/CHANGELOG.md +6 -0
- package/dist/skills.js +5 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @mccaskie-labs/workbench-config
|
|
2
2
|
|
|
3
|
+
## 0.1.35
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Skills: a must-ask table question (such as a choice's options) is asked on its own with "These are right", "Change some" or "Add or remove", and no recommended answer, so the client never accepts made-up options inside another question's "Accept all".
|
|
8
|
+
|
|
3
9
|
## 0.1.34
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/skills.js
CHANGED
|
@@ -26,7 +26,11 @@ function questionBlock(q, n) {
|
|
|
26
26
|
if (q.must_ask)
|
|
27
27
|
lines.push("**Must ask:** there is no safe default, so always ask it, even when the client accepts every recommendation.");
|
|
28
28
|
lines.push("");
|
|
29
|
-
if (q.style === "table") {
|
|
29
|
+
if (q.style === "table" && q.must_ask) {
|
|
30
|
+
// No safe default means no recommended answer: the client confirms what only they know, on its own.
|
|
31
|
+
lines.push("Ask it on its own, never folded into another question's \"Accept all\": propose a value for each row as a starting point, show the table, then ask \"Are these right?\" with the answers \"These are right\", \"Change some\" and \"Add or remove\". None of them is recommended.");
|
|
32
|
+
}
|
|
33
|
+
else if (q.style === "table") {
|
|
30
34
|
lines.push("Ask as a table: propose a value for each row, show the table, then ask one question with the answers \"Accept all (Recommended)\", \"Change some\" and \"Add or remove\".");
|
|
31
35
|
}
|
|
32
36
|
else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mccaskie-labs/workbench-config",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.35",
|
|
4
4
|
"description": "Workbench app configuration: WORKBENCH_ENV, typed variables that fail by name, secrets that are never printed, and the capabilities manifest.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|