feat: allow disabling provider update checks (#3130)
Co-authored-by: codex <[email protected]>
This commit is contained in:
1 parent
3e01c4bc57
commit
5d4e2fae01
14 files changed
+239
-57
No files matched your search
@@ -668,6 +668,33 @@ export function GeneralSettingsPanel() {
|
||||
}
|
||||
/>
|
||||
|
||||
<SettingsRow
|
||||
title="Provider update checks"
|
||||
description="Check installed provider CLIs for newer available versions."
|
||||
resetAction={
|
||||
settings.enableProviderUpdateChecks !==
|
||||
DEFAULT_UNIFIED_SETTINGS.enableProviderUpdateChecks ? (
|
||||
<SettingResetButton
|
||||
label="provider update checks"
|
||||
onClick={() =>
|
||||
updateSettings({
|
||||
enableProviderUpdateChecks: DEFAULT_UNIFIED_SETTINGS.enableProviderUpdateChecks,
|
||||
})
|
||||
}
|
||||
/>
|
||||
) : null
|
||||
}
|
||||
control={
|
||||
<Switch
|
||||
checked={settings.enableProviderUpdateChecks}
|
||||
onCheckedChange={(checked) =>
|
||||
updateSettings({ enableProviderUpdateChecks: Boolean(checked) })
|
||||
}
|
||||
aria-label="Check provider versions"
|
||||
/>
|
||||
}
|
||||
/>
|
||||
|
||||
<SettingsRow
|
||||
title="Auto-open task panel"
|
||||
description="Open the right-side plan and task panel automatically when steps appear."
|
||||
|
||||
Reference in new issue
Block a user