mirror of
https://github.com/block/buzz.git
synced 2026-11-25 10:42:26 +00:00
Replace the plain agent list in the below-composer 'Agents working' popover with an h-48 merged live activity preview. Per-agent observer transcripts for the channel's working agents are interleaved into one chronological stream (stable k-way merge on item timestamps), rendered with the compact transcript presenters from the agent activity view, and badged per consecutive same-agent run. - composerLiveActivity.ts: channel-scoped merge + consecutive-run grouping helpers, capped at 80 entries for the preview window - ComposerLiveActivityFeed.tsx: compactPreview-variant feed with auto-tail via useAnchoredScroll (memoized entry snapshot so streaming updates re-anchor without effect churn) and explicit agent-badge click-through buttons — no nested interactive wrappers - useObserverEvents.ts: useAgentTranscripts hook for index-aligned multi-agent snapshots with referential caching to keep useSyncExternalStore stable - BotActivityBar.tsx: popover widened to w-80, feed above a compact per-agent footer that keeps the existing click-through rows 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