mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Corrects an earlier call to omit provider from the save-as-persona-template
port. On main the provider is NOT a top-level ManagedAgent field, but it is
NOT absent either — it lives in the backend union: a `{ type: "provider",
id }` backend carries the provider id, while a `{ type: "local" }` backend
has none.
- saveAsPersonaTemplateDialogState now derives provider from agent.backend
(providerForAgentBackend): a provider backend carries backend.id; a local
backend leaves it unset. A databricks agent promotes with its provider
instead of losing it.
- CreateAgentDialog's opt-in template mint mirrors this: it carries the
selected backend provider (runOn) when the agent runs on a provider.
Tests updated: provider carries from a provider backend; stays unset for a
local backend.
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