mirror of
https://github.com/openai/codex.git
synced 2026-04-30 11:21:34 +03:00
Introduce executor-backed environment APIs
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>
This commit is contained in:
@@ -2,6 +2,7 @@ mod client;
|
||||
mod client_api;
|
||||
mod connection;
|
||||
mod environment;
|
||||
mod executor;
|
||||
mod fs;
|
||||
mod local;
|
||||
mod protocol;
|
||||
@@ -29,12 +30,29 @@ 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;
|
||||
|
||||
Reference in New Issue
Block a user