diff --git a/packages/ui/src/components/sections/openchamber/OpenCodeCliSettings.tsx b/packages/ui/src/components/sections/openchamber/OpenCodeCliSettings.tsx index b889774e..e78090d3 100644 --- a/packages/ui/src/components/sections/openchamber/OpenCodeCliSettings.tsx +++ b/packages/ui/src/components/sections/openchamber/OpenCodeCliSettings.tsx @@ -1,11 +1,13 @@ import * as React from 'react'; import { Button } from '@/components/ui/button'; +import { Checkbox } from '@/components/ui/checkbox'; import { Input } from '@/components/ui/input'; import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip'; import { Icon } from "@/components/icon/Icon"; import { isDesktopShell, isTauriShell } from '@/lib/desktop'; import { updateDesktopSettings } from '@/lib/persistence'; import { reloadOpenCodeConfiguration } from '@/stores/useAgentsStore'; +import { useUIStore } from '@/stores/useUIStore'; import { useI18n } from '@/lib/i18n'; export const OpenCodeCliSettings: React.FC = () => { @@ -13,6 +15,8 @@ export const OpenCodeCliSettings: React.FC = () => { const [value, setValue] = React.useState(''); const [isLoading, setIsLoading] = React.useState(true); const [isSaving, setIsSaving] = React.useState(false); + const showOpenCodeUpdateNotifications = useUIStore((state) => state.showOpenCodeUpdateNotifications); + const setShowOpenCodeUpdateNotifications = useUIStore((state) => state.setShowOpenCodeUpdateNotifications); React.useEffect(() => { let cancelled = false; @@ -148,6 +152,17 @@ export const OpenCodeCliSettings: React.FC = () => { + +