Files
hapi/docs/guide
weishu 809967b7c6 feat: sign in to the web app with passkeys
Add WebAuthn passkeys as another way to obtain a web JWT, so the browser
no longer has to keep CLI_API_TOKEN after the first sign-in.

- hub: passkey_credentials table (schema v36), register/list/delete
  routes behind the JWT, unauthenticated login routes with one-time
  challenges, and a 30-day passkey session exchanged via POST /api/auth.
  Passkeys are bound to the registering namespace, the browser origin
  (same host or an explicit CORS origin; HTTPS or localhost), and an
  HMAC fingerprint of CLI_API_TOKEN, so rotating the token revokes them.
- web: "Sign in with a passkey" on the login screen, Settings → Passkeys,
  passkey auth source with silent JWT refresh, en/zh-CN/ru strings.
- docs: client contract, hub README, PWA guide.
2026-11-16 16:48:05 +08:00
..