mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
The invoke probe read internals.invoke then reassigned it via internals.invoke = wrapper. The terminal E2E backend defines invoke as an accessor whose setter reassigns the dispatcher's fallback closure, so the assignment routed the bridge's fallback back into the wrapper and overflowed the stack on the first non-terminal invoke, taking down app startup under the harness. Redefine invoke as a data property via Object.defineProperty (never the setter) and extract the logic to an import-light ipc.ts so it is unit-testable against the real bridge descriptor shape. 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