Skip to main content

runifold_workflow/
lib.rs

1//! Durable, capability-safe workflow and Agent orchestration for Runifold.
2
3mod checkpoint;
4mod error;
5mod execution;
6mod outcome;
7mod parallel;
8mod race;
9mod step;
10mod workflow;
11
12pub use checkpoint::{
13    ParallelBranchCheckpoint, WorkflowCheckpoint, WorkflowCheckpointPhase, WorkflowCheckpointState,
14    WorkflowResumePolicy,
15};
16pub use error::{WorkflowBuildError, WorkflowError, WorkflowStepError};
17pub use execution::WorkflowFuture;
18pub use outcome::WorkflowOutcome;
19pub use step::{
20    AgentStep, AgentStepOutput, PredicateCondition, StepId, WorkflowCondition, WorkflowStep,
21    WorkflowStepFuture,
22};
23pub use workflow::{ParallelBranch, Workflow, WorkflowBuilder};
24
25#[cfg(test)]
26mod tests;