@mp-lb/forum-cli 0.1.59 → 0.1.60
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 +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -34727,7 +34727,7 @@ var connectSkillCollection = async (scan, input) => {
|
|
|
34727
34727
|
const collection = skillScanSchema.parse(scan);
|
|
34728
34728
|
if (collection.problems.some((problem) => problem.kind === "invalid"))
|
|
34729
34729
|
return { status: "invalid", collection, changes: [] };
|
|
34730
|
-
if (!collection.skills.length)
|
|
34730
|
+
if (!collection.skills.length && collection.markdownCount > 0)
|
|
34731
34731
|
return { status: "empty", collection, changes: [] };
|
|
34732
34732
|
const result = await loadSkillStubs({
|
|
34733
34733
|
...input,
|
|
@@ -34763,9 +34763,9 @@ var renderSkillConnection = (result, json2) => {
|
|
|
34763
34763
|
);
|
|
34764
34764
|
if (!collection.markdownCount)
|
|
34765
34765
|
renderOutput(
|
|
34766
|
-
"No Markdown files were found directly in this folder.
|
|
34766
|
+
"No Markdown files were found directly in this folder. Reconnecting removes its previously installed skills; nested folders are separate collections."
|
|
34767
34767
|
);
|
|
34768
|
-
if (collection.problems.length
|
|
34768
|
+
if (collection.problems.length) {
|
|
34769
34769
|
renderOutput(
|
|
34770
34770
|
"Each skill needs YAML frontmatter at the beginning of its Markdown file:"
|
|
34771
34771
|
);
|
|
@@ -34790,7 +34790,7 @@ var renderSkillConnection = (result, json2) => {
|
|
|
34790
34790
|
);
|
|
34791
34791
|
else
|
|
34792
34792
|
renderOutput(
|
|
34793
|
-
result.status === "preview" ? "Preview complete. No local skills changed." : "Skills connected. Instructions are fetched from Forum when used. Reconnect this folder after adding skills or changing names/descriptions. Start a new agent session if the skills are not yet visible."
|
|
34793
|
+
result.status === "preview" ? "Preview complete. No local skills changed." : "Skills connected. Instructions are fetched from Forum when used. Reconnect this folder after adding/removing skills or changing names/descriptions. Start a new agent session if the skills are not yet visible."
|
|
34794
34794
|
);
|
|
34795
34795
|
};
|
|
34796
34796
|
|