skillfish 1.0.12 → 1.0.13
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/README.md +1 -3
- package/dist/commands/add.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,10 +23,8 @@
|
|
|
23
23
|
# One-off skill installation
|
|
24
24
|
npx skillfish add owner/repo
|
|
25
25
|
|
|
26
|
-
# For
|
|
26
|
+
# For skill management (list, update, remove), install globally
|
|
27
27
|
npm i -g skillfish
|
|
28
|
-
skillfish list
|
|
29
|
-
skillfish update
|
|
30
28
|
```
|
|
31
29
|
|
|
32
30
|
One command installs to **all detected agents** on your system.
|
package/dist/commands/add.js
CHANGED
|
@@ -471,11 +471,11 @@ async function discoverSkillPaths(owner, repo, installAll, jsonMode, jsonOutput,
|
|
|
471
471
|
return { paths: [skill.dir], branch, sha };
|
|
472
472
|
}
|
|
473
473
|
// Build options for selection with frontmatter metadata
|
|
474
|
-
// Title in label, description in hint (
|
|
474
|
+
// Title in label, truncated description in hint (keeps UI clean)
|
|
475
475
|
const optionsList = skills.map((skill) => ({
|
|
476
476
|
value: skill.dir,
|
|
477
477
|
label: pc.bold(toTitleCase(skill.name)),
|
|
478
|
-
hint: skill.description
|
|
478
|
+
hint: skill.description ? truncate(skill.description, 70) : undefined,
|
|
479
479
|
}));
|
|
480
480
|
// Non-TTY or JSON mode: require --all or --path for multiple skills
|
|
481
481
|
if (!isInputTTY() || jsonMode) {
|