mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Adding another member's shared agent minted a fresh local persona with a new UUID and no link back to the publication it came from, so the catalog had no way to tell an already-added entry from a new one and every click added another copy. A copied persona now carries the publication's coordinate — publisher pubkey plus the persona's d-tag — through create_persona and the unified agent store, which is enough for the catalog to answer "already added" for a foreign entry. The coordinate is normalized at the command boundary because a value that cannot match a publication silently restores the duplicate it exists to prevent. Absent on every non-catalog path, and skipped when serializing, so existing records neither break nor gain a null key. The create path moves to personas/create.rs, mirroring the edit-path split, and CatalogSource to its own module to keep both files under the size cap. 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