feat(mosaic): unified first-run UX wizard -> gateway install -> verify (#418)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/publish Pipeline was successful

This commit was merged in pull request #418.
This commit is contained in:
2026-04-05 07:29:17 +00:00
parent a531029c5b
commit 872c124581
6 changed files with 471 additions and 20 deletions

View File

@@ -188,6 +188,16 @@ export function registerGatewayCommand(program: Command): void {
runLogs({ follow: cmdOpts.follow, lines: parseInt(cmdOpts.lines ?? '50', 10) });
});
// ─── verify ─────────────────────────────────────────────────────────────
gw.command('verify')
.description('Verify the gateway installation (health, token, bootstrap endpoint)')
.action(async () => {
const opts = resolveOpts(gw.opts() as GatewayParentOpts);
const { runVerify } = await import('./gateway/verify.js');
await runVerify(opts);
});
// ─── uninstall ──────────────────────────────────────────────────────────
gw.command('uninstall')