skills-atlas-cli 0.16.1 → 0.16.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skills-atlas-cli",
3
- "version": "0.16.1",
3
+ "version": "0.16.2",
4
4
  "description": "Search, install and learn AI agent skills from the terminal — powered by the Skills Atlas catalog.",
5
5
  "bin": {
6
6
  "skills-atlas": "bin/skills.js",
@@ -46,6 +46,10 @@ module.exports = async function info(argv) {
46
46
  const infoObj = buildInfo(name, { skillIndex, vendors: data.vendors });
47
47
 
48
48
  if (!infoObj.found) {
49
+ // `info` stays EXACT — it never fuzzy-resolves to a different skill (that would show the wrong
50
+ // skill's details as if they were yours). But "no such skill" is a valid answer, not a crash:
51
+ // exit 0 with clean output (a plain found:false for --json; a search hint for humans) so the
52
+ // plugin's `!`…`` wrapper doesn't surface it as `Error: Shell command failed`.
49
53
  if (values.json) {
50
54
  console.log(JSON.stringify(infoObj, null, 2));
51
55
  } else {
@@ -54,7 +58,6 @@ module.exports = async function info(argv) {
54
58
  if (sugg.length) console.error(`did you mean: ${sugg.join(', ')}`);
55
59
  console.error(`try: skills-atlas search ${name}`);
56
60
  }
57
- process.exitCode = 1;
58
61
  return;
59
62
  }
60
63
 
Binary file