Simplify exec-server runtime paths

Route Linux filesystem sandboxing through the configured Codex executable instead of carrying a separate linux-sandbox helper path through ExecServerRuntimePaths.

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
starr-openai
2026-04-15 13:38:54 -07:00
parent ab715021e6
commit e5e2aca735
14 changed files with 31 additions and 106 deletions

View File

@@ -50,10 +50,7 @@ async fn create_file_system_context(use_remote: bool) -> Result<FileSystemContex
})
} else {
let helper_paths = test_codex_helper_paths()?;
let runtime_paths = ExecServerRuntimePaths::new(
helper_paths.codex_exe.clone(),
helper_paths.codex_linux_sandbox_exe.clone(),
)?;
let runtime_paths = ExecServerRuntimePaths::new(helper_paths.codex_exe.clone())?;
Ok(FileSystemContext {
file_system: Arc::new(LocalFileSystem::with_runtime_paths(runtime_paths)),
_helper_paths: Some(helper_paths),