mirror of
https://github.com/block/buzz.git
synced 2026-11-25 02:31:36 +00:00
The restart-required badge was driven by a lossy u64 digest of the effective spawn config, so it could report that something drifted but never what. Replace the digest with a typed SpawnConfigSnapshot whose canonical JSON is the single representation both the badge and a new redacted `restart_diff` read, making badge-on and diff-non-empty true by construction rather than by convention. The diff is a generic walk of that JSON, so a future snapshot field reaches the UI with no diff-code change; the only per-field knowledge is a path-based masking policy that also backs the snapshot's manual Debug, keeping one redaction authority for env values, auth tags, CLI args (`--token=` is legal), and relay URLs (the normalizer preserves query strings). The stamp now happens before spawn(), built from the values that populated the Command. Re-resolving afterwards let an edit landing in between stamp the new config onto a child running the old one. Co-authored-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <pfleger.will@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