rouse-context/relay
Jason Monk 1ebb9d9683 Replace InMemoryFirestore with real Firestore REST API client
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>
2026-04-07 10:40:12 -04:00
..
src Replace InMemoryFirestore with real Firestore REST API client 2026-04-07 10:40:12 -04:00
tests Fix FCM wake after relay restart: use mTLS as sole WebSocket auth 2026-04-06 17:21:55 -04:00
Cargo.lock Two-cert mTLS: relay CA client cert + ACME server cert from device's own key 2026-04-06 12:37:46 -04:00
Cargo.toml Two-cert mTLS: relay CA client cert + ACME server cert from device's own key 2026-04-06 12:37:46 -04:00
relay.example.toml Fix ACME DNS-01 challenge failure: verify TXT propagation before validation 2026-04-05 20:30:55 -04:00