Spaces:
Paused
Paused
Commit History
-
Wipe all space files and initialize clean Space
Hermes Agenta6324bc
-
chore: trigger rebuild
OpenCode Integration20f37ca
-
fix: add README.md with HF Spaces YAML config
OpenCode Integration24a42ac -
chore: clean all files (fresh start)
OpenCode Integration5ef9b62 -
feat: link shared storage with opencode-cli + add standalone /terminal page
OpenCode IntegrationThe opencode-serve space had separate database, providers and sessions (disconnected from opencode-cli). Add 'datasets: Jishnupg/Opencode-Cli-storage' to README.yaml so both spaces mount the SAME persistent backing bucket, giving shared SQLite DB, shared opencode config, shared chat history. Also add a standalone /terminal (no tabs) page so the URL works on its own and is easy to bookmark. The Terminal+Chat view stays at /.96710b9 -
feat: production-ready embedded terminal (Python PTY + xterm.js)
OpenCode IntegrationArchitecture: * Single FastAPI gateway on :7860 (HF app_port) proxies everything * Persistent /bin/bash -i inside the same container (Python pty module) * WebSocket bridge to xterm.js at /terminal/ws * HTTP/WS reverse proxy to upstream opencode serve on :4096 (chat preserved) * VSCode-style integrated webapp with Terminal + Chat tabs Files added: * backend/app/main.py - FastAPI gateway + reverse proxy * backend/app/pty_service.py - Linux PTY service (fork/exec, asyncio bridge) * backend/app/opencode_proxy.py - HTTP/WS reverse proxy helpers * backend/app/webapp.py - VSCode-style webapp (xterm.js, dark theme) * requirements.txt - fastapi, uvicorn, httpx, websockets, pexpect, ptyprocess * docs/ARCHITECTURE.md - Design rationale Files changed: * entrypoint.sh - boot upstream opencode serve then exec uvicorn * Dockerfile - add python3-pip + backend/ copy * docker-compose.yml - app_port 7860 with proper healthcheck * README.md - new …64e84d5 -
feat: copy all files from Opencode-Cli
OpenCode Integration2c19166 -
chore: remove all files
OpenCode Integrationfc72de6
-
Configure OpenCode Serve for Hugging Face Spaces
Jishnu PG453a546