- This repo is scaffolded only. Dependencies are not installed yet.
- Install dependencies with `corepack pnpm install`
- The current runtime and gateway implementations are placeholders with the right boundaries, not full OpenClaw integration.
- Start the renderer + desktop shell with `corepack pnpm dev`
- UI talks to Electron through preload only. Renderer does not touch secrets, runtime files, or child processes directly.
- Run workspace type checks with `corepack pnpm typecheck`
## Packaging
- Build a Windows installer with `corepack pnpm package`
- The package flow first runs `build/scripts/materialize-runtime-payload.ps1`
- That script materializes `vendor/openclaw-runtime/` from the local machine, including:
- bundled `node.exe`
- the local OpenClaw package entry
- a copied Python runtime plus locked Python dependencies
- Playwright Chromium under `vendor/openclaw-runtime/playwright-browsers/`
-`apps/desktop/electron-builder.yml` then copies `vendor/openclaw-runtime/` into the installer as `resources/vendor/openclaw-runtime`
## Runtime Payload And Git
## Next Steps
-`vendor/openclaw-runtime/README.md` is tracked as the placeholder for the packaged runtime payload
- Generated runtime payload directories are not source files and should not be committed
-`.gitignore` excludes generated runtime content such as:
-`vendor/openclaw-runtime/node/`
-`vendor/openclaw-runtime/openclaw/`
-`vendor/openclaw-runtime/python/`
-`vendor/openclaw-runtime/playwright-browsers/`
-`vendor/openclaw-runtime/runtime-manifest.json`
-`vendor/openclaw-runtime/config/openclaw.json`
- The Playwright browser binaries are still required in the final installer; they are produced during `materialize:runtime`, not meant to live in Git history
1. Run `pnpm install`
## GitLab CI
2. Put the pinned OpenClaw runtime payload under `vendor/openclaw-runtime`
3. Replace placeholder runtime start/stop logic with real child process management
- The repo now includes a root `.gitlab-ci.yml` for Windows runners
4. Replace placeholder secret manager with `keytar`
-`typecheck_windows` installs dependencies and runs `corepack pnpm typecheck`
5. Replace mocked gateway client calls with the actual WebSocket protocol
-`package_windows_installer` is a manual job that runs `corepack pnpm package`
- The packaging job validates the same prerequisites that `materialize-runtime-payload.ps1` needs on a real machine:
-`node`
-`python`
-`openclaw` or `openclaw.cmd`
-`%USERPROFILE%\.openclaw\openclaw.json`
- The packaging job publishes the generated installer from `dist/installer/`
## Notes
- UI talks to Electron through preload only. Renderer does not touch secrets, runtime files, or child processes directly.
- Installer smoke scripts exist under `build/scripts/`, but they launch a packaged Electron app and are better suited to a desktop-capable Windows machine than a generic CI runner service.