rspace-online/shared/local-first
Jeff Emmett 22db2f439f feat: client-side encryption wiring + space scoping UI (Phase 5+6)
Phase 5 — EncryptID → DocCrypto bridge:
- Add EncryptedDocBridge connecting WebAuthn PRF to document encryption
- Add per-doc relay mode to SyncServer (encrypted spaces bypass participant mode)
- Wire encryption toggle to syncServer.setRelayOnly() on PATCH /:slug/encryption
- Restore relay mode for encrypted spaces on server startup
- Initialize DocBridge from PRF on login, clear on sign-out (both login-button + identity)
- Use bridge helpers for encrypted backup toggle in My Account

Phase 6 — Space scoping UI:
- Add "Modules" tab to Edit Space modal (enable/disable modules, scope toggles, encryption)
- Auto-filter app switcher by space's enabledModules via renderShell()
- Show "G" badge on global-scoped modules in app switcher
- Show lock icon in header for encrypted spaces
- Add getSpaceShellMeta() helper for auto-populating shell options

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 14:50:16 -08:00
..
compute.ts Add 7-layer local-first data infrastructure 2026-02-23 01:12:06 +00:00
crypto.ts Add 7-layer local-first data infrastructure 2026-02-23 01:12:06 +00:00
document.ts Add 7-layer local-first data infrastructure 2026-02-23 01:12:06 +00:00
encryptid-bridge.ts feat: client-side encryption wiring + space scoping UI (Phase 5+6) 2026-03-02 14:50:16 -08:00
index.ts Add 7-layer local-first data infrastructure 2026-02-23 01:12:06 +00:00
memory-card.ts Add 7-layer local-first data infrastructure 2026-02-23 01:12:06 +00:00
query.ts Add 7-layer local-first data infrastructure 2026-02-23 01:12:06 +00:00
storage.ts Add 7-layer local-first data infrastructure 2026-02-23 01:12:06 +00:00
sync.ts fix: pass auth token in WebSocket connections for private spaces 2026-02-28 22:08:07 -08:00