//! Directive parsing for @directives in MDX files
//!
//! Supported directives:
//! - @agent { role: architect, llm: claude-opus-4 }
//! - @input name: Type
//! - @import "path" as alias
//! - @shell "command" as alias
//! - @if condition { ... }
//! - @validate output { must_contain: [...] }

use super::ast::{AgentConfig, IfBlock, ImportDecl, InputDecl, ShellDecl, ValidationRules};

/// Agent directive type
#[derive(Debug, Clone)]
pub enum AgentDirective {
    /// Agent configuration block
    Agent(AgentConfig),
    /// Input declaration
    Input(InputDecl),
    /// File import
    Import(ImportDecl),
    /// Shell command execution
    Shell(ShellDecl),
    /// Conditional block
    If(IfBlock),
    /// Output validation rules
    Validate(ValidationRules),
}
