skillwiki 0.9.44 → 0.9.46
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.
|
@@ -663,7 +663,7 @@ import { readFile as readFile2, readdir, stat } from "fs/promises";
|
|
|
663
663
|
import { join as join2, relative as relative2, sep as sep2 } from "path";
|
|
664
664
|
var TYPED_DIRS = ["entities", "concepts", "comparisons", "queries", "meta"];
|
|
665
665
|
var SKIP_DIRS = /* @__PURE__ */ new Set([".git", "node_modules"]);
|
|
666
|
-
var DEFAULT_IO_CONCURRENCY =
|
|
666
|
+
var DEFAULT_IO_CONCURRENCY = 32;
|
|
667
667
|
function vaultIoConcurrency() {
|
|
668
668
|
const raw = Number.parseInt(process.env.SKILLWIKI_VAULT_IO_CONCURRENCY ?? "", 10);
|
|
669
669
|
return Number.isFinite(raw) && raw > 0 ? Math.min(raw, 64) : DEFAULT_IO_CONCURRENCY;
|
|
@@ -3398,6 +3398,14 @@ async function runLint(input) {
|
|
|
3398
3398
|
}
|
|
3399
3399
|
const scan = scanResult.data;
|
|
3400
3400
|
const pageTextCache = /* @__PURE__ */ new Map();
|
|
3401
|
+
if (!input.fix) {
|
|
3402
|
+
await mapWithConcurrency(scan.allMarkdown, vaultIoConcurrency(), async (page) => {
|
|
3403
|
+
try {
|
|
3404
|
+
await readPageCached(page, pageTextCache);
|
|
3405
|
+
} catch {
|
|
3406
|
+
}
|
|
3407
|
+
});
|
|
3408
|
+
}
|
|
3401
3409
|
const links = await runLinks({ vault: input.vault, scan, pageTextCache });
|
|
3402
3410
|
if (links.result.ok && links.result.data.broken.length > 0) buckets.broken_wikilinks = links.result.data.broken;
|
|
3403
3411
|
if (!links.result.ok && links.result.error === "INVALID_FRONTMATTER") {
|
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.9.
|
|
3
|
+
"version": "0.9.46",
|
|
4
4
|
"skills": "./",
|
|
5
5
|
"description": "Project-aware Karpathy-style knowledge base for Claude Code: 18 prompt-only skills (wiki-*, proj-*, using-skillwiki) backed by the deterministic `skillwiki` CLI.",
|
|
6
6
|
"author": {
|