skilld 0.13.5 → 0.13.6
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/cli.mjs +26 -1
- package/dist/cli.mjs.map +1 -1
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -1527,7 +1527,32 @@ async function selectLlmConfig(presetModel, message) {
|
|
|
1527
1527
|
sections: DEFAULT_SECTIONS
|
|
1528
1528
|
};
|
|
1529
1529
|
}
|
|
1530
|
-
const
|
|
1530
|
+
const defaultModel = await selectModel(true);
|
|
1531
|
+
if (!defaultModel) return null;
|
|
1532
|
+
const defaultModelName = getModelName(defaultModel);
|
|
1533
|
+
const choice = await p.select({
|
|
1534
|
+
message: "Generate enhanced SKILL.md?",
|
|
1535
|
+
options: [
|
|
1536
|
+
{
|
|
1537
|
+
label: defaultModelName,
|
|
1538
|
+
value: "default",
|
|
1539
|
+
hint: "configured default"
|
|
1540
|
+
},
|
|
1541
|
+
{
|
|
1542
|
+
label: "Different model",
|
|
1543
|
+
value: "pick",
|
|
1544
|
+
hint: "choose another model"
|
|
1545
|
+
},
|
|
1546
|
+
{
|
|
1547
|
+
label: "Skip",
|
|
1548
|
+
value: "skip",
|
|
1549
|
+
hint: "base skill only"
|
|
1550
|
+
}
|
|
1551
|
+
]
|
|
1552
|
+
});
|
|
1553
|
+
if (p.isCancel(choice)) return null;
|
|
1554
|
+
if (choice === "skip") return null;
|
|
1555
|
+
const model = choice === "pick" ? await selectModel(false) : defaultModel;
|
|
1531
1556
|
if (!model) return null;
|
|
1532
1557
|
const modelName = getModelName(model);
|
|
1533
1558
|
const { sections, customPrompt, cancelled } = await selectSkillSections(message ? `${message} (${modelName})` : `Generate SKILL.md with ${modelName}`);
|