mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
cleanup() tore down resources but never set startAbortedRef, so a composer unmounting while startRecording() awaited start_dictation / listen / getUserMedia / addModule would resume the async start against a torn-down instance — opening the mic/worklet and leaving the native session and event listeners running after the component was gone. Set the abort flag first in cleanup(); a fresh startRecording clears it before its first await, so subsequent starts are unaffected.
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