()
| 63 | supervisor's normal token-acquisition path can resolve a JWT."; |
| 64 | |
| 65 | async fn open_client() -> Result<OpenShellClient<AuthedChannel>> { |
| 66 | let endpoint = std::env::var(openshell_core::sandbox_env::ENDPOINT) |
| 67 | .into_diagnostic() |
| 68 | .wrap_err("OPENSHELL_ENDPOINT must be set")?; |
| 69 | let channel = connect_channel_pub(&endpoint).await?; |
| 70 | Ok(OpenShellClient::new(channel)) |
| 71 | } |
| 72 | |
| 73 | async fn run_get_sandbox_config(args: &[String]) -> Result<i32> { |
| 74 | let sandbox_id = parse_flag(args, "--sandbox-id") |
no test coverage detected