mirror of
https://github.com/Monkopedia/rouse-context.git
synced 2026-11-29 11:13:05 +00:00
The relay previously lost all device registrations, FCM tokens, and pending certs on every restart. This adds RealFirestoreClient which talks to the Firestore REST API using the service account already configured for FCM. Falls back to InMemoryFirestore when no service account is available (development mode). Handles Firestore document format (Value wrappers), RFC 3339 timestamp serialization, structured queries for find_device_by_uid, paginated list operations, and automatic retry on 401/403 auth errors. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| Cargo.lock | ||
| Cargo.toml | ||
| relay.example.toml | ||