Commit Graph
6 Commits
Author SHA1 Message Date
weishu 8735877f24 fix(hub): initialize reflect metadata before passkey dependencies 2026-11-16 18:16:57 +08:00
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
weishu a04275b51d chore: upgrade Bun to 1.4.0 2026-08-25 13:31:59 +08:00
weishu 83795c0630 Clean up cross-package build coupling 2026-05-20 19:29:43 +08:00
lekoandGitHub ce2e76a42e Add Windows remote terminal support (#642) 2026-05-19 07:54:12 +08:00
weishu 37e10a831b feat: rename server package to hub
Rename the `server/` directory to `hub/` and update all references
across CLI, docs, web, and workspace configuration.
2026-01-27 19:51:21 +08:00