Switchbordswitchbord
v0.14.6

Inbox Local Cache Foundation

Adds the first foundation for cached-first inbox history: architecture plan, message delta API, and browser-safe local cache primitives.

What's new in v0.14.6


Inbox local cache foundation


  • Added the staged architecture plan for cached-first inbox history, delta sync, realtime reconciliation, and virtualized long-thread rendering.
  • Added a workspace-scoped message delta API for latest message pages, after-watermark sync, and before-cursor older-history pagination.
  • Added browser-safe inbox cache primitives with IndexedDB storage, memory fallback, scoped conversation/message/sync metadata records, cache pruning, and workspace cache clearing.

Safety and rollout guardrails


  • Local cache records are scoped by workspace and cache owner to prevent cross-workspace leakage.
  • Cached conversation/contact/media data is minimized: no binary media blobs, no data/blob URLs, and no wholesale raw contact or conversation persistence.
  • Optimistic local messages reconcile with server messages by scoped clientMessageId so future cached-first phases do not duplicate outbound bubbles.

Status


  • No cached-first UI behavior is enabled yet. This release is the planning/API/cache-primitive foundation for the next read-through and realtime-to-cache phases.