mirror of
https://github.com/openai/codex.git
synced 2026-11-19 22:30:42 +00:00
## What changed Update `mxc-sdk` and use its V1 API to launch commands in a `ProcessContainer` with inherited stdio. Build the V1 request from Codex's filesystem, network, UI, and environment settings. Cache the SDK's ProcessContainer availability probe and surface failures to create the security environment at launch. Let the SDK reject deny paths the host cannot enforce and drop Codex's direct `flatbuffers` dependency. ## Testing Update the request-building tests to check the V1 filesystem and network policies, including loopback access for proxied commands. GitOrigin-RevId: 0fb9955b5df847595c142f5fd1da7a0cc83e1c28
44 lines
1.2 KiB
TOML
44 lines
1.2 KiB
TOML
[package]
|
|
name = "codex-mxc-sandbox"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[lib]
|
|
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-network-proxy = { workspace = true }
|
|
codex-protocol = { workspace = true }
|
|
codex-utils-absolute-path = { workspace = true }
|
|
codex-utils-path-uri = { workspace = true }
|
|
codex-windows-sandbox = { workspace = true }
|
|
mxc-sdk = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
# 1.2.4 imports OneCore_apiset, which the GNU Windows toolchain does not ship.
|
|
tracelogging = "=1.2.3"
|
|
windows-sys = { workspace = true, features = [
|
|
"Win32_Foundation",
|
|
"Win32_Storage_FileSystem",
|
|
"Win32_System_Com",
|
|
"Win32_System_SystemInformation",
|
|
"Win32_System_WindowsProgramming",
|
|
"Win32_UI_Shell",
|
|
] }
|
|
|
|
[dev-dependencies]
|
|
pretty_assertions = { workspace = true }
|
|
tempfile = { workspace = true }
|