Make Environment construction async-only for process setup

Remove sync Default from Environment, construct the local process client
with connect_in_process() in create(None), and switch the fs-only app
server default to a local filesystem constructor.

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
starr-openai
2026-03-19 14:56:20 -07:00
co-authored by Codex
parent bdfd5abcca
commit e60eeec4bf
2 changed files with 24 additions and 98 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ pub(crate) struct FsApi {
impl Default for FsApi {
fn default() -> Self {
Self {
file_system: Arc::new(Environment::default().get_filesystem()),
file_system: Arc::new(Environment::local_filesystem()),
}
}
}