refactor(runtime-install): orchestrate through executor primitives

This commit is contained in:
acrognale-oai
2026-06-15 12:12:48 +00:00
parent 2444692c12
commit 2ac7dc97f3
22 changed files with 1357 additions and 1418 deletions
-1
View File
@@ -18,7 +18,6 @@ codex-apply-patch = { workspace = true }
codex-exec-server = { workspace = true }
codex-install-context = { workspace = true }
codex-linux-sandbox = { workspace = true }
codex-runtime-install = { workspace = true }
codex-sandboxing = { workspace = true }
codex-shell-escalation = { workspace = true }
codex-utils-absolute-path = { workspace = true }
-4
View File
@@ -7,7 +7,6 @@ use std::path::PathBuf;
use codex_apply_patch::CODEX_CORE_APPLY_PATCH_ARG1;
use codex_exec_server::CODEX_FS_HELPER_ARG1;
use codex_install_context::InstallContext;
use codex_runtime_install::CODEX_RUNTIME_INSTALL_HELPER_ARG1;
use codex_sandboxing::landlock::CODEX_LINUX_SANDBOX_ARG0;
use codex_utils_home_dir::find_codex_home;
#[cfg(unix)]
@@ -100,9 +99,6 @@ pub fn arg0_dispatch() -> Option<Arg0PathEntryGuard> {
if argv1 == CODEX_FS_HELPER_ARG1 {
codex_exec_server::run_fs_helper_main();
}
if argv1 == CODEX_RUNTIME_INSTALL_HELPER_ARG1 {
codex_runtime_install::run_runtime_install_helper_main();
}
if argv1 == CODEX_CORE_APPLY_PATCH_ARG1 {
let patch_arg = args.next().and_then(|s| s.to_str().map(str::to_owned));
let exit_code = match patch_arg {