mirror of
https://github.com/openai/codex.git
synced 2026-04-28 02:11:08 +03:00
Route unified exec through Environment executor sessions and move AGENTS, skill content, and read_file reads onto the environment filesystem. Co-authored-by: Codex <noreply@openai.com>
77 lines
2.6 KiB
Rust
77 lines
2.6 KiB
Rust
mod client;
|
|
mod client_api;
|
|
mod connection;
|
|
mod environment;
|
|
mod executor;
|
|
mod fs;
|
|
mod local;
|
|
mod protocol;
|
|
mod rpc;
|
|
mod server;
|
|
|
|
pub use client::ExecServerClient;
|
|
pub use client::ExecServerError;
|
|
pub use client_api::ExecServerClientConnectOptions;
|
|
pub use client_api::ExecServerEvent;
|
|
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::FsReadDirectoryEntry;
|
|
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::EnvironmentError;
|
|
pub use executor::ExecError;
|
|
pub use executor::ExecExit;
|
|
pub use executor::ExecOutputEvent;
|
|
pub use executor::ExecSession;
|
|
pub use executor::ExecSpawnRequest;
|
|
pub use executor::Executor;
|
|
pub use executor::InheritedFd;
|
|
pub use executor::LocalExecSession;
|
|
pub use executor::LocalExecutor;
|
|
pub use executor::PtySize;
|
|
pub use executor::RemoteExecSession;
|
|
pub use executor::RemoteExecutor;
|
|
pub use executor::SandboxKind;
|
|
pub use fs::CopyOptions;
|
|
pub use fs::CreateDirectoryOptions;
|
|
pub use fs::ExecutorFileSystem;
|
|
pub use fs::FileMetadata;
|
|
pub use fs::FileSystemResult;
|
|
pub use fs::FsError;
|
|
pub use fs::LocalFileSystem;
|
|
pub use fs::ReadDirectoryEntry;
|
|
pub use fs::RemoteFileSystem;
|
|
pub use fs::RemoveOptions;
|
|
pub use local::ExecServerLaunchCommand;
|
|
pub use local::SpawnedExecServer;
|
|
pub use local::spawn_local_exec_server;
|
|
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;
|