@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/cli.js +3 -5
- package/dist/cli.js.map +1 -1
- package/dist/index.js +3 -5
- package/dist/index.js.map +1 -1
- package/dist/kernel/index.js +3 -5
- package/dist/kernel/index.js.map +1 -1
- package/dist/ui/{chunk-MHWM2642.js → chunk-K3VXQ5PI.js} +3 -3
- package/dist/ui/index.html +1 -1
- package/dist/ui/{main-4X6AAGKZ.js → main-OQDTVVQA.js} +1 -1
- package/package.json +2 -2
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.
|
|
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.
|
|
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,
|
|
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,
|