Files
buzz/desktop
npub13fn4ahfnvaa2qwylvegdgeajqs0mph6v4qsw4jcqnw4mjh3hzh2quuucm5 2d1c522789 fix(dictation): drain queued audio on shutdown; scope stop to session
Address two P2 review comments:

- stt_engine: the worker broke out of its loop as soon as the shutdown flag
  was set, skipping any audio already enqueued by the caller's final
  push_dictation_audio flush. The shutdown flush then only transcribed older
  speech and dropped the last words. Now drain and process everything still
  in the audio channel before the final flush.

- dictation/useLocalDictation: stop_dictation now takes an optional session
  id and only tears down the engine when it matches the currently-stored
  session_id. stopRecording captures its session and passes it to the
  deferred (post-flush) stop, so restarting during the Transcribing grace
  window no longer lets the stale stop kill the newly-started session.
  Unconditional callers (cancel, unmount, abort-bail, start) pass None.
2026-07-11 16:19:21 +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