mirror of
https://github.com/block/buzz.git
synced 2026-11-01 15:01:12 +00:00
Implements the manual-unread override manager layer on top of the slice-1 wire protocol: - Full-state fetch without a since filter; isLoadComplete gate blocks publish, deleteExtraSlots, markChannelUnread, and markChannelRead until a sub-limit response confirms no truncation. - Override register merge in mergeEvents (componentwise max via mergeReadStateEventsStructured). - Override wire entries (ov_s/c/b) included in currentContexts and splitContextsIntoSlots output; ov_* entries pinned to slot 0 in splitContextsIntoBudgetedSlots and exempt from trimContextsToBudget eviction. - Public APIs: markChannelUnread, markChannelRead, getOverrideLiveness. - Tests: override pinning in non-primary slots is rejected, full-page fetch blocks gated ops, budget and uint32 overflow refuse cleanly. Co-authored-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
Buzz
Desktop chat shell with:
- Tauri + React + TypeScript + Vite
- Tailwind CSS
- shadcn/ui-ready shared components
- Biome (lint/format/check)
- Feature-driven frontend structure
Scripts
pnpm dev- run the web frontendpnpm tauri dev- run the desktop apppnpm build- typecheck and build frontendpnpm typecheck- TypeScript checkspnpm lint- Biome lintpnpm format- Biome format (write)pnpm check- Biome check
Structure
src/shared- reusable app-wide code (ui,lib,styles)src/features- feature modules (vertical slices)src/app- top-level app composition