pub enum SandboxBypassSource {
ModelRequested,
UserPrompted,
PromptUnavailable,
Unknown,
}Expand description
Where a request to run outside the process sandbox originated. Orthogonal to the outcome: the same verdict means a different thing depending on where the request came from.
Variants§
ModelRequested
No longer produced. The model could once ask for a bypass in the tool call itself; no tool exposes that parameter now. Retained so historical events still deserialize.
UserPrompted
The runtime raised the prompt itself — either after a sandboxed attempt looked blocked, or before a run the sandbox cannot enforce at all, such as a detached command — and a person answered it. In the second case nothing had executed when the decision was made.
The runtime raised the prompt itself — after a sandboxed attempt looked blocked, or before a run it cannot enforce — but the permission flow produced no confirmed human answer. This includes unavailable or unreadable prompts, cancellation, and automated rule, hook, or content-exclusion denials.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for SandboxBypassSource
impl Clone for SandboxBypassSource
Source§impl Debug for SandboxBypassSource
impl Debug for SandboxBypassSource
Source§impl Default for SandboxBypassSource
impl Default for SandboxBypassSource
Source§impl<'de> Deserialize<'de> for SandboxBypassSource
impl<'de> Deserialize<'de> for SandboxBypassSource
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>,
impl Eq for SandboxBypassSource
Source§impl PartialEq for SandboxBypassSource
impl PartialEq for SandboxBypassSource
Source§impl Serialize for SandboxBypassSource
impl Serialize for SandboxBypassSource
impl StructuralPartialEq for SandboxBypassSource
Auto Trait Implementations§
impl Freeze for SandboxBypassSource
impl RefUnwindSafe for SandboxBypassSource
impl Send for SandboxBypassSource
impl Sync for SandboxBypassSource
impl Unpin for SandboxBypassSource
impl UnsafeUnpin for SandboxBypassSource
impl UnwindSafe for SandboxBypassSource
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.