mirror of
https://github.com/openai/codex.git
synced 2026-09-02 14:49:14 +00:00
## What changed - Move the reusable WebSocket relay, registration, frame capture, and encryption assertion helpers into `codex-exec-server-test-support`. - Re-export the helpers from the existing relay test module so its callers keep the same interface. - Add the Cargo dependencies and Bazel proto compile data required by the shared support module. GitOrigin-RevId: 0383149c79ef86cb5e64a09baec41332f9eec4c6
13 lines
424 B
Rust
13 lines
424 B
Rust
use codex_exec_server::EnvironmentManager;
|
|
use codex_http_client::HttpClientFactory;
|
|
use codex_http_client::OutboundProxyPolicy;
|
|
|
|
pub mod relay;
|
|
|
|
/// Builds a manager without environments using the legacy outbound HTTP policy.
|
|
pub fn environment_manager_without_environments() -> EnvironmentManager {
|
|
EnvironmentManager::without_environments(HttpClientFactory::new(
|
|
OutboundProxyPolicy::ReqwestDefault,
|
|
))
|
|
}
|