Fix environment manager hardening issues

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
starr-openai
2026-04-21 10:35:53 -07:00
co-authored by Codex
parent a6c81a05fd
commit e354201dd8
6 changed files with 141 additions and 98 deletions
+4 -2
View File
@@ -25,9 +25,11 @@ struct RemoteExecProcess {
}
impl RemoteProcess {
pub(crate) fn new(client: LazyRemoteExecServerClient) -> Self {
pub(crate) fn new(websocket_url: String) -> Self {
trace!("remote process new");
Self { client }
Self {
client: LazyRemoteExecServerClient::new(websocket_url),
}
}
}