@magic5644/graph-it-live 1.9.8 → 1.10.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 CHANGED
@@ -18,6 +18,12 @@
18
18
  [![License](https://img.shields.io/github/license/magic5644/Graph-It-Live)](https://github.com/magic5644/Graph-It-Live/blob/main/LICENSE)
19
19
  [![Github stars](https://img.shields.io/github/stars/magic5644/graph-it-live?style=flat&color=gold&logo=github)](https://github.com/magic5644/Graph-It-Live)
20
20
 
21
+ <p align="center">
22
+ <a href="https://star-history.com/#magic5644/graph-it-live&Date">
23
+ <img src="https://api.star-history.com/svg?repos=magic5644/graph-it-live&type=Date" alt="Star History Chart" width="370"/>
24
+ </a>
25
+ </p>
26
+
21
27
  ---
22
28
 
23
29
  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.
@@ -102,7 +108,7 @@ All three layers are also exposed to AI via a **22-tool MCP server**, so your as
102
108
 
103
109
  ## 🤖 Supercharge Your AI Assistant
104
110
 
105
- Stop pasting file paths and explaining your project structure. Graph-It-Live exposes **22 powerful dependency analysis tools** directly to your AI assistant via the [Model Context Protocol (MCP)](https://modelcontextprotocol.io), and **21 native LM Tools** directly in Copilot Agent mode (no MCP setup required).
111
+ Stop pasting file paths and explaining your project structure. Graph-It-Live exposes **23 powerful dependency analysis tools** directly to your AI assistant via the [Model Context Protocol (MCP)](https://modelcontextprotocol.io), and **22 native LM Tools** directly in Copilot Agent mode (no MCP setup required).
106
112
 
107
113
  **Works with:** GitHub Copilot, Claude (Desktop & Code), Cursor, Windsurf, Antigravity, and any MCP-compatible client.
108
114
 
@@ -118,6 +124,7 @@ Stop pasting file paths and explaining your project structure. Graph-It-Live exp
118
124
  | *"Analyze the impact of changing calculateTotal's signature"* | `get_impact_analysis` | Breaking change detection + all affected callers |
119
125
  | *"Find unused exports in the codebase"* | `find_unused_symbols` | Dead code detection |
120
126
  | *"Are there circular dependencies?"* | `crawl_dependency_graph` | Cycle detection built in |
127
+ | *"How does Spider crawl files?"* | `query_natural_language` | Natural language answer synthesised from the call graph |
121
128
 
122
129
  <div align="center">
123
130
  <img src="media/graph-it-live-tools-in-copilot.gif" alt="Using Graph-It-Live tools with GitHub Copilot" width="800"/>
@@ -401,8 +408,10 @@ graph-it path <file> # Full dependency graph from a file
401
408
  graph-it check # Scan whole workspace for dead code (unused exports)
402
409
  graph-it check <dir> # Scan a subdirectory for dead code
403
410
  graph-it check <file> # Detect unused exported symbols in a single file
411
+ graph-it query "<question>" # Natural language query over the call graph (LLM or heuristic fallback)
412
+ graph-it wiki # Generate a navigable markdown wiki from the call graph
404
413
  graph-it serve # Launch MCP stdio server (for AI clients)
405
- graph-it tool --list # List all 21 CLI analysis tools
414
+ graph-it tool --list # List all 22 CLI analysis tools
406
415
  graph-it tool <mcp-tool> [args] # Run any MCP tool directly from the terminal
407
416
  graph-it update # Update graph-it to the latest version
408
417
  graph-it install # Symlink the binary into your system PATH (opt-in)
@@ -439,6 +448,8 @@ This output can be pasted directly into any Markdown renderer (GitHub, Notion, V
439
448
 
440
449
  **Use as MCP server (no VS Code):** Run `graph-it serve` and point your AI client at it — see [Manual MCP Server Configuration](#manual-mcp-server-configuration).
441
450
 
451
+ **Interactive REPL:** Run `graph-it` with no arguments to enter interactive mode. Type `/query how does X work` to ask natural language questions about your codebase (no quotes needed). Use `/wiki` to generate a navigable markdown wiki from the call graph. Other slash commands: `/trace`, `/summary`, `/architecture`, `/check`, `/cycles`, `/format`, `/help`.
452
+
442
453
  **Full CLI reference:** See **[docs/CLI.md](docs/CLI.md)** for complete documentation on every command, all options, output format examples, advanced workflows, and the full MCP tools reference.
443
454
 
444
455
  ---
@@ -481,7 +492,7 @@ Graph-It-Live includes an optional **MCP server** that exposes its full analysis
481
492
 
482
493
  ### Available Tools
483
494
 
484
- The MCP server exposes **22 tools** for AI/LLM consumption. The 21 analysis tools, excluding the server-management-only `set_workspace`, are also available as **native LM Tools** (`#graphResolve`, `#graphBreaking`, `#graphCallGraph`, etc.) directly in Copilot Agent mode — no MCP server required for those.
495
+ The MCP server exposes **23 tools** for AI/LLM consumption. The 22 analysis tools, excluding the server-management-only `set_workspace`, are also available as **native LM Tools** (`#graphResolve`, `#graphBreaking`, `#graphCallGraph`, etc.) directly in Copilot Agent mode — no MCP server required for those.
485
496
 
486
497
  | Tool | Description |
487
498
  | :--- | :---------- |
@@ -507,6 +518,8 @@ The MCP server exposes **22 tools** for AI/LLM consumption. The 21 analysis tool
507
518
  | `graphitlive_generate_codemap` | Generate a comprehensive structured overview of any source file |
508
519
  | `graphitlive_query_call_graph` | Query cross-file callers/callees via BFS on the call graph SQLite database |
509
520
  | `graphitlive_scan_dead_code` | Scan the entire workspace (or a directory) for unused exported symbols in one call |
521
+ | `query_natural_language` | Answer a natural language question about the codebase using the call graph (LLM or heuristic fallback) |
522
+ | `graphitlive_generate_wiki` | Generate a navigable markdown wiki from the call graph (one article per file, hub scores, cross-links) |
510
523
 
511
524
  ### TOON Format (Token-Optimized Output)
512
525
 
@@ -557,6 +570,7 @@ All 21 analysis tools are also available **natively in GitHub Copilot** — no M
557
570
  | `#graphBreaking` | `analyze_breaking_changes` | Detect breaking changes between two file versions |
558
571
  | `#graphCallGraph` | `query_call_graph` | BFS callers/callees via the SQLite call graph index |
559
572
  | `#graphDeadCode` | `scan_dead_code` | Workspace-wide dead code scan — all unused exported symbols |
573
+ | `#graphQuery` | `query_natural_language` | Natural language question over the call graph (LLM or heuristic fallback) |
560
574
 
561
575
  > **Note:** `#graphCallGraph` requires the Call Graph panel (`graph-it-live.showCallGraph`) to be opened at least once to build the index.
562
576