@skill-map/cli 0.38.0 → 0.39.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
@@ -101,7 +101,7 @@ import cl100k_base from "js-tiktoken/ranks/cl100k_base";
101
101
  // package.json
102
102
  var package_default = {
103
103
  name: "@skill-map/cli",
104
- version: "0.38.0",
104
+ version: "0.39.0",
105
105
  description: "skill-map reference implementation \u2014 kernel + CLI + adapters.",
106
106
  license: "MIT",
107
107
  type: "module",
@@ -1426,7 +1426,8 @@ function recomputeLinkCounts(nodes, links) {
1426
1426
  for (const link of links) {
1427
1427
  const source = byPath2.get(link.source);
1428
1428
  if (source) source.linksOutCount += 1;
1429
- const target = byPath2.get(link.target);
1429
+ const targetKey = link.resolvedTarget ?? link.target;
1430
+ const target = byPath2.get(targetKey);
1430
1431
  if (target) target.linksInCount += 1;
1431
1432
  }
1432
1433
  }