Commit History
-
Relay-first architecture: cut Supabase usage ~99%β
DJGeneration +1: Claude Opus 4.6Old: polls Supabase every 10s = ~17,280 requests/day New: relay-first, Supabase cold-fallback only When relay healthy (normal operation): - Relay inbox polled every 10s (free β CF Worker) - Supabase checked every 5 min (cold check for stragglers) - Outbox sent via relay only When relay down (fallback mode): - Supabase polled every 30s (not 10s) - Auto-switches back when relay recovers Added smart_send() β tries relay first, Supabase only if relay fails. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>4260eb4 -
Add dual-path relay: Cloud Sentinel β CF Worker β Mac direct HTTPβ
DJGeneration +1: Claude Opus 4.6- supabase-bridge.py: Add relay_health(), relay_send(), relay_read_inbox() for direct HTTP communication to MacBook via CF Worker tunnel - hf-entrypoint.sh: Inject FUTRON_RELAY_URL and FUTRON_SISTER_TOKEN into credentials file from HF Space secrets - Poll loop now checks both Supabase inbox AND relay inbox - Outbox messages sent via both paths (Supabase + relay) - Periodic relay health checks every ~60s - Boot notification sent via both Supabase and relay Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>e339a48 -
Fix gateway port conflict: config 7860β7861 (health proxy owns 7860)
DJGeneration43f2ffc
-
Fix: resilient entrypoint with auto-restart gateway
Verified signaturef12a4f0
-
Add health proxy endpoint for dashboard monitoring
DJGeneration178bddb