yeka-skills 0.2.0 → 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 (3) hide show
  1. package/README.md +2 -2
  2. package/dist/cli.js +18 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -45,8 +45,8 @@ by a share — a person reviews every submission first.
45
45
  The file rides inside the archive as `_yeka/notes.txt`, always the first entry, namespaced so
46
46
  the review bot can find it, read it, and strip it before the skill content is unpacked. Do not
47
47
  create a `_yeka` folder inside your skill yourself.
48
- - A successful share answers with one sentence: you'll hear back in #yeka-skills, and updates
49
- usually go live within the hour.
48
+ - A successful share answers with one sentence: the team is notified the moment the upload
49
+ lands, and after review it usually goes live the same day, announced in #yeka-skills.
50
50
 
51
51
  Use `--dry-run` with `add`, `update`, or `remove` to verify and report changes without mutating the
52
52
  managed installation. Removal is fully offline and uses local receipts. It refuses locally edited
package/dist/cli.js CHANGED
@@ -2496,6 +2496,23 @@ var shareCommand = async (skillNameInput, options, context = {}) => {
2496
2496
  const notes = options.notesFile === void 0 ? void 0 : await readNotesFile(options.notesFile);
2497
2497
  const check = await checkSkillFolder(folder.folderPath, skillName, void 0, notes);
2498
2498
  if (options.check === true) {
2499
+ try {
2500
+ const taken = await withRegistrySession(async (token) => {
2501
+ const manifest = await (context.client ?? new RegistryClient()).getManifest(token);
2502
+ return manifest.skills.some((skill) => skill.name === skillName);
2503
+ }, context.session);
2504
+ if (taken) {
2505
+ output(
2506
+ context,
2507
+ `The catalogue already has a skill called ${skillName}. If it is yours, sharing it now updates it. If it is not, rename your folder and its SKILL.md \`name:\` first, or the team's checks will turn it away.`
2508
+ );
2509
+ }
2510
+ } catch {
2511
+ output(
2512
+ context,
2513
+ "Could not reach the catalogue to see whether that name is free, so this only checked the folder."
2514
+ );
2515
+ }
2499
2516
  if (check.warnings.length === 0) {
2500
2517
  output(context, "Nothing looked risky.");
2501
2518
  } else {
@@ -2525,7 +2542,7 @@ var shareCommand = async (skillNameInput, options, context = {}) => {
2525
2542
  }
2526
2543
  throw error;
2527
2544
  }
2528
- output(context, "Shared. You'll hear back in #yeka-skills \u2014 updates usually go live within the hour.");
2545
+ output(context, "Shared. The team was notified the moment it landed; after review it usually goes live the same day, announced in #yeka-skills.");
2529
2546
  };
2530
2547
  var loginCommand = async (context = {}) => {
2531
2548
  await deleteSession();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yeka-skills",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "Install, update, and remove private Gemography agent skills",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",