#23
- Parameters can be text (default), number (min, max), select
(options), boolean, or worker, with a default. The Run dialog shows a
matching field, the allowed characters for text, and the range for
numbers; worker parameters choose from the connected workers.
- Values are checked before anything starts: in the dialog, naming the
characters that are not allowed, and by the server (resolveParams),
which answers 400 "Invalid parameters: ..." and creates no execution.
A bad value used to fail mid-run as "Unsafe value for workflow
parameter". Server errors now show in the dialog instead of a toast.
#11
- Saving a workflow checks its shape (definitionErrors): known step
types and their required fields, unique ids, prompt routes that match
options, route conditions, and parameter definitions. Unknown step
types were silently skipped at run time.
- README documents the parameter types and the checks.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>