Navigate the Claw3D Codebase Structure
mainThe repository is organized into several key directories:
src/app: Next.js App Router entry points and API routes. Route files (e.g.,src/app/office/page.tsx) should primarily compose feature modules and server boundaries.src/features: Vertical slices for UI and feature-specific state. Includesagents(fleet UI, chat, workflows),office(screens, panels, builder), andretro-office(the 3D React Three Fiber runtime).src/lib: Shared domain logic and adapters. Includesgateway(browser client),office(intent parsing, animation triggers), andstudio(settings persistence).server: Custom Studio server and WebSocket proxy.server/gateway-proxy.jsbridges browser traffic to the upstream OpenClaw Gateway to keep credentials server-side.scripts: Utilities likescripts/sync-openclaw-gateway-client.ts(updates vendored client) andscripts/studio-setup.js(prepares local prerequisites).