Scaffold Rust workspace, React canvas, vault engine, hub API, providers, agent wormhole path, and Docker compose per SPEC.
22 lines
461 B
Rust
22 lines
461 B
Rust
use serde::{Deserialize, Serialize};
|
|
|
|
#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize, utoipa::ToSchema)]
|
|
#[serde(rename_all = "snake_case")]
|
|
pub enum OrbitRunState {
|
|
Idle,
|
|
Preparing,
|
|
Capturing,
|
|
Sealing,
|
|
ApplyingDecay,
|
|
Completed,
|
|
Failed,
|
|
Rehearsed,
|
|
}
|
|
|
|
#[derive(Debug, Clone, Serialize, Deserialize)]
|
|
pub struct OrbitRun {
|
|
pub state: OrbitRunState,
|
|
pub dry_run: bool,
|
|
pub message: Option<String>,
|
|
}
|