[LocalMode] A React error boundary that isolates a render failure in its subtree: it catches the error, renders a compact recoverable role=alert notice with the message and a Reset button that clears the error and re-renders the children, so one failing surface cannot blank the whole page. A structural copy-own
pnpm dlx shadcn@latest add "https://registry.directory/r/localmode-ai/ui/results/mode-error-boundary.json"