agt_sandbox 4.0.0__tar.gz

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.
Files changed (25) hide show
  1. agt_sandbox-4.0.0/.gitignore +472 -0
  2. agt_sandbox-4.0.0/LICENSE +2 -0
  3. agt_sandbox-4.0.0/PKG-INFO +313 -0
  4. agt_sandbox-4.0.0/README.md +266 -0
  5. agt_sandbox-4.0.0/pyproject.toml +86 -0
  6. agt_sandbox-4.0.0/src/agent_sandbox/__init__.py +102 -0
  7. agt_sandbox-4.0.0/src/agent_sandbox/aca_sandbox_provider/__init__.py +24 -0
  8. agt_sandbox-4.0.0/src/agent_sandbox/aca_sandbox_provider/aca_sandbox_provider.py +800 -0
  9. agt_sandbox-4.0.0/src/agent_sandbox/code_scanner.py +193 -0
  10. agt_sandbox-4.0.0/src/agent_sandbox/docker_provider/__init__.py +29 -0
  11. agt_sandbox-4.0.0/src/agent_sandbox/docker_provider/provider.py +1173 -0
  12. agt_sandbox-4.0.0/src/agent_sandbox/docker_provider/state.py +187 -0
  13. agt_sandbox-4.0.0/src/agent_sandbox/hyperlight_provider/__init__.py +33 -0
  14. agt_sandbox-4.0.0/src/agent_sandbox/hyperlight_provider/config.py +160 -0
  15. agt_sandbox-4.0.0/src/agent_sandbox/hyperlight_provider/provider.py +864 -0
  16. agt_sandbox-4.0.0/src/agent_sandbox/isolation_runtime.py +16 -0
  17. agt_sandbox-4.0.0/src/agent_sandbox/sandbox_provider.py +234 -0
  18. agt_sandbox-4.0.0/tests/__init__.py +2 -0
  19. agt_sandbox-4.0.0/tests/test_azure_sandbox.py +1169 -0
  20. agt_sandbox-4.0.0/tests/test_azure_sandbox_integration.py +409 -0
  21. agt_sandbox-4.0.0/tests/test_code_scanner.py +55 -0
  22. agt_sandbox-4.0.0/tests/test_docker_integration.py +540 -0
  23. agt_sandbox-4.0.0/tests/test_docker_sandbox.py +2217 -0
  24. agt_sandbox-4.0.0/tests/test_hyperlight_integration.py +857 -0
  25. agt_sandbox-4.0.0/tests/test_hyperlight_sandbox.py +775 -0
@@ -0,0 +1,472 @@
1
+ # Generated artifacts
2
+ sbom/
3
+
4
+ # Python
5
+ __pycache__/
6
+ *.py[cod]
7
+ *$py.class
8
+ *.egg-info/
9
+ dist/
10
+ build/
11
+ *.egg
12
+ .eggs/
13
+ .venv/
14
+ venv/
15
+ .pytest_cache/
16
+ .mypy_cache/
17
+ .ruff_cache/
18
+ .hypothesis/
19
+ .tox/
20
+ htmlcov/
21
+ .coverage
22
+ *.cover
23
+
24
+ # Node
25
+ node_modules/
26
+
27
+ # IDE
28
+ .vscode/
29
+ .idea/
30
+ *.swp
31
+ *.swo
32
+ .claude/
33
+ .opencode/
34
+
35
+ ## Ignore Visual Studio temporary files, build results, and
36
+ ## files generated by popular Visual Studio add-ons.
37
+ ##
38
+ ## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
39
+
40
+ # User-specific files
41
+ *.rsuser
42
+ *.suo
43
+ *.user
44
+ *.userosscache
45
+ *.sln.docstates
46
+ *.env
47
+
48
+ # User-specific files (MonoDevelop/Xamarin Studio)
49
+ *.userprefs
50
+
51
+ # Mono auto generated files
52
+ mono_crash.*
53
+
54
+ # Build results
55
+ [Dd]ebug/
56
+ [Dd]ebugPublic/
57
+ [Rr]elease/
58
+ [Rr]eleases/
59
+ x64/
60
+ x86/
61
+ [Ww][Ii][Nn]32/
62
+ [Aa][Rr][Mm]/
63
+ [Aa][Rr][Mm]64/
64
+ [Aa][Rr][Mm]64[Ee][Cc]/
65
+ bld/
66
+ [Oo]bj/
67
+ [Oo]ut/
68
+ [Ll]og/
69
+ [Ll]ogs/
70
+
71
+ # Build results on 'Bin' directories
72
+ **/[Bb]in/*
73
+ !agent-governance-antigravity-cli/bin/agt-antigravity.mjs
74
+ !agent-governance-opencode/bin/agt-node
75
+ !agent-governance-opencode/bin/agt-node.cmd
76
+ # Uncomment if you have tasks that rely on *.refresh files to move binaries
77
+ # (https://github.com/github/gitignore/pull/3736)
78
+ #!**/[Bb]in/*.refresh
79
+
80
+ # Visual Studio 2015/2017 cache/options directory
81
+ .vs/
82
+ # Uncomment if you have tasks that create the project's static files in wwwroot
83
+ #wwwroot/
84
+
85
+ # Visual Studio 2017 auto generated files
86
+ Generated\ Files/
87
+
88
+ # MSTest test Results
89
+ [Tt]est[Rr]esult*/
90
+ [Bb]uild[Ll]og.*
91
+ *.trx
92
+
93
+ # NUnit
94
+ *.VisualState.xml
95
+ TestResult.xml
96
+ nunit-*.xml
97
+
98
+ # Approval Tests result files
99
+ *.received.*
100
+
101
+ # Build Results of an ATL Project
102
+ [Dd]ebugPS/
103
+ [Rr]eleasePS/
104
+ dlldata.c
105
+
106
+ # Benchmark Results
107
+ BenchmarkDotNet.Artifacts/
108
+
109
+ # .NET Core
110
+ project.lock.json
111
+ project.fragment.lock.json
112
+ artifacts/
113
+
114
+ # ASP.NET Scaffolding
115
+ ScaffoldingReadMe.txt
116
+
117
+ # StyleCop
118
+ StyleCopReport.xml
119
+
120
+ # Files built by Visual Studio
121
+ *_i.c
122
+ *_p.c
123
+ *_h.h
124
+ *.ilk
125
+ *.meta
126
+ *.obj
127
+ *.idb
128
+ *.iobj
129
+ *.pch
130
+ *.pdb
131
+ *.ipdb
132
+ *.pgc
133
+ *.pgd
134
+ *.rsp
135
+ # but not Directory.Build.rsp, as it configures directory-level build defaults
136
+ !Directory.Build.rsp
137
+ *.sbr
138
+ *.tlb
139
+ *.tli
140
+ *.tlh
141
+ *.tmp
142
+ *.tmp_proj
143
+ *_wpftmp.csproj
144
+ *.log
145
+ *.tlog
146
+ *.vspscc
147
+ *.vssscc
148
+ .builds
149
+ *.pidb
150
+ *.svclog
151
+ *.scc
152
+
153
+ # Chutzpah Test files
154
+ _Chutzpah*
155
+
156
+ # Visual C++ cache files
157
+ ipch/
158
+ *.aps
159
+ *.ncb
160
+ *.opendb
161
+ *.opensdf
162
+ *.sdf
163
+ *.cachefile
164
+ *.VC.db
165
+ *.VC.VC.opendb
166
+
167
+ # Visual Studio profiler
168
+ *.psess
169
+ *.vsp
170
+ *.vspx
171
+ *.sap
172
+
173
+ # Visual Studio Trace Files
174
+ *.e2e
175
+
176
+ # TFS 2012 Local Workspace
177
+ $tf/
178
+
179
+ # Guidance Automation Toolkit
180
+ *.gpState
181
+
182
+ # ReSharper is a .NET coding add-in
183
+ _ReSharper*/
184
+ *.[Rr]e[Ss]harper
185
+ *.DotSettings.user
186
+
187
+ # TeamCity is a build add-in
188
+ _TeamCity*
189
+
190
+ # DotCover is a Code Coverage Tool
191
+ *.dotCover
192
+
193
+ # AxoCover is a Code Coverage Tool
194
+ .axoCover/*
195
+ !.axoCover/settings.json
196
+
197
+ # Coverlet is a free, cross platform Code Coverage Tool
198
+ coverage*.json
199
+ coverage*.xml
200
+ coverage*.info
201
+
202
+ # Visual Studio code coverage results
203
+ *.coverage
204
+ *.coveragexml
205
+
206
+ # NCrunch
207
+ _NCrunch_*
208
+ .NCrunch_*
209
+ .*crunch*.local.xml
210
+ nCrunchTemp_*
211
+
212
+ # MightyMoose
213
+ *.mm.*
214
+ AutoTest.Net/
215
+
216
+ # Web workbench (sass)
217
+ .sass-cache/
218
+
219
+ # Installshield output folder
220
+ [Ee]xpress/
221
+
222
+ # DocProject is a documentation generator add-in
223
+ DocProject/buildhelp/
224
+ DocProject/Help/*.HxT
225
+ DocProject/Help/*.HxC
226
+ DocProject/Help/*.hhc
227
+ DocProject/Help/*.hhk
228
+ DocProject/Help/*.hhp
229
+ DocProject/Help/Html2
230
+ DocProject/Help/html
231
+
232
+ # Click-Once directory
233
+ publish/
234
+
235
+ # Publish Web Output
236
+ *.[Pp]ublish.xml
237
+ *.azurePubxml
238
+ # Note: Comment the next line if you want to checkin your web deploy settings,
239
+ # but database connection strings (with potential passwords) will be unencrypted
240
+ *.pubxml
241
+ *.publishproj
242
+
243
+ # Microsoft Azure Web App publish settings. Comment the next line if you want to
244
+ # checkin your Azure Web App publish settings, but sensitive information contained
245
+ # in these scripts will be unencrypted
246
+ PublishScripts/
247
+
248
+ # NuGet Packages
249
+ *.nupkg
250
+ # NuGet Symbol Packages
251
+ *.snupkg
252
+ # The packages folder can be ignored because of Package Restore
253
+ # DISABLED: mono-repo; source code starts at repo root
254
+ # **/[Pp]ackages/*
255
+ # !**/[Pp]ackages/build/
256
+ # #!**/[Pp]ackages/repositories.config
257
+ # NuGet v3's project.json files produces more ignorable files
258
+ *.nuget.props
259
+ *.nuget.targets
260
+
261
+ # Microsoft Azure Build Output
262
+ csx/
263
+ *.build.csdef
264
+
265
+ # Microsoft Azure Emulator
266
+ ecf/
267
+ rcf/
268
+
269
+ # Windows Store app package directories and files
270
+ AppPackages/
271
+ BundleArtifacts/
272
+ Package.StoreAssociation.xml
273
+ _pkginfo.txt
274
+ *.appx
275
+ *.appxbundle
276
+ *.appxupload
277
+
278
+ # Visual Studio cache files
279
+ # files ending in .cache can be ignored
280
+ *.[Cc]ache
281
+ # but keep track of directories ending in .cache
282
+ !?*.[Cc]ache/
283
+
284
+ # Others
285
+ ClientBin/
286
+ ~$*
287
+ *~
288
+ *.dbmdl
289
+ *.dbproj.schemaview
290
+ *.jfm
291
+ *.pfx
292
+ *.publishsettings
293
+ orleans.codegen.cs
294
+
295
+ # Including strong name files can present a security risk
296
+ # (https://github.com/github/gitignore/pull/2483#issue-259490424)
297
+ #*.snk
298
+
299
+ # Since there are multiple workflows, uncomment next line to ignore bower_components
300
+ # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
301
+ #bower_components/
302
+
303
+ # RIA/Silverlight projects
304
+ Generated_Code/
305
+
306
+ # Backup & report files from converting an old project file
307
+ # to a newer Visual Studio version. Backup files are not needed,
308
+ # because we have git ;-)
309
+ _UpgradeReport_Files/
310
+ Backup*/
311
+ UpgradeLog*.XML
312
+ UpgradeLog*.htm
313
+ ServiceFabricBackup/
314
+ *.rptproj.bak
315
+
316
+ # SQL Server files
317
+ *.mdf
318
+ *.ldf
319
+ *.ndf
320
+
321
+ # Business Intelligence projects
322
+ *.rdl.data
323
+ *.bim.layout
324
+ *.bim_*.settings
325
+ *.rptproj.rsuser
326
+ *- [Bb]ackup.rdl
327
+ *- [Bb]ackup ([0-9]).rdl
328
+ *- [Bb]ackup ([0-9][0-9]).rdl
329
+
330
+ # Microsoft Fakes
331
+ FakesAssemblies/
332
+
333
+ # GhostDoc plugin setting file
334
+ *.GhostDoc.xml
335
+
336
+ # Node.js Tools for Visual Studio
337
+ .ntvs_analysis.dat
338
+ node_modules/
339
+
340
+ # Visual Studio 6 build log
341
+ *.plg
342
+
343
+ # Visual Studio 6 workspace options file
344
+ *.opt
345
+
346
+ # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
347
+ *.vbw
348
+
349
+ # Visual Studio 6 auto-generated project file (contains which files were open etc.)
350
+ *.vbp
351
+
352
+ # Visual Studio 6 workspace and project file (working project files containing files to include in project)
353
+ *.dsw
354
+ *.dsp
355
+
356
+ # Visual Studio 6 technical files
357
+ *.ncb
358
+ *.aps
359
+
360
+ # Visual Studio LightSwitch build output
361
+ **/*.HTMLClient/GeneratedArtifacts
362
+ **/*.DesktopClient/GeneratedArtifacts
363
+ **/*.DesktopClient/ModelManifest.xml
364
+ **/*.Server/GeneratedArtifacts
365
+ **/*.Server/ModelManifest.xml
366
+ _Pvt_Extensions
367
+
368
+ # Paket dependency manager
369
+ **/.paket/paket.exe
370
+ paket-files/
371
+
372
+ # FAKE - F# Make
373
+ **/.fake/
374
+
375
+ # CodeRush personal settings
376
+ **/.cr/personal
377
+
378
+ # Python Tools for Visual Studio (PTVS)
379
+ **/__pycache__/
380
+ *.pyc
381
+
382
+ # Cake - Uncomment if you are using it
383
+ #tools/**
384
+ #!tools/packages.config
385
+
386
+ # Tabs Studio
387
+ *.tss
388
+
389
+ # Telerik's JustMock configuration file
390
+ *.jmconfig
391
+
392
+ # BizTalk build output
393
+ *.btp.cs
394
+ *.btm.cs
395
+ *.odx.cs
396
+ *.xsd.cs
397
+
398
+ # OpenCover UI analysis results
399
+ OpenCover/
400
+
401
+ # Azure Stream Analytics local run output
402
+ ASALocalRun/
403
+
404
+ # MSBuild Binary and Structured Log
405
+ *.binlog
406
+ MSBuild_Logs/
407
+
408
+ # AWS SAM Build and Temporary Artifacts folder
409
+ .aws-sam
410
+
411
+ # NVidia Nsight GPU debugger configuration file
412
+ *.nvuser
413
+
414
+ # MFractors (Xamarin productivity tool) working folder
415
+ **/.mfractor/
416
+
417
+ # Local History for Visual Studio
418
+ **/.localhistory/
419
+
420
+ # Visual Studio History (VSHistory) files
421
+ .vshistory/
422
+
423
+ # BeatPulse healthcheck temp database
424
+ healthchecksdb
425
+
426
+ # Backup folder for Package Reference Convert tool in Visual Studio 2017
427
+ MigrationBackup/
428
+
429
+ # Ionide (cross platform F# VS Code tools) working folder
430
+ **/.ionide/
431
+
432
+ # Fody - auto-generated XML schema
433
+ FodyWeavers.xsd
434
+
435
+ # VS Code files for those working on multiple tools
436
+ .vscode/*
437
+ !.vscode/settings.json
438
+ !.vscode/tasks.json
439
+ !.vscode/launch.json
440
+ !.vscode/extensions.json
441
+ !.vscode/*.code-snippets
442
+
443
+ # Local History for Visual Studio Code
444
+ .history/
445
+
446
+ # Built Visual Studio Code Extensions
447
+ *.vsix
448
+
449
+ # Windows Installer files from build outputs
450
+ *.cab
451
+ *.msi
452
+ *.msix
453
+ *.msm
454
+ *.msp
455
+
456
+ # Token/secret files
457
+ .mcpregistry_*
458
+ *.token
459
+ .env
460
+ .env.*
461
+ _site/
462
+
463
+ # Build artifacts and caches
464
+ dist/
465
+ .hypothesis/
466
+ .pytest_cache/
467
+ .ruff_cache/
468
+ _site/
469
+
470
+ # Code Security Assessment artifacts
471
+ .security-assessment/
472
+ *.tgz
@@ -0,0 +1,2 @@
1
+ # Copyright (c) Microsoft Corporation.
2
+ # Licensed under the MIT License.