[LocalMode] Dependency-free browser helpers shared by LocalMode UI components: formatBytes, validateFile, readFileAsDataUrl, downloadBlob, the useObjectUrl hook, and the image/canvas ops getImageDimensions, applyMaskToImage, imageResultToDataUrl, downloadDataUrl plus the pure compositeMaskAlpha kernel. No AI, n
pnpm dlx shadcn@latest add "https://registry.directory/r/localmode-ai/ui/lib/browser-utils.json"