mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
The "Save as persona template" route on an existing agent flowed through the shared submitProfilePersonaDialog no-id branch, which always minted the persona AND spawned a brand-new running agent. tho's call: save-as must mint the template only, no second instance. Thread a templateOnly intent flag from saveAsPersonaTemplateDialogState through handleSubmitPersona into submit; the no-id branch skips createManagedAgentForPersona and shows a "Saved … as a persona template" toast only when set. Every other create-persona flow leaves it unset and keeps spawning as before — blast radius stays on the save-as path. Lock the behavior with tests: save-as creates the persona but spawns no agent; the plain create path still spawns. Bump the UserProfilePanel.tsx file-size override 1014->1017 for the threaded plumbing. 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