@sdsrs/code-graph 0.104.0 → 0.104.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.
|
@@ -557,8 +557,16 @@ function surveyHookCoverage(settings) {
|
|
|
557
557
|
if (!pScript) return false;
|
|
558
558
|
if (!fs.existsSync(pScript)) return true; // dead path
|
|
559
559
|
const pv = cacheDirVersion(pScript);
|
|
560
|
-
|
|
561
|
-
|
|
560
|
+
if (pv) {
|
|
561
|
+
// Pinned to a plugin-cache version dir: stale iff older than us. Compare
|
|
562
|
+
// against the desired cache dir when we're the cache authority; the
|
|
563
|
+
// global-npm/dev authority's desired path carries no version dir, so
|
|
564
|
+
// fall back to our own plugin version — an old-version cache pin must be
|
|
565
|
+
// healed from EITHER surface, not only when the desired path happens to
|
|
566
|
+
// be cache-shaped. Newer-than-us stays (downgrade-war guard, §1.11).
|
|
567
|
+
const dv = cacheDirVersion(hookCmdScript(desiredCmd[k])) || getPluginVersion();
|
|
568
|
+
return compareVersions(pv, dv) < 0;
|
|
569
|
+
}
|
|
562
570
|
return false; // in-place/current surface
|
|
563
571
|
});
|
|
564
572
|
return { expected, present: [...present], missing, stale };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sdsrs/code-graph",
|
|
3
|
-
"version": "0.104.
|
|
3
|
+
"version": "0.104.1",
|
|
4
4
|
"description": "MCP server that indexes codebases into an AST knowledge graph with semantic search, call graph traversal, and HTTP route tracing",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -29,17 +29,17 @@
|
|
|
29
29
|
],
|
|
30
30
|
"scripts": {
|
|
31
31
|
"build": "cargo build --release --no-default-features && node scripts/copy-binary.js",
|
|
32
|
-
"prepare": "git rev-parse --git-dir > /dev/null 2>&1 &&
|
|
32
|
+
"prepare": "git rev-parse --git-dir > /dev/null 2>&1 && git config core.hooksPath scripts/githooks || true",
|
|
33
33
|
"preuninstall": "node claude-plugin/scripts/lifecycle.js uninstall || true"
|
|
34
34
|
},
|
|
35
35
|
"engines": {
|
|
36
36
|
"node": ">=16"
|
|
37
37
|
},
|
|
38
38
|
"optionalDependencies": {
|
|
39
|
-
"@sdsrs/code-graph-linux-x64": "0.104.
|
|
40
|
-
"@sdsrs/code-graph-linux-arm64": "0.104.
|
|
41
|
-
"@sdsrs/code-graph-darwin-x64": "0.104.
|
|
42
|
-
"@sdsrs/code-graph-darwin-arm64": "0.104.
|
|
43
|
-
"@sdsrs/code-graph-win32-x64": "0.104.
|
|
39
|
+
"@sdsrs/code-graph-linux-x64": "0.104.1",
|
|
40
|
+
"@sdsrs/code-graph-linux-arm64": "0.104.1",
|
|
41
|
+
"@sdsrs/code-graph-darwin-x64": "0.104.1",
|
|
42
|
+
"@sdsrs/code-graph-darwin-arm64": "0.104.1",
|
|
43
|
+
"@sdsrs/code-graph-win32-x64": "0.104.1"
|
|
44
44
|
}
|
|
45
45
|
}
|