-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
238 lines (238 loc) · 7.14 KB
/
Copy pathpackage.json
File metadata and controls
238 lines (238 loc) · 7.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
{
"name": "codegraph-local",
"displayName": "CodeGraph Local — Standalone Code Intelligence",
"description": "Symbol-level code intelligence, a blast-radius-weighted health score, and a deterministic 7-agent remediation swarm — entirely local, in-process, zero external server. Install and it works on whatever workspace is open, like any other extension.",
"version": "0.4.1",
"publisher": "codegraph-local",
"icon": "media/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/archdex-art/CodeGraph-Extension.git"
},
"bugs": {
"url": "https://github.com/archdex-art/CodeGraph-Extension/issues"
},
"homepage": "https://github.com/archdex-art/CodeGraph-Extension#readme",
"license": "Apache-2.0",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Linters",
"Visualization",
"Other"
],
"keywords": [
"code intelligence",
"health score",
"call graph",
"remediation",
"dead code",
"circular dependency"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./bundle/extension.js",
"contributes": {
"commands": [
{
"command": "codegraphLocal.showDashboard",
"title": "CodeGraph Local: Show Dashboard",
"category": "CodeGraph Local"
},
{
"command": "codegraphLocal.scanWorkspace",
"title": "CodeGraph Local: Scan Workspace",
"category": "CodeGraph Local"
},
{
"command": "codegraphLocal.searchSymbols",
"title": "CodeGraph Local: Search Symbols",
"category": "CodeGraph Local"
},
{
"command": "codegraphLocal.showCallers",
"title": "CodeGraph Local: Show Callers of Symbol at Cursor",
"category": "CodeGraph Local"
},
{
"command": "codegraphLocal.showCallees",
"title": "CodeGraph Local: Show Callees of Symbol at Cursor",
"category": "CodeGraph Local"
},
{
"command": "codegraphLocal.showImpact",
"title": "CodeGraph Local: Show Impact of Symbol at Cursor",
"category": "CodeGraph Local"
},
{
"command": "codegraphLocal.findCycles",
"title": "CodeGraph Local: Find Circular Dependencies",
"category": "CodeGraph Local"
},
{
"command": "codegraphLocal.findDeadCode",
"title": "CodeGraph Local: Find Dead Code",
"category": "CodeGraph Local"
},
{
"command": "codegraphLocal.findHubs",
"title": "CodeGraph Local: Find Hub Symbols",
"category": "CodeGraph Local"
},
{
"command": "codegraphLocal.runAgentSwarm",
"title": "CodeGraph Local: Run Agent Swarm (Populate Problems)",
"category": "CodeGraph Local"
},
{
"command": "codegraphLocal.generateFix",
"title": "CodeGraph Local: Generate Verified Fix",
"category": "CodeGraph Local"
},
{
"command": "codegraphLocal.generateContext",
"title": "CodeGraph Local: Generate Context for Task",
"category": "CodeGraph Local"
},
{
"command": "codegraphLocal.clearFindings",
"title": "CodeGraph Local: Clear Findings",
"category": "CodeGraph Local"
},
{
"command": "codegraphLocal.findingsView.refresh",
"title": "Refresh",
"icon": "$(refresh)"
},
{
"command": "codegraphLocal.findingsView.rescan",
"title": "Rescan",
"icon": "$(sync)"
}
],
"menus": {
"view/title": [
{
"command": "codegraphLocal.findingsView.rescan",
"when": "view == codegraphLocal.findingsView",
"group": "navigation"
},
{
"command": "codegraphLocal.findingsView.refresh",
"when": "view == codegraphLocal.findingsView",
"group": "navigation"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "codegraphLocal",
"title": "CodeGraph Local",
"icon": "media/activitybar-icon.svg"
}
]
},
"views": {
"codegraphLocal": [
{
"id": "codegraphLocal.dashboardView",
"type": "webview",
"name": "Dashboard",
"icon": "media/activitybar-icon.svg"
},
{
"id": "codegraphLocal.findingsView",
"name": "Findings",
"icon": "media/activitybar-icon.svg"
}
]
},
"viewsWelcome": [
{
"view": "codegraphLocal.findingsView",
"contents": "No scan yet.\n[Scan Workspace](command:codegraphLocal.scanWorkspace)\nAnalyzes TypeScript/JavaScript files in the open workspace — fully local, no server, no network."
}
],
"configuration": {
"title": "CodeGraph Local",
"properties": {
"codegraphLocal.exclude": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"**/node_modules/**",
"**/dist/**",
"**/out/**",
"**/build/**",
"**/bundle/**",
"**/media/**",
"**/.next/**",
"**/.nuxt/**",
"**/.git/**",
"**/coverage/**",
"**/*.min.js",
"**/vendor/**"
],
"description": "Glob patterns excluded from scanning."
},
"codegraphLocal.maxFiles": {
"type": "number",
"default": 4000,
"description": "Maximum number of files scanned per workspace, for performance on very large repos."
},
"codegraphLocal.godFileLoc": {
"type": "number",
"default": 500,
"description": "Line count above which a file is flagged as a god file by the Refactor agent."
},
"codegraphLocal.hubFanIn": {
"type": "number",
"default": 10,
"description": "Fan-in above which a symbol is flagged as a hub / hot path."
},
"codegraphLocal.autoScanOnStartup": {
"type": "boolean",
"default": true,
"description": "Automatically scan the workspace when it opens."
},
"codegraphLocal.rescanOnSave": {
"type": "boolean",
"default": true,
"description": "Automatically re-scan the whole workspace (debounced) when a tracked file is saved. Turn off for very large repos where a full rescan is too slow to run on every save."
}
}
}
},
"scripts": {
"build": "tsc -b",
"bundle": "node esbuild.config.mjs",
"package": "npm run build && npm run bundle",
"test": "vitest run",
"lint": "eslint src --ext .ts"
},
"dependencies": {
"diff": "^5.2.0",
"framer-motion": "^12.42.2",
"lucide-react": "^1.24.0",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"typescript": "^5.5.3"
},
"devDependencies": {
"@types/diff": "^5.2.1",
"@types/node": "^20.14.0",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@types/vscode": "^1.85.0",
"@typescript-eslint/eslint-plugin": "^7.16.0",
"@typescript-eslint/parser": "^7.16.0",
"esbuild": "^0.23.0",
"eslint": "^8.57.0",
"vitest": "^1.6.0"
}
}