Skip to main content

Crate metalcraft_flows

Crate metalcraft_flows 

Source
Expand description

§metalcraft-flows

Reference types and helpers for the Flow specification — a serializable, human-authored DAG format for AI agent workflows.

See SPEC.md for the formal wire-format specification.

§Modules

Re-exports§

pub use model::CoreNodeType;
pub use model::FlowDefinition;
pub use model::FlowEdge;
pub use model::FlowNode;
pub use model::FlowNodeType;
pub use model::FlowSummary;
pub use model::SavedFlow;
pub use model::SPEC_VERSION;
pub use validate::validate;
pub use validate::ValidationError;
pub use walk::walk_bfs;
pub use store::delete_flow;fs
pub use store::list_flows;fs
pub use store::load_flow;fs
pub use store::save_flow;fs
pub use log::append_flow_log;log
pub use log::load_flow_logs;log
pub use log::FlowLogEntry;log

Modules§

loglog
Flow execution log entries.
model
Core data model for the Flow specification.
storefs
Directory-backed CRUD for SavedFlow documents.
validate
Spec-conformance validation for a SavedFlow or FlowDefinition.
walk
Generic graph traversal over a FlowDefinition.