@sdsrs/code-graph 0.179.4 → 0.181.0
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.
|
@@ -1379,9 +1379,11 @@ function runRepairs(results, {
|
|
|
1379
1379
|
|
|
1380
1380
|
// Guidance only, never `fixed++`: removing a link the user may have made
|
|
1381
1381
|
// is theirs to do. The row stays unresolved until they have.
|
|
1382
|
+
// The row's detail is the binary's own message, which names the refused
|
|
1383
|
+
// path: `.code-graph` itself (D#358) or its index.db / -wal / -shm (D#363).
|
|
1382
1384
|
case 'code-graph-dir-refused': {
|
|
1383
|
-
console.log(
|
|
1384
|
-
console.log('
|
|
1385
|
+
console.log(`\n ${issue.detail || 'refusing to use .code-graph: a symlink or not a directory'}`);
|
|
1386
|
+
console.log(' doctor removes nothing here, since it may be yours: remove or replace it yourself, then re-run.');
|
|
1385
1387
|
break;
|
|
1386
1388
|
}
|
|
1387
1389
|
|
|
@@ -301,4 +301,11 @@ function renderSessionCounts() {
|
|
|
301
301
|
} catch { return ''; }
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
+
// A refusal is not an empty index: the binary would not open index.db (a
|
|
305
|
+
// symlink or not a regular file inside a real .code-graph, D#363) and read
|
|
306
|
+
// nothing, so it renders like the directory-level refusal above.
|
|
307
|
+
if (report && report.reason === 'refused') {
|
|
308
|
+
process.stdout.write('code-graph: ✗ .code-graph refused (see health-check)');
|
|
309
|
+
process.exit(0);
|
|
310
|
+
}
|
|
304
311
|
process.stdout.write(report ? renderHealth(report) + renderSessionCounts() : statusUnavailable(errText));
|
|
@@ -41,7 +41,7 @@ jobs:
|
|
|
41
41
|
# refuses a snapshot that has no checksum sidecar.
|
|
42
42
|
- name: Build snapshot
|
|
43
43
|
run: |
|
|
44
|
-
npx -y -p @sdsrs/code-graph@0.
|
|
44
|
+
npx -y -p @sdsrs/code-graph@0.181.0 code-graph-mcp snapshot create --out "code-graph-snapshot-${GITHUB_SHA:0:7}.db.zst"
|
|
45
45
|
- name: Upload to release
|
|
46
46
|
env:
|
|
47
47
|
GH_TOKEN: ${{ github.token }}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sdsrs/code-graph",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.181.0",
|
|
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": {
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"node": ">=16"
|
|
36
36
|
},
|
|
37
37
|
"optionalDependencies": {
|
|
38
|
-
"@sdsrs/code-graph-linux-x64": "0.
|
|
39
|
-
"@sdsrs/code-graph-linux-arm64": "0.
|
|
40
|
-
"@sdsrs/code-graph-darwin-x64": "0.
|
|
41
|
-
"@sdsrs/code-graph-darwin-arm64": "0.
|
|
42
|
-
"@sdsrs/code-graph-win32-x64": "0.
|
|
38
|
+
"@sdsrs/code-graph-linux-x64": "0.181.0",
|
|
39
|
+
"@sdsrs/code-graph-linux-arm64": "0.181.0",
|
|
40
|
+
"@sdsrs/code-graph-darwin-x64": "0.181.0",
|
|
41
|
+
"@sdsrs/code-graph-darwin-arm64": "0.181.0",
|
|
42
|
+
"@sdsrs/code-graph-win32-x64": "0.181.0"
|
|
43
43
|
}
|
|
44
44
|
}
|