chore: make bun optional for source builds

This commit is contained in:
Peter Steinberger
2026-01-06 23:48:22 +00:00
parent db4d0b8e75
commit 2871657ebe
9 changed files with 54 additions and 53 deletions

View File

@@ -71,21 +71,21 @@ Paste the token into the UI settings (sent as `connect.params.auth.token`).
The Gateway serves static files from `dist/control-ui`. Build them with:
```bash
bun run ui:install
bun run ui:build
pnpm ui:install
pnpm ui:build
```
Optional absolute base (when you want fixed asset URLs):
```bash
CLAWDBOT_CONTROL_UI_BASE_PATH=/clawdbot/ bun run ui:build
CLAWDBOT_CONTROL_UI_BASE_PATH=/clawdbot/ pnpm ui:build
```
For local development (separate dev server):
```bash
bun run ui:install
bun run ui:dev
pnpm ui:install
pnpm ui:dev
```
Then point the UI at your Gateway WS URL (e.g. `ws://127.0.0.1:18789`).

View File

@@ -101,6 +101,6 @@ Open:
The Gateway serves static files from `dist/control-ui`. Build them with:
```bash
bun run ui:install
bun run ui:build
pnpm ui:install
pnpm ui:build
```