Skip to main content

Module update

Module update 

Source

Structs§

UpdateParams
Prepared parameters for workflow update — the system prompt, initial user prompt, and the staging path that the agent should edit in place.

Enums§

WorkflowKind
File kind on disk — either a plain .zwf TOML file or a zipped .zwfz archive. Determines how the binary stages the workflow for editing and how it writes it back when the agent session ends.

Functions§

prepare_update
Prepare an update session without launching zag. Resolves the workflow, copies or unzips it to a tempdir, validates that it parses, and builds the system + initial prompts.
run_update
Launch an interactive zag session for workflow revision.