The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(install): reject broken copied uv shims
KoNit-K23298685f0aa
diff --git a/scripts/install.ps1 b/scripts/install.ps1index 7294bc20516..61fb60e8272 100644--- a/scripts/install.ps1+++ b/scripts/install.ps1@@ -840,10 +840,14 @@ function Install-Uv {if ($existingUv) {Write-Info "Salvaging existing uv from $existingUv"try {- Copy-Item $existingUv $managedUv -Force# Verify the salvaged binary actually runs before# trusting it as the managed uv.- $null = & $managedUv --version+ Copy-Item $existingUv $managedUv -Force+ $salvagedVersion = & $managedUv --version+ if ($LASTEXITCODE -ne 0) {+ Write-Info "Copied uv at $managedUv failed validation; continuing fallback"+ Remove-Item $managedUv -Force -ErrorAction SilentlyContinue+ }} catch {Write-Info "Existing uv at $existingUv could not be salvaged: $_"Remove-Item $managedUv -Force -ErrorAction SilentlyContinue