@rackerlabs/agent-skills-cli 1.5.0 → 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.info("No skills to install from manifest.");
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 { n as computeSkillFolderHash, u as parseSource } from "../cli.mjs";
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
@@ -186,7 +186,7 @@ function isWellKnownUrl(input) {
186
186
  }
187
187
  const AGENTS_DIR$2 = ".agents";
188
188
  const SKILLS_SUBDIR = "skills";
189
- const DEFAULT_REGISTRY_URL = process.env.SKILLS_REGISTRY_URL || "https://skills.sh";
189
+ const DEFAULT_REGISTRY_URL = process.env.SKILLS_REGISTRY_URL || "https://catalog.dev.rackerlabs.com";
190
190
  const CENTRAL_REGISTRY_REPO = "rackerlabs/central-skills-registry";
191
191
  const SKILLS_REGISTRY_TOKEN_ENV = "SKILLS_REGISTRY_TOKEN";
192
192
  const SKILLS_ISSUER_ENV = "SKILLS_ISSUER";
@@ -194,7 +194,7 @@ const SKILLS_CLIENT_ID_ENV = "SKILLS_CLIENT_ID";
194
194
  const SKILLS_REGISTRY_URL_ENV = "SKILLS_REGISTRY_URL";
195
195
  const SKILLS_OAUTH_AUDIENCE = "kestimator-api";
196
196
  const SKILLS_OAUTH_SCOPES = "openid profile";
197
- const DEFAULT_SKILLS_ISSUER = process.env[SKILLS_ISSUER_ENV] || "https://login.rackspace.com";
197
+ const DEFAULT_SKILLS_ISSUER = process.env[SKILLS_ISSUER_ENV] || "https://helix.dev.rackerlabs.com";
198
198
  const DEFAULT_SKILLS_CLIENT_ID = process.env[SKILLS_CLIENT_ID_ENV] || "skills-cli";
199
199
  const silentOutput = new Writable({ write(_chunk, _encoding, callback) {
200
200
  callback();
@@ -2307,7 +2307,7 @@ function createEmptyLocalLock() {
2307
2307
  skills: {}
2308
2308
  };
2309
2309
  }
2310
- var version$1 = "1.5.0";
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.0";
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, parseSource as u };
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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rackerlabs/agent-skills-cli",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
4
4
  "description": "The open agent skills ecosystem",
5
5
  "type": "module",
6
6
  "bin": {