Add guided Hub setup (#3318)

* feat(cli): add Hub init wizard

Reuse the existing login, daemon enrollment, project listing, and deploy paths so onboarding stays compatible with current Hub servers. Generated triggers require an explicit sender allowlist and existing bundles are never modified.

* fix(cli): stop Hub init until daemon is ready

A durable Hub relationship can be reconnecting without being ready to execute workflows. Keep enrollment skipped, but stop the wizard until daemon status reports connected.

* fix(cli): wait for Hub daemon readiness

Both fresh enrollment and reconnect paths can expose a durable relationship before the execution socket is connected. Poll the existing status RPC with a bounded wait before resolving projects or deploying.

* fix(cli): make hub init detect resolvable resources
This commit is contained in:
Mohamed Boudra
2026-08-13 16:24:38 +02:00
committed by GitHub
parent 1a6054138d
commit 90f3d95415
10 changed files with 1019 additions and 10 deletions
@@ -21,6 +21,7 @@ describe("Hub commands", () => {
assert.deepEqual(names, [
"login",
"init",
"connect",
"status",
"disconnect",