mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 11:02:20 +00:00
22 lines
533 B
Text
22 lines
533 B
Text
---
|
|
title: "Frontend Demo"
|
|
description: "Run the Vite + React UI for testing the server."
|
|
---
|
|
|
|
The demo frontend lives at `frontend/packages/inspector`.
|
|
|
|
## Run locally
|
|
|
|
```bash
|
|
pnpm install
|
|
pnpm --filter @sandbox-agent/inspector dev
|
|
```
|
|
|
|
The UI expects:
|
|
|
|
- Endpoint (e.g. `http://127.0.0.1:2468`)
|
|
- Optional token
|
|
|
|
When running the server, the inspector is also served automatically at `http://127.0.0.1:2468/ui`.
|
|
|
|
If you see CORS errors, enable CORS on the server with `sandbox-agent server --cors-allow-origin` and related flags.
|