mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Separate Windows sandbox implementations from legacy setup modes (#45737)
## Why `allowedWindowsSandboxImplementations` uses the legacy setup-mode type, which cannot represent `mxc`. ## What changed - Introduce `WindowsSandboxImplementation` with `elevated`, `unelevated`, and `mxc` variants for configuration requirements, and update the generated schemas and TypeScript and Python types. - Keep `WindowsSandboxSetupMode` limited to `elevated` and `unelevated`, and update the requirements mapping and its test assertions to use the new type. - Document that clients selecting `mxc` skip the legacy setup and readiness APIs and use the standard `command/exec` streaming and process-control path. GitOrigin-RevId: c926e853f0bbdb29d4b437866c284c1394a7ea13
This commit is contained in:
1 parent
eeded5ba1a
commit
fbad00774b
13 files changed
+68
-16
No files matched your search
+4
-3
@@ -453,7 +453,7 @@
|
||||
},
|
||||
"allowedWindowsSandboxImplementations": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/WindowsSandboxSetupMode"
|
||||
"$ref": "#/definitions/WindowsSandboxImplementation"
|
||||
},
|
||||
"type": [
|
||||
"array",
|
||||
@@ -1085,10 +1085,11 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"WindowsSandboxSetupMode": {
|
||||
"WindowsSandboxImplementation": {
|
||||
"enum": [
|
||||
"elevated",
|
||||
"unelevated"
|
||||
"unelevated",
|
||||
"mxc"
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user