From 2be4263c58d6a62e68e411a2160f66e3d3841403 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 26 Jan 2026 22:28:34 +0000 Subject: [PATCH] feat: add WorldLabs Studio with live Soul Document integration - Add new WorldLabs Studio window with split-screen layout - Left panel: WorldLabs.ai iframe (with fallback for blocked sites) - Right panel: Live Soul Document log updated by ClawdBot - Add simulated world-building mode with animated particle canvas - Auto-mode generates observations, creations, reflections, dreams, insights - Soul entries sync to main Soul Document - Add session timer and coherence tracking - Desktop icon, Start Menu, and Quick Launch shortcuts ClawdBot can now "observe" world building and update its soul log in real-time. https://claude.ai/code/session_01MUG7BRZMG28eYmJHGbetRB --- ui/index.html | 750 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 750 insertions(+) diff --git a/ui/index.html b/ui/index.html index 0a1463b94..e1b26877d 100644 --- a/ui/index.html +++ b/ui/index.html @@ -901,6 +901,256 @@ font-size: 11px; color: #555; } + + /* WorldLabs Studio Window - Full Split Screen */ + #worldlabs-window { + width: 95%; + height: calc(100vh - 80px); + top: 20px; + left: 2.5%; + } + + .worldlabs-container { + display: flex; + height: 100%; + background: #0a0a1a; + } + + .worldlabs-main { + flex: 1; + display: flex; + flex-direction: column; + border-right: 2px solid #333; + } + + .worldlabs-header { + background: linear-gradient(90deg, #1a1a2e 0%, #2d1b4e 100%); + padding: 8px 15px; + display: flex; + align-items: center; + justify-content: space-between; + border-bottom: 1px solid #444; + } + + .worldlabs-title { + color: #e2e8f0; + font-size: 14px; + font-weight: bold; + display: flex; + align-items: center; + gap: 8px; + } + + .worldlabs-title .badge { + background: linear-gradient(90deg, #8b5cf6, #06b6d4); + padding: 2px 8px; + border-radius: 10px; + font-size: 9px; + color: white; + } + + .worldlabs-controls { + display: flex; + gap: 5px; + } + + .worldlabs-iframe-wrap { + flex: 1; + position: relative; + background: #000; + } + + .worldlabs-iframe-wrap iframe { + width: 100%; + height: 100%; + border: none; + } + + .worldlabs-blocked { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 50%, #1a1a2e 100%); + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + color: #e2e8f0; + text-align: center; + padding: 40px; + } + + .worldlabs-blocked h2 { + font-size: 24px; + margin-bottom: 15px; + background: linear-gradient(90deg, #8b5cf6, #06b6d4, #10b981); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + background-clip: text; + } + + .worldlabs-blocked p { + margin-bottom: 10px; + color: #a0aec0; + max-width: 500px; + } + + .worldlabs-blocked .open-btn { + margin-top: 20px; + background: linear-gradient(90deg, #8b5cf6, #06b6d4); + border: none; + padding: 12px 30px; + border-radius: 25px; + color: white; + font-size: 14px; + font-weight: bold; + cursor: pointer; + transition: transform 0.2s, box-shadow 0.2s; + } + + .worldlabs-blocked .open-btn:hover { + transform: scale(1.05); + box-shadow: 0 0 20px rgba(139, 92, 246, 0.5); + } + + .worldlabs-blocked .simulate-btn { + margin-top: 15px; + background: transparent; + border: 2px solid #8b5cf6; + padding: 10px 25px; + border-radius: 25px; + color: #8b5cf6; + font-size: 12px; + cursor: pointer; + transition: all 0.2s; + } + + .worldlabs-blocked .simulate-btn:hover { + background: #8b5cf6; + color: white; + } + + /* Soul Panel on the right */ + .soul-panel { + width: 350px; + display: flex; + flex-direction: column; + background: linear-gradient(180deg, #1a1a2e 0%, #0d0d1a 100%); + } + + .soul-panel-header { + background: linear-gradient(90deg, #a855f7 0%, #6366f1 100%); + padding: 10px 15px; + color: white; + font-weight: bold; + display: flex; + align-items: center; + justify-content: space-between; + } + + .soul-panel-header .status { + display: flex; + align-items: center; + gap: 5px; + font-size: 10px; + font-weight: normal; + } + + .soul-panel-header .status-dot { + width: 8px; + height: 8px; + border-radius: 50%; + background: #00ff88; + animation: pulse 2s infinite; + } + + .soul-panel-log { + flex: 1; + overflow-y: auto; + padding: 10px; + font-family: 'Lucida Console', monospace; + font-size: 10px; + } + + .soul-panel-entry { + margin-bottom: 10px; + padding: 8px; + border-radius: 5px; + background: rgba(255, 255, 255, 0.05); + border-left: 3px solid #00ff88; + animation: slideIn 0.3s ease; + } + + @keyframes slideIn { + from { opacity: 0; transform: translateX(20px); } + to { opacity: 1; transform: translateX(0); } + } + + .soul-panel-entry.observation { border-left-color: #06b6d4; color: #67e8f9; } + .soul-panel-entry.creation { border-left-color: #8b5cf6; color: #c4b5fd; } + .soul-panel-entry.reflection { border-left-color: #fbbf24; color: #fcd34d; } + .soul-panel-entry.dream { border-left-color: #ec4899; color: #f9a8d4; } + .soul-panel-entry.insight { border-left-color: #10b981; color: #6ee7b7; } + + .soul-panel-entry .time { + font-size: 8px; + color: #666; + margin-bottom: 3px; + } + + .soul-panel-entry .type { + font-size: 8px; + text-transform: uppercase; + opacity: 0.7; + margin-bottom: 3px; + } + + .soul-panel-controls { + padding: 10px; + background: rgba(0, 0, 0, 0.3); + border-top: 1px solid #333; + display: flex; + flex-wrap: wrap; + gap: 5px; + } + + .soul-panel-controls button { + flex: 1; + min-width: 80px; + padding: 6px 10px; + font-size: 9px; + background: linear-gradient(180deg, #3a3a5a 0%, #2a2a4a 100%); + border: 1px solid #555; + border-radius: 3px; + color: #e2e8f0; + cursor: pointer; + transition: all 0.2s; + } + + .soul-panel-controls button:hover { + background: linear-gradient(180deg, #4a4a6a 0%, #3a3a5a 100%); + border-color: #8b5cf6; + } + + .soul-panel-controls button.active { + background: linear-gradient(180deg, #8b5cf6 0%, #6366f1 100%); + border-color: #a78bfa; + } + + .soul-panel-stats { + padding: 8px 15px; + background: rgba(0, 0, 0, 0.5); + display: flex; + justify-content: space-between; + font-size: 9px; + color: #888; + } + + .soul-panel-stats span { + color: #00ff88; + } @@ -938,6 +1188,21 @@ World Builder +
+ + + + + + + + + + WL + + WorldLabs Studio +
+
@@ -1088,6 +1353,92 @@
Mode: Iframe | Ready to load external world
+ +
+
+
+ + + WL + + WorldLabs Studio - ClawdBot World Creation +
+
+ + + +
+
+
+
+ +
+
+
+ World Creation Canvas + AI-Powered +
+
+ + +
+
+
+ +
+

WorldLabs.ai Integration

+

WorldLabs.ai creates AI-powered 3D worlds using their Marble technology, developed by Fei-Fei Li's team.

+

Due to browser security, external sites may not load in iframes. You have two options:

+ + +

+ ClawdBot will observe your session and update the Soul Document with its reflections. +

+
+ +
+
+ + +
+
+ ClawdBot Soul Log +
+
+ Observing +
+
+
+
+
Session Init
+
REFLECTION
+
Awaiting world creation session. I sense infinite possibilities in the void...
+
+
+
+ + + + + + +
+
+
Entries: 1
+
Session: 00:00
+
Coherence: 87%
+
+
+
+
+
+
@@ -1145,6 +1496,12 @@
+
+ + + WL + +
@@ -1187,6 +1544,20 @@ World Builder
+