swactor/crates/dashboard
2026-06-28 13:42:48 +04:00
..
src datastream based dashboard 2026-06-28 13:42:48 +04:00
.gitignore feat: stability for deployment and distribution (#44) 2026-02-19 14:39:33 +00:00
AGENTS.md stash dashboard prune and match mvp to spec 2026-06-25 11:29:16 +04:00
Cargo.lock stash dashboard prune and match mvp to spec 2026-06-25 11:29:16 +04:00
Cargo.toml stash 2026-06-25 16:30:18 +04:00
README.md stash dashboard prune and match mvp to spec 2026-06-25 11:29:16 +04:00

dashboard

Read-only HTML/SSE dashboard over incoming datastream frames.

The crate owns the Axum server, bounded raw frame window, and view registry. Component crates can keep their own view implementations beside their code and register them through DashboardHandle::register_view. The built-in swactor worker page is hosted here because worker/actor/message processing is universal to swactor programs.

Routes

  • GET / — dashboard index
  • GET /events — raw incoming frames as SSE
  • GET /api/frames — recent raw frame window
  • GET /api/views — registered view metadata
  • GET /view/swactor/workers — built-in worker page
  • GET /api/view/swactor/workers — worker page JSON snapshot

All state is derived from observed frames. The dashboard sends no control signals back to producers.