CodexWebUI is the static browser application for CodexUI 1.0. It connects
directly to an AISuite codex-bridge WebSocket endpoint with the codex
subprotocol. It contains no web server, bridge router, controller authority,
or persistent Codex state. Its build and browser qualification
require Node.js 22 or newer.
The application consumes AISuite's master branch. Check out the repositories as:
workspace/
├── AISuite-extraction/AISuite-final/
└── CodexUI/codexui/
Build both sides:
npm ci --prefix ../../../AISuite-extraction/AISuite-final/packages/codex-frontend
npm test --prefix ../../../AISuite-extraction/AISuite-final/packages/codex-frontend
npm ci
npm run releasenpm run profile repeats the large-thread presentation measurement. There is
no standalone Node development or production server.
npm run build:app creates the relocatable static artifact in app-dist/.
The standalone packaging project verifies and installs it with:
cmake -S . -B package-build -DCMAKE_INSTALL_PREFIX=/desired/prefix
cmake --build package-build --target codexui-web-artifact
cmake --install package-build --component CodexWebUIThe combined CodexUI build includes this project by default and installs the
artifact in share/codexui/web; native-only builds must explicitly configure
-DCODEXUI_INSTALL_WEB=OFF. The existing codex-bridge HTTP/WebSocket
listener serves /, /index.html, and the generated /assets/ files from
that directory while /codex remains the WebSocket upgrade route. A page
delivered over HTTPS automatically derives the corresponding same-origin
wss://.../codex URL.
The configured bridge URL is retained in browser local storage. Provider-side workspace paths and generated-image paths are displayed as remote metadata; the application does not imply access to the browser machine's filesystem. Failed WebSocket openings release their transport through the SDK detach callback; an explicit retry waits for that release before constructing its replacement.
npm testbuilds TypeScript and runs all presentation, projection, lifecycle, viewport, supporting-surface, and server-render qualification tests.npm run build:appverifies the production Vite bundle.npm run qualify:browserserves that bundle only for the duration of a headless-Chromium responsive, focus, drawer, and target-size qualification.npm run verify:artifactproves that the output is non-empty and relocatable below an arbitrary static base path.- The repository CI checks the SDK from AISuite
masterindependently, runs the web suite, records the performance profile, installs the artifact through CMake, and uploads the verified staged tree ascodexui-web.
The authoritative scope and exceptions are in
../docs/web-1.0-contract.md.