param( [Parameter(Mandatory = $true)][string]$ModelPath, [Parameter(Mandatory = $true)][string]$ModelSha256, [string]$Output = "dist/SilverPose-V1" ) $ErrorActionPreference = "Stop" $projectRoot = (Resolve-Path (Join-Path $PSScriptRoot "..\..")).Path Set-Location $projectRoot python -m v1.release build --project-root $projectRoot --model-path $ModelPath --model-sha256 $ModelSha256 --output $Output if ($LASTEXITCODE -ne 0) { throw "V1 release package build failed with exit code $LASTEXITCODE" }