Files
buzz/desktop
Max LampertandGitHub 4ad77b2367 [1/4] buzz-sdk: own the NIP-AP persona and team event shapes
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>
2026-08-17 14:27:12 -07:00
..
2026-08-03 21:51:17 -04:00
2026-08-17 10:49:03 -07:00
2026-06-11 15:06:24 +00:00

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 frontend
  • pnpm tauri dev - run the desktop app
  • pnpm build - typecheck and build frontend
  • pnpm typecheck - TypeScript checks
  • pnpm lint - Biome lint
  • pnpm 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