Add vector infrastructure maps and persistent location experience

This commit is contained in:
DCCONSTRUCTIONS
2026-10-10 14:35:50 +03:00
parent e095a43f00
commit 55f64f195b
38 changed files with 2317 additions and 14 deletions
@@ -35,6 +35,10 @@ foreach($entry in $manifest.PSObject.Properties) {
$count++
}
if($count -eq 0) { throw 'Empty release' }
# Validate startup imports with the installed interpreter while the old service
# still owns the runtime. --help cannot acquire a service lock or start models.
$preflight = & $old.Execute "$source\simulation\ai-polygon\realtime_worker.py" --help 2>&1
if($LASTEXITCODE -ne 0) { throw 'Worker startup preflight failed; installed service preserved' }
$arguments=$old.Arguments.Replace('ai-polygon-'+$ExpectedCurrentRelease,'ai-polygon-'+$Release)
if($EvidenceRoot) {
$EvidenceRoot=[IO.Path]::GetFullPath($EvidenceRoot)
@@ -70,6 +74,10 @@ if($Apply) {
}
Set-ScheduledTask -TaskName $name -Action $action | Out-Null
Start-ScheduledTask -TaskName $name
Start-Sleep -Seconds 3
if((Get-ScheduledTask -TaskName $name).State -ne 'Running') {
throw 'Worker exited after activation'
}
$report.applied=$true
} catch {
Set-ScheduledTask -TaskName $name -Action $old | Out-Null