-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
591 lines (591 loc) · 19.6 KB
/
Copy pathpackage.json
File metadata and controls
591 lines (591 loc) · 19.6 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
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
{
"name": "artizo",
"displayName": "Artizo Dev Containers",
"description": "Develop inside Docker containers. Define your environment as code with devcontainer.json for isolated, reproducible development.",
"version": "0.6.2",
"publisher": "aergic",
"productName": "Artizo",
"license": "AGPL-3.0-only",
"homepage": "https://github.com/aergic-labs/artizo",
"repository": {
"type": "git",
"url": "https://github.com/aergic-labs/artizo"
},
"bugs": {
"url": "https://github.com/aergic-labs/artizo/issues"
},
"icon": "resources/icon.png",
"galleryBanner": {
"color": "#1e1e2e",
"theme": "dark"
},
"engines": {
"vscode": "^1.85.0"
},
"capabilities": {
"untrustedWorkspaces": {
"supported": "limited",
"description": "Container provisioning, credential forwarding, and dotfiles run commands derived from workspace and user configuration. Settings that feed executables or clone/run scripts are restricted until you trust the workspace.",
"restrictedConfigurations": [
"artizo.dockerPath",
"artizo.sshPath",
"artizo.dotfiles.repository",
"artizo.dotfiles.installCommand",
"artizo.dotfiles.targetPath"
]
}
},
"extensionKind": [
"workspace",
"ui"
],
"enabledApiProposals": [
"resolvers",
"contribViewsRemote"
],
"categories": [
"Other"
],
"keywords": [
"kiro",
"dev container",
"dev containers",
"devcontainers",
"devcontainer",
"docker",
"remote",
"remote development",
"containers"
],
"activationEvents": [
"onResolveRemoteAuthority:artizo-container",
"onResolveRemoteAuthority:attached-container",
"onStartupFinished",
"*"
],
"main": "./dist/extension/extension.js",
"contributes": {
"commands": [
{
"command": "artizo.reopenInContainer",
"title": "Artizo: Reopen in Container",
"category": "Dev Containers (Artizo)"
},
{
"command": "artizo.reopenInHost",
"title": "Artizo: Return to Host",
"category": "Dev Containers (Artizo)"
},
{
"command": "artizo.openDevContainerFile",
"title": "Artizo: Open Container Configuration File",
"category": "Dev Containers (Artizo)"
},
{
"command": "artizo.rebuildContainer",
"title": "Artizo: Rebuild Container",
"category": "Dev Containers (Artizo)"
},
{
"command": "artizo.rebuildContainerMenu",
"title": "Artizo: Rebuild Container",
"category": "Dev Containers (Artizo)"
},
{
"command": "artizo.rebuildContainerNoCache",
"title": "Artizo: Rebuild Container Without Cache",
"category": "Dev Containers (Artizo)"
},
{
"command": "artizo.rebuildAndReopenInContainer",
"title": "Artizo: Rebuild and Reopen in Container",
"category": "Dev Containers (Artizo)"
},
{
"command": "artizo.revealLogTerminal",
"title": "Artizo: Show Dev Container Log",
"category": "Dev Containers (Artizo)"
},
{
"command": "artizo.configureServerDownload",
"title": "Artizo: Configure Server Download",
"category": "Dev Containers (Artizo)"
},
{
"command": "artizo.configureDevContainer",
"title": "Artizo: Configure Dev Container",
"category": "Dev Containers (Artizo)"
},
{
"command": "artizo.openFolderInContainer",
"title": "Artizo: Open Folder in Container",
"category": "Dev Containers (Artizo)"
},
{
"command": "artizo.openFolderInContainerNewWindow",
"title": "Artizo: Open Folder in Container (New Window)",
"category": "Dev Containers (Artizo)"
},
{
"command": "artizo.cloneInVolume",
"title": "Artizo: Clone Repo URL in Volume",
"category": "Dev Containers (Artizo)"
},
{
"command": "artizo.attachToRunningContainer",
"title": "Artizo: Attach to Running Container",
"category": "Dev Containers (Artizo)"
},
{
"command": "artizo.addConfiguration",
"title": "Artizo: Add Dev Container Configuration Files",
"category": "Dev Containers (Artizo)"
},
{
"command": "artizo.cleanUpContainers",
"title": "Artizo: Clean Up Dev Containers",
"category": "Dev Containers (Artizo)"
},
{
"command": "artizo.explorer.refresh",
"title": "Artizo: Refresh",
"category": "Dev Containers (Artizo)",
"icon": "$(refresh)"
},
{
"command": "artizo.explorer.connectCurrentWindow",
"title": "Artizo: Connect in Current Window",
"category": "Dev Containers (Artizo)",
"icon": "$(arrow-down)"
},
{
"command": "artizo.explorer.connectNewWindow",
"title": "Artizo: Connect in New Window",
"category": "Dev Containers (Artizo)",
"icon": "$(window)"
},
{
"command": "artizo.ports.add",
"title": "Artizo: Forward a Port",
"category": "Dev Containers (Artizo)",
"icon": "$(add)"
},
{
"command": "artizo.ports.remove",
"title": "Artizo: Stop Forwarding Port",
"category": "Dev Containers (Artizo)",
"icon": "$(close)"
},
{
"command": "artizo.ports.setLabel",
"title": "Artizo: Set Port Label",
"category": "Dev Containers (Artizo)",
"icon": "$(edit)"
},
{
"command": "artizo.volumes.refresh",
"title": "Artizo: Refresh Volumes",
"category": "Dev Containers (Artizo)",
"icon": "$(refresh)"
},
{
"command": "artizo.volumes.inspect",
"title": "Artizo: Inspect Volume",
"category": "Dev Containers (Artizo)"
},
{
"command": "artizo.volumes.remove",
"title": "Artizo: Remove Volume",
"category": "Dev Containers (Artizo)",
"icon": "$(trash)"
},
{
"command": "artizo.explorer.stopContainer",
"title": "Artizo: Stop Container",
"category": "Dev Containers (Artizo)",
"icon": "$(debug-stop)"
},
{
"command": "artizo.explorer.startContainer",
"title": "Artizo: Start Container",
"category": "Dev Containers (Artizo)",
"icon": "$(debug-start)"
},
{
"command": "artizo.explorer.removeContainer",
"title": "Artizo: Remove Container",
"category": "Dev Containers (Artizo)",
"icon": "$(trash)"
},
{
"command": "artizo.explorer.showLogs",
"title": "Artizo: Show Container Logs",
"category": "Dev Containers (Artizo)"
},
{
"command": "artizo.explorer.removeRecentFolder",
"title": "Artizo: Remove from Recent",
"category": "Dev Containers (Artizo)",
"icon": "$(trash)"
},
{
"command": "artizo.explorer.inspectVolume",
"title": "Artizo: Inspect Volume",
"category": "Dev Containers (Artizo)"
},
{
"command": "artizo.explorer.removeVolume",
"title": "Artizo: Remove Volume",
"category": "Dev Containers (Artizo)",
"icon": "$(trash)"
},
{
"command": "artizo.explorer.cloneInVolume",
"title": "Artizo: Clone Repo in Volume",
"category": "Dev Containers (Artizo)",
"icon": "$(repo-clone)"
}
],
"views": {
"artizo-sidebar": [
{
"type": "webview",
"id": "artizo.sidebar",
"name": "",
"when": "artizo.hostContext || remoteName =~ /^artizo-container|attached-container/",
"remoteName": [
"artizo-container",
"attached-container",
"ssh-remote"
]
}
],
"remote": [
{
"id": "artizo.explorer",
"name": "Dev Containers",
"when": "artizo.hostContext"
},
{
"id": "artizo.portsView",
"name": "Ports",
"when": "artizo.connected"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "artizo-sidebar",
"title": "Artizo Dev Containers",
"icon": "resources/icon.svg",
"when": "artizo.hostContext || remoteName =~ /^artizo-container|attached-container/ || artizo.onRemote"
}
]
},
"menus": {
"statusBar/remoteIndicator": [
{
"command": "artizo.reopenInContainer",
"when": "workspaceFolderCount != 0 && artizo.hostContext && artizo.hasDevcontainerConfig",
"group": "remote_30_artizo-container_2_actions@0"
},
{
"command": "artizo.rebuildContainerMenu",
"when": "workspaceFolderCount != 0 && artizo.hostContext && artizo.hasDevcontainerConfig",
"group": "remote_30_artizo-container_2_actions@1"
},
{
"command": "artizo.openFolderInContainer",
"when": "artizo.hostContext",
"group": "remote_30_artizo-container_2_actions@2"
},
{
"command": "artizo.openFolderInContainerNewWindow",
"when": "artizo.hostContext",
"group": "remote_30_artizo-container_2_actions@3"
},
{
"command": "artizo.cleanUpContainers",
"when": "artizo.hostContext",
"group": "remote_30_artizo-container_2_actions@5"
},
{
"command": "artizo.reopenInHost",
"when": "remoteName =~ /^artizo-container/",
"group": "remote_30_artizo-container_2_actions@9"
},
{
"command": "artizo.reopenInHost",
"when": "remoteName =~ /^ssh-remote$/",
"group": "remote_20_ssh-remote_1general@9"
},
{
"command": "artizo.revealLogTerminal",
"when": "remoteName =~ /^ssh-remote$/",
"group": "remote_20_ssh-remote_1general@10"
},
{
"command": "artizo.revealLogTerminal",
"group": "remote_30_artizo-container_2_actions@10"
}
],
"view/title": [
{
"command": "artizo.ports.add",
"when": "view == artizo.portsView",
"group": "navigation"
},
{
"command": "artizo.explorer.refresh",
"when": "view == artizo.explorer",
"group": "navigation"
},
{
"command": "artizo.addConfiguration",
"when": "view == artizo.explorer && workspaceFolderCount != 0",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "artizo.ports.remove",
"when": "view == artizo.portsView && viewItem == forwardedPort",
"group": "inline"
},
{
"command": "artizo.ports.setLabel",
"when": "view == artizo.portsView && viewItem == forwardedPort",
"group": "navigation"
},
{
"command": "artizo.explorer.connectNewWindow",
"when": "view == artizo.explorer && viewItem == container-running",
"group": "inline@1"
},
{
"command": "artizo.explorer.connectCurrentWindow",
"when": "view == artizo.explorer && viewItem == container-running",
"group": "navigation@1"
},
{
"command": "artizo.explorer.connectNewWindow",
"when": "view == artizo.explorer && viewItem == container-running",
"group": "navigation@2"
},
{
"command": "artizo.explorer.stopContainer",
"when": "view == artizo.explorer && viewItem == container-running",
"group": "navigation@3"
},
{
"command": "artizo.explorer.showLogs",
"when": "view == artizo.explorer && viewItem == container-running",
"group": "navigation@4"
},
{
"command": "artizo.explorer.removeContainer",
"when": "view == artizo.explorer && viewItem =~ /^container-/",
"group": "navigation@9"
},
{
"command": "artizo.explorer.startContainer",
"when": "view == artizo.explorer && viewItem == container-stopped",
"group": "navigation@1"
},
{
"command": "artizo.explorer.connectNewWindow",
"when": "view == artizo.explorer && viewItem == recent-folder",
"group": "inline@1"
},
{
"command": "artizo.explorer.connectCurrentWindow",
"when": "view == artizo.explorer && viewItem == recent-folder",
"group": "navigation@1"
},
{
"command": "artizo.explorer.connectNewWindow",
"when": "view == artizo.explorer && viewItem == recent-folder",
"group": "navigation@2"
},
{
"command": "artizo.explorer.removeRecentFolder",
"when": "view == artizo.explorer && viewItem == recent-folder",
"group": "navigation@9"
},
{
"command": "artizo.explorer.inspectVolume",
"when": "view == artizo.explorer && viewItem == volume",
"group": "navigation@1"
},
{
"command": "artizo.explorer.cloneInVolume",
"when": "view == artizo.explorer && viewItem == volume",
"group": "navigation@2"
},
{
"command": "artizo.explorer.removeVolume",
"when": "view == artizo.explorer && viewItem == volume",
"group": "navigation@9"
}
]
},
"resourceLabelFormatters": [
{
"scheme": "vscode-remote",
"authority": "artizo-container+*",
"formatting": {
"label": "${path}",
"separator": "/",
"tildify": true,
"workspaceSuffix": "Dev Container"
}
},
{
"scheme": "vscode-remote",
"authority": "attached-container+*",
"formatting": {
"label": "${path}",
"separator": "/",
"tildify": true,
"workspaceSuffix": "Container"
}
}
],
"configuration": {
"title": "Artizo DevContainers",
"properties": {
"artizo.copyGitConfig": {
"type": "boolean",
"default": true,
"description": "Copy host .gitconfig into dev containers. Can be disabled per-container by setting \"disableCopyGitConfig\": true in devcontainer.json."
},
"artizo.dotfiles.repository": {
"type": "string",
"default": "",
"description": "Dotfiles repository URL to clone into containers."
},
"artizo.dotfiles.installCommand": {
"type": "string",
"default": "",
"description": "Command to run after cloning dotfiles."
},
"artizo.dotfiles.targetPath": {
"type": "string",
"default": "~/dotfiles",
"description": "Target path for dotfiles inside the container."
},
"artizo.defaultExtensions": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Extensions to install in every dev container."
},
"artizo.dockerPath": {
"type": "string",
"default": "docker",
"description": "Path to the Docker executable."
},
"artizo.sshPath": {
"type": "string",
"default": "",
"description": "Path to the ssh executable used for remote SSH tunnels and side-load. When empty, Artizo uses the Windows OpenSSH client if present, otherwise ssh from PATH."
},
"artizo.askpass": {
"type": "boolean",
"default": true,
"description": "Surface SSH password and passphrase prompts as VS Code input boxes. When disabled, SSH runs with BatchMode=yes and fails fast instead of prompting - use this if you rely only on key-based auth."
},
"artizo.askpassCacheTtl": {
"type": "integer",
"default": 8,
"minimum": 0,
"description": "Hours that cached SSH passphrases/passwords survive. 0 = never expire. On activate, if the cache file is older than this, it is wiped. Default 8 (one work session)."
},
"artizo.askpassKeyRotationDays": {
"type": "integer",
"default": 7,
"minimum": 0,
"description": "Days before the askpass cache master key rotates. On rotation, the cache is cleared and the user is re-prompted on next use. 0 = never rotate. Default 7."
},
"artizo.logLevel": {
"type": "string",
"enum": [
"info",
"debug",
"trace"
],
"enumDescriptions": [
"Standard logging (default)",
"Detailed diagnostic output",
"Maximum verbosity"
],
"default": "info",
"description": "Logging verbosity level for the Dev Containers extension."
},
"artizo.remote.ssh.mirrorExtensions": {
"type": "boolean",
"default": false,
"description": "Copy locally-installed extensions to the SSH remote host during setup. Opt in by enabling this setting."
},
"artizo.serverDownload": {
"type": "object",
"default": {},
"markdownDescription": "**Use the [configuration wizard](command:artizo.configureServerDownload) instead of editing here.** The wizard provides auto-detection, fork templates, a test button, checksum setup, and guided configuration.\n\nAdvanced: this object holds `mode` (\"auto\" or \"custom\"), `template` (URL template, used when mode is custom), `binaryName` (override for server binary name), `checksumMethod` (\"sidecar\" or \"manifest\"), `checksumAlgo` (\"sha256\" | \"md5\" | \"\"), `manifestTemplate` (JSON manifest URL template), `manifestField` (hash field name in manifest), `verifyChecksum` (boolean, default true), and `onNoChecksum` (\"warn\" | \"allow\" | \"abort\", default \"warn\").",
"scope": "application"
}
}
}
},
"dependencies": {
"ajv": "^8.17.0",
"cacache": "^21.0.1",
"comment-json": "^5.0.0",
"js-yaml": "^4.1.0",
"jsonc-parser": "^3.3.1",
"vscode-uri": "^3.1.0",
"yauzl": "^3.4.0"
},
"platform": {
"name": "Kiro",
"dataFolderName": ".kiro",
"serverApplicationName": "kiro-server",
"needsArgvPatch": true,
"additionalDockerRunArgs": []
},
"scripts": {
"build": "node esbuild.config.mjs",
"watch": "node esbuild.config.mjs --watch",
"typecheck": "tsc --noEmit && tsc --noEmit --project tsconfig.test.json",
"lint": "tsc --noEmit && tsc --noEmit --project tsconfig.test.json && eslint && knip && node scripts/guard-pkg.mjs",
"test": "vitest run --exclude test/integration/**",
"test:coverage": "vitest run --exclude test/integration/** --coverage",
"test:integration": "vitest run test/integration/ --testTimeout=60000",
"test:all": "vitest run",
"package:kiro": "node scripts/build-vsix.mjs --target=kiro",
"package:trae": "node scripts/build-vsix.mjs --target=trae",
"package:devin": "node scripts/build-vsix.mjs --target=devin",
"package:vscodium": "node scripts/build-vsix.mjs --target=vscodium"
},
"devDependencies": {
"@eslint/js": "^9.0.0",
"@types/cacache": "^20.0.1",
"@types/js-yaml": "^4.0.9",
"@types/node": "^22.0.0",
"@types/vscode": "^1.85.0",
"@types/yauzl": "^3.4.0",
"@vitest/coverage-v8": "^4.1.8",
"@vscode/vsce": "^3.9.2",
"esbuild": "^0.25.0",
"eslint": "^10.8.0",
"fast-check": "^3.23.0",
"knip": "^6.15.0",
"ovsx": "^0.10.12",
"typescript": "^5.8.0",
"typescript-eslint": "^8.0.0",
"upng-js": "^2.1.0",
"vitest": "^4.1.8"
}
}