@lmzhen/dsh-evolution-core 0.3.49 → 0.3.50

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.
Files changed (2) hide show
  1. package/lib/index.js +4 -0
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -4220,6 +4220,10 @@ var SkillLibrary = class {
4220
4220
  }
4221
4221
  const archived = [];
4222
4222
  try {
4223
+ if (!await this.io.readText(join(targetDir, "SKILL.md"))) return {
4224
+ ok: false,
4225
+ message: `Skill "${targetName}" not found.`
4226
+ };
4223
4227
  for (const source of normalizedSources) {
4224
4228
  const result = await this.archive(source, { absorbedInto: targetName });
4225
4229
  if (!result.ok) throw new Error(result.message);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lmzhen/dsh-evolution-core",
3
3
  "description": "Shared stores, prompts, signals and lifecycle logic for the dsh-evolution plugin family (community build)",
4
- "version": "0.3.49",
4
+ "version": "0.3.50",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },