mirror of
https://github.com/Routstr/routstrd.git
synced 2026-10-30 07:37:40 +00:00
`startDaemon` only waits for `/health`, so onboarding reached the integration step before models were loaded. On a cold start `/models` blocks while providers bootstrap, and can still come back empty when relays are slow. Since the installers now throw, that ended onboarding with a failure after the daemon and API key were already created. - Wait for a non-empty `/models` before installing OpenCode, OpenClaw and Pi (the integrations whose config embeds the model list), retrying for up to 5 min with a progress line every 10s. - Catch installer failures during onboarding and print a warning that points at `routstrd refresh`, so onboarding still reports completion. The installers keep throwing, so scheduled/bulk refresh still counts real failures.