zeroclaw/web/src
SimianAstronaut7 1033287f38
fix(gateway): skip pairing dialog when require_pairing is disabled (#3422)
When `require_pairing = false` in config, the dashboard showed the
pairing dialog even though no pairing code exists, creating a deadlock.

Add `requiresPairing` field to AuthState (defaults to `true` as a safe
fallback) and update it from the `/health` endpoint response. Gate the
pairing dialog in App.tsx on both `!isAuthenticated` and
`requiresPairing` so the dashboard loads directly when pairing is
disabled.

Closes #3267

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 14:08:59 -04:00
..
components/layout fix(gateway): align dashboard API client and embed built web assets 2026-02-21 16:14:01 +08:00
hooks fix(gateway): skip pairing dialog when require_pairing is disabled (#3422) 2026-03-13 14:08:59 -04:00
lib fix: add crypto.randomUUID fallback for older browsers (#3407) 2026-03-13 09:16:00 -04:00
pages fix: add crypto.randomUUID fallback for older browsers (#3407) 2026-03-13 09:16:00 -04:00
types feat(gateway): add embedded web dashboard with React frontend 2026-02-21 16:14:01 +08:00
App.tsx fix(gateway): skip pairing dialog when require_pairing is disabled (#3422) 2026-03-13 14:08:59 -04:00
index.css feat(gateway): add embedded web dashboard with React frontend 2026-02-21 16:14:01 +08:00
main.tsx fix(gateway): align dashboard API client and embed built web assets 2026-02-21 16:14:01 +08:00
vite-env.d.ts feat(gateway): add embedded web dashboard with React frontend 2026-02-21 16:14:01 +08:00