-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
208 lines (208 loc) · 6.67 KB
/
Copy pathpackage.json
File metadata and controls
208 lines (208 loc) · 6.67 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
{
"name": "@cogeor/llmem",
"displayName": "LLMem - Codebase Graph & Documentation",
"description": "MCP server extension for generating interactive graph visualizations and documentation for codebases",
"version": "0.3.0",
"publisher": "cogeor",
"author": "Costa Georgantas <c.georgantas@hotmail.com>",
"license": "MIT",
"homepage": "https://github.com/cogeor/llmem",
"bugs": {
"url": "https://github.com/cogeor/llmem/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cogeor/llmem.git"
},
"keywords": [
"mcp",
"graph",
"visualization",
"dependency",
"documentation",
"ai",
"codebase",
"import",
"call-graph",
"architecture"
],
"engines": {
"vscode": "^1.85.0",
"node": ">=20.19.0"
},
"categories": [
"Visualization",
"Other"
],
"galleryBanner": {
"color": "#1e1e2e",
"theme": "dark"
},
"extensionKind": [
"workspace"
],
"mcpName": "io.github.cogeor/llmem",
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension/extension.js",
"exports": {
".": "./dist/mcp/main.js"
},
"bin": {
"llmem": "bin/llmem"
},
"files": [
"bin/",
"dist/cli/main.js",
"dist/mcp/main.js",
"dist/webview/*.js",
"dist/webview/*.html",
"dist/webview/libs/**",
"dist/webview/styles/**",
"dist/webview/utils/**/*.js",
"README.md",
"LICENSE"
],
"contributes": {
"commands": [
{
"command": "llmem.showStatus",
"title": "LLMem: Show Status"
},
{
"command": "llmem.openPanel",
"title": "LLMem: Open Panel"
}
],
"configuration": {
"title": "LLMem",
"properties": {
"llmem.artifactRoot": {
"type": "string",
"default": ".llmem/graph",
"description": "Root folder for graph artifacts (relative to workspace root)."
},
"llmem.maxFilesPerFolder": {
"type": "number",
"default": 20,
"minimum": 1,
"maximum": 500,
"description": "Maximum number of files to include per folder when building context."
},
"llmem.maxFileSizeKB": {
"type": "number",
"default": 512,
"minimum": 1,
"maximum": 10240,
"description": "Maximum file size in KB to include in context."
},
"llmem.maxFileLines": {
"type": "number",
"default": 2000,
"minimum": 1,
"maximum": 100000,
"description": "Skip files with more than this many lines when scanning."
}
}
}
},
"publishConfig": {
"access": "public"
},
"scripts": {
"compile": "npm run compile:vscode && npm run compile:webview-types",
"compile:vscode": "tsc -p ./tsconfig.vscode.json",
"compile:webview-types": "tsc --noEmit -p ./src/webview/ui/tsconfig.json",
"compile:all": "npm run compile:vscode && npm run compile:webview-types",
"watch": "tsc -watch -p ./tsconfig.vscode.json",
"watch:vscode": "tsc -watch -p ./tsconfig.vscode.json",
"lint": "eslint src --ext ts",
"test": "npm run test:unit && npm run test:arch && npm run test:integration",
"test:unit": "node scripts/run-tests.cjs tests/unit tests/contracts",
"test:arch": "node scripts/run-tests.cjs tests/arch",
"test:integration": "node scripts/run-tests.cjs --test-concurrency=1 tests/integration",
"verify": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && npm ci && npm run build:all && npm test",
"clean": "node scripts/clean-src-emit.js",
"clean:dist": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true});require('fs').rmSync('.artifacts',{recursive:true,force:true})\"",
"clean:all": "npm run clean && npm run clean:dist",
"smoke:webview": "node scripts/smoke-webview.js",
"prepublishOnly": "npm test",
"ci:local": "act -j build --container-architecture linux/amd64",
"smoke:pack": "node scripts/pack-smoke.js",
"check:langs": "npx ts-node scripts/check-langs.ts",
"prepare": "node scripts/install-hooks.js",
"build:webview": "npx ts-node src/scripts/build_webview.ts",
"build": "npm run build:vscode",
"build:vscode": "npm run compile:vscode && npm run compile:webview-types && npm run build:webview",
"build:entrypoints": "npx ts-node src/scripts/build_entrypoints.ts",
"build:all": "npm run compile:all && npm run build:webview",
"pretest": "npm run compile && npm run build:webview && npm run build:entrypoints",
"prepackage": "npm run compile:production && npm run build:webview",
"compile:production": "tsc -p ./tsconfig.production.json",
"scan": "node ./bin/llmem scan",
"view": "npx ts-node src/scripts/generate_webview.ts",
"view:graph": "npx ts-node src/scripts/generate_webview.ts --graph-only",
"file-info": "npx ts-node src/scripts/file-info-cli.ts",
"file-info:sig": "npx ts-node src/scripts/file-info-cli.ts --signatures",
"file-info:semantic": "npx ts-node src/scripts/file-info-cli.ts --semantic",
"serve": "npm run build:entrypoints && npm run build:webview && node ./bin/llmem serve",
"serve:dev": "npx ts-node src/cli/main.ts serve",
"graph": "node ./bin/llmem scan",
"graph:stats": "node ./bin/llmem health",
"health:ci": "node ./bin/llmem health --fail-on import-cycle",
"package": "vsce package",
"package:dist": "echo 'Dist package - copy dist/* to deployment location'"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"@types/jsdom": "^21.1.7",
"@types/node": "^20.10.0",
"@types/vscode": "^1.85.0",
"@types/ws": "^8.18.1",
"@typescript-eslint/eslint-plugin": "^6.13.0",
"@typescript-eslint/parser": "^6.13.0",
"@vscode/vsce": "^3.7.1",
"esbuild": "^0.27.1",
"eslint": "^8.54.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.0"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.29.0",
"chokidar": "^5.0.0",
"dompurify": "^3.2.4",
"fs-extra": "^11.3.2",
"jsdom": "^25.0.1",
"marked": "^17.0.1",
"smol-toml": "^1.6.1",
"vscode-jsonrpc": "^8.2.1",
"vscode-uri": "^3.1.0",
"ws": "^8.18.3",
"zod": "^3.22.4",
"zod-to-json-schema": "^3.22.4"
},
"optionalDependencies": {
"tree-sitter": "^0.22.4"
},
"peerDependencies": {
"@davisvaughan/tree-sitter-r": "^1.2.0",
"tree-sitter-cpp": "^0.22.0",
"tree-sitter-python": "^0.23.0",
"tree-sitter-rust": "^0.23.0"
},
"peerDependenciesMeta": {
"tree-sitter-python": {
"optional": true
},
"tree-sitter-cpp": {
"optional": true
},
"tree-sitter-rust": {
"optional": true
},
"@davisvaughan/tree-sitter-r": {
"optional": true
}
}
}