feat: Added graph validation

This commit is contained in:
2026-05-13 10:18:51 -06:00
parent 76861508c9
commit cf666eb2c6
3 changed files with 644 additions and 6 deletions
+2
View File
@@ -4,6 +4,7 @@
pub mod parser;
pub mod state;
pub mod types;
pub mod validator;
pub use parser::{GraphParser, agent_has_graph, load_agent_graph};
pub use state::{StateManager, StateRepresentation};
@@ -11,6 +12,7 @@ pub use types::{
AgentNode, ApprovalNode, EndNode, Graph, GraphSettings, GraphState, InputNode, Node, NodeType,
ScriptNode,
};
pub use validator::{GraphValidator, ValidationError, ValidationResult};
pub const GRAPH_SCHEMA_VERSION: &str = "1.0";