(stdout: &str)
| 705 | const AUTO_MODE: OpenclawApprovalMode = OpenclawApprovalMode::AutoApprove; |
| 706 | |
| 707 | fn ok_output(stdout: &str) -> Result<OpenclawCommandOutput, String> { |
| 708 | Ok(OpenclawCommandOutput { |
| 709 | success: true, |
| 710 | status_code: Some(0), |
| 711 | stdout: stdout.to_string(), |
| 712 | stderr: String::new(), |
| 713 | }) |
| 714 | } |
| 715 | |
| 716 | fn failed_output(code: i32, stderr: &str) -> Result<OpenclawCommandOutput, String> { |
| 717 | Ok(OpenclawCommandOutput { |
no outgoing calls