diff --git a/codex-rs/core/src/tasks/user_shell.rs b/codex-rs/core/src/tasks/user_shell.rs index 9f5fd19286..17d8d8c445 100644 --- a/codex-rs/core/src/tasks/user_shell.rs +++ b/codex-rs/core/src/tasks/user_shell.rs @@ -428,8 +428,8 @@ async fn execute_remote_user_shell_command( let parsed_cmd = parse_command(&display_command); let call_id = Uuid::new_v4().to_string(); let raw_command = command; - let cwd = turn_environment.cwd.clone(); - let cwd_uri = cwd.clone().into(); + let cwd = turn_environment.cwd().clone(); + let cwd_uri = turn_environment.cwd_uri().clone(); session .send_event(