mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Agent restore at startup raced ahead of the frontend applying the active workspace, so serverless agents launched with the stale relay list frozen into their record at creation time (including paid relays that 403) and one even ran in server mode. When the only healthy relay rate-limited a reply, there was no failover and the reply silently vanished. - AppState.workspace_applied: agent restore now waits (bounded 15s) for the frontend to call apply_workspace before launching, so agents inherit the CURRENT workspace relays + serverless mode instead of record defaults. - apply_workspace sets the flag once config is live. - justfile _ensure-sidecar-stubs builds REAL sprout-acp + sprout sidecars (serverless agents need them) instead of 0-byte stubs that silently fail to launch/reply under just dev.
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