skild 0.5.0 → 0.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.
Files changed (2) hide show
  1. package/dist/index.js +3 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -19,6 +19,7 @@ import {
19
19
  materializeSourceToTemp,
20
20
  resolveRegistryAlias,
21
21
  resolveRegistryUrl,
22
+ stripSourceRef,
22
23
  SkildError,
23
24
  PLATFORMS as PLATFORMS2
24
25
  } from "@skild/core";
@@ -538,7 +539,8 @@ async function resolveSource(ctx) {
538
539
  const registryUrl = resolveRegistryUrl(ctx.registryUrl);
539
540
  const resolved = await resolveRegistryAlias(registryUrl, ctx.resolvedSource);
540
541
  if (!ctx.jsonOnly) {
541
- logger.info(`Resolved ${chalk3.cyan(ctx.resolvedSource)} \u2192 ${chalk3.cyan(resolved.spec)} (${resolved.type})`);
542
+ const displaySpec = stripSourceRef(resolved.spec);
543
+ logger.info(`Resolved ${chalk3.cyan(ctx.resolvedSource)} \u2192 ${chalk3.cyan(displaySpec)} (${resolved.type})`);
542
544
  }
543
545
  ctx.resolvedSource = resolved.spec;
544
546
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skild",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "description": "The npm for Agent Skills — Discover, install, manage, and publish AI Agent Skills with ease.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -38,7 +38,7 @@
38
38
  "commander": "^12.1.0",
39
39
  "ora": "^8.0.1",
40
40
  "tar": "^7.4.3",
41
- "@skild/core": "^0.5.0"
41
+ "@skild/core": "^0.5.2"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/node": "^20.10.0",