listInstalled only returned name and version, leaving the size and the
origin repository empty for installed packages. Enrich each entry with
its installed size (parsed from pacman -Qi) and the repository it was
installed from (parsed from pacman -Sl), defaulting foreign/AUR
packages to "AUR" so the origin is always visible.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>