@rackerlabs/agent-skills-cli 1.5.1 → 1.5.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.
|
@@ -9,7 +9,7 @@ import "./libs/gray-matter.mjs";
|
|
|
9
9
|
import "./libs/extend-shallow.mjs";
|
|
10
10
|
import "./libs/esprima.mjs";
|
|
11
11
|
import "./libs/xdg-basedir.mjs";
|
|
12
|
-
import { l as CENTRAL_REGISTRY_REPO, r as getLocalLockPath, t as runAdd } from "../cli.mjs";
|
|
12
|
+
import { l as CENTRAL_REGISTRY_REPO, r as getLocalLockPath, t as runAdd, u as DEFAULT_REGISTRY_URL } from "../cli.mjs";
|
|
13
13
|
import { n as assertConsumerGroupsShape, r as readManifest, t as ManifestSchemaError } from "./manifest.mjs";
|
|
14
14
|
import { n as resolveRegistryManifest, r as resolveSkillPath, t as resolveGroupSkills } from "./registry.mjs";
|
|
15
15
|
import { access } from "fs/promises";
|
|
@@ -50,7 +50,8 @@ async function runInstallFromManifest(options) {
|
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
52
|
if (toInstall.length === 0) {
|
|
53
|
-
M.
|
|
53
|
+
M.step(`No skills.json manifest — installing all skills from ${import_picocolors.default.cyan(DEFAULT_REGISTRY_URL)}`);
|
|
54
|
+
await runAdd([DEFAULT_REGISTRY_URL], options);
|
|
54
55
|
return;
|
|
55
56
|
}
|
|
56
57
|
const unique = /* @__PURE__ */ new Map();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as __toESM } from "./rolldown-runtime.mjs";
|
|
2
2
|
import { u as require_picocolors } from "./libs/@clack/core.mjs";
|
|
3
3
|
import { n as M } from "./libs/@clack/prompts.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { d as parseSource, n as computeSkillFolderHash } from "../cli.mjs";
|
|
5
5
|
import { r as readManifest } from "./manifest.mjs";
|
|
6
6
|
import { join } from "path";
|
|
7
7
|
import { access, writeFile } from "fs/promises";
|
package/dist/cli.mjs
CHANGED
|
@@ -2307,7 +2307,7 @@ function createEmptyLocalLock() {
|
|
|
2307
2307
|
skills: {}
|
|
2308
2308
|
};
|
|
2309
2309
|
}
|
|
2310
|
-
var version$1 = "1.5.
|
|
2310
|
+
var version$1 = "1.5.2";
|
|
2311
2311
|
const isCancelled$1 = (value) => typeof value === "symbol";
|
|
2312
2312
|
async function isSourcePrivate(source) {
|
|
2313
2313
|
const ownerRepo = parseOwnerRepo(source);
|
|
@@ -4252,7 +4252,7 @@ function getVersion() {
|
|
|
4252
4252
|
const pkgPath = join(__dirname, "..", "package.json");
|
|
4253
4253
|
return JSON.parse(readFileSync(pkgPath, "utf-8")).version;
|
|
4254
4254
|
} catch {
|
|
4255
|
-
return "1.5.
|
|
4255
|
+
return "1.5.2";
|
|
4256
4256
|
}
|
|
4257
4257
|
}
|
|
4258
4258
|
const VERSION = getVersion();
|
|
@@ -4882,4 +4882,4 @@ async function main() {
|
|
|
4882
4882
|
}
|
|
4883
4883
|
}
|
|
4884
4884
|
main();
|
|
4885
|
-
export { getAgentBaseDir as a, detectInstalledAgents as c, readLocalLock as i, CENTRAL_REGISTRY_REPO as l, computeSkillFolderHash as n, getCanonicalSkillsDir as o, getLocalLockPath as r, agents as s, runAdd as t,
|
|
4885
|
+
export { getAgentBaseDir as a, detectInstalledAgents as c, parseSource as d, readLocalLock as i, CENTRAL_REGISTRY_REPO as l, computeSkillFolderHash as n, getCanonicalSkillsDir as o, getLocalLockPath as r, agents as s, runAdd as t, DEFAULT_REGISTRY_URL as u };
|