agentuity-vscode 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +475 -2
- package/src/core/cliClient.ts +477 -0
- package/src/core/index.ts +1 -0
- package/src/core/readonlyDocument.ts +11 -0
- package/src/core/sandboxManager.ts +483 -0
- package/src/extension.ts +14 -0
- package/src/features/chat/agentTools.ts +254 -1
- package/src/features/sandboxExplorer/index.ts +1375 -0
- package/src/features/sandboxExplorer/sandboxTreeData.ts +803 -0
- package/src/features/sandboxExplorer/statusBar.ts +383 -0
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "agentuity-vscode",
|
|
3
3
|
"displayName": "Agentuity VSCode Extension",
|
|
4
4
|
"description": "Build, deploy, and manage AI agents with Agentuity",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.7",
|
|
6
6
|
"publisher": "agentuity",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"repository": {
|
|
@@ -201,6 +201,152 @@
|
|
|
201
201
|
"command": "agentuity.generateSkills",
|
|
202
202
|
"title": "Generate AI Skills",
|
|
203
203
|
"category": "Agentuity"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"command": "agentuity.sandbox.refresh",
|
|
207
|
+
"title": "Refresh Sandboxes",
|
|
208
|
+
"category": "Agentuity",
|
|
209
|
+
"icon": "$(refresh)"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"command": "agentuity.sandbox.showQuickPick",
|
|
213
|
+
"title": "Sandbox Quick Actions",
|
|
214
|
+
"category": "Agentuity",
|
|
215
|
+
"icon": "$(vm)"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"command": "agentuity.sandbox.create",
|
|
219
|
+
"title": "Create Sandbox",
|
|
220
|
+
"category": "Agentuity",
|
|
221
|
+
"icon": "$(add)"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"command": "agentuity.sandbox.createFromSnapshot",
|
|
225
|
+
"title": "Create Sandbox from Snapshot",
|
|
226
|
+
"category": "Agentuity"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"command": "agentuity.sandbox.delete",
|
|
230
|
+
"title": "Delete Sandbox",
|
|
231
|
+
"category": "Agentuity",
|
|
232
|
+
"icon": "$(trash)"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"command": "agentuity.sandbox.link",
|
|
236
|
+
"title": "Link Sandbox to Workspace",
|
|
237
|
+
"category": "Agentuity",
|
|
238
|
+
"icon": "$(link)"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"command": "agentuity.sandbox.unlink",
|
|
242
|
+
"title": "Unlink Sandbox",
|
|
243
|
+
"category": "Agentuity",
|
|
244
|
+
"icon": "$(debug-disconnect)"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"command": "agentuity.sandbox.sync",
|
|
248
|
+
"title": "Sync Project to Sandbox",
|
|
249
|
+
"category": "Agentuity",
|
|
250
|
+
"icon": "$(sync)"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"command": "agentuity.sandbox.exec",
|
|
254
|
+
"title": "Execute Command in Sandbox",
|
|
255
|
+
"category": "Agentuity",
|
|
256
|
+
"icon": "$(terminal)"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"command": "agentuity.sandbox.viewFile",
|
|
260
|
+
"title": "View File",
|
|
261
|
+
"category": "Agentuity",
|
|
262
|
+
"icon": "$(go-to-file)"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"command": "agentuity.sandbox.download",
|
|
266
|
+
"title": "Download",
|
|
267
|
+
"category": "Agentuity",
|
|
268
|
+
"icon": "$(cloud-download)"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"command": "agentuity.sandbox.upload",
|
|
272
|
+
"title": "Upload to Sandbox",
|
|
273
|
+
"category": "Agentuity",
|
|
274
|
+
"icon": "$(cloud-upload)"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"command": "agentuity.sandbox.deleteFile",
|
|
278
|
+
"title": "Delete File",
|
|
279
|
+
"category": "Agentuity",
|
|
280
|
+
"icon": "$(trash)"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"command": "agentuity.sandbox.createFile",
|
|
284
|
+
"title": "New File",
|
|
285
|
+
"category": "Agentuity",
|
|
286
|
+
"icon": "$(new-file)"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"command": "agentuity.sandbox.createFolder",
|
|
290
|
+
"title": "New Folder",
|
|
291
|
+
"category": "Agentuity",
|
|
292
|
+
"icon": "$(new-folder)"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"command": "agentuity.sandbox.copyPath",
|
|
296
|
+
"title": "Copy Path",
|
|
297
|
+
"category": "Agentuity",
|
|
298
|
+
"icon": "$(copy)"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"command": "agentuity.sandbox.viewExecution",
|
|
302
|
+
"title": "View Execution",
|
|
303
|
+
"category": "Agentuity",
|
|
304
|
+
"icon": "$(output)"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"command": "agentuity.sandbox.setEnv",
|
|
308
|
+
"title": "Set Environment Variable",
|
|
309
|
+
"category": "Agentuity"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"command": "agentuity.sandbox.viewEnv",
|
|
313
|
+
"title": "View Environment",
|
|
314
|
+
"category": "Agentuity"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"command": "agentuity.sandbox.syncEnvFile",
|
|
318
|
+
"title": "Sync .env to Sandbox",
|
|
319
|
+
"category": "Agentuity"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"command": "agentuity.sandbox.snapshot.create",
|
|
323
|
+
"title": "Create Snapshot",
|
|
324
|
+
"category": "Agentuity",
|
|
325
|
+
"icon": "$(device-camera)"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"command": "agentuity.sandbox.snapshot.delete",
|
|
329
|
+
"title": "Delete Snapshot",
|
|
330
|
+
"category": "Agentuity",
|
|
331
|
+
"icon": "$(trash)"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"command": "agentuity.sandbox.snapshot.tag",
|
|
335
|
+
"title": "Tag Snapshot",
|
|
336
|
+
"category": "Agentuity",
|
|
337
|
+
"icon": "$(tag)"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"command": "agentuity.sandbox.snapshot.viewDetails",
|
|
341
|
+
"title": "View Snapshot Details",
|
|
342
|
+
"category": "Agentuity",
|
|
343
|
+
"icon": "$(json)"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"command": "agentuity.sandbox.snapshot.viewFile",
|
|
347
|
+
"title": "View Snapshot File",
|
|
348
|
+
"category": "Agentuity",
|
|
349
|
+
"icon": "$(go-to-file)"
|
|
204
350
|
}
|
|
205
351
|
],
|
|
206
352
|
"viewsContainers": {
|
|
@@ -219,6 +365,11 @@
|
|
|
219
365
|
"name": "Agents",
|
|
220
366
|
"contextualTitle": "Agentuity Agents"
|
|
221
367
|
},
|
|
368
|
+
{
|
|
369
|
+
"id": "agentuity.sandboxes",
|
|
370
|
+
"name": "Sandboxes",
|
|
371
|
+
"contextualTitle": "Agentuity Sandboxes"
|
|
372
|
+
},
|
|
222
373
|
{
|
|
223
374
|
"id": "agentuity.deployments",
|
|
224
375
|
"name": "Deployments",
|
|
@@ -267,6 +418,16 @@
|
|
|
267
418
|
"command": "agentuity.data.refresh",
|
|
268
419
|
"when": "view == agentuity.data",
|
|
269
420
|
"group": "navigation"
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"command": "agentuity.sandbox.refresh",
|
|
424
|
+
"when": "view == agentuity.sandboxes",
|
|
425
|
+
"group": "navigation"
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"command": "agentuity.sandbox.create",
|
|
429
|
+
"when": "view == agentuity.sandboxes",
|
|
430
|
+
"group": "navigation"
|
|
270
431
|
}
|
|
271
432
|
],
|
|
272
433
|
"view/item/context": [
|
|
@@ -319,6 +480,132 @@
|
|
|
319
480
|
"command": "agentuity.agent.viewSessions",
|
|
320
481
|
"when": "view == agentuity.agents && viewItem == agent",
|
|
321
482
|
"group": "2_actions"
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"command": "agentuity.sandbox.exec",
|
|
486
|
+
"when": "view == agentuity.sandboxes && viewItem =~ /^sandbox\\.(idle|running)/",
|
|
487
|
+
"group": "inline"
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"command": "agentuity.sandbox.sync",
|
|
491
|
+
"when": "view == agentuity.sandboxes && viewItem =~ /\\.linked/",
|
|
492
|
+
"group": "inline"
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"command": "agentuity.sandbox.exec",
|
|
496
|
+
"when": "view == agentuity.sandboxes && viewItem =~ /^sandbox\\.(idle|running)/",
|
|
497
|
+
"group": "1_execute@1"
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"command": "agentuity.sandbox.sync",
|
|
501
|
+
"when": "view == agentuity.sandboxes && viewItem =~ /\\.linked/",
|
|
502
|
+
"group": "2_sync@1"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"command": "agentuity.sandbox.link",
|
|
506
|
+
"when": "view == agentuity.sandboxes && viewItem =~ /^sandbox\\.idle/ && viewItem !~ /linked/",
|
|
507
|
+
"group": "3_link@1"
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"command": "agentuity.sandbox.unlink",
|
|
511
|
+
"when": "view == agentuity.sandboxes && viewItem =~ /\\.linked/",
|
|
512
|
+
"group": "3_link@2"
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"command": "agentuity.sandbox.snapshot.create",
|
|
516
|
+
"when": "view == agentuity.sandboxes && viewItem =~ /^sandbox\\.(idle|running)/",
|
|
517
|
+
"group": "4_snapshot@1"
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"command": "agentuity.sandbox.setEnv",
|
|
521
|
+
"when": "view == agentuity.sandboxes && viewItem =~ /^sandbox\\.(idle|running)/",
|
|
522
|
+
"group": "5_env@1"
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"command": "agentuity.sandbox.viewEnv",
|
|
526
|
+
"when": "view == agentuity.sandboxes && viewItem =~ /^sandbox\\.(idle|running)/",
|
|
527
|
+
"group": "5_env@2"
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"command": "agentuity.sandbox.syncEnvFile",
|
|
531
|
+
"when": "view == agentuity.sandboxes && viewItem =~ /^sandbox\\.(idle|running)/",
|
|
532
|
+
"group": "5_env@3"
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"command": "agentuity.sandbox.delete",
|
|
536
|
+
"when": "view == agentuity.sandboxes && viewItem =~ /^sandbox\\./",
|
|
537
|
+
"group": "9_delete@1"
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"command": "agentuity.sandbox.viewFile",
|
|
541
|
+
"when": "view == agentuity.sandboxes && viewItem == sandboxFile",
|
|
542
|
+
"group": "1_view@1"
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"command": "agentuity.sandbox.download",
|
|
546
|
+
"when": "view == agentuity.sandboxes && viewItem =~ /^sandboxFile/",
|
|
547
|
+
"group": "2_transfer@1"
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"command": "agentuity.sandbox.copyPath",
|
|
551
|
+
"when": "view == agentuity.sandboxes && viewItem =~ /^sandboxFile/",
|
|
552
|
+
"group": "inline"
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"command": "agentuity.sandbox.createFile",
|
|
556
|
+
"when": "view == agentuity.sandboxes && viewItem == sandboxCategory.files",
|
|
557
|
+
"group": "1_create@1"
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
"command": "agentuity.sandbox.createFolder",
|
|
561
|
+
"when": "view == agentuity.sandboxes && viewItem == sandboxCategory.files",
|
|
562
|
+
"group": "1_create@2"
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"command": "agentuity.sandbox.createFile",
|
|
566
|
+
"when": "view == agentuity.sandboxes && viewItem == sandboxFile.directory",
|
|
567
|
+
"group": "1_create@1"
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
"command": "agentuity.sandbox.createFolder",
|
|
571
|
+
"when": "view == agentuity.sandboxes && viewItem == sandboxFile.directory",
|
|
572
|
+
"group": "1_create@2"
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"command": "agentuity.sandbox.deleteFile",
|
|
576
|
+
"when": "view == agentuity.sandboxes && viewItem =~ /^sandboxFile/",
|
|
577
|
+
"group": "9_delete@1"
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
"command": "agentuity.sandbox.createFromSnapshot",
|
|
581
|
+
"when": "view == agentuity.sandboxes && viewItem =~ /^snapshot/",
|
|
582
|
+
"group": "1_create@1"
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
"command": "agentuity.sandbox.snapshot.tag",
|
|
586
|
+
"when": "view == agentuity.sandboxes && viewItem =~ /^snapshot/",
|
|
587
|
+
"group": "2_manage@1"
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
"command": "agentuity.sandbox.snapshot.viewDetails",
|
|
591
|
+
"when": "view == agentuity.sandboxes && viewItem =~ /^snapshot/",
|
|
592
|
+
"group": "2_manage@2"
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
"command": "agentuity.sandbox.snapshot.delete",
|
|
596
|
+
"when": "view == agentuity.sandboxes && viewItem =~ /^snapshot/",
|
|
597
|
+
"group": "9_delete@1"
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"command": "agentuity.sandbox.viewExecution",
|
|
601
|
+
"when": "view == agentuity.sandboxes && viewItem =~ /^execution/",
|
|
602
|
+
"group": "1_view@1"
|
|
603
|
+
}
|
|
604
|
+
],
|
|
605
|
+
"explorer/context": [
|
|
606
|
+
{
|
|
607
|
+
"command": "agentuity.sandbox.upload",
|
|
608
|
+
"group": "agentuity@1"
|
|
322
609
|
}
|
|
323
610
|
]
|
|
324
611
|
},
|
|
@@ -334,6 +621,40 @@
|
|
|
334
621
|
"type": "number",
|
|
335
622
|
"default": 3500,
|
|
336
623
|
"description": "Default port for the dev server."
|
|
624
|
+
},
|
|
625
|
+
"agentuity.sandbox.defaultMemory": {
|
|
626
|
+
"type": "string",
|
|
627
|
+
"default": "512Mi",
|
|
628
|
+
"description": "Default memory limit for new sandboxes (e.g., 512Mi, 1Gi, 2Gi)"
|
|
629
|
+
},
|
|
630
|
+
"agentuity.sandbox.defaultCpu": {
|
|
631
|
+
"type": "string",
|
|
632
|
+
"default": "500m",
|
|
633
|
+
"description": "Default CPU limit for new sandboxes in millicores (e.g., 500m, 1000m)"
|
|
634
|
+
},
|
|
635
|
+
"agentuity.sandbox.defaultNetwork": {
|
|
636
|
+
"type": "boolean",
|
|
637
|
+
"default": false,
|
|
638
|
+
"description": "Enable network access by default for new sandboxes"
|
|
639
|
+
},
|
|
640
|
+
"agentuity.sandbox.syncExclusions": {
|
|
641
|
+
"type": "array",
|
|
642
|
+
"items": {
|
|
643
|
+
"type": "string"
|
|
644
|
+
},
|
|
645
|
+
"default": [
|
|
646
|
+
".git",
|
|
647
|
+
"node_modules",
|
|
648
|
+
".agentuity",
|
|
649
|
+
"dist",
|
|
650
|
+
"build"
|
|
651
|
+
],
|
|
652
|
+
"description": "Additional patterns to exclude when syncing (in addition to .gitignore)"
|
|
653
|
+
},
|
|
654
|
+
"agentuity.sandbox.defaultRemotePath": {
|
|
655
|
+
"type": "string",
|
|
656
|
+
"default": "/home/agentuity/app",
|
|
657
|
+
"description": "Default path in sandbox for synced files"
|
|
337
658
|
}
|
|
338
659
|
}
|
|
339
660
|
},
|
|
@@ -580,6 +901,157 @@
|
|
|
580
901
|
}
|
|
581
902
|
}
|
|
582
903
|
}
|
|
904
|
+
},
|
|
905
|
+
{
|
|
906
|
+
"name": "agentuity_list_sandboxes",
|
|
907
|
+
"displayName": "List Sandboxes",
|
|
908
|
+
"toolReferenceName": "agentuity-sandboxes",
|
|
909
|
+
"icon": "$(vm)",
|
|
910
|
+
"userDescription": "List all sandboxes in the Agentuity cloud",
|
|
911
|
+
"modelDescription": "List all sandboxes available in the Agentuity cloud. Returns sandbox IDs, status (creating, idle, running, terminated, failed), creation time, and resource configuration. Use this to discover available sandboxes before executing commands or syncing files.",
|
|
912
|
+
"canBeReferencedInPrompt": true,
|
|
913
|
+
"when": "agentuity.authenticated",
|
|
914
|
+
"inputSchema": {
|
|
915
|
+
"type": "object",
|
|
916
|
+
"properties": {
|
|
917
|
+
"status": {
|
|
918
|
+
"type": "string",
|
|
919
|
+
"enum": [
|
|
920
|
+
"creating",
|
|
921
|
+
"idle",
|
|
922
|
+
"running",
|
|
923
|
+
"terminated",
|
|
924
|
+
"failed"
|
|
925
|
+
],
|
|
926
|
+
"description": "Filter sandboxes by status"
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
"name": "agentuity_create_sandbox",
|
|
933
|
+
"displayName": "Create Sandbox",
|
|
934
|
+
"toolReferenceName": "agentuity-create-sandbox",
|
|
935
|
+
"icon": "$(add)",
|
|
936
|
+
"userDescription": "Create a new sandbox in the Agentuity cloud",
|
|
937
|
+
"modelDescription": "Create a new sandbox environment in the Agentuity cloud. Sandboxes are isolated execution environments for running code. You can specify memory, CPU, disk, network access, and other configuration options. Returns the new sandbox ID and status.",
|
|
938
|
+
"canBeReferencedInPrompt": true,
|
|
939
|
+
"when": "agentuity.authenticated",
|
|
940
|
+
"inputSchema": {
|
|
941
|
+
"type": "object",
|
|
942
|
+
"properties": {
|
|
943
|
+
"memory": {
|
|
944
|
+
"type": "string",
|
|
945
|
+
"description": "Memory allocation (e.g., '512Mi', '1Gi')"
|
|
946
|
+
},
|
|
947
|
+
"cpu": {
|
|
948
|
+
"type": "string",
|
|
949
|
+
"description": "CPU allocation (e.g., '0.5', '1', '2')"
|
|
950
|
+
},
|
|
951
|
+
"network": {
|
|
952
|
+
"type": "boolean",
|
|
953
|
+
"description": "Whether to enable network access (default: true)",
|
|
954
|
+
"default": true
|
|
955
|
+
},
|
|
956
|
+
"snapshot": {
|
|
957
|
+
"type": "string",
|
|
958
|
+
"description": "Snapshot ID to restore from"
|
|
959
|
+
}
|
|
960
|
+
}
|
|
961
|
+
}
|
|
962
|
+
},
|
|
963
|
+
{
|
|
964
|
+
"name": "agentuity_sync_to_sandbox",
|
|
965
|
+
"displayName": "Sync to Sandbox",
|
|
966
|
+
"toolReferenceName": "agentuity-sync",
|
|
967
|
+
"icon": "$(sync)",
|
|
968
|
+
"userDescription": "Sync local project files to a sandbox",
|
|
969
|
+
"modelDescription": "Sync the current workspace files to a sandbox. Respects .gitignore by default. Use this to upload your code to a sandbox before executing it. Returns the number of files synced and bytes transferred.",
|
|
970
|
+
"canBeReferencedInPrompt": true,
|
|
971
|
+
"when": "agentuity.authenticated",
|
|
972
|
+
"inputSchema": {
|
|
973
|
+
"type": "object",
|
|
974
|
+
"properties": {
|
|
975
|
+
"sandboxId": {
|
|
976
|
+
"type": "string",
|
|
977
|
+
"description": "The sandbox ID to sync to"
|
|
978
|
+
},
|
|
979
|
+
"remotePath": {
|
|
980
|
+
"type": "string",
|
|
981
|
+
"description": "Remote path in sandbox (default: /home/agentuity/app)",
|
|
982
|
+
"default": "/home/agentuity/app"
|
|
983
|
+
},
|
|
984
|
+
"respectGitignore": {
|
|
985
|
+
"type": "boolean",
|
|
986
|
+
"description": "Whether to respect .gitignore rules (default: true)",
|
|
987
|
+
"default": true
|
|
988
|
+
}
|
|
989
|
+
},
|
|
990
|
+
"required": [
|
|
991
|
+
"sandboxId"
|
|
992
|
+
]
|
|
993
|
+
}
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
"name": "agentuity_execute_in_sandbox",
|
|
997
|
+
"displayName": "Execute in Sandbox",
|
|
998
|
+
"toolReferenceName": "agentuity-exec",
|
|
999
|
+
"icon": "$(play)",
|
|
1000
|
+
"userDescription": "Execute a command in a sandbox",
|
|
1001
|
+
"modelDescription": "Execute a shell command in a sandbox environment. The command runs in the sandbox's isolated environment. Returns the exit code and output. Use agentuity_sync_to_sandbox first to upload code, then execute it.",
|
|
1002
|
+
"canBeReferencedInPrompt": true,
|
|
1003
|
+
"when": "agentuity.authenticated",
|
|
1004
|
+
"inputSchema": {
|
|
1005
|
+
"type": "object",
|
|
1006
|
+
"properties": {
|
|
1007
|
+
"sandboxId": {
|
|
1008
|
+
"type": "string",
|
|
1009
|
+
"description": "The sandbox ID to execute in"
|
|
1010
|
+
},
|
|
1011
|
+
"command": {
|
|
1012
|
+
"type": "string",
|
|
1013
|
+
"description": "The command to execute"
|
|
1014
|
+
},
|
|
1015
|
+
"workdir": {
|
|
1016
|
+
"type": "string",
|
|
1017
|
+
"description": "Working directory for the command"
|
|
1018
|
+
},
|
|
1019
|
+
"env": {
|
|
1020
|
+
"type": "object",
|
|
1021
|
+
"description": "Environment variables to set"
|
|
1022
|
+
}
|
|
1023
|
+
},
|
|
1024
|
+
"required": [
|
|
1025
|
+
"sandboxId",
|
|
1026
|
+
"command"
|
|
1027
|
+
]
|
|
1028
|
+
}
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
"name": "agentuity_create_snapshot",
|
|
1032
|
+
"displayName": "Create Snapshot",
|
|
1033
|
+
"toolReferenceName": "agentuity-snapshot",
|
|
1034
|
+
"icon": "$(save)",
|
|
1035
|
+
"userDescription": "Create a snapshot of a sandbox",
|
|
1036
|
+
"modelDescription": "Create a snapshot of a sandbox's current state. Snapshots capture the filesystem and can be used to restore or clone sandboxes. Use this to save work or create reproducible environments.",
|
|
1037
|
+
"canBeReferencedInPrompt": true,
|
|
1038
|
+
"when": "agentuity.authenticated",
|
|
1039
|
+
"inputSchema": {
|
|
1040
|
+
"type": "object",
|
|
1041
|
+
"properties": {
|
|
1042
|
+
"sandboxId": {
|
|
1043
|
+
"type": "string",
|
|
1044
|
+
"description": "The sandbox ID to snapshot"
|
|
1045
|
+
},
|
|
1046
|
+
"tag": {
|
|
1047
|
+
"type": "string",
|
|
1048
|
+
"description": "Optional tag for the snapshot"
|
|
1049
|
+
}
|
|
1050
|
+
},
|
|
1051
|
+
"required": [
|
|
1052
|
+
"sandboxId"
|
|
1053
|
+
]
|
|
1054
|
+
}
|
|
583
1055
|
}
|
|
584
1056
|
],
|
|
585
1057
|
"walkthroughs": [
|
|
@@ -648,6 +1120,7 @@
|
|
|
648
1120
|
"typescript": "^5.9.0"
|
|
649
1121
|
},
|
|
650
1122
|
"dependencies": {
|
|
651
|
-
"jsonc-parser": "^3.3.1"
|
|
1123
|
+
"jsonc-parser": "^3.3.1",
|
|
1124
|
+
"tar": "^7.4.3"
|
|
652
1125
|
}
|
|
653
1126
|
}
|