mirror of
https://github.com/openai/codex.git
synced 2026-05-17 09:43:19 +00:00
Keep MCP patch approval test unsandboxed
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -3,7 +3,4 @@ load("//:defs.bzl", "codex_rust_crate")
|
||||
codex_rust_crate(
|
||||
name = "mcp-server",
|
||||
crate_name = "codex_mcp_server",
|
||||
extra_binaries = [
|
||||
"//codex-rs/bwrap:bwrap",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -261,6 +261,10 @@ async fn patch_approval_triggers_elicitation() -> anyhow::Result<()> {
|
||||
.send_codex_tool_call(CodexToolCallParam {
|
||||
cwd: Some(cwd.path().to_string_lossy().to_string()),
|
||||
prompt: "please modify the test file".to_string(),
|
||||
config: Some(HashMap::from([(
|
||||
"sandbox_mode".to_string(),
|
||||
json!("danger-full-access"),
|
||||
)])),
|
||||
..Default::default()
|
||||
})
|
||||
.await?;
|
||||
|
||||
Reference in New Issue
Block a user