mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Buzz Desktop was the only implementation of the kind:30175 / kind:30176 wire format. Anything else that wanted to publish an agent definition had to re-derive it, and a re-derivation that gets serde field order wrong produces different content bytes, a different event id, and a persona Desktop treats as unrelated to the one it already has. Move the builders, content structs, and coordinate helpers into `buzz_sdk::agent_definitions`; Desktop now calls them instead of holding its own copy. `double_option` moves with them, because the persona/team tri-state (absent = "unknown, preserve local" vs. null/[] = "explicitly cleared") is part of the wire contract rather than a Desktop detail. Field order is pinned by a byte-exact serialization test — a reorder would silently invalidate every stored `persona_content_hash`. Signed-off-by: Max Lampert <maxwell@squareup.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