MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / exec_sandbox

Method exec_sandbox

crates/openshell-cli/tests/ensure_providers_integration.rs:421–429  ·  view source on GitHub ↗
(
        &self,
        _request: tonic::Request<ExecSandboxRequest>,
    )

Source from the content-addressed store, hash-verified

419 }
420
421 async fn exec_sandbox(
422 &self,
423 _request: tonic::Request<ExecSandboxRequest>,
424 ) -> Result<Response<Self::ExecSandboxStream>, Status> {
425 let (_tx, rx) = mpsc::channel(1);
426 Ok(Response::new(tokio_stream::wrappers::ReceiverStream::new(
427 rx,
428 )))
429 }
430
431 type ExecSandboxInteractiveStream =
432 tokio_stream::wrappers::ReceiverStream<Result<ExecSandboxEvent, Status>>;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected