Spaces:
Paused
Paused
Commit History
-
Harden config build, speed up startup, add healthcheck
start.sh: - CLOUDFLARE_PROXY_DEBUG defaults to false (Gemini path verified working; per-request "Redirecting" log is no longer needed by default). - Replace shell-interpolated jq calls with --arg/--argjson for GATEWAY_TOKEN, LLM_MODEL, OPENCLAW_PASSWORD, BROWSER_EXECUTABLE_PATH, SPACE_HOST, TELEGRAM_USER_ID. Prevents JSON breakage and jq filter injection if those values contain quotes/backslashes/dollar signs. - Combine ~6 sequential jq invocations (token + model + logging, plugin allow/deny + entry toggles, controlUi + password) into single pipelines. Saves several hundred ms of subprocess overhead on cold start. - Document why device-pair/phone-control/talk-voice are pre-allowed and why lmstudio/xai PLUGINS (not the xai model provider) are denied. - Replace `sleep 3 && kill -0 $!` readiness check with a TCP poll on 127.0.0.1:7860 (configurable via GATEWAY_READY_TIMEOUT, default 90s) that also bails out if the pipeline died. Old check tested the tee PID in the pipe…fe9380c -
Silence remaining startup log noise
- workspace-sync.py: set HF_HUB_VERBOSITY=error before huggingface_hub import. The "No files have been modified..." spam is logger.warning level inside upload_large_folder workers; setting Python logging level after import didn't work because hub re-applies its own level from the env var on import. Drop emoji prefixes from our own prints. - cloudflare-proxy.js: switch banner dedupe from process.env to /tmp/.cf-proxy-banner-shown file marker. Children spawn from bash (not Node), so an env-var marker set by the parent Node doesn't propagate. /tmp resets per container so the banner still shows once per deploy. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>db85721 -
Fix UND_ERR_INVALID_ARG by not spreading init into proxy fetch
Root cause: spreading `init` into the new fetch options carried over `dispatcher`/`client` references that undici had pinned to the original target host's connection pool. When we changed the URL to the CF Worker but kept the original dispatcher, undici threw UND_ERR_INVALID_ARG synchronously (~4ms, not a network error). - cloudflare-proxy.js: build newInit explicitly with only well-known fetch options (method, headers, body, signal, redirect, etc.) instead of `...init`. Drop dispatcher/client/duplex from caller's init unless body is a ReadableStream. Add init debug info to error log. - cloudflare-proxy.js: dedupe startup banner across child Node procs (NODE_OPTIONS=--require makes script run in every spawn). - cloudflare-proxy.js: drop redundant "Host match" log (covered by "Redirecting"). - workspace-sync.py: silence huggingface_hub WARNING-level chatter ("No files have been modified...") via logging config. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>87bcb42
-
fix: remove default path in upload_folder and restrict Cloudflare proxy domains to specific endpoints
e624c11 -
feat: implement file/directory exclusion logic and switch to upload_large_folder for workspace syncing
915aa9e
-
feat: skip and remove stale backup entries during OpenClaw state restoration
aef59f1 -
refactor: overhaul workspace sync to use robust huggingface_hub operations and local fingerprinting
0f21014
-
feat: disable Hugging Face Hub progress bars in workspace sync environment
08c12cf -
feat: reduce default workspace sync interval to 180s and refactor sync logic into a dedicated function
2ffeaa2 -
refactor: generalize OpenClaw state persistence and add browser warm-up sequence
2159e0f -
feat: trigger workspace state snapshot during graceful shutdown sequence
f1b6f7f -
feat: implement state persistence for agents, memory, and extensions across workspace syncs
cfcca86
-
feat: add support for HF backup configuration and update routing to handle app-based sync status reporting
411ffb9
-
feat: add optional WhatsApp integration with toggle and status monitoring
de4ed0d -
refactor: delay workspace sync and guardian startup until after gateway initialization
b04f245 -
feat: implement persistent WhatsApp session backup and restore via workspace sync and add automatic session invalidation on auth errors
d439036 -
feat: implement DNS-over-HTTPS fallback for network requests and add a web dashboard to the health server.
7a0af95
-
Initial commit
af9e60e