feat: expand companion platform, device controls, and memoir workflows
ci / verify (push) Canceled after 0s

Add customer and operator login, BLE provisioning, device fleet controls, call memory, memoir generation, and refreshed family and maintenance portals. Include API contracts, migrations, firmware sources, tests, assets, and deployment documentation.
This commit is contained in:
Codex Local
2026-10-08 10:06:44 +08:00
parent 98fb2965d0
commit bf1233d5df
861 changed files with 94614 additions and 3209 deletions
+21 -7
View File
@@ -3,20 +3,34 @@ $projectRoot = Split-Path -Parent $PSScriptRoot
Set-Location -LiteralPath $projectRoot
docker compose config --quiet
if ($LASTEXITCODE -ne 0) { throw 'Docker Compose configuration is invalid.' }
docker compose up --build -d
if ($LASTEXITCODE -ne 0) { throw 'Docker Compose startup failed. Check the error above.' }
# A rebuilt API container may have a new address while the web image is cached.
docker compose exec -T web nginx -s reload
if ($LASTEXITCODE -ne 0) { throw 'Could not refresh the web proxy after startup.' }
function Get-LocalServiceURL([string]$Service, [int]$ContainerPort) {
$binding = docker compose port $Service $ContainerPort | Select-Object -First 1
if ($LASTEXITCODE -ne 0 -or !$binding -or $binding -notmatch ':(\d+)$') {
throw "No published port found for $Service."
}
return "http://localhost:$($Matches[1])"
}
$apiURL = Get-LocalServiceURL 'api' 8080
Write-Host 'Waiting for API readiness...'
for ($attempt = 1; $attempt -le 60; $attempt++) {
try {
$response = Invoke-RestMethod -Uri 'http://localhost:58080/health/ready' -TimeoutSec 2
$response = Invoke-RestMethod -Uri "$apiURL/health/ready" -TimeoutSec 2
if ($response.data.status -eq 'ready') {
Write-Host 'Local environment is ready:'
Write-Host ' Web http://localhost:3100'
Write-Host ' API http://localhost:58080'
Write-Host ' Callbacks http://localhost:58081'
Write-Host ' Worker http://localhost:58082'
Write-Host ' MinIO http://localhost:59001'
Write-Host ' Keycloak http://localhost:58180'
Write-Host " Web $(Get-LocalServiceURL 'web' 8080)"
Write-Host " API $apiURL"
Write-Host " Callbacks $(Get-LocalServiceURL 'callbacks' 8081)"
Write-Host " Worker $(Get-LocalServiceURL 'worker' 8082)"
Write-Host " MinIO $(Get-LocalServiceURL 'minio' 9001)"
Write-Host " Keycloak $(Get-LocalServiceURL 'keycloak' 8080)"
exit 0
}
} catch {