pub fn run_workflow(
workflow_path: &str,
user_prompt: Option<&str>,
disable_resources: bool,
disable_memory: bool,
) -> Result<(), ZigError>Expand description
Execute a workflow file (.zwf or .zwfz).
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.
Memory injection (the <memory> block) is similarly enabled by default;
pass disable_memory = true to opt out via zig run --no-memory.