@nicmeriano/agent-skills 0.2.1 → 0.2.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.
Files changed (2) hide show
  1. package/index.mjs +9 -11
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -196,14 +196,14 @@ if (skillEntries.length === 0) {
196
196
  cancel("Manifest is empty.");
197
197
  }
198
198
 
199
- s.stop(`${skillEntries.length} skill(s) available`);
199
+ s.stop(`Fetched ${manifestPath}`);
200
200
 
201
201
  // ── 4. Pick skills (interactive) ────────────────────────────────────
202
202
  let selected = skillEntries;
203
203
 
204
204
  if (!flags.yes && !flags.dryRun) {
205
205
  const picked = await p.multiselect({
206
- message: "Select skills to install:",
206
+ message: `Select skills to install (${skillEntries.length} available):`,
207
207
  options: skillEntries.map((e, i) => ({
208
208
  value: i,
209
209
  label: e.label,
@@ -278,20 +278,18 @@ if (flags.dryRun) {
278
278
  }
279
279
 
280
280
  if (failed.length === 0) {
281
- s.stop(`${succeeded}/${total} skill(s) installed`);
281
+ s.stop(`All ${total} skill(s) installed successfully.`);
282
282
  } else {
283
- s.stop(`${succeeded}/${total} installed, ${failed.length} failed`);
283
+ s.stop(`${succeeded}/${total} skill(s) installed.`);
284
+ p.log.warn(
285
+ `Failed:\n${failed.map((f) => ` - ${f}`).join("\n")}`
286
+ );
284
287
  }
285
288
  }
286
289
 
287
- // ── 7. Summary ──────────────────────────────────────────────────────
290
+ // ── 7. Outro ────────────────────────────────────────────────────────
288
291
  if (flags.dryRun) {
289
292
  p.outro(`${total} skill(s) would be installed.`);
290
- } else if (failed.length > 0) {
291
- p.log.warn(
292
- `Failed:\n${failed.map((f) => ` - ${f}`).join("\n")}`
293
- );
294
- p.outro(`${succeeded}/${total} skill(s) installed.`);
295
293
  } else {
296
- p.outro(`All ${total} skill(s) installed successfully.`);
294
+ p.outro("Done!");
297
295
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nicmeriano/agent-skills",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Install agent skills from a remote manifest",
5
5
  "type": "module",
6
6
  "bin": {