@magic5644/graph-it-live 1.13.5 → 1.14.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.
- package/README.md +16 -4
- package/dist/graph-it.js +537 -411
- package/dist/mcpServer.mjs +83 -79
- package/dist/wasm/tree-sitter.wasm +0 -0
- package/docs/CLI.md +183 -6
- package/package.json +11 -11
- package/bin/graph-it +0 -2
package/README.md
CHANGED
|
@@ -20,9 +20,15 @@
|
|
|
20
20
|
|
|
21
21
|
## Star History
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
## Star History
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
<a href="https://www.star-history.com/?repos=magic5644%2FGraph-It-Live&type=date&legend=top-left">
|
|
26
|
+
<picture>
|
|
27
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=magic5644/Graph-It-Live&type=date&theme=dark&legend=top-left&sealed_token=tKWEQ11VLzMx4dC3ZHvyM8J379zHlmU2lUlVABHWQ0yWeTNDwbvy9zxbYFSFiAod0MZ9RHDFy-KYuzkXEI37LhEfGiMP0nsPPtRiLlYlkl53OsTFff_MFSn2SNJXeoPlb3AzuInU8ln9JYhKJIZs4-LgsJ2R8z5pGIFFQBJmfiWvlywCcW-8XbztB03E" />
|
|
28
|
+
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=magic5644/Graph-It-Live&type=date&legend=top-left&sealed_token=tKWEQ11VLzMx4dC3ZHvyM8J379zHlmU2lUlVABHWQ0yWeTNDwbvy9zxbYFSFiAod0MZ9RHDFy-KYuzkXEI37LhEfGiMP0nsPPtRiLlYlkl53OsTFff_MFSn2SNJXeoPlb3AzuInU8ln9JYhKJIZs4-LgsJ2R8z5pGIFFQBJmfiWvlywCcW-8XbztB03E" />
|
|
29
|
+
<img alt="Star History Chart" src="https://api.star-history.com/chart?repos=magic5644/Graph-It-Live&type=date&legend=top-left&sealed_token=tKWEQ11VLzMx4dC3ZHvyM8J379zHlmU2lUlVABHWQ0yWeTNDwbvy9zxbYFSFiAod0MZ9RHDFy-KYuzkXEI37LhEfGiMP0nsPPtRiLlYlkl53OsTFff_MFSn2SNJXeoPlb3AzuInU8ln9JYhKJIZs4-LgsJ2R8z5pGIFFQBJmfiWvlywCcW-8XbztB03E" />
|
|
30
|
+
</picture>
|
|
31
|
+
</a>
|
|
26
32
|
|
|
27
33
|
Graph-It-Live turns your codebase into a live, interactive dependency graph — one that both **you** and your **AI assistant** can query in real time.
|
|
28
34
|
|
|
@@ -427,13 +433,19 @@ graph-it check <file> # Detect unused exported symbols in a single fil
|
|
|
427
433
|
graph-it query "<question>" # Natural language query over the call graph (LLM or heuristic fallback)
|
|
428
434
|
graph-it wiki # Generate a navigable markdown wiki from the call graph
|
|
429
435
|
graph-it serve # Launch MCP stdio server (for AI clients)
|
|
430
|
-
graph-it tool --list # List all
|
|
436
|
+
graph-it tool --list # List all 21 CLI analysis tools
|
|
431
437
|
graph-it tool <mcp-tool> [args] # Run any MCP tool directly from the terminal
|
|
432
438
|
graph-it export [path] [--format html] # Export graph as standalone HTML (vis.js)
|
|
433
439
|
graph-it update # Update graph-it to the latest version
|
|
434
440
|
graph-it install # Symlink the binary into your system PATH (opt-in)
|
|
435
441
|
```
|
|
436
442
|
|
|
443
|
+
> **Troubleshooting:** if `graph-it` runs but prints nothing at all (versions
|
|
444
|
+
> ≤ v1.13.6 shipped a broken npm `bin` wrapper), `graph-it update` can't help
|
|
445
|
+
> — the CLI is silently dead on arrival. Reinstall directly instead:
|
|
446
|
+
> `npm install -g @magic5644/graph-it-live@latest`. Fixed in v1.14.0; see
|
|
447
|
+
> [`docs/CLI.md`](docs/CLI.md#installation) for details.
|
|
448
|
+
|
|
437
449
|
**Without installing globally:**
|
|
438
450
|
|
|
439
451
|
```bash
|
|
@@ -523,7 +535,7 @@ Graph-It-Live includes an optional **MCP server** that exposes its full analysis
|
|
|
523
535
|
|
|
524
536
|
### Available Tools
|
|
525
537
|
|
|
526
|
-
The MCP server exposes **
|
|
538
|
+
The MCP server exposes **26 tools** for AI/LLM consumption. The 21 general-purpose analysis tools, excluding the server-management-only `set_workspace` and the 4 tools with dedicated CLI commands (`review-pr`, `query`, `wiki`, `stats`), are also available as **native LM Tools** (`#graphResolve`, `#graphBreaking`, `#graphCallGraph`, etc.) directly in Copilot Agent mode — no MCP server required for those.
|
|
527
539
|
|
|
528
540
|
| Tool | Description |
|
|
529
541
|
| :--- | :---------- |
|