mirror of
https://github.com/block/buzz.git
synced 2026-11-08 18:31:56 +00:00
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>
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