klieo_workflow/lib.rs
1//! Declarative no-code workflow substrate.
2//!
3//! Lowers a [`WorkflowDef`] (authored as data) into a
4//! [`klieo_flows::Flow`] via [`compile`]. State is a shared JSON object
5//! (the "envelope") threaded through every node; each node reads one named
6//! field as its input and writes its output to another.
7#![deny(missing_docs)]
8
9mod condition;
10mod def;
11mod error;
12mod interpreter;
13mod node;
14mod registry;
15
16#[cfg(any(test, feature = "test-support"))]
17pub mod test_support;
18
19pub use condition::{Condition, Op};
20pub use def::{
21 canonical_json_bytes, run_record, AgentConfig, EdgeDef, NodeDef, NodeKind, WorkflowDef,
22 WorkflowRunRecord,
23};
24pub use error::CompileError;
25pub use interpreter::compile;
26pub use registry::Registry;