skillhub 0.2.8 → 0.2.9

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/dist/index.js +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4629,8 +4629,9 @@ async function search(query, options2) {
4629
4629
  console.log(
4630
4630
  `${num} ${verified} ${chalk2.cyan(skill.id.padEnd(38))} ${security}`
4631
4631
  );
4632
- const hasAiScore = skill.aiScore && skill.reviewStatus && skill.reviewStatus !== "unreviewed" && skill.reviewStatus !== "auto-scored";
4633
- const aiPrefix = hasAiScore ? `${chalk2.magenta("AI")} ${(skill.aiScore >= 75 ? chalk2.green : skill.aiScore >= 50 ? chalk2.yellow : chalk2.dim)(String(skill.aiScore))} ` : "";
4632
+ const aiScore = skill.aiScore;
4633
+ const hasAiScore = aiScore != null && aiScore > 0 && skill.reviewStatus && skill.reviewStatus !== "unreviewed" && skill.reviewStatus !== "auto-scored";
4634
+ const aiPrefix = hasAiScore ? `${chalk2.magenta("AI")} ${(aiScore >= 75 ? chalk2.green : aiScore >= 50 ? chalk2.yellow : chalk2.dim)(String(aiScore))} ` : "";
4634
4635
  console.log(
4635
4636
  ` ${aiPrefix}\u2B07 ${formatNumber(skill.downloadCount).padStart(6)} \u2B50 ${formatNumber(skill.githubStars).padStart(6)} ${chalk2.dim(skill.description.slice(0, hasAiScore ? 45 : 55))}${skill.description.length > (hasAiScore ? 45 : 55) ? "..." : ""}`
4636
4637
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillhub",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "CLI tool for managing AI Agent skills - search, install, and update skills for Claude, Codex, Copilot, and more",
5
5
  "author": "SkillHub Contributors",
6
6
  "license": "MIT",