mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
- Route agent typing indicators (kind 20002) through the serverless pool subscription so the 'agent is typing…' signal shows in serverless mode (previously dropped — CHANNEL_EVENT_KINDS excluded 20002). useChannelTyping now listens on serverless-event:<channel> when serverless; appendMessage skips ephemeral typing events so they never enter the timeline. - Retry serverless history fetch with short backoff on cold start: public relays return 0/partial while pooled connections warm up, causing the 'blank for a minute after launch' feeling. Retry until events arrive.
Sprout
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