Spaces:
Paused
Paused
fix: revert invalid OpenClaw config keys causing RUNTIME_ERROR
Browse files- Remove auth.defaultScope and gateway.auth.scope (unrecognized by OpenClaw)
- Remove security.scope from A2A gateway config
- These caused "Config invalid" crash on all Spaces
- Force rebuild (v3.6)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Files changed (2)
- Dockerfile+1-1
- scripts/sync_hf.py+2-4
1234# OpenClaw on Hugging Face Spaces β Pre-built image (v3.5)# Uses official pre-built image to avoid 30+ minute builds on cpu-basic# ββ Stage 1: Pull pre-built OpenClaw βββββββββββββββββββββββββββββββββββββββββ1234# OpenClaw on Hugging Face Spaces β Pre-built image (v3.6)# Uses official pre-built image to avoid 30+ minute builds on cpu-basic# ββ Stage 1: Pull pre-built OpenClaw βββββββββββββββββββββββββββββββββββββββββ
441 unmodified lines4424434444454464474486 unmodified lines45545645745845946046146268 unmodified lines531532533534535536537441 unmodified lines"mode": "local","bind": "lan","port": 7860,"auth": {"token": GATEWAY_TOKEN, "scope": "operator"},"trustedProxies": ["0.0.0.0/0"],"controlUi": {"allowInsecureAuth": True,6 unmodified lines# Ensure agents defaultsdata.setdefault("agents", {}).setdefault("defaults", {}).setdefault("model", {})data.setdefault("session", {})["scope"] = "global"# Grant operator scope for A2A gateway dispatchdata.setdefault("auth", {})["defaultScope"] = "operator"# Build providers from scratch β only include providers with active API keys.# This ensures removed secrets don't leave stale providers from backup.68 unmodified lines"skills": [{"id": "chat", "name": "chat", "description": "Chat bridge"}]},"server": {"host": "0.0.0.0", "port": 18800},"security": {"inboundAuth": "none", "scope": "operator"},"routing": {"defaultAgentId": "main"},"peers": peers}441 unmodified lines4424434444454464474486 unmodified lines45545645745845946068 unmodified lines529530531532533534535441 unmodified lines"mode": "local","bind": "lan","port": 7860,"auth": {"token": GATEWAY_TOKEN},"trustedProxies": ["0.0.0.0/0"],"controlUi": {"allowInsecureAuth": True,6 unmodified lines# Ensure agents defaultsdata.setdefault("agents", {}).setdefault("defaults", {}).setdefault("model", {})data.setdefault("session", {})["scope"] = "global"# Build providers from scratch β only include providers with active API keys.# This ensures removed secrets don't leave stale providers from backup.68 unmodified lines"skills": [{"id": "chat", "name": "chat", "description": "Chat bridge"}]},"server": {"host": "0.0.0.0", "port": 18800},"security": {"inboundAuth": "none"},"routing": {"defaultAgentId": "main"},"peers": peers}
Dockerfile+1-1
scripts/sync_hf.py+2-4