Remove path-specific environment factory

Use EnvironmentManager::new with EnvironmentManagerArgs for runtime-path-aware construction and keep from_env only for the no-args env-var factory.

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
starr-openai
2026-04-21 10:35:52 -07:00
co-authored by Codex
parent 36eb75bc7a
commit c215ff4e36
6 changed files with 29 additions and 24 deletions
+1
View File
@@ -45,6 +45,7 @@ use codex_config::NoopThreadConfigLoader;
use codex_core::config::Config;
use codex_core::config_loader::CloudRequirementsLoader;
use codex_core::config_loader::LoaderOverrides;
pub use codex_exec_server::CODEX_EXEC_SERVER_URL_ENV_VAR;
pub use codex_exec_server::EnvironmentManager;
pub use codex_exec_server::EnvironmentManagerArgs;
pub use codex_exec_server::ExecServerRuntimePaths;