diff --git a/src/management/repair/auto-repair.ts b/src/management/repair/auto-repair.ts index 882bb3b1..b769bbc7 100644 --- a/src/management/repair/auto-repair.ts +++ b/src/management/repair/auto-repair.ts @@ -15,6 +15,7 @@ import { import { getPortProcess, isCLIProxyProcess } from '../../utils/port-utils'; import { killProcessOnPort, getPlatformName } from '../../utils/platform-commands'; import { createSpinner } from '../checks/types'; +import { fixImageAnalysisConfig } from '../checks/image-analysis-check'; const ora = createSpinner(); @@ -132,6 +133,20 @@ export async function runAutoRepair(): Promise { symlinkSpinner.fail(`${fail('Error')} Could not fix symlink: ${(err as Error).message}`); } + // Fix 5: Image analysis config validation + const imageSpinner = ora('Checking image analysis config').start(); + try { + const imageFixed = await fixImageAnalysisConfig(); + if (imageFixed) { + imageSpinner.succeed(`${ok('Fixed')} Repaired image analysis configuration`); + fixed++; + } else { + imageSpinner.succeed(`${ok('OK')} Image analysis config is valid`); + } + } catch (err) { + imageSpinner.fail(`${fail('Error')} Could not fix image config: ${(err as Error).message}`); + } + // Summary console.log(''); if (fixed > 0) { diff --git a/ui/src/components/shared/connection-indicator.tsx b/ui/src/components/shared/connection-indicator.tsx index 84932a53..3ce36825 100644 --- a/ui/src/components/shared/connection-indicator.tsx +++ b/ui/src/components/shared/connection-indicator.tsx @@ -11,7 +11,7 @@ export function ConnectionIndicator() { const { status, isReconnecting } = useWebSocket(); const statusConfig = { - connected: { icon: Wifi, color: 'text-green-600', label: 'Connected' }, + connected: { icon: Wifi, color: 'text-green-600', label: 'Connected', animate: false }, connecting: { icon: RefreshCw, color: 'text-yellow-500',