end to end job management support
This commit is contained in:
		@@ -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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user