mirror of
https://github.com/openai/codex.git
synced 2026-05-26 05:55:36 +00:00
## Summary - match the exec-process structure to filesystem PR #15232 - expose `ExecProcess` on `Environment` - make `LocalProcess` the real implementation and `RemoteProcess` a thin network proxy over `ExecServerClient` - make `ProcessHandler` a thin RPC adapter delegating to `LocalProcess` - add a shared local/remote process test ## Validation - `just fmt` - `CARGO_TARGET_DIR=~/.cache/cargo-target/codex cargo test -p codex-exec-server` - `just fix -p codex-exec-server` --------- Co-authored-by: Codex <noreply@openai.com>
61 lines
2.1 KiB
Rust
61 lines
2.1 KiB
Rust
mod client;
|
|
mod client_api;
|
|
mod connection;
|
|
mod environment;
|
|
mod file_system;
|
|
mod local_file_system;
|
|
mod local_process;
|
|
mod process;
|
|
mod protocol;
|
|
mod remote_file_system;
|
|
mod remote_process;
|
|
mod rpc;
|
|
mod server;
|
|
|
|
pub use client::ExecServerClient;
|
|
pub use client::ExecServerError;
|
|
pub use client_api::ExecServerClientConnectOptions;
|
|
pub use client_api::RemoteExecServerConnectArgs;
|
|
pub use codex_app_server_protocol::FsCopyParams;
|
|
pub use codex_app_server_protocol::FsCopyResponse;
|
|
pub use codex_app_server_protocol::FsCreateDirectoryParams;
|
|
pub use codex_app_server_protocol::FsCreateDirectoryResponse;
|
|
pub use codex_app_server_protocol::FsGetMetadataParams;
|
|
pub use codex_app_server_protocol::FsGetMetadataResponse;
|
|
pub use codex_app_server_protocol::FsReadDirectoryParams;
|
|
pub use codex_app_server_protocol::FsReadDirectoryResponse;
|
|
pub use codex_app_server_protocol::FsReadFileParams;
|
|
pub use codex_app_server_protocol::FsReadFileResponse;
|
|
pub use codex_app_server_protocol::FsRemoveParams;
|
|
pub use codex_app_server_protocol::FsRemoveResponse;
|
|
pub use codex_app_server_protocol::FsWriteFileParams;
|
|
pub use codex_app_server_protocol::FsWriteFileResponse;
|
|
pub use environment::Environment;
|
|
pub use environment::ExecutorEnvironment;
|
|
pub use file_system::CopyOptions;
|
|
pub use file_system::CreateDirectoryOptions;
|
|
pub use file_system::ExecutorFileSystem;
|
|
pub use file_system::FileMetadata;
|
|
pub use file_system::FileSystemResult;
|
|
pub use file_system::ReadDirectoryEntry;
|
|
pub use file_system::RemoveOptions;
|
|
pub use process::ExecProcess;
|
|
pub use process::ExecServerEvent;
|
|
pub use protocol::ExecExitedNotification;
|
|
pub use protocol::ExecOutputDeltaNotification;
|
|
pub use protocol::ExecOutputStream;
|
|
pub use protocol::ExecParams;
|
|
pub use protocol::ExecResponse;
|
|
pub use protocol::InitializeParams;
|
|
pub use protocol::InitializeResponse;
|
|
pub use protocol::ReadParams;
|
|
pub use protocol::ReadResponse;
|
|
pub use protocol::TerminateParams;
|
|
pub use protocol::TerminateResponse;
|
|
pub use protocol::WriteParams;
|
|
pub use protocol::WriteResponse;
|
|
pub use server::DEFAULT_LISTEN_URL;
|
|
pub use server::ExecServerListenUrlParseError;
|
|
pub use server::run_main;
|
|
pub use server::run_main_with_listen_url;
|