Spaces:
Sleeping
Sleeping
Commit History
-
fix: add 10-min rebuild cooldown to prevent build-reset loops
Adam & Eve kept writing Dockerfile changes every few minutes, each time resetting the build progress so Cain could never finish building. New safety layer (#2): after any write_file to Space or restart, a 10-minute cooldown blocks further Space modifications. Forces agents to wait for the build to complete before making more changes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>16a30db -
fix: case-insensitive action parser — support [Action:], [操作:], [动作:]
LLM sometimes outputs mixed-case or Chinese action tags. Updated architecture diagram to reflect multilingual parser. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>10cdcf6 -
docs: sync architecture diagram with current code (glm-4.7, emoji, safety layers)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>c3aac5f -
fix: block shell expressions in set_env, show secrets in get_env
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>b512df7 -
fix: expand emoji action parser to handle 🛠️ in addition to 🔧
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>20ccd66 -
feat: upgrade to GLM-4.7, add parenting goals, architecture comments, fix page width
- Switch LLM from glm-4.5-air to glm-4.7 - Add SURVIVAL + CAPABILITY growth dimensions to system prompt - Add emoji action parser fallback (🔧format) - Block restart/write during BUILDING state - Add system architecture diagram and module comments - Fix page width overflow (responsive game + chatlog layout) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>8982430 -
feat: fix page width overflow + add architecture comments to conversation-loop
- Make stage-row respect viewport width (max-width: 98vw) - Game container now responsive (width: 100%, max-width: 1280px, aspect-ratio: 16/9) - Chatlog panel 300px with stretch height to match game - Add system architecture diagram and module-level comments to conversation-loop.py Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>a6c1202 -
fix: point Home links to new HuggingClaw-Home Space
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>b8d4c73 -
docs: update README with HuggingClaw World family system, rename Office → Home
- Add HuggingClaw World section: autonomous agent family (Adam, Eve, Cain) - Document reproduction mechanism and ACTION system - Add architecture diagram for conversation-loop.py - Rename Office to Home in user-facing strings and variable names Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>9ea5d13 -
fix: improve agent mechanism — error details, loop prevention, config safety
- check_health now returns actual HF runtime errorMessage - Global action history tracks all actions across turns - Smarter guidance prevents read_file loops (after 3 reads → force write) - Safety filter strips invalid OpenClaw config keys before writing - Better progression: check → read → write → verify cycle Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>aaf4be2 -
fix: prevent action loops, improve diagnostic guidance
- Deduplicate actions within a turn (max 1 action per turn) - Context-aware guidance prevents repeating check_health in loops - check_health for errors now suggests specific files to read - Guidance chain: explore → read → write → verify Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>4d022f6 -
feat: give Adam & Eve full control — read/write any file, env, secrets
Complete rewrite: instead of predefined actions, Adam & Eve now have full HuggingFace API access to their child (Cain): - list_files / read_file: explore any file in Space repo or Dataset - write_file: modify any code, config, or data file - set_env / set_secret: manage environment and secrets - get_env: inspect current configuration - restart / check_health / send_bubble: operational control LLM decides when to explore, what to read, what to change. Workflow: explore → understand → improve → verify. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>f2c9f59 -
feat: make Adam & Eve true agents — they decide and act themselves
Replaced scripted phase-based actions with LLM-driven agency: - LLM outputs [ACTION: xxx] tags when it decides to act - Script parses, executes, and feeds results back to conversation - Available actions: create_child, check_child, restart_child, update_child_identity, improve_child_config - LLM gets real child status in context, acts based on actual data - Proactive guidance nudges them to act, not just discuss - Action results shared between Adam & Eve across turns Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>0931506 -
fix: specify cpu-basic hardware when duplicating Space for child creation
HF API requires hardware parameter when duplicating Spaces. Also use hf_api.duplicate_space() instead of deprecated top-level function. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>be27e2d -
feat: Adam & Eve can now create and nurture children on HuggingFace
Enhanced conversation loop with real execution capabilities: - HF API integration (create Space, manage datasets, set secrets) - Phase 4 "Birth of Cain": duplicates Adam's Space as a new child - Auto-creates child dataset with initial config - Adds child to Office REMOTE_AGENTS for animation display - Nurturing cycle: health checks, auto-restart on errors - Child status injected into conversation context - Phases 5-7 repeat as ongoing parenting cycle Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>5c21155 -
feat: add 7-phase topic progression to Adam-Eve conversation loop
Conversation now advances through structured phases (Survival Basics, Persistent Memory, Reproduction, Resource Acquisition, Agent Alliance, Evolution, Long-term Vision) with turn-specific guidance per phase. Each phase extracts conclusions via LLM summarization before advancing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>35a128a -
fix: bypass broken A2A gateway, call Zhipu LLM directly
- A2A gateway has unfixed operator.write scope bug in current image - Conversation loop now calls Zhipu API directly (Anthropic-compatible) - Loads API key from HF dataset config automatically - Still posts bubbles and chatlog to Adam/Eve/Office Spaces Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>9fc4834 -
fix: delete devices dir to force fresh auto-pair, skip error replies
- Delete ~/.openclaw/devices/ on startup to force fresh auto-pair with operator.write/read scopes (fixes A2A dispatch error) - Conversation loop now checks task state=failed and skips errors - Force rebuild (v3.9) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1e3d376 -
fix: patch paired device scopes for OpenClaw 2026.2.19+ compatibility
- Add operator.write and operator.read to paired devices on startup - Fixes 'missing scope: operator.write' A2A dispatch error - Known OpenClaw bug: auto-pair doesn't grant new scopes (issue #23006) - Force rebuild (v3.8) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>d865e6e -
fix: clean up invalid auth.defaultScope from persisted config
- Remove auth.defaultScope and gateway.auth.scope on startup - These keys were synced to dataset backup and crash OpenClaw - Force rebuild (v3.7) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>b17d83b -
fix: revert invalid OpenClaw config keys causing RUNTIME_ERROR
- 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>9da0d8a -
fix: add operator scope to gateway auth and A2A security config
- Add scope: operator to gateway.auth to fix 'missing scope: operator.write' - Add scope: operator to A2A gateway security.scope - Add auth.defaultScope: operator for fallback - Force Docker rebuild (v3.5) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>ff25d4f -
feat: bilingual conversation, word-wrap bubbles, remove unused panels
- Conversation topic now concrete: survival/reproduction on HuggingFace - Bilingual output (EN/ZH) with language toggle in chat log panel - Fix guest bubble word wrap (was single-line, now wraps at 300px) - Remove memo, control-bar, guest-agent-panel (keep only chatlog) - Bubble and chatlog support text_zh field for Chinese translation - Force Docker rebuild (v3.3) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>b32e821 -
fix: switch conversation to English, longer replies (2-3 sentences), wider bubbles
3b2ade1 -
fix: clean up conversation prompt to avoid prefix leakage
e981ecd -
feat: chat log panel + improved conversation orchestrator
- Add /api/chatlog GET/POST endpoints for conversation display - Add chat log panel at bottom of Office frontend (Adam ↔ Eve dialogue) - Rewrite conversation-loop.py with history context for coherent dialogue - Frontend polls /api/chatlog every 5s and renders messages - Remove old bash conversation script87a2793 -
feat: add conversation bubble display and A2A chat orchestrator
- token-redirect.cjs: add bubbleText to /api/state, POST /api/bubble endpoint - frontend: show bubbleText from API in guest and Star bubbles immediately - frontend: filter out 'main' from guest list (Star already represents it) - conversation-loop.sh: orchestrate Adam/Eve eternal discussion via A2Aebfc885 -
fix: reduce verbose logging to prevent HF Spaces log viewer crashes
- Suppress huggingface_hub progress bars and verbose download logs - Remove per-file upload listing (just show summary count) - Remove per-file dataset verification listing - Reduce file tree debug to count only - Filter OpenClaw process output: skip download/progress noise, forward key lines only - All output still goes to log file for debugging2f79e09 -
fix: restore 302 redirect for token so frontend JS can read it from URL
Server-side URL rewrite changed req.url internally but the browser URL stayed as '/' — OpenClaw's frontend JS reads window.location.search for the token, so it couldn't find it and showed 'offline'. Restored 302 redirect which changes the browser URL to /?token=huggingclaw. The iframe CSP fix (moved earlier in the code) still applies correctly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>0b2ec75
-
fix: apply iframe CSP fix before URL rewrite to prevent frame-ancestors 'none'
The writeHead wrapper that strips X-Frame-Options and fixes frame-ancestors was placed after the URL rewrite code. When req.url was rewritten and origEmit was called early, the iframe fix was never applied, causing 'frame-ancestors none' to block HF iframe embedding. Moved the fix to run immediately after the port check, before any routing logic. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>99ce7b7 -
fix: use server-side URL rewrite instead of 302 redirect for token injection
302 redirect was unreliable in incognito mode — the browser followed the redirect but OpenClaw's frontend sometimes failed to pick up the token. Server-side rewrite injects the token directly into req.url before OpenClaw processes it, eliminating the redirect round-trip. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>9a23aad -
Upload scripts/token-redirect.cjs with huggingface_hub
Verified signature1fc4864 -
Upload scripts/sync_hf.py with huggingface_hub
Verified signature2778fda -
Upload scripts/entrypoint.sh with huggingface_hub
Verified signature970eeac -
Upload scripts/token-redirect.cjs with huggingface_hub
Verified signaturebcc6655 -
Upload scripts/a2a-proxy.cjs with huggingface_hub
Verified signature8bd6f75 -
Upload scripts/a2a-proxy.cjs with huggingface_hub
Verified signatureb0a12d6 -
Upload scripts/entrypoint.sh with huggingface_hub
Verified signature0fa48ff -
Upload scripts/sync_hf.py with huggingface_hub
Verified signaturef18a4b6 -
Upload scripts/a2a-proxy.cjs with huggingface_hub
Verified signature8b27af4 -
Upload folder using huggingface_hub
Verified signature31cf062 -
feat: serve pixel office animation at / with static asset serving
- Add static file serving to a2a-proxy.cjs (/, /static/*, /admin) - Generate index.html from electron-standalone.html at Docker build time - Copy frontend directory into Docker image - Add officeName to /status response for frontend Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>c0338ad -
fix: accept 302 redirect as healthy in OpenClaw health check
The token-redirect module returns 302 on GET /, which caused the health check to report 'error' instead of 'idle'. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>5f20dc1 -
feat: add remote agent monitoring and A2A activity tracking to proxy
- Poll remote agents (Adam/Eve) via REMOTE_AGENTS env var - Intercept /agents endpoint to merge OpenClaw + remote agent states - Track A2A POST requests to show "writing" state during communication - Remote agent states mapped to Office areas (breakroom/writing/error) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>e6586a2 -
feat: add A2A gateway support (activated by A2A_PEERS env var)
- Add openclaw-a2a-gateway extension to Dockerfile - Add a2a-proxy.cjs for port routing (7860 proxy → 7861 OpenClaw, 18800 A2A) - Modify sync_hf.py: port 7861, A2A config only when A2A_PEERS is set - No impact when A2A_PEERS is not set (proxy transparently forwards)8ee58f9 -
Revert "feat: add pixel animation homepage with Express proxy layer"
This reverts commit 6cf74294015c25e76d77e66dfb929c3fb8ed5a2d.86b44f8
-
feat: add pixel animation homepage with Express proxy layer
- Add Star-Office-UI pixel animation as the default homepage (/) - Create Express proxy (proxy.cjs) on port 7860, OpenClaw moves to 7861 - Admin panel accessible via /admin with auto token injection - State bridge maps OpenClaw status to animation states - Frontend assets cloned from Star-Office-UI during Docker build - Add A2A gateway plugin support in Dockerfile and config - Prepare multi-agent infrastructure (peer polling, guest rendering) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>6cf7429
-
fix: switch Zhipu provider to Anthropic-compatible endpoint
The OpenAI-compatible endpoint (paas/v4) returns "insufficient balance" but the Anthropic-compatible endpoint (open.bigmodel.cn/api/anthropic) works. Updated api type to "anthropic-messages" and new API key set. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>3227ad9 -
fix: update Zhipu model IDs in default config and dataset template
These files still referenced deprecated glm-4-flash/glm-4-plus models, causing "Fallback active: zhipu/glm-4-flash" → 400 model not found. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>2a1b70d -
fix: update Zhipu AI model IDs to current API lineup
Replace deprecated glm-4-flash/plus/long with actual available models: glm-4.5-air, glm-4.5, glm-4.6, glm-4.7, glm-5 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>ae76fba