-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
129 lines (129 loc) · 3.35 KB
/
package.json
File metadata and controls
129 lines (129 loc) · 3.35 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
{
"name": "fast-java-thread",
"displayName": "Fast Java Thread",
"description": "Analyze JVM thread dumps with tree view, dashboard, and click-to-navigate",
"version": "0.2.0",
"publisher": "MartinCaminoa",
"repository": {
"type": "git",
"url": "https://github.com/martin5211/FastJavaThread"
},
"icon": "assets/icon.png",
"galleryBanner": {
"color": "#1e1e1e",
"theme": "dark"
},
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other"
],
"activationEvents": [
"workspaceContains:**/*.tdump"
],
"main": "./out/src/extension.js",
"contributes": {
"languages": [
{
"id": "thread-dump",
"extensions": [
".tdump"
],
"aliases": [
"Thread Dump"
]
}
],
"viewsContainers": {
"activitybar": [
{
"id": "fast-java-thread",
"title": "Fast Java Thread",
"icon": "$(debug-stackframe)"
}
]
},
"views": {
"fast-java-thread": [
{
"id": "fastJavaThreadView",
"name": "Threads"
}
]
},
"commands": [
{
"command": "fast-java-thread.analyzeThreadDump",
"title": "Analyze Thread Dump",
"category": "Fast Java Thread"
},
{
"command": "fast-java-thread.showDashboard",
"title": "Show Dashboard",
"category": "Fast Java Thread"
}
],
"menus": {
"editor/context": [
{
"when": "resourceExtname == .tdump",
"command": "fast-java-thread.analyzeThreadDump",
"group": "navigation"
},
{
"when": "resourceExtname == .tdump",
"command": "fast-java-thread.showDashboard",
"group": "navigation"
}
]
},
"configuration": {
"title": "Fast Java Thread",
"properties": {
"fastJavaThread.mcp.transport": {
"type": "string",
"enum": ["stdio", "http"],
"default": "stdio",
"description": "MCP server transport: stdio (default, for CLI clients) or http (for network/Tauri clients)"
},
"fastJavaThread.mcp.port": {
"type": "number",
"default": 3100,
"description": "Port for HTTP transport (only used when transport is 'http')"
},
"fastJavaThread.mcp.auth.enabled": {
"type": "boolean",
"default": false,
"description": "Enable Bearer token authentication for HTTP transport"
},
"fastJavaThread.mcp.auth.token": {
"type": "string",
"default": "",
"description": "Bearer token for MCP server authentication (only used when auth is enabled)"
}
}
}
},
"scripts": {
"copy-chartjs": "cp node_modules/chart.js/dist/chart.umd.js assets/",
"compile": "tsc -p ./",
"mcp": "node out/src/mcp/server.js",
"watch": "tsc -watch -p ./",
"test": "jest",
"package": "npm run copy-chartjs && npm run compile && vsce package",
"vscode:prepublish": "npm run copy-chartjs && npm run compile"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^20.11.0",
"@types/vscode": "^1.85.0",
"jest": "^29.7.0",
"ts-jest": "^29.1.2",
"typescript": "^5.3.3"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.12.0",
"chart.js": "^4.5.1"
}
}