MCPcopy Create free account
hub / github.com/Work-Fisher/code-claw / BashCommandInput

Class BashCommandInput

claw-code/rust/crates/runtime/src/bash.rs:18–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16
17#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]
18pub struct BashCommandInput {
19 pub command: String,
20 pub timeout: Option<u64>,
21 pub description: Option<String>,
22 #[serde(rename = "run_in_background")]
23 pub run_in_background: Option<bool>,
24 #[serde(rename = "dangerouslyDisableSandbox")]
25 pub dangerously_disable_sandbox: Option<bool>,
26 #[serde(rename = "namespaceRestrictions")]
27 pub namespace_restrictions: Option<bool>,
28 #[serde(rename = "isolateNetwork")]
29 pub isolate_network: Option<bool>,
30 #[serde(rename = "filesystemMode")]
31 pub filesystem_mode: Option<FilesystemIsolationMode>,
32 #[serde(rename = "allowedMounts")]
33 pub allowed_mounts: Option<Vec<String>>,
34}
35
36#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
37pub struct BashCommandOutput {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected