mirror of
https://github.com/block/buzz.git
synced 2026-11-01 06:51:17 +00:00
A successful Claude model switch discarded the RPC result and reset model_capabilities to None, so the switched session never yielded a post-switch snapshot: the effort picker stayed empty (Unknown) and resolve_startup_effort armed against the pre-switch default model. apply_model_switch now returns the RPC value. On a switch that echoes authoritative configOptions (claude-agent-acp 0.60.0 rebuilds session.configOptions on a model change), model_capabilities, the session_config_captured cache, and startup-effort resolution all converge on the target model. Startup effort resolves after the switch. When the adapter returns no options (or an application-level failure returns Null), only that fallback drops to Unknown. The pool moves to Unknown at switch dispatch on both idle and busy paths so a concurrent effort pick can't validate against the outgoing model's snapshot. Desktop treated the harness unsupported_model effort rejection as non-terminal, timing out to "Applies at next session" — the opposite of a capability rejection. awaitEffortOutcome now settles it immediately and EffortPicker renders a direct model-capability error. 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