Enable the V8 sandbox directly in the host

This commit is contained in:
Channing Conger
2026-06-11 11:30:12 -07:00
parent 6d8c21b33a
commit 83270c6283
2 changed files with 5 additions and 1 deletions

1
codex-rs/Cargo.lock generated
View File

@@ -2518,6 +2518,7 @@ dependencies = [
"serde_json",
"tokio",
"tokio-util",
"v8",
]
[[package]]

View File

@@ -12,11 +12,14 @@ path = "src/main.rs"
workspace = true
[dependencies]
codex-code-mode = { workspace = true, features = ["sandbox"] }
codex-code-mode = { workspace = true }
codex-code-mode-protocol = { workspace = true }
serde_json = { workspace = true }
tokio = { workspace = true, features = ["io-std", "io-util", "macros", "rt-multi-thread", "sync"] }
tokio-util = { workspace = true, features = ["rt"] }
# The host owns V8 process configuration, so enable the sandbox without an
# internal workspace-crate feature gate.
v8 = { workspace = true, features = ["v8_enable_sandbox"] }
[dev-dependencies]
codex-utils-cargo-bin = { workspace = true }