Some checks failed
CI / Lint & TypeCheck (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
CI / Build Frontend (push) Has been cancelled
CI / Rust Check (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled
SessionStreamGuard and StreamCancelFlags were type aliases to the same Arc<DashMap<String, Arc<AtomicBool>>> type. Tauri distinguishes managed state by Rust type, so registering both caused a runtime panic: "state for type ... is already being managed". Changed to newtype structs with Deref impl to the inner Arc<DashMap>, keeping all call sites compatible without changes.
Tauri + React + Typescript
This template should help get you started developing with Tauri, React and Typescript in Vite.