@skill-map/cli 0.34.0 → 0.34.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.
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.34.0",
104
+ version: "0.34.1",
105
105
  description: "skill-map reference implementation \u2014 kernel + CLI + adapters.",
106
106
  license: "MIT",
107
107
  type: "module",
@@ -1584,7 +1584,7 @@ function originatingNodeOf(link, priorNodePaths) {
1584
1584
  function computeCacheDecision(opts) {
1585
1585
  const applicableExtractors = opts.extractors.filter((ex) => {
1586
1586
  if (!matchesKindPrecondition(ex, opts.kind)) return false;
1587
- if (!matchesProviderPrecondition(ex, opts.provider, opts.activeProvider)) return false;
1587
+ if (!matchesProviderPrecondition(ex, opts.activeProvider)) return false;
1588
1588
  return true;
1589
1589
  });
1590
1590
  const applicableQualifiedIds = new Set(
@@ -1608,10 +1608,9 @@ function matchesKindPrecondition(ex, kind) {
1608
1608
  return kindOnly === kind;
1609
1609
  });
1610
1610
  }
1611
- function matchesProviderPrecondition(ex, nodeProvider, activeProvider) {
1611
+ function matchesProviderPrecondition(ex, activeProvider) {
1612
1612
  const providers = ex.precondition?.provider;
1613
1613
  if (!providers || providers.length === 0) return true;
1614
- if (!providers.includes(nodeProvider)) return false;
1615
1614
  if (activeProvider === null) return false;
1616
1615
  return providers.includes(activeProvider);
1617
1616
  }
@@ -2630,7 +2629,6 @@ async function processRawNode(raw, provider, wctx, accum, claimedPaths, nextInde
2630
2629
  const cacheDecision = computeCacheDecision({
2631
2630
  extractors: wctx.opts.extractors,
2632
2631
  kind,
2633
- provider: provider.id,
2634
2632
  activeProvider: wctx.opts.activeProvider,
2635
2633
  nodePath: raw.path,
2636
2634
  bodyHash,