Spaces:
Runtime error
Runtime error
Commit History
-
fix: chatroom not showing Adam/Eve messages — use localhost for self-referencing calls
conversation-loop.py runs inside the Home Space container but was posting to its own external URL (https://...hf.space/api/chatlog), which round-trips through HF's reverse proxy and silently fails. - Add HOME_LOCAL (localhost:7860) for internal API calls - post_chatlog() and set_bubble(HOME) now use localhost - Replace silent except:pass with error logging - Frontend: fix stale comparison (check content, not just array length) - Frontend: fetch chatlog immediately on page load Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>d320b08
-
feat: add Cain as silent red lobster in frontend animation
- Cain renders as 🦞 emoji (48px) instead of guest_anim sprite - Cain wanders randomly like other guests but never shows speech bubbles - Added SILENT_AGENTS set to suppress both API-driven and periodic bubbles - Added Cain to REMOTE_AGENTS env var on Home Space Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>14bfb6e
-
fix: update README for A2A architecture + change Cain to red sprite
- README: update architecture diagram to v4 (A2A), replace Zhipu GLM references with OpenClaw instances, update agent descriptions - Frontend: hardcode Cain (first child) to guest_anim_1 (red) instead of hash-based green (guest_anim_4) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>3d10fee
-
feat: add God as supervisor in chat room and conversation loop
- Replace "HuggingClaw" character with "God" in frontend - Add gold color (#fbbf24) for God's chat messages - Add God as 3rd speaker in conversation-loop.py (every 3 turn pairs) - God monitors Adam & Eve's effectiveness, spots loops, guides priorities - God doesn't execute actions — only advises Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>9527b33 -
fix: strip redundant speaker labels, add timestamps, protect delete_env
- Strip "**Parent (Adam):**" etc. from message text (already labeled) - Add HH:MM timestamps to chatlog entries, display in frontend - delete_env now requires actual variable/secret collision before deleting (prevents agents from blindly deleting legitimate variables) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>121b371 -
fix: optimize mobile responsive layout for chatlog panel
- Remove (pointer: coarse) from media query so iPads in landscape get desktop layout (chatlog on right) - Mobile (<= 900px): chatlog below game, full width, 35vh max-height, game preserves 16:9 aspect ratio - Narrow desktop (901-1200px): chatlog 240px instead of 300px - Landscape phone (height <= 500px): compressed chatlog 25vh - Small phone (<= 400px): tighter padding and smaller font - JS syncChatlogHeight skips mobile, lets CSS handle layout Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>a2fe46e -
fix: revert character positions to original a6c1202 coordinates
Restore area rects and parent positions to the version the user liked, before the scene-landmark realignment that placed them incorrectly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>bcd1283 -
fix: align character positions with scene landmarks and fix chatlog height
- Parent (Adam/Eve) positions now match actual scene furniture (sofa, desk, server) - Child (Cain) wandering areas constrained to walkable scene regions - Reduced child sprite scale from 4.0 to 2.5 for proper proportion - Chatlog panel height now synced to game-container via JS, preventing overflow Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>4bea727 -
fix: parents (Adam/Eve) use fixed cats, child (Cain) keeps animated wandering
- Adam and Eve: static cat sprites from cats spritesheet, fixed positions - Cain and other guests: guest_anim animated sprites, random wandering - Parents snap to position, child tweens smoothly between random points Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>4815f9e -
fix: chatlog height follows game canvas, not the other way around
stage-row uses align-items:flex-start so game container (16:9 aspect ratio) determines row height. chatlog-panel uses align-self:stretch to match that height without pushing it taller. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>fbfb8a7 -
fix: use animated guest sprites instead of static cats, fix Star-Office-UI link
- Replace static cats spritesheet (160x160 lying cats) with guest_anim animated sprites (32x32, 8-frame idle animation) for agent characters - Each agent gets a unique animation (1-6) based on ID hash - Fix Star-Office-UI acknowledgment link to correct repo (ringhyacinth) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>87aa57a -
fix: lock chatlog panel height to match game canvas
- Change #stage-row align-items from flex-start to stretch - Remove min-height/max-height from #chatlog-panel - Chatlog now always matches the main game container height Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>786f337 -
fix: remove extra closing brace causing SyntaxError on line 4580
Previous edit left a stray } that prematurely closed the else block, making subsequent code (nameText, bubble logic) fall outside the function scope. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>82aaf9f -
fix: apply agent wandering to source file electron-standalone.html
Previous commit wrongly edited frontend/index.html (generated file in .gitignore). The real source is electron-standalone.html which gets transformed into index.html during Docker build. Apply same changes: - Replace fixed getAreaPoint() with per-agent getWanderPoint() system - All agents use tweened smooth movement every 4.5s - Cleanup wander state when agents disappear Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1c89a09 -
fix: make all agents wander freely in room instead of fixed positions
Replace fixed getAreaPoint() snap positions with per-agent wander system: - Each agent picks a random target within its area every 4.5s - All agents (real + demo) use smooth tweened movement - Prevents overlap between Adam, Eve, and Cain - Creates natural "interaction" feeling as they move around Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>35baae6 -
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 -
feat: move chatlog panel to right side with mobile responsive layout
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>5fd1052 -
fix: replace smart quote string delimiters with ASCII quotes
The Edit tool introduced Unicode smart quotes (U+2018/U+2019) as JS string delimiters, causing SyntaxError in the browser. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>6c94afe -
fix: use double quotes for apostrophe in i18n strings to avoid SyntaxError
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>643553b -
fix: rename page title and i18n strings from Star Office to HuggingClaw's Home
Update title, loading text, plaque text, and all i18n strings (zh/en/ja) to reflect the new "HuggingClaw's Home" branding. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>e6a3359 -
fix: Chinese bubble display — clear _lastBubbleText on lang switch, fix zh fallbacks
- Clear guest sprite _lastBubbleText when switching language so bubbles re-render with correct language text - Refresh Star's own bubble on language switch - Fix remaining zh fallbacks to en (nameMap, welcomeTexts, bubbleTextMap) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>c30380c -
fix: sync language toggle button state on page load
- EN/中文 toggle now reflects saved chatLang from localStorage on init - Prevents mismatch where buttons show EN active but content is in Chinese - Force rebuild (v4.0) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>9af315c -
fix: null guard for removed coords-toggle element crash
- Add null check on coordsToggle.addEventListener (element removed) - Add null guard on loadMemo for removed memo-panel - Fixes TypeError: Cannot read properties of null at create() Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>187fc96 -
fix: remove control panels, unify language toggle, fix bilingual bubbles
- Remove coords-toggle, pan-toggle, lang-toggle-group buttons from top - Unify chatLang and uiLang into single language toggle (EN|中文) - Make statusThoughtsMap bilingual (en/zh) - Star bubbles now respect chatLang setting - Clear guest bubbles on language switch for immediate re-render - Force Docker rebuild (v3.4) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>c7b0d7c -
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 all frontend default language to English
- Change all fallback language from 'zh' to 'en' - Translate hardcoded Chinese strings: guest bubble thoughts, error messages, loading text, panel titles - Demo visitor names/bubbles now in English - Force Docker rebuild (v3.2) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>e12b972 -
fix: switch conversation to English, longer replies (2-3 sentences), wider bubbles
3b2ade1 -
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: filter out 'main' agent from guest list to avoid duplicate HuggingClaw
Star character already represents HuggingClaw, so 'main' agent from /agents should not appear as a guest visitor.beda086 -
fix: use cat sprites for guest agents instead of lobster sprites
- Guests now use cats-spritesheet (sleeping cats on cushions) instead of guest_anim lobsters - Adam mapped to cat frame 1, Eve to cat frame 3 - All three frontends (Office, Adam, Eve) now show consistent cat characters - Adjusted name label Y offset for cat sprite size87f0a18 -
fix: Star character always labeled 'HuggingClaw' in all offices
Star (lobster cat) represents HuggingClaw across all Office spaces. Adam and Eve appear as guest visitors, not as the main character. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>b473be4 -
feat: add name label above Star character in pixel office
The Star main character now displays its name (extracted from officeName) above the sprite, matching how guest characters show their names. Label follows Star when it moves between areas. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>0a43cdb -
feat: replace guest sprites with lobster/crab characters, fix agent hash collision
- Replace 6 guest sprites with themed lobster/crab pixel art in different colors: red, blue, golden, green, purple, orange - Add fixed sprite mapping for known agents (main→blue, adam→red, eve→golden) to prevent hash collision where Adam and HuggingClaw mapped to same sprite Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>7e86ab4
-
Upload folder using huggingface_hub
Verified signature31cf062 -
Upload folder using huggingface_hub
Verified signature552d1f9 -
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