mirror of
https://github.com/openai/codex.git
synced 2026-09-10 20:26:47 +00:00
Enable the V8 sandbox directly in the host
This commit is contained in:
1
codex-rs/Cargo.lock
generated
1
codex-rs/Cargo.lock
generated
@@ -2518,6 +2518,7 @@ dependencies = [
|
||||
"serde_json",
|
||||
"tokio",
|
||||
"tokio-util",
|
||||
"v8",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
||||
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user