depgraph-core 1.10.2 → 1.10.4
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.
- package/README.md +7 -0
- package/package.json +1 -4
package/README.md
CHANGED
|
@@ -314,9 +314,16 @@ DepGraph ships an **MCP server** (`depgraph-mcp`) that lets Claude analyze your
|
|
|
314
314
|
|
|
315
315
|
**If the package is published to npm** (zero-install, always up to date):
|
|
316
316
|
```bash
|
|
317
|
+
# 1. Pre-warm the cache (downloads native tree-sitter binaries — only needed once):
|
|
318
|
+
npx -p depgraph-core depgraph-mcp &
|
|
319
|
+
sleep 5 && kill %1
|
|
320
|
+
|
|
321
|
+
# 2. Register with Claude:
|
|
317
322
|
claude mcp add depgraph -- npx -p depgraph-core depgraph-mcp
|
|
318
323
|
```
|
|
319
324
|
|
|
325
|
+
> **Note:** The first `npx` run downloads native binaries (~60 s). Pre-warming ensures Claude's MCP handshake doesn't time out on first connect.
|
|
326
|
+
|
|
320
327
|
**If running from a local build** (clone the repo first):
|
|
321
328
|
```bash
|
|
322
329
|
npm install && npm run release:all
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "depgraph-core",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.4",
|
|
4
4
|
"description": "Dependency mapping, impact simulation, and structural AST inspection for multi-language codebases (JS/TS, Python, Go, Java, C#, Ruby, Rust, PHP, Kotlin)",
|
|
5
5
|
"main": "depgraph.js",
|
|
6
6
|
"bin": {
|
|
@@ -47,10 +47,8 @@
|
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@modelcontextprotocol/sdk": "^1.15.0",
|
|
50
|
-
"depgraph-core": "^1.0.3",
|
|
51
50
|
"tree-sitter": "^0.25.1",
|
|
52
51
|
"tree-sitter-c-sharp": "^0.23.5",
|
|
53
|
-
"tree-sitter-dart": "^1.0.0",
|
|
54
52
|
"tree-sitter-go": "^0.25.0",
|
|
55
53
|
"tree-sitter-java": "^0.23.5",
|
|
56
54
|
"tree-sitter-kotlin": "^0.3.8",
|
|
@@ -58,7 +56,6 @@
|
|
|
58
56
|
"tree-sitter-python": "^0.25.0",
|
|
59
57
|
"tree-sitter-ruby": "^0.23.1",
|
|
60
58
|
"tree-sitter-rust": "^0.24.0",
|
|
61
|
-
"tree-sitter-swift": "^0.7.1",
|
|
62
59
|
"ts-morph": "^28.0.0",
|
|
63
60
|
"zod": "^3.25.0"
|
|
64
61
|
}
|