Files
Will Pfleger 1ffd2b1d78 fix(desktop): exit cleanly on fatal setup errors instead of SIGABRT
Setup errors inside tao's `did_finish_launching` FFI callback propagate
as `Err` to Tauri's `panic!("Failed to setup app: {e}")`. Because Rust
cannot unwind across an `extern "C"` boundary, this escalates to
`panic_cannot_unwind` → SIGABRT. macOS treats SIGABRT as a crash and
auto-relaunches the app, producing a 6-crash pile-up before giving up.
This is a known upstream issue (tao#1171, still open).

Convert the two fatal `?` operators in the setup closure (identity
resolution and keys mutex access) to explicit `eprintln! +
process::exit(1)`. A clean exit produces no crash report and macOS does
not auto-relaunch, breaking the crash-loop.
2026-07-14 19:28:47 -04:00
..
…

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 frontend
  • pnpm tauri dev - run the desktop app
  • pnpm build - typecheck and build frontend
  • pnpm typecheck - TypeScript checks
  • pnpm lint - Biome lint
  • pnpm 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