Revert exec-server filesystem default wiring

Restore codex-rs/exec-server/src/server/filesystem.rs to the main-branch version as requested.

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
starr-openai
2026-03-19 16:24:24 -07:00
parent fa160b1699
commit 1734a1fef0

View File

@@ -22,8 +22,8 @@ use codex_app_server_protocol::JSONRPCErrorError;
use crate::CopyOptions;
use crate::CreateDirectoryOptions;
use crate::Environment;
use crate::ExecutorFileSystem;
use crate::LocalFileSystem;
use crate::RemoveOptions;
use crate::rpc::internal_error;
use crate::rpc::invalid_request;
@@ -36,7 +36,7 @@ pub(crate) struct ExecServerFileSystem {
impl Default for ExecServerFileSystem {
fn default() -> Self {
Self {
file_system: Arc::new(LocalFileSystem),
file_system: Arc::new(Environment.get_filesystem()),
}
}
}