-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
294 lines (294 loc) · 8.78 KB
/
Copy pathpackage.json
File metadata and controls
294 lines (294 loc) · 8.78 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
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
{
"name": "advanced-vscode-extension",
"displayName": "Advanced Pluto Notebook for VSCode",
"description": "VSCode extension for Julia Pluto notebooks",
"version": "0.3.0",
"publisher": "juliapluto-pankgeorg",
"repository": {
"type": "git",
"url": "https://github.com/JuliaPluto/advanced-vscode-extension"
},
"icon": "images/icon.png",
"vsce": {
"dependencies": false,
"baseContentUrl": "https://github.com/JuliaPluto/advanced-vscode-extension/raw/main/",
"baseImagesUrl": "https://github.com/JuliaPluto/advanced-vscode-extension/raw/main/"
},
"type": "module",
"workspaces": [
"packages/*"
],
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Notebooks"
],
"activationEvents": [
"onNotebook:pluto-notebook"
],
"extensionDependencies": [
"julialang.language-julia",
"JuliaComputing.juliahub-vscode-auth"
],
"main": "./dist/extension.cjs",
"contributes": {
"configuration": {
"title": "Pluto Notebook",
"properties": {
"pluto-notebook.port": {
"type": "number",
"default": 1234,
"description": "Port number for the Pluto server"
},
"pluto-notebook.serverUrl": {
"type": "string",
"default": "",
"description": "Custom Pluto server URL (e.g., http://localhost:1234). When set, the extension will connect to this server instead of starting its own."
},
"pluto-notebook.mcpPort": {
"type": "number",
"default": 3100,
"description": "Port number for the MCP HTTP server"
},
"pluto-notebook.autoStartMcpServer": {
"type": "boolean",
"default": true,
"description": "Automatically start the MCP HTTP server when the extension activates"
},
"pluto-notebook.juliaVersion": {
"type": "string",
"default": "",
"description": "Fallback Julia version for juliaup when the Julia extension is unavailable (e.g. '1.12.6'). Normally the active Julia channel is sourced from the julialang.language-julia extension."
}
}
},
"notebooks": [
{
"type": "pluto-notebook",
"displayName": "Pluto Notebook",
"selector": [
{
"filenamePattern": "*.pluto.jl"
},
{
"filenamePattern": "*.dyad.jl"
}
]
}
],
"notebookRenderer": [
{
"id": "pluto-output-renderer",
"displayName": "Pluto Output Renderer",
"entrypoint": "./dist/renderer.js",
"mimeTypes": [
"x-application/pluto-output"
],
"requiresMessaging": "optional"
}
],
"terminal": {
"profiles": [
{
"id": "pluto-notebook.terminal",
"title": "Pluto Terminal",
"icon": "symbol-namespace"
}
]
},
"views": {
"explorer": [
{
"id": "plutoNotebooks",
"name": "Pluto Notebooks",
"icon": "$(notebook)",
"contextualTitle": "Pluto Notebooks"
}
]
},
"snippets": [
{
"language": "julia",
"path": "./snippets/pluto.json"
},
{
"language": "julia",
"path": "./snippets/dyad-interface.json"
}
],
"commands": [
{
"command": "pluto-notebook.startServer",
"title": "▶️ Pluto: Start Server",
"icon": "$(play)"
},
{
"command": "pluto-notebook.stopServer",
"title": "⏹️ Pluto: Stop Server",
"icon": "$(debug-stop)"
},
{
"command": "pluto-notebook.restartServer",
"title": "🔄 Pluto: Restart Server",
"icon": "$(debug-restart)"
},
{
"command": "pluto-notebook.toggleServer",
"title": "🔀 Pluto: Toggle Server (Start/Stop)",
"icon": "$(debug-alt)"
},
{
"command": "pluto-notebook.startMCPServer",
"title": "🚀 Pluto: Start MCP Server",
"icon": "$(server-process)"
},
{
"command": "pluto-notebook.stopMCPServer",
"title": "⏹️ Pluto: Stop MCP Server",
"icon": "$(debug-stop)"
},
{
"command": "pluto-notebook.restartMCPServer",
"title": "🔄 Pluto: Restart MCP Server",
"icon": "$(debug-restart)"
},
{
"command": "pluto-notebook.createProjectMCPConfig",
"title": "⚙️ Pluto: Create MCP Config (Claude or Copilot)",
"icon": "$(gear)"
},
{
"command": "pluto-notebook.getMCPHttpUrl",
"title": "🔗 Pluto: Get MCP HTTP Server URL",
"icon": "$(link)"
},
{
"command": "pluto-notebook.openInBrowser",
"title": "🌐 Pluto: Open Notebook in Browser",
"icon": "$(globe)"
},
{
"command": "pluto-notebook.createTerminal",
"title": "💻 Pluto: Create Terminal",
"icon": "$(terminal)"
},
{
"command": "pluto-notebook.refreshNotebooks",
"title": "🔄 Pluto: Refresh Notebooks Tree",
"icon": "$(refresh)"
},
{
"command": "pluto-notebook.reconnectNotebook",
"title": "🔌 Pluto: Reconnect Notebook",
"icon": "$(debug-disconnect)"
},
{
"command": "pluto-notebook.openNotebookFromTree",
"title": "📂 Pluto: Open Notebook from Tree",
"icon": "$(notebook)"
},
{
"command": "pluto-notebook.toggleView",
"title": "🔄 Pluto: Toggle Code/Notebook View",
"icon": "$(split-vertical)"
},
{
"command": "pluto-notebook.createNewNotebook",
"title": "📝 Pluto: Create New Notebook",
"icon": "$(new-file)"
}
],
"menus": {
"editor/title": [
{
"command": "pluto-notebook.toggleView",
"when": "resourceExtname == .jl && (resourceFilename =~ /\\.pluto\\.jl$/ || resourceFilename =~ /\\.dyad\\.jl$/)",
"group": "navigation"
}
],
"notebook/toolbar": [
{
"command": "pluto-notebook.toggleView",
"when": "notebookType == pluto-notebook",
"group": "navigation"
}
],
"view/title": [
{
"command": "pluto-notebook.refreshNotebooks",
"when": "view == plutoNotebooks",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "pluto-notebook.reconnectNotebook",
"when": "view == plutoNotebooks && viewItem == plutoNotebook",
"group": "inline"
},
{
"command": "pluto-notebook.openNotebookFromTree",
"when": "view == plutoNotebooks && viewItem == plutoNotebook",
"group": "navigation"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run check-types && npm run lint && node esbuild.js --production",
"compile": "npm run check-types && npm run lint && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "vsce package",
"compile-tests": "tsc -p tsconfig.tests.json",
"watch-tests": "tsc -p tsconfig.tests.json -w",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"check-types": "tsc --noEmit",
"lint": "eslint src",
"format": "prettier --write .",
"format:check": "prettier --check .",
"test": "vscode-test",
"test:unit": "NODE_OPTIONS=--experimental-vm-modules jest",
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch",
"test:coverage": "NODE_OPTIONS=--experimental-vm-modules jest --coverage"
},
"devDependencies": {
"@commitlint/cli": "^21.2.2",
"@commitlint/config-conventional": "^21.2.2",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/express": "^5.0.6",
"@types/jest": "^30.0.0",
"@types/mathjax": "^0.0.40",
"@types/mocha": "^10.0.10",
"@types/node": "22.x",
"@types/vscode": "^1.75.0",
"@types/vscode-notebook-renderer": "^1.72.4",
"@typescript-eslint/eslint-plugin": "^8.67.0",
"@typescript-eslint/parser": "^8.67.0",
"@vscode/test-cli": "^0.0.15",
"@vscode/test-electron": "^3.1.0",
"@vscode/vsce": "^3.9.2",
"esbuild": "^0.28.2",
"eslint": "^9.39.5",
"jest": "^30.4.2",
"jest-environment-jsdom": "^30.4.1",
"npm-run-all": "^4.1.5",
"prettier": "^3.9.6",
"semantic-release": "^25.0.9",
"semantic-release-vsce": "^6.1.7",
"ts-jest": "^29.4.12",
"tslib": "^2.8.1",
"typescript": "^5.9.2",
"typescript-eslint": "^8.67.0"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.30.0",
"@plutojl/rainbow": "^0.6.21",
"uuid": "^14.0.1",
"ws": "^8.21.3",
"zod": "^4.4.3"
}
}