mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Rebased from tho/active-turn-bridge-fix (#1492) onto post-#1380 main, squashing the temporary debug-harness add/remove churn that netted to zero. Behavior preserved: - ChannelScreen mounts useActiveAgentTurnsBridge next to the existing observer bridge so raw observer frames (e.g. turn_completed) and the derived liveness store stay in sync in the channel activity path - Extract syncActiveAgentTurnsFromObserver() from the bridge hook so the regression test drives the exact observer→derived-liveness path - resetActiveAgentTurnsStore() wired into workspace-switch reset per the workspace-switching singleton contract - Regression coverage: observer→active-turns bridge sync keeps the raw feed's completion event while derived liveness clears; non-running agents don't populate the store Co-authored-by: Taylor Ho <taylorkmho@gmail.com> Signed-off-by: Taylor Ho <taylorkmho@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