Files
buzz/desktop
klopez4212andnpub13fn4ahfnvaa2qwylvegdgeajqs0mph6v4qsw4jcqnw4mjh3hzh2quuucm5 17c3674468 fix(dictation): stream transcripts on-the-fly and suppress accent picker
Three fixes for the push-to-talk dictation experience:

1. **Streaming partial transcripts**: The STT engine now flushes a partial
   transcript every ~2 seconds of continuous speech (DICTATION_PARTIAL_FLUSH_SAMPLES).
   Previously, text only appeared after a silence gap or when the user released
   the key. Now text streams into the composer while you're still speaking.

2. **Final flush on shutdown**: When the STT worker exits (key released or
   stop_dictation called), it flushes any remaining speech buffer before
   shutting down. Previously, speech accumulated since the last silence gap
   was silently discarded.

3. **Suppress macOS accent picker**: Holding ⌘D triggered the macOS
   press-and-hold accent character popup (showing ð, đ, etc.). Fixed by
   setting ApplePressAndHoldEnabled=false for the app's bundle ID at startup.

Also fixes the event ordering: the 'dictation-state: stopped' event is now
emitted by the forwarder task after all pending transcripts have been
delivered, ensuring the frontend receives the final text before the stopped
signal.
2026-07-11 16:18:41 +01:00
..
…

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 frontend
  • pnpm tauri dev - run the desktop app
  • pnpm build - typecheck and build frontend
  • pnpm typecheck - TypeScript checks
  • pnpm lint - Biome lint
  • pnpm 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