depgraph-core 1.8.0 → 1.9.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.
- package/.vscode/depgraph-output.json +1787 -163
- package/README.md +6 -6
- package/depgraph-mcp.js +480 -73
- package/depgraph.js +323 -4
- package/package.json +2 -1
- package/scripts/benchmark.js +138 -0
package/README.md
CHANGED
|
@@ -311,18 +311,18 @@ DepGraph ships an **MCP server** (`depgraph-mcp`) that lets Claude analyze your
|
|
|
311
311
|
|
|
312
312
|
### Quick setup
|
|
313
313
|
|
|
314
|
-
**
|
|
314
|
+
**If the package is published to npm** (zero-install, always up to date):
|
|
315
315
|
```bash
|
|
316
|
-
|
|
317
|
-
npm run release:all # compiles + bundles both CLI and MCP server
|
|
316
|
+
claude mcp add depgraph -- npx -p depgraph-core depgraph-mcp
|
|
318
317
|
```
|
|
319
318
|
|
|
320
|
-
**
|
|
319
|
+
**If running from a local build** (clone the repo first):
|
|
321
320
|
```bash
|
|
322
|
-
|
|
321
|
+
npm install && npm run release:all
|
|
322
|
+
npm run mcp:register
|
|
323
323
|
```
|
|
324
324
|
|
|
325
|
-
**
|
|
325
|
+
**Then use it** — open Claude Code in any project and ask naturally:
|
|
326
326
|
```
|
|
327
327
|
Summarize the dependency graph of /Users/me/my-app
|
|
328
328
|
What is the risk of changing getUserById in /Users/me/my-app?
|