Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
fix(installer): avoid PowerShell stderr install failures
cyh6fcc9cb4dfcf
diff --git a/install.ps1 b/install.ps1index cdf023805..23720ec58 100644--- a/install.ps1+++ b/install.ps1@@ -84,36 +84,78 @@ function Install-Uv {}}-function Invoke-UvToolInstallAttempt {- param([string[]]$Arguments)+function Invoke-NativeCommand {+ param(+ [string]$FilePath,+ [string[]]$Arguments+ )- $hasNativeCommandPreference = $null -ne (Get-Variable -Name PSNativeCommandUseErrorActionPreference -ErrorAction SilentlyContinue)- if ($hasNativeCommandPreference) {- $originalNativeCommandPreference = $PSNativeCommandUseErrorActionPreference- $PSNativeCommandUseErrorActionPreference = $false- }+ $stdoutPath = [System.IO.Path]::GetTempFileName()+ $stderrPath = [System.IO.Path]::GetTempFileName()try {- $installOutput = (& uv tool install @Arguments 2>&1) | Out-String- $exitCode = $LASTEXITCODE+ $process = Start-Process -FilePath $FilePath `+ -ArgumentList $Arguments `+ -RedirectStandardOutput $stdoutPath `+ -RedirectStandardError $stderrPath `+ -NoNewWindow `+ -Wait `+ -PassThru `+ -ErrorAction Stop++ $stdout = if (Test-Path $stdoutPath) { [System.IO.File]::ReadAllText($stdoutPath) } else { "" }+ $stderr = if (Test-Path $stderrPath) { [System.IO.File]::ReadAllText($stderrPath) } else { "" }+ $capturedOutput = @()++ foreach ($streamOutput in @($stdout, $stderr)) {+ $trimmedOutput = $streamOutput.Trim()+ if ($trimmedOutput) {+ $capturedOutput += $trimmedOutput+ }+ }+return @{- Success = ($exitCode -eq 0)- ExitCode = $exitCode- Output = $installOutput.Trim()+ Success = ($process.ExitCode -eq 0)+ ExitCode = $process.ExitCode+ Output = ($capturedOutput -join [System.Environment]::NewLine).Trim()}} catch {+ $capturedOutput = @()++ foreach ($path in @($stdoutPath, $stderrPath)) {+ if (Test-Path $path) {+ $streamOutput = [System.IO.File]::ReadAllText($path).Trim()+ if ($streamOutput) {+ $capturedOutput += $streamOutput+ }+ }+ }++ $errorText = ($_ | Out-String).Trim()+ if ($errorText) {+ $capturedOutput += $errorText+ }+return @{Success = $false- ExitCode = if ($LASTEXITCODE -ne $null) { $LASTEXITCODE } else { 1 }- Output = ($_ | Out-String).Trim()+ ExitCode = 1+ Output = ($capturedOutput -join [System.Environment]::NewLine).Trim()}} finally {- if ($hasNativeCommandPreference) {- $PSNativeCommandUseErrorActionPreference = $originalNativeCommandPreference+ foreach ($path in @($stdoutPath, $stderrPath)) {+ if (Test-Path $path) {+ Remove-Item $path -Force -ErrorAction SilentlyContinue+ }}}}+function Invoke-UvToolInstallAttempt {+ param([string[]]$Arguments)++ return Invoke-NativeCommand -FilePath "uv" -Arguments (@("tool", "install") + $Arguments)+}+function Install-Vibe {Write-Info "Installing vibe-remote (Python will be downloaded automatically if needed)..."