-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
142 lines (142 loc) · 5.04 KB
/
Copy pathpackage.json
File metadata and controls
142 lines (142 loc) · 5.04 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
{
"name": "debug-graph",
"displayName": "debug-graph",
"description": "A Visual Studio Code extension that shows all the function calls (code paths) that lead to a breakpoint.",
"version": "0.0.2",
"icon": "assets/ui-hint.png",
"licenses": [
{
"url": "https://github.com/K0IN/stacktrace-history/LICENSE",
"type": "MIT"
}
],
"repository": {
"type": "git",
"url": "git+https://github.com/K0IN/stacktrace-history.git"
},
"engines": {
"vscode": "^1.91.0"
},
"categories": [
"Other",
"Debuggers",
"AI",
"Education",
"Visualization"
],
"activationEvents": [
"onFinishedLoading",
"onDebug",
"onWebviewPanel:graph-visualization"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"title": "Debug Graph",
"properties": {
"debug-graph.mcp.enabled": {
"type": "boolean",
"default": true,
"description": "Enable the Debug Graph MCP server. Restart VS Code or run 'Debug: Restart MCP Server' after changing."
}
}
},
"mcpServerDefinitionProviders": [
{
"id": "debugGraph.mcpProvider",
"label": "Debug Graph MCP Server"
}
],
"commands": [
{
"command": "call-graph.show-call-graph",
"title": "show call graph",
"category": "Debug",
"icon": {
"dark": "assets/ui-hint.svg",
"light": "assets/ui-hint.svg"
},
"shortTitle": "Call Graph"
},
{
"command": "call-graph.show-output",
"title": "Show Debug Graph Output Channel",
"category": "Debug"
},
{
"command": "call-graph.restart-mcp",
"title": "Restart MCP Server",
"category": "Debug"
}
],
"menus": {
"editor/title": [
{
"command": "call-graph.show-call-graph",
"when": "inDebugMode",
"group": "navigation"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run vscode:package",
"vscode:package": "npm run compile-frontend && webpack --mode production --devtool hidden-source-map && npm run compile:mcp",
"vscode:bundle": "npm run vscode:package && vsce package",
"vscode:install": "npm run vscode:bundle && code --install-extension debug-graph-*.vsix",
"vscode:uninstall": "code --uninstall k0in.call-graph",
"vscode:publish": "npm run vscode:bundle && vsce publish",
"lint-frontend": "cd frontend && npm run lint",
"compile-frontend": "cd frontend && npm run build",
"watch-frontend": "cd frontend && npm run watch",
"lint": "eslint . --ext ts",
"compile": "webpack && npm run compile:mcp",
"compile:mcp": "esbuild src/mcp/mcp-server.ts --bundle --platform=node --target=node22 --outfile=dist/mcp-server.js --format=cjs --external:vscode",
"watch": "npm run compile-frontend && webpack --watch",
"lint-all": "npm run lint && npm run lint-frontend",
"compile-all": "npm run compile && npm run compile-frontend",
"watch-all": "npm run watch && npm run watch-frontend",
"compile-tests": "tsc -p ./ --outDir out",
"watch-tests": "tsc -p ./ -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"test": "vscode-test",
"build": "npm run compile-all",
"install-deps": "npm i && cd frontend && npm i"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.7",
"@types/node": "26.x",
"@types/vscode": "^1.91.0",
"@typescript-eslint/eslint-plugin": "^8.62.1",
"@typescript-eslint/parser": "^8.31.1",
"@vscode/test-cli": "^0.0.15",
"@vscode/test-electron": "^2.4.1",
"@vscode/vsce": "^3.9.2",
"esbuild": "^0.28.1",
"eslint": "^8.57.0",
"glob": "^8.1.0",
"mocha": "^11.7.6",
"ts-loader": "^9.5.1",
"typescript": "^5.5.3",
"webpack": "^5.108.1",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"@cfworker/json-schema": "^4.1.1",
"@modelcontextprotocol/client": "^2.0.0-alpha.2",
"@modelcontextprotocol/node": "^2.0.0-alpha.2",
"@modelcontextprotocol/server": "^2.0.0-alpha.2",
"@vscode/debugprotocol": "^1.66.0",
"comlink": "^4.4.1",
"shared": "file:shared",
"zod": "^4.4.3"
},
"bugs": {
"url": "https://github.com/K0IN/stacktrace-history/issues"
},
"homepage": "https://github.com/K0IN/stacktrace-history#readme",
"author": "k0in",
"publisher": "k0in",
"license": "ISC"
}