@callmeradical/augy 0.8.0 → 0.8.1

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.
@@ -96,6 +96,18 @@ async function homePushCommand() {
96
96
  process.exit(1);
97
97
  }
98
98
  const allSkills = listSkills(registry);
99
+ let reclassified = 0;
100
+ for (const skill of allSkills) {
101
+ if (skill.source && skill.source.includes(home.repo)) {
102
+ skill.source = "";
103
+ skill.gigetSource = "";
104
+ skill.sha = "unversioned";
105
+ skill.shortSha = "unversio";
106
+ registry.skills[skill.name] = skill;
107
+ reclassified++;
108
+ }
109
+ }
110
+ if (reclassified) await writeRegistry(registry);
99
111
  const authored = allSkills.filter((s3) => !s3.source);
100
112
  const external = allSkills.filter((s3) => s3.source);
101
113
  const cloneDir = join(tmpdir(), `augy-home-push-${Date.now()}`);
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ program.command("install [url]").description("Install skills from a GitHub URL o
14
14
  await installCommand(url, opts ?? {});
15
15
  });
16
16
  program.command("update [skill]").description("Check for upstream changes and upgrade installed skills").action(async (skill) => {
17
- const { updateCommand } = await import("./update-XHOICFKF.js");
17
+ const { updateCommand } = await import("./update-ZXOM4RV6.js");
18
18
  await updateCommand(skill);
19
19
  });
20
20
  program.command("list").description("Show all installed skills with version + agent info").option("--json", "Output raw JSON registry").action(async (opts) => {
@@ -115,19 +115,19 @@ author.command("edit <name>").description("Open an existing skill in $EDITOR").a
115
115
  });
116
116
  var home = program.command("home").description("Manage a personal GitHub repo for backing up your skills manifest");
117
117
  home.command("set <repo>").description("Set the home repo e.g. augy home set alice/my-skills").option("--path <file>", "Manifest path within the repo (default: augy.json)").option("--skills-path <dir>", "Dir for authored skills in the repo (default: skills)").action(async (repo, opts) => {
118
- const { homeSetCommand } = await import("./home-3M23O6LH.js");
118
+ const { homeSetCommand } = await import("./home-4YAHJIJL.js");
119
119
  await homeSetCommand(repo, opts);
120
120
  });
121
121
  home.command("push").description("Push your installed skills manifest to the home repo").action(async () => {
122
- const { homePushCommand } = await import("./home-3M23O6LH.js");
122
+ const { homePushCommand } = await import("./home-4YAHJIJL.js");
123
123
  await homePushCommand();
124
124
  });
125
125
  home.command("pull").description("Fetch the manifest from the home repo and sync skills").option("--dry-run", "Preview changes without applying them").option("-a, --agent <agents...>", "Target agent(s) (default: all detected)").option("--context <ctx>", "Pre-select only skills matching this context (e.g. work, personal)").action(async (opts) => {
126
- const { homePullCommand } = await import("./home-3M23O6LH.js");
126
+ const { homePullCommand } = await import("./home-4YAHJIJL.js");
127
127
  await homePullCommand(opts);
128
128
  });
129
129
  home.command("show").description("Show the current home repo configuration").action(async () => {
130
- const { homeShowCommand } = await import("./home-3M23O6LH.js");
130
+ const { homeShowCommand } = await import("./home-4YAHJIJL.js");
131
131
  await homeShowCommand();
132
132
  });
133
133
  program.action(async () => {
@@ -48,12 +48,23 @@ async function updateCommand(nameArg) {
48
48
  outro(chalk.yellow("All skills are pinned \u2014 nothing to update."));
49
49
  return;
50
50
  }
51
+ const authored = unpinned.filter((s2) => !s2.source);
52
+ const withSource = unpinned.filter((s2) => s2.source);
53
+ if (authored.length) {
54
+ console.log(
55
+ chalk.dim(`Skipping ${authored.length} authored skill(s): `) + chalk.dim(authored.map((s2) => s2.name).join(", "))
56
+ );
57
+ }
58
+ if (!withSource.length) {
59
+ outro(chalk.dim("No externally-sourced skills to update."));
60
+ return;
61
+ }
51
62
  const s = spinner();
52
- s.start(`Checking ${unpinned.length} skill(s) for updates\u2026`);
63
+ s.start(`Checking ${withSource.length} skill(s) for updates\u2026`);
53
64
  const candidates = [];
54
65
  const errors = [];
55
66
  await Promise.allSettled(
56
- unpinned.map(async (skill) => {
67
+ withSource.map(async (skill) => {
57
68
  try {
58
69
  const coords = parseGitHubUrl(skill.source);
59
70
  const remote = await discoverSkills(coords);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@callmeradical/augy",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "Homebrew for AI agent skills — install, version, update, rollback",
5
5
  "type": "module",
6
6
  "license": "MIT",