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.
@@ -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 ? [...seedPages].sort(
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 seedPaths = new Set(gatedSeedPages.map((page) => page.relPath));
6552
- const operationalSeedPaths = new Set(
6553
- gatedSeedPages.filter((page) => !page.historicalCycle).map((page) => page.relPath)
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, pages, structuralSeedPaths);
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, allPages, seedPaths) {
6579
+ function scoreSourceOverlap(page, seedPages) {
6581
6580
  if (page.sources.length === 0) return 0;
6582
6581
  let total = 0;
6583
- for (const seed of allPages) {
6584
- if (seed.relPath === page.relPath || !seedPaths.has(seed.relPath)) continue;
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
@@ -52,7 +52,7 @@ import {
52
52
  snapshotterHealthChecks,
53
53
  upsertIndexEntry,
54
54
  vectorIndexStatus
55
- } from "./chunk-W5VVEW2H.js";
55
+ } from "./chunk-GZKT2XC5.js";
56
56
  import {
57
57
  normalizeDistTag,
58
58
  readCache,
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  runSkillwikiMcpStdio
4
- } from "./chunk-W5VVEW2H.js";
4
+ } from "./chunk-GZKT2XC5.js";
5
5
  import "./chunk-7I2TPIV5.js";
6
6
  import "./chunk-ZUHA2EXE.js";
7
7
  import "./chunk-BO7JIJIA.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillwiki",
3
- "version": "0.10.83",
3
+ "version": "0.10.84",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "skillwiki": "dist/cli.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillwiki",
3
- "version": "0.10.83",
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.83",
3
+ "version": "0.10.84",
4
4
  "description": "Project-aware Karpathy-style knowledge base for Codex with 21 prompt-only skills backed by the deterministic skillwiki CLI.",
5
5
  "author": {
6
6
  "name": "karlorz",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillwiki",
3
- "version": "0.10.83",
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"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skillwiki/skills",
3
- "version": "0.10.83",
3
+ "version": "0.10.84",
4
4
  "private": true,
5
5
  "files": [
6
6
  "wiki-*",