mirror of
https://github.com/openai/codex.git
synced 2026-04-28 10:21:06 +03:00
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.
28 lines
740 B
Rust
28 lines
740 B
Rust
mod client;
|
|
mod client_api;
|
|
mod connection;
|
|
mod environment;
|
|
mod fs;
|
|
mod protocol;
|
|
mod rpc;
|
|
mod server;
|
|
|
|
pub use client::ExecServerClient;
|
|
pub use client::ExecServerError;
|
|
pub use client_api::ExecServerClientConnectOptions;
|
|
pub use client_api::RemoteExecServerConnectArgs;
|
|
pub use environment::Environment;
|
|
pub use fs::CopyOptions;
|
|
pub use fs::CreateDirectoryOptions;
|
|
pub use fs::ExecutorFileSystem;
|
|
pub use fs::FileMetadata;
|
|
pub use fs::FileSystemResult;
|
|
pub use fs::ReadDirectoryEntry;
|
|
pub use fs::RemoveOptions;
|
|
pub use protocol::InitializeParams;
|
|
pub use protocol::InitializeResponse;
|
|
pub use server::DEFAULT_LISTEN_URL;
|
|
pub use server::ExecServerListenUrlParseError;
|
|
pub use server::run_main;
|
|
pub use server::run_main_with_listen_url;
|