pub struct CommandSpec {Show 13 fields
pub isolated_env: bool,
pub argv: Vec<String>,
pub cwd: Option<String>,
pub env: BTreeMap<String, String>,
pub env_refs: BTreeMap<String, SecretRef>,
pub shell: bool,
pub timeout_ms: u64,
pub memory_bytes: u64,
pub cpu_millis: u64,
pub max_processes: u32,
pub network: CommandNetworkPolicy,
pub disk_bytes: u64,
pub max_output_bytes: usize,
}Fields§
§isolated_env: boolContext commands skip shared Skill env files and shell initialization.
argv: Vec<String>§cwd: Option<String>§env: BTreeMap<String, String>Plaintext process environment injected at execute time.
Prefer env_refs for secrets; both are merged, with env_refs resolved
server-side at execute time so GET/list responses never contain decrypted
secret values.
env_refs: BTreeMap<String, SecretRef>Secret references (secret://…) resolved by the workspace secret store
at execute time and merged into the process environment. The resolved
plaintext is injected into the sandbox process only; it is not persisted
on the command record.
shell: bool§timeout_ms: u64§memory_bytes: u64§cpu_millis: u64§max_processes: u32§network: CommandNetworkPolicyWhether provider-side egress is denied or permitted for this command. Providers must reject unsupported policy rather than silently ignore it.
disk_bytes: u64Maximum additional writable bytes for the command sandbox.
max_output_bytes: usizeTrait Implementations§
Source§impl Clone for CommandSpec
impl Clone for CommandSpec
Source§fn clone(&self) -> CommandSpec
fn clone(&self) -> CommandSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommandSpec
impl Debug for CommandSpec
Source§impl<'de> Deserialize<'de> for CommandSpec
impl<'de> Deserialize<'de> for CommandSpec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CommandSpec
Source§impl PartialEq for CommandSpec
impl PartialEq for CommandSpec
Source§impl Serialize for CommandSpec
impl Serialize for CommandSpec
impl StructuralPartialEq for CommandSpec
Auto Trait Implementations§
impl Freeze for CommandSpec
impl RefUnwindSafe for CommandSpec
impl Send for CommandSpec
impl Sync for CommandSpec
impl Unpin for CommandSpec
impl UnsafeUnpin for CommandSpec
impl UnwindSafe for CommandSpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more