mirror of
https://github.com/block/buzz.git
synced 2026-11-03 16:01:35 +00:00
Move migrate_clear_persona_defaults out of load_managed_agents (called ~20+ times per session) into restore_managed_agents_on_launch Phase A (called once at app launch). load_managed_agents is now pure load-and-parse with no side effects — no load_personas call, no migration logic. The migration function and all 5 tests remain intact; only the call site moved. Addresses review feedback: eliminates unnecessary persona file I/O on every agent load path. Also bumps runtime.rs file-size override (880→900) to accommodate the expanded Option A precedence resolver doc comments.
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