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:
iceweasel-oai authored and copyberry committed 2026-09-15 17:17:07 +00:00
1 parent eeded5ba1a
commit fbad00774b
13 files changed
+68 -16

No files matched your search

@@ -9876,7 +9876,7 @@
},
"allowedWindowsSandboxImplementations": {
"items": {
"$ref": "#/definitions/v2/WindowsSandboxSetupMode"
"$ref": "#/definitions/v2/WindowsSandboxImplementation"
},
"type": [
"array",
@@ -25791,6 +25791,14 @@
},
"type": "object"
},
"WindowsSandboxImplementation": {
"enum": [
"elevated",
"unelevated",
"mxc"
],
"type": "string"
},
"WindowsSandboxReadiness": {
"enum": [
"ready",