Restructure: move clients/openrpc to client/ and clients/admin-ui to ui/

This commit is contained in:
Timur Gordon
2025-11-06 14:07:55 +01:00
parent af5cd30516
commit 4a5f19e091
38 changed files with 43 additions and 11 deletions

View File

@@ -1,9 +1,13 @@
///! Comprehensive OSIRIS + OpenRPC + Admin UI Example
///!
///! This example demonstrates:
/// This example demonstrates using the Hero Supervisor OpenRPC client
/// to run OSIRIS scripts through the supervisor.
///
/// The client library is located at: client/
///!
///! 1. Starting a Hero Supervisor with OpenRPC server
///! 2. Building and serving the Admin UI (Yew WASM)
///! 3. Starting an OSIRIS runner
///! 3. Building and starting an OSIRIS runner
///! 4. Registering the runner with the supervisor
///! 5. Dispatching multiple OSIRIS jobs via OpenRPC
///! 6. Monitoring job execution via CLI and Web UI
@@ -86,7 +90,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
.arg("8080")
.arg("--address")
.arg("127.0.0.1")
.current_dir("clients/admin-ui")
.current_dir("ui")
.stdout(Stdio::null())
.stderr(Stdio::null())
.spawn()?;