Spaces:
Paused
Paused
Commit History
-
chore: fix footer — @somratpro as main author, @anurag008w as contributor
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>8607bed -
Merge branch 'main' into main
AnuragUnverified signatureb835b9d -
Fix sync robustness, devdata activation, alias cleanup, and timing-safe auth compare
Codex14fd0fa -
fix: use GATEWAY_TOKEN as Jupyter token fallback when JUPYTER_TOKEN unset
health-server.js starts before start_jupyter_once() runs, so process.env.JUPYTER_TOKEN is empty in Node. Mirror start.sh fallback: if JUPYTER_TOKEN is unset or "huggingface", use GATEWAY_TOKEN instead — that's what Jupyter is started with, so the injected header now matches. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>8f6996c -
fix: inject Jupyter token header to skip JupyterLab's own login screen
Proxy requests to JupyterLab now include Authorization: token <JUPYTER_TOKEN> so Jupyter recognises the session and doesn't show its password prompt. Our /login gate handles auth — no need for a second Jupyter login. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>0546372 -
refactor: port HuggingMes auth pattern — unified /login, HMAC session, crypto.timingSafeEqual
- Replace per-route env-builder cookie auth with a single /login + /logout route - HMAC-SHA256 session token (huggingclaw-session-v1) instead of raw GATEWAY_TOKEN in cookie - Use crypto.timingSafeEqual to prevent timing-attack token comparisons - Session cookie now uses Path=/ (fixes /env-builder.js 401 that caused empty page) - requireAuth() helper redirects any protected route → /login?next=<path> - Gate /terminal/ (JupyterLab) and /env-builder + /env-builder.js with requireAuth() - Remove old /env-builder/login and /env-builder/logout routes - If already authed, /login redirects to ?next= instead of showing form Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1c989b2 -
Set default Jupyter root to filesystem root
Anuragbe6d947
-
Merge branch 'main' into edit
AnuragUnverified signaturee19a071 -
Stop gating env-builder.js behind cookie auth to eliminate iframe 401
Anuraga9c21e0 -
Polish env-builder UX with quick guide and required selector
Anurag1c87ad6 -
Merge branch 'main' into edit
AnuragUnverified signature2be260d -
Merge branch 'main' into main
AnuragUnverified signaturee8b08e4 -
Merge branch 'main' into main
AnuragUnverified signature68fc4b1 -
feat: add hf_transfer, provider tile, telegram detail, dockerignore, readme sync
- Dockerfile: add --no-install-recommends, hf_transfer for faster backups - health-server.js: show LLM provider in model tile, webhook/polling in telegram tile - .dockerignore: add to reduce build context - README.md: fix stale DEV_MODE-only terminal references, add TELEGRAM_WEBHOOK_URL row Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>8ba914e -
feat: password-protect env-builder with GATEWAY_TOKEN
- GET /env-builder — shows login form if not authed - POST /env-builder/login — validates GATEWAY_TOKEN, sets httpOnly cookie - GET /env-builder/logout — clears cookie - GET /env-builder.js — 401 if not authed (prevents unauthenticated JS load) - Constant-time token comparison to prevent timing attacks - Cookie: HttpOnly, SameSite=Strict, 24h TTL, scoped to /env-builder - No protection when GATEWAY_TOKEN is unset (dev mode) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>b05a526 -
fix: default JUPYTER_ENABLED to true, remove baked DEV_MODE from image
Dockerfile: remove ENV DEV_MODE=false baked at build time — was causing start.sh auto-enable check to fail (DEV_MODE non-empty → condition skipped). DEV_MODE is now unset at runtime by default; HF Space Variable overrides still work normally. health-server.js: simplify JUPYTER_ENABLED logic — true by default, only false when DEV_MODE=false or HUGGINGCLAW_JUPYTER_ENABLED=false is explicitly set by the user. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>d8ef5a6 -
fix: default JUPYTER_ENABLED to true, clean up footer
- JUPYTER_ENABLED now defaults to true; only disabled when DEV_MODE=false or HUGGINGCLAW_JUPYTER_ENABLED=false is explicitly set - Fixes logic bug where HUGGINGCLAW_JUPYTER_ENABLED="false" (truthy string) short-circuited the GATEWAY_TOKEN fallback check - Remove Private Space explanation text from dashboard footer Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>5d10651 -
Align terminal enablement messaging with runtime behavior
Anuragec5616f -
feat: auto-enable terminal when GATEWAY_TOKEN is set
- health-server.js: JUPYTER_ENABLED is true when GATEWAY_TOKEN is set, no DEV_MODE required - start.sh: auto-sets DEV_MODE_ENABLED when GATEWAY_TOKEN is present and DEV_MODE was not explicitly configured; GATEWAY_TOKEN used as JUPYTER_TOKEN fallback inside start_jupyter_once() - README: update all references to reflect new out-of-the-box behavior Users with GATEWAY_TOKEN set get the terminal button and terminal access automatically. Set DEV_MODE=false to opt out. Set JUPYTER_TOKEN to override the credential. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>273aafd -
Fix gateway/telegram config bugs and stabilize WhatsApp + key rotator flows
Anuragc8a2bdb -
Enhance Space Privacy Detection, Proxy Defaults, and Environment Builder UX
anurag008wd5203bf
-
Remove WhatsApp status tiles from health server
Unverified signatureRemoved WhatsApp status tiles from the health server response.c82b989 -
Fix status code check in probePort function
4228709 -
Implement space privacy detection and redirection
Added functionality to detect space privacy via HF API at startup and cache the result. Updated request handling to redirect users based on space privacy status.35e67fe -
Implement private space redirect functionality
Add support for private space redirection in HuggingClaw.6113d21 -
Serve env-builder.js on request with error response
Add endpoint to serve env-builder.js with error handlingb38a996
-
Change Jupyter API status endpoint to '/login'
be82891 -
Update Jupyter API endpoint and enhance error handling
78eaac4 -
Fix prune_remote_deleted_files guard and health probe status threshold
openhands- Add try/except around prune_remote_deleted_files to handle older huggingface_hub versions where delete_files() may not exist - Revert health probe statusCode threshold from <400 to <500 so 5xx errors are correctly reported as unhealthy - Add Jupyter DevData sync script for separate dataset backup - Update start.sh with Jupyter terminal startup logic0e6fb59 -
Merge pull request #31 from anurag162008/codex/find-automatic-package-installation-method-d90k9g
added jupyterlab for terminal and space live accessd65efac
-
fix: update footer to credit the author in the dashboard
92e14cd
-
feat: add local time display for sync status in dashboard
d7aa0e0 -
style: format code for better readability and consistency
38eb753
-
feat: replace UptimeRobot with an automated Cloudflare Worker for Space keep-alive functionality
25b14fd
-
refactor: update default allowed domains, unify domain filtering logic, and remove UptimeRobot setup UI from health server
93a1830
-
refactor: optimize rate limiting, harden WebSocket parsing, update webhook payload formatting, and cleanup Docker assets
d43f799
-
fix: sanitize application proxy search parameters and improve connection lifecycle management for upstream requests
1c3d633 -
refactor: overhaul workspace sync to use robust huggingface_hub operations and local fingerprinting
0f21014
-
feat: open control UI link in a new tab with security attributes
c083fd1
-
refactor: remove redundant isDashboardRoute check from health check path validation
03cf867
-
feat: implement server-side space privacy detection to conditionally render keep-awake UI
70d2c8e -
refactor: implement asynchronous private space detection to replace static sign-parameter check
ea48603 -
refactor: simplify and style UptimeRobot setup UI for public Spaces
57fb27a -
feat: disable UptimeRobot monitor setup for private Hugging Face Spaces
0006b4a -
refactor: update dashboard routing logic, improve sync status handling, and enhance UI layout in health-server.js
9038f9e -
feat: relocate dashboard to root path and update routing logic for improved accessibility
774bd5e -
refactor: route dashboard traffic to gateway port and add base path configuration
8c12f41 -
feat: add BROWSER_PORT and update proxy functions to support dynamic port routing
b0a5827 -
feat: add support for HF backup configuration and update routing to handle app-based sync status reporting
411ffb9 -
feat: enhance dashboard UI with dynamic status badges and server-side initial data rendering
85665cf