mirror of
https://github.com/block/buzz.git
synced 2026-10-31 14:31:02 +00:00
The production adapters unwrap .value from the StampedArtifact wire shape, but the Playwright bridge mocked sign_event, create_auth_event, nip44_encrypt_to_self, nip44_decrypt_from_self, and sign_nostr_identity_binding with bare returns. At runtime the app under test hit JSON.parse(undefined) at every sign/encrypt site, cascading into membership-subscribe, read-state, and badge failures across the smoke suite. Add a local stamped() helper and route every owner-identity artifact mock (including the C4 nsec/backup cases) through it. 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