pub struct WorkflowMeta {
pub name: String,
pub description: String,
pub tags: Vec<String>,
pub version: Option<String>,
pub provider: Option<String>,
pub model: Option<String>,
pub resources: Vec<ResourceSpec>,
}Expand description
Workflow-level metadata.
Fields§
§name: StringHuman-readable workflow name (used as filename if not overridden).
description: StringShort description of what this workflow does.
Tags for discovery and filtering.
version: Option<String>Workflow version string (e.g., “1.0.0”).
provider: Option<String>Default zag provider for all steps (claude, codex, gemini, copilot, ollama).
Individual steps can override this with their own provider field.
model: Option<String>Default model name or size alias for all steps (small, medium, large, or specific name).
Individual steps can override this with their own model field.
resources: Vec<ResourceSpec>Workflow-level reference files advertised in the system prompt for every step.
Each entry is either a bare path string or a table with path, name,
description, and required fields. Paths are resolved relative to
the .zug file’s directory. See ResourceSpec for the accepted
shapes.
Trait Implementations§
Source§impl Clone for WorkflowMeta
impl Clone for WorkflowMeta
Source§fn clone(&self) -> WorkflowMeta
fn clone(&self) -> WorkflowMeta
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more