mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Adds an opt-in 'Save as persona template' toggle (off by default) to the end of the create-agent flow. On submit the persona-less agent is created first (unchanged, never sets personaId); if the toggle is on, a persona template is then minted from the same field values via createPersonaMutation. The template mint is non-fatal and byproduct-ordered: the agent is the primary goal, so a failed template surfaces as a toast and never blocks or rolls back the just-created agent. No backend or IPC change — both mutations already exist. The toggle is a self-contained block placed after the env-vars editor so a later avatar-forward visual reskin can relocate it without touching the submit behavior. 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