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

Method exec_sandbox

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

Source from the content-addressed store, hash-verified

814 }
815
816 async fn exec_sandbox(
817 &self,
818 _request: tonic::Request<ExecSandboxRequest>,
819 ) -> Result<Response<Self::ExecSandboxStream>, Status> {
820 let (_tx, rx) = mpsc::channel(1);
821 Ok(Response::new(tokio_stream::wrappers::ReceiverStream::new(
822 rx,
823 )))
824 }
825
826 type ExecSandboxInteractiveStream =
827 tokio_stream::wrappers::ReceiverStream<Result<ExecSandboxEvent, Status>>;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected