mirror of
https://github.com/openai/codex.git
synced 2026-11-24 23:22:05 +00:00
Add a native Windows MXC sandbox adapter (#42841)
## What changed - Add `codex-mxc-sandbox` with native MXC availability detection and a launcher that inherits standard I/O and waits for the sandboxed process. - Reject unsupported learning-mode and fallback policies, and verify deny-path support before launch. - Route the existing Windows MXC availability metric through the new crate and move its Windows linking dependencies alongside the adapter. GitOrigin-RevId: e2a220b85718e00b0e710c30bbe66b6c56958176
This commit is contained in:
1 parent
773f0b081d
commit
60888d0868
8 files changed
+136
-16
No files matched your search
@@ -0,0 +1,29 @@
|
||||
[package]
|
||||
name = "codex-mxc-sandbox"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
[lib]
|
||||
test = false
|
||||
doctest = false
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
# This direct dependency pins MXC's transitive ETW dependency for Windows GNU linking.
|
||||
[package.metadata.cargo-shear]
|
||||
ignored = ["tracelogging"]
|
||||
|
||||
[dependencies]
|
||||
anyhow = { workspace = true }
|
||||
codex-protocol = { workspace = true }
|
||||
wxc_common = { workspace = true }
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
appcontainer_common = { workspace = true }
|
||||
learning_mode_windows = { workspace = true }
|
||||
# 1.2.4 imports OneCore_apiset, which the GNU Windows toolchain does not ship.
|
||||
tracelogging = "=1.2.3"
|
||||
|
||||
[dev-dependencies]
|
||||
Reference in new issue
Block a user