Spaces:
Sleeping
Sleeping
Commit History
-
fix: handle offline environments for embeddings model
Komalpreet Kaur +1: Claude Haiku 4.5Unverified signatureHF Spaces and some deployment environments can't access the internet at runtime. Changes: - Pre-download embedding model during Docker build (when we have internet) - Add graceful error handling if model can't be loaded at runtime - Continue app startup even if embeddings fail - Only log warnings, don't crash This allows the app to work in completely offline environments (sensory memory becomes optional feature). Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>768bcd5
-
fix: use /data for persistent storage on HF Spaces and Fly.io
Komalpreet Kaur +1: Claude Haiku 4.5Unverified signatureSQLite, ChromaDB, and model caches now write to /data which is the persistent volume mount point on both HF Spaces and Fly.io. This ensures chat history, sensory memories, and caches survive container restarts so returning users see their prior data on sign-in. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>771db85
-
feat: add Supabase Postgres support with SQLite fallback
Komalpreet Kaur +1: Claude Sonnet 4.6Unverified signature- session.py auto-detects DATABASE_URL env var: uses Postgres (Supabase) if set, SQLite for local dev - Add psycopg2-binary to requirements - Add DATABASE_URL to config settings - Fix Dockerfile port back to 7860 for HF Spaces Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1683d23 -
fix: use dynamic PORT in Dockerfile CMD to support both HF and Fly.io
Komalpreet Kaur +1: Claude Sonnet 4.6Unverified signatureHF Spaces injects PORT=7860, Fly.io uses PORT=8080. Shell form CMD reads $PORT at runtime so one Dockerfile works for both platforms. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1dae8b3 -
feat: add Fly.io deployment config with persistent storage
Komalpreet Kaur +1: Claude Sonnet 4.6Unverified signature- Fix Dockerfile: move SQLITE_DB_PATH from /tmp to /data (persistent volume) - Fix Dockerfile: update port from 7860 to 8080 for Fly.io - Add fly.toml: Fly.io app config with 3GB persistent volume mount - Volume soma_data mounted at /home/user/app/data keeps SQLite + ChromaDB across restarts Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>fdfb536
-
Final Evolution: Secure Neural Build (Full Scrub & Sync)
Komalpreet KaurUnverified signaturea9df765