mirror of
https://github.com/block/buzz.git
synced 2026-11-02 23:41:08 +00:00
The acpToolSummaries experiment is enforced at agent spawn time (BUZZ_AGENT_NO_TOOL_SUMMARY in the child env), so flipping the toggle repaints the UI but leaves running agents on their spawn-time behavior — the 'enabled but still raw labels' confusion. Toggling such an experiment now opens a shared AlertDialog. Confirm applies the toggle, awaits an explicit set_desktop_experiments mirror write (so respawns read the NEW env, not a racy passive-effect write), then restarts the local agents that were running at confirmation time. Cancel leaves the setting unchanged; stopped agents stay stopped. Partial restart failures surface a failed-agent toast without rolling the experiment back; a failed mirror write aborts the restart but keeps the toggle applied (best-effort mirror convention). Orchestration lives in a pure lib module with node tests covering toggle→mirror→restart ordering, mirror-failure abort, local-running-only selection, partial-failure collection, and outcome messaging. 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