Move environment abstraction into exec server (#15125)

The idea is that codex-exec exposes an Environment struct with services
on it. Each of those is a trait.

Depending on construction parameters passed to Environment they are
either backed by local or remote server but core doesn't see these
differences.
This commit is contained in:
pakrym-oai
2026-03-19 08:31:14 -07:00
committed by GitHub
parent 32d2df5c1e
commit dee03da508
16 changed files with 43 additions and 72 deletions

View File

@@ -59,7 +59,7 @@ use chrono::Local;
use chrono::Utc;
use codex_app_server_protocol::McpServerElicitationRequest;
use codex_app_server_protocol::McpServerElicitationRequestParams;
use codex_environment::Environment;
use codex_exec_server::Environment;
use codex_hooks::HookEvent;
use codex_hooks::HookEventAfterAgent;
use codex_hooks::HookPayload;