Files
buzz/desktop
DuncanandWill Pfleger 9ad809d2f7 feat(desktop): one edit surface for agent instances and definitions
Merges the two-dialog routing into a single unified path:

- UserProfilePanel.handleEditAgent always opens AgentInstanceEditDialog,
  removing the resolvedPersona-preference branch that made the auto-restart
  toggle unreachable for definition-backed agents (routing bug fix).
- EditAgentAdvancedFields gains an optional Instance name pool field that
  renders when the agent has a linked persona. Comma-separated names map to
  the persona's namePool; the field is hidden for agents without a definition.
- useNamePoolEdit (new hook) owns name pool state for the instance dialog:
  seeds once per open session from the linked persona, resets on close, and
  calls updatePersonaMutation only when the value actually changed. Built-in
  personas are silently skipped.
- AgentInstanceEditDialog wires the hook, passes name pool props to
  EditAgentAdvancedFields, guards canSubmit on isPending, and calls
  saveIfChanged after the auto-restart setter in handleSubmit.

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
2026-08-05 17:03:12 -04:00
..
2026-08-03 21:51:17 -04: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