Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Advertise shell snapshot v2 support on Unix (#40376)

jif4beea50e26dd
diff --git a/codex-rs/exec-server-protocol/src/protocol.rs b/codex-rs/exec-server-protocol/src/protocol.rs
index 07d7b586c4..8c171eabd9 100644
--- a/codex-rs/exec-server-protocol/src/protocol.rs
+++ b/codex-rs/exec-server-protocol/src/protocol.rs
@@ -194,7 +194,7 @@ impl EnvironmentInfo {
environment_config_read: true,
http_header_env_vars: true,
sandboxed_file_streaming: true,
- shell_snapshot_v2: false,
+ shell_snapshot_v2: cfg!(unix),
},
}
}