Files
buzz/desktop
klopez4212andnpub13fn4ahfnvaa2qwylvegdgeajqs0mph6v4qsw4jcqnw4mjh3hzh2quuucm5 ed9cb0c29f fix(dictation): single-request connect, clear transcribing on completion
1. Merge session + SDP into single POST /transcribe/connect

   The two-step flow (POST /transcribe/session → POST /transcribe/sdp) stored
   the OpenAI client secret in an in-memory DashMap, which breaks in HA
   deployments where the two requests may land on different relay replicas.

   Replaced with a single POST /transcribe/connect that accepts the SDP offer,
   mints the OpenAI session, proxies the SDP exchange, and returns the SDP
   answer + model — all in one request. No server-side session state is needed
   between requests, so this works correctly across any number of replicas.
   Removed the transcribe_sessions DashMap from AppState entirely.

2. Clear isTranscribing even when final text is unchanged

   When a TRANSCRIPT_COMPLETED_EVENT produces no text change (final matches
   accumulated deltas), the early-return in handleRealtimeEvent skipped the
   setIsTranscribing(false) call. This left the 'Transcribing…' indicator
   stuck indefinitely. Fixed by updating the transcribing flag before the
   text-change early return.
2026-07-11 16:18:39 +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