Preserve upstream's CLI extraction and carry the installer stderr drain fix into main_install_repair alongside managed_uv.