end to end job management support

This commit is contained in:
Timur Gordon
2025-07-30 08:36:55 +02:00
parent 7d7ff0f0ab
commit 32c2cbe0cc
20 changed files with 2686 additions and 442 deletions

View File

@@ -148,7 +148,7 @@ async fn run_interactive_mode(client: hero_websocket_client::CircleWsClient) ->
// Execute the script
match client.play(input).await {
Ok(result) => {
console::log_1(&format!("📤 Result: {}", result.output).into());
console::log_1(&format!("📤 Result: {}", result).into());
}
Err(e) => {
console::log_1(&format!("❌ Script execution failed: {}", e).into());
@@ -164,7 +164,7 @@ async fn execute_script(client: hero_websocket_client::CircleWsClient, script: S
match client.play(script).await {
Ok(result) => {
console::log_1(&result.output.into());
console::log_1(&result.into());
Ok(())
}
Err(e) => {
@@ -209,7 +209,7 @@ async fn execute_script(client: hero_websocket_client::CircleWsClient, script: S
match client.play(script).await {
Ok(result) => {
println!("{}", result.output);
println!("{}", result);
Ok(())
}
Err(e) => {
@@ -244,7 +244,7 @@ async fn run_interactive_mode(client: hero_websocket_client::CircleWsClient) ->
match client.play(input).await {
Ok(result) => {
println!("\n📤 Result: {}", result.output);
println!("\n📤 Result: {}", result);
}
Err(e) => {
error!("❌ Script execution failed: {}", e);