Commit Graph
7 Commits
Author SHA1 Message Date
Brett Williams 59fb7739e4 Rename worker package cross_py_builder -> agent
The nested cross_py_builder package only contains the worker agent. Rename
it to agent/ to match its role and distinguish it from the ctrl package and
the PyPI distribution name. Internal imports are relative, so build_agent.py
and zeroconf_server.py are unaffected except for the cosmetic APP_NAME banner.
2026-08-30 22:01:54 -05:00
Brett Williams 0e89919342 Add controller with web UI and retire CLI
- Add ctrl/ package: Flask app (waitress), SQLite job store, background
  scheduler that probes configured workers, dispatches via /upload and
  /checkout_git, fetches artifacts, and serves a single-page UI
- Supporting API: /api/jobs (create/list/detail/cancel), /api/workers,
  /api/capabilities, artifact download, and SSE log stream
- Workers keep the existing HTTP API; add /progress/<job_id> endpoint and
  per-step build tracking for live status
- Retire agent_manager.py and the cross-py-builder CLI; controller UI is
  the primary frontend
- Record design in DESIGN.md; add waitress dependency

Note: /progress is exposed on the worker but the synchronous /upload and
/checkout endpoints block until a build completes, so per-step worker
progress is not yet relayed live in the UI. Live streaming needs an
async-start worker endpoint as a follow-up.
2026-08-30 21:55:46 -05:00
Brett Williams b511962a1f This works 2025-03-12 00:48:46 -05:00
Brett Williams e07e2bd997 Another attempt #2 2025-03-12 00:40:33 -05:00
Brett Williams 3c92a0775f Another attempt 2025-03-12 00:30:47 -05:00
Brett Williams 80fdc887f0 Fix pip setup 2025-03-12 00:27:16 -05:00
Brett Williams b0d3660881 Ability to checkout git repos, custom ports, and setup for pip 2025-03-12 00:20:25 -05:00