@magic5644/graph-it-live 1.0.2 → 1.9.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 +10 -2
- package/dist/graph-it.js +72 -72
- package/dist/mcpWorker.js +65 -65
- package/dist/queries/csharp.scm +10 -10
- package/package.json +5 -2
package/dist/queries/csharp.scm
CHANGED
|
@@ -67,25 +67,25 @@
|
|
|
67
67
|
; INHERITS
|
|
68
68
|
; --------------------------------------------------------------------------
|
|
69
69
|
|
|
70
|
-
;
|
|
70
|
+
; Primary constructor base type: record Foo(int X) : Bar(X)
|
|
71
71
|
(base_list
|
|
72
72
|
(primary_constructor_base_type
|
|
73
73
|
(identifier) @inherit))
|
|
74
74
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
; Simple base class / interface: class Foo : Bar, IFoo
|
|
76
|
+
; In tree-sitter-c-sharp 0.20.x base_list directly contains _type nodes —
|
|
77
|
+
; there is no 'simple_base_type' wrapper in this grammar version.
|
|
78
|
+
(base_list (identifier) @inherit)
|
|
79
|
+
(base_list (qualified_name) @inherit)
|
|
78
80
|
|
|
79
81
|
; --------------------------------------------------------------------------
|
|
80
82
|
; IMPLEMENTS
|
|
81
83
|
; --------------------------------------------------------------------------
|
|
82
84
|
|
|
83
|
-
;
|
|
84
|
-
;
|
|
85
|
-
|
|
86
|
-
(base_list
|
|
87
|
-
(simple_base_type
|
|
88
|
-
(identifier) @impl))
|
|
85
|
+
; C# does not distinguish base-class from interface at the AST level.
|
|
86
|
+
; Both appear as the same _type nodes directly under base_list.
|
|
87
|
+
(base_list (identifier) @impl)
|
|
88
|
+
(base_list (qualified_name) @impl)
|
|
89
89
|
|
|
90
90
|
; --------------------------------------------------------------------------
|
|
91
91
|
; USES (type references in fields, parameters, locals)
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@magic5644/graph-it-live",
|
|
3
3
|
"displayName": "Graph-It-Live",
|
|
4
|
-
"description": "AI-first dependency graph & code intelligence for VS Code. Visualize file imports, symbol call hierarchies, and cross-file call graphs. Detect circular dependencies, dead code, and breaking changes. Built-in MCP Server with 21 tools for GitHub Copilot, Cursor, Claude, Windsurf, and Antigravity. Generate AI-friendly codemaps. TypeScript, JavaScript, Python, Rust, Vue, Svelte, GraphQL.",
|
|
5
|
-
"version": "1.0
|
|
4
|
+
"description": "AI-first dependency graph & code intelligence for VS Code. Visualize file imports, symbol call hierarchies, and cross-file call graphs. Detect circular dependencies, dead code, and breaking changes. Built-in MCP Server with 21 tools for GitHub Copilot, Cursor, Claude, Windsurf, and Antigravity. Generate AI-friendly codemaps. TypeScript, JavaScript, C#, Go, Java, Python, Rust, Vue, Svelte, GraphQL.",
|
|
5
|
+
"version": "1.9.0",
|
|
6
6
|
"publisher": "magic5644",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "magic56"
|
|
@@ -31,6 +31,9 @@
|
|
|
31
31
|
"typescript",
|
|
32
32
|
"javascript",
|
|
33
33
|
"python",
|
|
34
|
+
"java",
|
|
35
|
+
"go",
|
|
36
|
+
"csharp",
|
|
34
37
|
"rust",
|
|
35
38
|
"vue",
|
|
36
39
|
"svelte",
|