skilllib 1.1.0 → 1.3.0

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/index.js CHANGED
@@ -19,10 +19,11 @@ import {
19
19
  show,
20
20
  status,
21
21
  sync,
22
+ tidy,
22
23
  unhide,
23
24
  update,
24
25
  usage
25
- } from "./chunk-HLCJQVHB.js";
26
+ } from "./chunk-TWQQHXVG.js";
26
27
 
27
28
  // src/index.ts
28
29
  import { readFileSync } from "fs";
@@ -44,6 +45,9 @@ In a project:
44
45
  skilllib add <name>... Install library skills where your harnesses look
45
46
  skilllib remove <name>... Remove skills from this project
46
47
  skilllib link [--all] Make every skill here usable by all your agents (adds links)
48
+ skilllib tidy [--all|--global] One real copy per skill, plus only the links your agents need
49
+ (--dry-run to preview, --allow-git to change what git sees,
50
+ <name> --keep <folder> to pick the copy that wins)
47
51
  skilllib sync [--all] Install exactly the versions in skilllib.json
48
52
  skilllib outdated [--all] Skills with a newer version in the library
49
53
  skilllib update [name...] Move to the newest versions (--all: every project)
@@ -75,9 +79,9 @@ async function main() {
75
79
  const args = parseArgs(rest);
76
80
  switch (command) {
77
81
  case void 0:
78
- return process.stdin.isTTY && process.stdout.isTTY ? (await import("./tui-YF7BQ7CD.js")).tui() : status(args);
82
+ return process.stdin.isTTY && process.stdout.isTTY ? (await import("./tui-H5IQAGAL.js")).tui() : status(args);
79
83
  case "ui":
80
- return (await import("./tui-YF7BQ7CD.js")).tui();
84
+ return (await import("./tui-H5IQAGAL.js")).tui();
81
85
  case "status":
82
86
  return status(args);
83
87
  case "add":
@@ -106,6 +110,9 @@ async function main() {
106
110
  return projects();
107
111
  case "link":
108
112
  return link(args);
113
+ case "tidy":
114
+ case "dedup":
115
+ return tidy(args);
109
116
  case "harnesses":
110
117
  case "agents":
111
118
  return harnessesCommand(args);