mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Marge's review caught that the friendly summaries never reached the screen for the tools that matter most: getCompactToolActionLabel took the structured action-descriptor branch first and never consulted the label where summaryTitle lived, so shell/file-read rows kept rendering raw 'Ran <command>' descriptors after the friendly title landed. buildCompactToolSummary now exposes summaryTitle (null when the row failed) and failed alongside label, and CompactToolSummaryRow renders the friendly phrase as the visible row label ahead of the action descriptor. The exact command/path receipt stays on the hover title and on expand. Failed rows bypass the descriptor branch entirely so the failure label is painted instead of the descriptor repainting 'Ran <command>' over it — this also fixes the previously-dead failure precedence for action-bearing tools that Marge flagged as a minor. New render-layer tests (renderToStaticMarkup through the real buildCompactToolSummary pipeline) assert the user-visible HTML: the friendly title paints for shell and file-read rows, failure beats the friendly phrase, and rows without a summary keep today's descriptor label. 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