mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Address two review comments: 1. (useRealtimeDictation.ts) Increment activeRunIdRef immediately in the manual-commit cleanup path so late transcript events from the 3s grace window are rejected by handleRealtimeEvent. Previously, the run stayed valid during the timeout, allowing transcripts to write back into the composer after a send, edit-save, or navigation. 2. (transcribe.rs) Replace as_object_mut().unwrap() with a branch that builds the correct JSON literal directly. Avoids introducing an unwrap in a production path per AGENTS.md rules.
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