Skip to main content

muse_code_sdk/msp/method/session/
members.rs

1// @generated from the MSP stable schema and protocol sources; do not edit by hand.
2
3/// Why a workspace status probe produced no fresh reading.
4///
5/// **Open**: a new reason is additive evolution, and a client MUST render an
6/// unknown value as an unknown-but-present reason rather than rejecting the
7/// row.
8#[derive(Debug, Clone, PartialEq, Eq)]
9#[non_exhaustive]
10pub enum ProbeDegradedReason {
11    /// The workspace is not trusted, so the probe never ran.
12    SkippedUntrusted,
13    /// No enforceable sandbox (or no host-trusted program), so the probe
14    /// failed closed without running.
15    SkippedSandboxUnavailable,
16    /// The sandboxed probe ran but exited non-zero.
17    ProbeFailed,
18    /// A value from a newer host, kept verbatim so an older client decodes the
19    /// rest of the message. Excluded from the generated schema while the enum
20    /// stays declared open; never construct it with a known word.
21    Unknown(String),
22}