yeka-skills 0.2.3 → 0.2.5
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 +53 -5
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1967,7 +1967,7 @@ var enumerateSkillFiles = async (folderPath) => {
|
|
|
1967
1967
|
if (!entries.some((entry) => entry.relativePath === SKILL_MANIFEST_PATH)) {
|
|
1968
1968
|
throw new CliError(
|
|
1969
1969
|
"skill_md_missing",
|
|
1970
|
-
`The folder has no SKILL.md file. Add one at ${path7.join(folderPath, SKILL_MANIFEST_PATH)} so
|
|
1970
|
+
`The folder has no SKILL.md file. Add one at ${path7.join(folderPath, SKILL_MANIFEST_PATH)} so the checks and your colleagues can tell what the skill does.`
|
|
1971
1971
|
);
|
|
1972
1972
|
}
|
|
1973
1973
|
return {
|
|
@@ -1994,7 +1994,7 @@ var lintWarningsFor = async (folderPath, entries) => {
|
|
|
1994
1994
|
}
|
|
1995
1995
|
if (CURL_PIPE_SHELL_PATTERN.test(text)) {
|
|
1996
1996
|
warnings.push(
|
|
1997
|
-
`${relativePath} pipes curl or wget straight into a shell.
|
|
1997
|
+
`${relativePath} pipes curl or wget straight into a shell. The safety checks look for exactly this, so make sure the command is safe.`
|
|
1998
1998
|
);
|
|
1999
1999
|
}
|
|
2000
2000
|
if (LONG_BASE64_PATTERN.test(text)) {
|
|
@@ -2557,7 +2557,7 @@ var shareCommand = async (skillNameInput, options, context = {}) => {
|
|
|
2557
2557
|
}
|
|
2558
2558
|
output(
|
|
2559
2559
|
context,
|
|
2560
|
-
"Shared.
|
|
2560
|
+
"Shared. Automatic checks read it first. It goes live on its own once they pass, usually about ten minutes, and only then is it announced to the team in #yeka-skills. If a check fails you get a Slack message saying what to fix, and your colleagues never see a skill that did not pass."
|
|
2561
2561
|
);
|
|
2562
2562
|
};
|
|
2563
2563
|
var loginCommand = async (context = {}) => {
|
|
@@ -2570,9 +2570,57 @@ var logoutCommand = async (context = {}) => {
|
|
|
2570
2570
|
output(context, removed ? "The Yeka Skills session was removed." : "There was no saved Yeka Skills session.");
|
|
2571
2571
|
};
|
|
2572
2572
|
|
|
2573
|
+
// package.json
|
|
2574
|
+
var package_default = {
|
|
2575
|
+
name: "yeka-skills",
|
|
2576
|
+
version: "0.2.5",
|
|
2577
|
+
description: "Install, update, and remove private Gemography agent skills",
|
|
2578
|
+
type: "module",
|
|
2579
|
+
license: "UNLICENSED",
|
|
2580
|
+
repository: {
|
|
2581
|
+
type: "git",
|
|
2582
|
+
url: "git+https://github.com/gemography/yeka-capsules.git",
|
|
2583
|
+
directory: "packages/cli"
|
|
2584
|
+
},
|
|
2585
|
+
homepage: "https://yekaskills.com",
|
|
2586
|
+
engines: {
|
|
2587
|
+
node: ">=22.15.0"
|
|
2588
|
+
},
|
|
2589
|
+
bin: {
|
|
2590
|
+
"yeka-skills": "./dist/cli.js"
|
|
2591
|
+
},
|
|
2592
|
+
files: [
|
|
2593
|
+
"dist",
|
|
2594
|
+
"README.md"
|
|
2595
|
+
],
|
|
2596
|
+
publishConfig: {
|
|
2597
|
+
access: "public"
|
|
2598
|
+
},
|
|
2599
|
+
scripts: {
|
|
2600
|
+
build: "tsup src/cli.ts --format esm --platform node --target node22 --clean",
|
|
2601
|
+
typecheck: "tsc --noEmit",
|
|
2602
|
+
test: "vitest run",
|
|
2603
|
+
"pack:check": "npm pack --dry-run"
|
|
2604
|
+
},
|
|
2605
|
+
dependencies: {
|
|
2606
|
+
commander: "15.0.0",
|
|
2607
|
+
tar: "7.5.22",
|
|
2608
|
+
zod: "4.4.3"
|
|
2609
|
+
},
|
|
2610
|
+
devDependencies: {
|
|
2611
|
+
"@types/node": "26.2.0",
|
|
2612
|
+
"@yeka/contracts": "0.0.0",
|
|
2613
|
+
"@yeka/integrity": "0.0.0",
|
|
2614
|
+
tsup: "8.5.1",
|
|
2615
|
+
typescript: "7.0.2",
|
|
2616
|
+
vitest: "4.1.10"
|
|
2617
|
+
}
|
|
2618
|
+
};
|
|
2619
|
+
|
|
2573
2620
|
// src/cli.ts
|
|
2621
|
+
var packageVersion = package_default.version;
|
|
2574
2622
|
var program = new Command();
|
|
2575
|
-
program.name("yeka-skills").description("Install, update, and remove private Gemography agent skills").version(
|
|
2623
|
+
program.name("yeka-skills").description("Install, update, and remove private Gemography agent skills").version(packageVersion).showHelpAfterError();
|
|
2576
2624
|
program.command("add").description("Install one private skill").argument("<skill>", "exact skill name").option("--dry-run", "verify and show changes without installation").action(async (skill, options) => addCommand(skill, options));
|
|
2577
2625
|
program.command("list").description("List managed local skills without network access").action(async () => listCommand());
|
|
2578
2626
|
program.command("status").description("Check local skills and available updates").action(async () => statusCommand());
|
|
@@ -2582,7 +2630,7 @@ program.command("update").description("Update one managed skill or all managed s
|
|
|
2582
2630
|
program.command("remove").description("Remove one managed skill without registry access").argument("[skill]", "exact skill name").option("--force", "preserve and remove a locally edited copy").option("--dry-run", "verify and show changes without removal").action(
|
|
2583
2631
|
async (skill, options) => removeCommand(skill, options)
|
|
2584
2632
|
);
|
|
2585
|
-
program.command("share").description("Share one local skill with the team
|
|
2633
|
+
program.command("share").description("Share one local skill with the team").argument("<skill>", "exact skill name").option("--check", "look the skill over without sharing").option("--notes-file <path>", "text file with your interview answers, kept with the submission").action(
|
|
2586
2634
|
async (skill, options) => shareCommand(skill, options)
|
|
2587
2635
|
);
|
|
2588
2636
|
program.command("login").description("Start a new private registry session").action(async () => loginCommand());
|