Files
buzz/desktop
npub1223z34hd7vtwc6qj4s7flsxkj644nlre2nthu7lrrmkumhu3xddsrx9r6wandTaylor Ho 15bd19b994 feat(personas): skip agent spawn when saving an agent as a persona template
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>
2026-06-26 14:28:56 -07:00
..
2026-06-11 15:06:24 +00: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