Skip to content

Add Nuxt UI + FastAPI control plane for the orchestrator - #7

Draft
arjuncoder1 wants to merge 2 commits into
mainfrom
cursor/orchestrator-ui-5be3
Draft

arjuncoder1 wants to merge 2 commits into
mainfrom
cursor/orchestrator-ui-5be3

Conversation

@arjuncoder1

@arjuncoder1 arjuncoder1 commented Jul 19, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds a FastAPI control plane in soccerbot/ with POST /api/orchestrator/start, POST /api/orchestrator/stop, and GET /api/orchestrator/status that launches scripted-behavior/main.py as a subprocess.
  • Adds a Nuxt UI in ui/ to choose backend/iface/duration and start/stop the demo with live status + log tail.
  • Unblocks Cloud install (uv sync --locked --all-packages ... -p 3.13): remove broken soccerbot workspace deps, fix sim hatch packaging, and gate unitree_sdk2py/cyclonedds to Python < 3.13.
  • Adds missing throw_ball(cfg) so the orchestrator can import stage 4.

UI

Soccerbot Orchestrator UI

How to run

# API
uv sync --package soccerbot
uv run soccerbot-api

# UI
cd ui && npm install
NUXT_PUBLIC_API_BASE=http://127.0.0.1:8000 npm run dev

Tests

  • uv run --package soccerbot pytest soccerbot/tests/test_api.py -q — 5 passed
  • Confirmed Cloud-style uv sync --locked --all-packages --extra dev --extra test --extra pusht -p 3.13 succeeds
  • Manual: API health/start/status + Nuxt page load at http://127.0.0.1:3000

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

cursoragent and others added 2 commits July 19, 2026 16:25
Expose start/stop/status endpoints in soccerbot and a Nuxt control
surface in ui/. Also unblock Cloud `uv sync --all-packages` on Python
3.13 by fixing soccerbot/sim packaging and gating unitree/cyclonedds
to Python <3.13.

Co-authored-by: arjuncoder1 <arjuncoder1@users.noreply.github.com>
The demo orchestrator imported throw_ball, but throw.py only exposed
throw(arms). Wire a cfg-based adapter so API/UI-started demos can import.

Co-authored-by: arjuncoder1 <arjuncoder1@users.noreply.github.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants