mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Remove Windows world-writable scans and warnings from the TUI (#44933)
## What changed Remove TUI-triggered world-writable scans at startup and during permission changes, along with their warning dialogs, acknowledgement handling, and scan telemetry. Permission selection and shortcuts no longer check for these warnings, and terminal color probing no longer waits for a startup scan. GitOrigin-RevId: a8d2fb5de7f891dcae5261286743fe3a125b82aa
This commit is contained in:
1 parent
202d61c629
commit
f3c4d082d9
13 files changed
+4
-615
No files matched your search
@@ -55,13 +55,12 @@ impl ChatWidget {
|
||||
{
|
||||
continue;
|
||||
}
|
||||
// These modes still need the explicit Windows setup/warning flow.
|
||||
// Agent mode still needs explicit Windows setup.
|
||||
#[cfg(target_os = "windows")]
|
||||
if preset.id == "auto"
|
||||
&& reviewer == ApprovalsReviewer::User
|
||||
&& (crate::windows_sandbox::level_from_config(&self.config)
|
||||
&& crate::windows_sandbox::level_from_config(&self.config)
|
||||
== WindowsSandboxLevel::Disabled
|
||||
|| self.world_writable_warning_details().is_some())
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user