Spaces:
Runtime error
Runtime error
Commit History
-
Harden monitor (gate all routes), swap ChatGPT backend to free-Chatgpt-api, clean repo
akashyadav758 +1: Claude Opus 4.8 (1M context)- Security: gate /, /api/*, /chrome.log behind API_KEY (Bearer / ?key= / apikey cookie). Previously these were public — anyone could view+drive the logged-in ChatGPT/Gemini/Google sessions. This was the likely "abusive" flag cause. - ChatGPT backend: replace chatgpt-free-api with the free-Chatgpt-api rewrite (drop-in: same 127.0.0.1:9225, same /api/chat + /v1/chat/completions). Update Dockerfile COPY paths. - Cleanup: drop leftover per-service Dockerfiles, redundant sub-READMEs, dev-only docs/test scripts, the prebuilt linux binary, and cdp_* debug scripts. - Docs: fix references, mark all routes key-gated, note the Space is now private. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>5c7f4b5 -
Run all 3 backend servers in-container behind a single API-key gateway
akashyadav758 +1: Claude Opus 4.8 (1M context)The HF Space previously ran only Chrome + extensions + monitor; the ChatGPT/ Gemini/Flow API servers existed only in docker-compose (self-host). Because the extensions dial their servers on hardcoded 127.0.0.1:9225/9226/9227, the servers must share Chrome's localhost — a separate Space can't reach them. So: - Dockerfile builds the chatgpt (Go) + gemini (Go) binaries and installs the flow (Python/FastAPI) deps into the chrome image. - start_hf.sh launches all three on localhost alongside Chrome. - monitor/main.go doubles as a reverse-proxy gateway on :3001, routing /gpt /gemini /flow to 127.0.0.1:9225/8000/8101, gated by an API_KEY bearer token (fail-closed). - docker-compose.yml collapses to the single chrome service (servers are now baked in; separate containers would collide on the same ports). - Add cryptography to flow requirements (lazy-imported in cli/api.py). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>3666689
-
Dockerize stack, strip watermarking, add navigator monitor
akashyadav758 +1: Claude Opus 4.8 (1M context)Compose the headless-Chrome monitor with the three backend servers and make the live monitor a full in-browser navigator. Infra: - Add docker-compose.yml wiring chrome + chatgpt + gemini + flow on a shared loopback (network_mode: service:chrome); only chrome publishes. - Add Dockerfiles for chatgpt-free-api and flow-agent. - flow: run the FastAPI API on 8101 so it no longer collides with the ExtensionBridge HTTP callback on 8100 (was crash-looping). - Update extension cookie-WS ports: gemini 9226, flow 9227. Cleanup: - Remove watermark code from flow-agent (omniflash/watermark.py) and gemini (gemini/watermark.go); drop ffmpeg usage. Monitor navigator: - Tabs are now discovered live from CDP (known services first) instead of being hardcoded. - Add address bar + back/forward/reload and new/close-tab, backed by new /api/navigate, /api/reload, /api/back, /api/forward, /api/newtab and /api/closetab endpoints. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.co…c6e6dac -
Fix extension COPY paths in Dockerfile and rename extension dirs
akashyadav758 +1: Claude Opus 4.8 (1M context)The gemini and flow extension directories were renamed on disk (extension -> gemini-extension / Flow-extension) but the Dockerfile still COPYd the old paths, so the HF Space build failed to load them. Align the committed dir names with the Dockerfile and ignore hf-token. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>4216716 -
Exclude _metadata from unpacked flow-extension in Dockerfile
akashyadav7586935e47 -
Add and load all three extensions in Chrome on Hugging Face Spaces
akashyadav7586ada2bc