# apps/desktop/src/lib

Desktop-local helpers that depend on Tauri plugins.

Expected contents:

- `stronghold.ts` — wraps `tauri-plugin-stronghold` for secret storage; adapter for `@chat-app/shared/auth`.
- `sqlite.ts` — wraps `tauri-plugin-sql` (SQLite), exposes migration runner.
- `notifications.ts` — wraps `tauri-plugin-notification`.
- `sodium.ts` — binds `libsodium-wrappers` (WASM) to the crypto adapter interface.
- `store.ts` — Zustand store setup (auth state, chat state slices).
