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

Class BinaryCapabilityDef

crates/openshell-prover/src/registry.rs:23–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21
22#[derive(Debug, Deserialize)]
23struct BinaryCapabilityDef {
24 binary: String,
25 #[serde(default)]
26 description: String,
27 #[serde(default)]
28 protocols: Vec<BinaryProtocolDef>,
29 #[serde(default)]
30 spawns: Vec<String>,
31 #[serde(default)]
32 can_exfiltrate: bool,
33 #[serde(default)]
34 exfil_mechanism: String,
35 #[serde(default)]
36 can_construct_http: bool,
37}
38
39#[derive(Debug, Deserialize)]
40struct BinaryProtocolDef {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected