pub fn run_workflow(
workflow_path: &str,
user_prompt: Option<&str>,
disable_resources: bool,
) -> Result<(), ZigError>Expand description
Execute a .zug workflow file.
Parses the workflow, validates it, resolves the step DAG, and executes
each step by delegating to zag. The optional user_prompt is injected
as additional context into every step’s prompt.
Resource advertisement (the <resources> block prepended to each step’s
system prompt) is enabled by default; pass disable_resources = true to
opt out, e.g. via zig run --no-resources.