mirror of
https://github.com/openai/codex.git
synced 2026-05-01 01:47:18 +00:00
Add exec-server filesystem RPCs and a core-side remote filesystem client, then route unified-exec and filesystem-backed tools through that backend when enabled by config. Also add Docker-backed remote exec integration coverage for the local codex-exec CLI. Co-authored-by: Codex <noreply@openai.com>
22 lines
641 B
Rust
22 lines
641 B
Rust
mod filesystem;
|
|
mod handler;
|
|
mod processor;
|
|
mod routing;
|
|
mod transport;
|
|
|
|
pub(crate) use handler::ExecServerHandler;
|
|
pub(crate) use routing::ExecServerOutboundMessage;
|
|
pub(crate) use routing::ExecServerServerNotification;
|
|
pub use transport::ExecServerTransport;
|
|
pub use transport::ExecServerTransportParseError;
|
|
|
|
pub async fn run_main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
|
|
run_main_with_transport(ExecServerTransport::Stdio).await
|
|
}
|
|
|
|
pub async fn run_main_with_transport(
|
|
transport: ExecServerTransport,
|
|
) -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
|
|
transport::run_transport(transport).await
|
|
}
|