Spaces:
Running
Running
Commit History
-
feat: MCP server + HF Docker Space config for AgentSpot
mcp_server.py exposes the demo-build pipeline as MCP tools (ping, build_demo_from_brief). Thin adapter over the existing controller; streamable-HTTP with a pure-ASGI bearer gate + unauthenticated health route. Dockerfile/README target an HF Docker Space (deploy branch only). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>5844a76
-
feat: login system, admin settings in Supabase, auth simplification
- Login gate: Gradio auth with PBKDF2 password hashing, UserManager in supabase_client.py - Admin settings: all secrets (TS, Snowflake, LLM keys) stored in Supabase under __admin__ key - get_admin_setting() replaces all os.getenv() for admin-managed values - Admin Settings tab for viewing/editing (admin-only visibility) - Migration script: scratch/migrate_env_to_supabase.py - Auth simplification: removed password auth entirely, trusted auth only - Renamed THOUGHTSPOT_SECRET_KEY -> THOUGHTSPOT_TRUSTED_AUTH_KEY - Removed authenticate_password(), ts_auth_method dropdown, ts_password field - Removed obsolete env vars: INITIAL_USER, USER_EMAIL, USE_MCP_LIVEBOARD, LIVEBOARD_METHOD - Added Regular Case naming style (State Id, Total Revenue) as default - Startup validation: validate_required_settings() blocks pipeline if settings missing - Prompt logger: logs all LLM calls with timing/tokens to logs/prompts/ - Batch test runner: tests/batch_runner.py with 8 test cases - Cherry-picked…1ab614e