InvalidSettingsNotice
Tell the user that a settings file failed validation and is ignored, and offer a way out. Place it above the chat or at the top of a settings screen. The description is built from the problem count: pass errors to show the count and an expandable ValidationErrorsList (Show details), or only count when the details are not available. The color follows the errors: red when at least one is an error, yellow when all are warnings; severity overrides it. Actions appear only for the callbacks you pass: Open file (onOpenFile), Continue without this file (onContinueWithout, which may return a promise: the button shows a loader and a rejection message is shown inside the alert) and a close button (onDismiss). defaultExpanded opens the details initially; title, description and labels (with labels.list for the error list) replace the English texts.
$pnpm add @sinups/ai-kit @mantine/core @mantine/hooks @tabler/icons-react