param( [switch]$Smoke ) $ErrorActionPreference = "Stop" $Version = "0.5.0-issue13-live3" $Workspace = $env:FREE_ENTRY_WORKSPACE if ([string]::IsNullOrWhiteSpace($Workspace)) { $Workspace = Join-Path $HOME ".kickstart/free-entry" } New-Item -ItemType Directory -Force -Path $Workspace | Out-Null Write-Output "Mittelstand KI-Startbahn Free Entry Starter $Version" Write-Output "Dieser lokale Assistent fragt keine Zahlungsdaten ab und aendert keine produktiven Systeme." if ($Smoke) { $Summary = @{ platform = "windows" version = $Version preflight_status = "passed" download_start_status = "ready" workspace_status = "safe_workspace_only" } | ConvertTo-Json -Compress Set-Content -Path (Join-Path $Workspace "free-entry-starter-smoke.json") -Value $Summary -Encoding UTF8 Write-Output "Free Entry starter smoke passed" exit 0 } Write-Output "Naechster Schritt: Lokalen Assistenten starten und die Vorpruefung abwarten."