Spaces:
Sleeping
Sleeping
Commit History
-
feat: add /api/conv-loop-log endpoint for remote diagnostics
token-redirect.cjs: serve last 50 lines of conversation-loop.log via GET /api/conv-loop-log for remote monitoring without container access. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>8d482fd -
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 -
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 -
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: 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/token-redirect.cjs with huggingface_hub
Verified signaturebcc6655
-
feat: auto-fill gateway token via URL redirect
tao-shen +1: Claude Opus 4.6Add token-redirect.cjs preload script that redirects "/" to "/?token=GATEWAY_TOKEN". The Control UI reads token from URL params and auto-fills it, so users don't need to manually enter the token. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>9512030