skills 1.0.13 → 1.0.15
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/dist/cli.js +7 -5
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -44,9 +44,10 @@ function showBanner() {
|
|
|
44
44
|
console.log();
|
|
45
45
|
console.log(`${DIM}The open agent skills ecosystem${RESET}`);
|
|
46
46
|
console.log();
|
|
47
|
-
console.log(` ${DIM}$${RESET} ${TEXT}npx skills
|
|
48
|
-
console.log(` ${DIM}$${RESET} ${TEXT}npx skills
|
|
49
|
-
console.log(` ${DIM}$${RESET} ${TEXT}npx skills
|
|
47
|
+
console.log(` ${DIM}$${RESET} ${TEXT}npx skills add ${DIM}<package>${RESET} ${DIM}Install a skill${RESET}`);
|
|
48
|
+
console.log(` ${DIM}$${RESET} ${TEXT}npx skills check${RESET} ${DIM}Check for updates${RESET}`);
|
|
49
|
+
console.log(` ${DIM}$${RESET} ${TEXT}npx skills update${RESET} ${DIM}Update all skills${RESET}`);
|
|
50
|
+
console.log(` ${DIM}$${RESET} ${TEXT}npx skills init ${DIM}[name]${RESET} ${DIM}Create a new skill${RESET}`);
|
|
50
51
|
console.log();
|
|
51
52
|
console.log(`${DIM}try:${RESET} npx skills add vercel-labs/agent-skills`);
|
|
52
53
|
console.log();
|
|
@@ -352,7 +353,7 @@ function readSkillContent(skillName) {
|
|
|
352
353
|
}
|
|
353
354
|
}
|
|
354
355
|
async function runCheck(args = []) {
|
|
355
|
-
const forceRefresh =
|
|
356
|
+
const forceRefresh = true;
|
|
356
357
|
console.log(`${TEXT}Checking for skill updates...${RESET}`);
|
|
357
358
|
console.log();
|
|
358
359
|
const lock = readSkillLock();
|
|
@@ -441,7 +442,8 @@ async function runUpdate() {
|
|
|
441
442
|
return;
|
|
442
443
|
}
|
|
443
444
|
const checkRequest = {
|
|
444
|
-
skills: []
|
|
445
|
+
skills: [],
|
|
446
|
+
forceRefresh: true
|
|
445
447
|
};
|
|
446
448
|
for (const skillName of skillNames) {
|
|
447
449
|
const entry = lock.skills[skillName];
|