#Help
1 messages Β· Page 1 of 1 (latest)
For Control UI edits, use the source checkout directly. You can ask OpenClaw to help if it has access to that checkout, or use an outside coding agent like Codex/Claude Code. For UI work, an agent that can read files and run pnpm in the repo is usually the smoothest path.
Current source layout:
- Control UI app:
ui/ - Main entry:
ui/src/main.ts - Lit UI modules:
ui/src/ui/ - Styling:
ui/src/styles.cssandui/src/styles/ - English strings:
ui/src/i18n/locales/en.ts - Built output served by the gateway:
dist/control-ui/
Typical dev loop from the repo root:
pnpm install
pnpm ui:dev
That starts the Vite dev server on port 5173 for fast UI iteration. For the real gateway-served dashboard, rebuild the UI assets:
pnpm ui:build
If you changed backend/gateway TypeScript too, run the full build:
pnpm build
pnpm ui:build
Then restart the gateway so it serves the rebuilt dist/control-ui.
A good agent prompt is something like: βIn this OpenClaw checkout, modify the Control UI under ui/. Keep changes scoped, run pnpm ui:build, and tell me what files changed.β