Files
buzz/desktop
Duncan a4e36e216a fix(desktop): treat busy-path switch_model sent ack as provisional
The harness acks status:"sent" the moment a live model switch is
delivered to an in-flight turn, before the adapter is consulted — the
real verdict (failure/unsupported_model, or silence on success) lands
later from the requeued session. awaitLiveSwitchOutcome counted sent
toward the success threshold, so a single-channel switch resolved "ok"
and unsubscribed before the terminal frame could arrive, popping a false
"Model switched" toast on an adapter-rejected switch.

Make sent provisional: it no longer counts toward success and keeps the
subscription alive, so a later failure/unsupported_model settles the
pick and the 8s timeout is the no-terminal-frame success fallback. The
terminal-success statuses (switched/turn_ending/no_active_turn) keep
their per-channel count semantics.

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
2026-08-11 10:15:44 -04:00
..
2026-08-03 21:51:17 -04: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