skillwiki 0.10.83 → 0.10.84
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/{chunk-W5VVEW2H.js → chunk-GZKT2XC5.js} +8 -9
- package/dist/cli.js +1 -1
- package/dist/skillwiki-mcp.js +1 -1
- package/package.json +1 -1
- package/skills/.claude-plugin/plugin.json +1 -1
- package/skills/.codex-plugin/plugin.json +1 -1
- package/skills/.cursor-plugin/plugin.json +1 -1
- package/skills/package.json +1 -1
|
@@ -6545,16 +6545,15 @@ function rankPages(pages, graph, queryTerms, structuralSeedLimit) {
|
|
|
6545
6545
|
if (!page.historicalCycle) hasDirectOperationalSeed = true;
|
|
6546
6546
|
}
|
|
6547
6547
|
const suppressRepetitiveHistoricalCycles = historicalCyclePageCount >= 3 && hasDirectOperationalSeed;
|
|
6548
|
-
const gatedSeedPages = structuralSeedLimit !== void 0 && seedPages.length > structuralSeedLimit ?
|
|
6548
|
+
const gatedSeedPages = structuralSeedLimit !== void 0 && seedPages.length > structuralSeedLimit ? seedPages.sort(
|
|
6549
6549
|
(a, b) => b.keywordScore - a.keywordScore || a.relPath.localeCompare(b.relPath)
|
|
6550
6550
|
).slice(0, structuralSeedLimit) : seedPages;
|
|
6551
|
-
const
|
|
6552
|
-
const
|
|
6553
|
-
|
|
6551
|
+
const structuralSeedPages = suppressRepetitiveHistoricalCycles ? gatedSeedPages.filter((page) => !page.historicalCycle) : gatedSeedPages;
|
|
6552
|
+
const structuralSeedPaths = new Set(
|
|
6553
|
+
structuralSeedPages.map((page) => page.relPath)
|
|
6554
6554
|
);
|
|
6555
|
-
const structuralSeedPaths = suppressRepetitiveHistoricalCycles ? operationalSeedPaths : seedPaths;
|
|
6556
6555
|
const results = pages.map((page) => {
|
|
6557
|
-
const sourceOverlap = scoreSourceOverlap(page,
|
|
6556
|
+
const sourceOverlap = scoreSourceOverlap(page, structuralSeedPages);
|
|
6558
6557
|
const wikilink = scoreWikilink(page.relPath, structuralSeedPaths, graph);
|
|
6559
6558
|
const aa = scoreAdamicAdar(page.relPath, structuralSeedPaths, graph);
|
|
6560
6559
|
const typeAffinity = scoreTypeAffinity(page.type, queryTerms);
|
|
@@ -6577,11 +6576,11 @@ function rankPages(pages, graph, queryTerms, structuralSeedLimit) {
|
|
|
6577
6576
|
} : void 0
|
|
6578
6577
|
};
|
|
6579
6578
|
}
|
|
6580
|
-
function scoreSourceOverlap(page,
|
|
6579
|
+
function scoreSourceOverlap(page, seedPages) {
|
|
6581
6580
|
if (page.sources.length === 0) return 0;
|
|
6582
6581
|
let total = 0;
|
|
6583
|
-
for (const seed of
|
|
6584
|
-
if (seed.relPath === page.relPath
|
|
6582
|
+
for (const seed of seedPages) {
|
|
6583
|
+
if (seed.relPath === page.relPath) continue;
|
|
6585
6584
|
const shared = page.sources.filter((s) => seed.sources.includes(s)).length;
|
|
6586
6585
|
total += shared;
|
|
6587
6586
|
}
|
package/dist/cli.js
CHANGED
package/dist/skillwiki-mcp.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "skillwiki",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.84",
|
|
4
4
|
"skills": "./",
|
|
5
5
|
"description": "Project-aware Karpathy-style knowledge base for Claude Code: 21 prompt-only skills (wiki-*, proj-*, using-skillwiki, skillwiki-mcp) backed by the deterministic `skillwiki` CLI.",
|
|
6
6
|
"author": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "skillwiki",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.84",
|
|
4
4
|
"description": "Project-aware Karpathy-style knowledge base: 21 prompt-only skills (wiki-*, proj-*, using-skillwiki, skillwiki-mcp) backed by HTTP MCP wiki_capture.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "karlorz"
|