dsh-plugin-capabilities 0.2.1 → 0.3.0

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/lib/index.js CHANGED
@@ -833,7 +833,8 @@ function parseSkillsIndex(parsed) {
833
833
  ...isString(record.descriptionZh) ? { descriptionZh: record.descriptionZh } : {},
834
834
  url: record.url,
835
835
  ...isString(record.homepage) ? { homepage: record.homepage } : {},
836
- ...typeof record.skillCount === "number" ? { skillCount: record.skillCount } : {}
836
+ ...typeof record.skillCount === "number" ? { skillCount: record.skillCount } : {},
837
+ ...isStringArray(record.skills) ? { skills: record.skills } : {}
837
838
  });
838
839
  }
839
840
  return out.length > 0 ? out : null;
@@ -863,7 +864,8 @@ function parseMcpIndex(parsed) {
863
864
  ...isString(record.url) ? { url: record.url } : {},
864
865
  homepage: record.homepage,
865
866
  ...isString(record.category) ? { category: record.category } : {},
866
- ...isString(record.runtime) ? { runtime: record.runtime } : {}
867
+ ...isString(record.runtime) ? { runtime: record.runtime } : {},
868
+ ...isStringArray(record.tools) ? { tools: record.tools } : {}
867
869
  });
868
870
  }
869
871
  return out.length > 0 ? out : null;