mirror of
https://github.com/block/buzz.git
synced 2026-10-31 22:41:12 +00:00
Existing agents created before this PR have persona system_prompt and model values snapshotted onto the agent record. With the new precedence logic (agent record wins when set), those stale snapshots would be treated as explicit user overrides, blocking persona updates from taking effect. Migration: on load, clear system_prompt and model for any record where persona_id is set. Safe because the old code ignored agent-level overrides for persona-backed agents — no user has ever set a meaningful override. Persists after first run so it only executes once. Also: replace silent unwrap_or_default() on persona-load errors with eprintln! warnings so corrupted persona files don't silently spawn agents with no prompt.
Sprout
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