skillwiki 0.9.27 → 0.9.28
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.
|
@@ -7457,7 +7457,7 @@ import { z as z2 } from "zod";
|
|
|
7457
7457
|
import { join as join26, resolve as resolve7 } from "path";
|
|
7458
7458
|
|
|
7459
7459
|
// src/mcp/allowlist.ts
|
|
7460
|
-
import { resolve as resolve6 } from "path";
|
|
7460
|
+
import { resolve as resolve6, sep as sep5 } from "path";
|
|
7461
7461
|
import { realpathSync } from "fs";
|
|
7462
7462
|
function parseVaultAllowlist(envValue) {
|
|
7463
7463
|
if (envValue === void 0 || envValue.trim() === "") return null;
|
|
@@ -7474,7 +7474,7 @@ function vaultAllowedByList(vaultPath, allowlist) {
|
|
|
7474
7474
|
const resolved = resolve6(canonical);
|
|
7475
7475
|
return allowlist.some((root) => {
|
|
7476
7476
|
const r = resolve6(root);
|
|
7477
|
-
return resolved === r || resolved.startsWith(r +
|
|
7477
|
+
return resolved === r || resolved.startsWith(r + sep5);
|
|
7478
7478
|
});
|
|
7479
7479
|
}
|
|
7480
7480
|
function getVaultAllowlistFromEnv() {
|
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.28",
|
|
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": {
|