Accept Chrome recorder JSON without a trailing extract step
CH
2mo ago+69+69+01234567890123456789-22-22-01234567890123456789
Summary
- Chrome side-panel Save/Quick Download writes workflows that end on
click/inputand usetargetText.WorkflowDefinitionSchemarejected those files, sorun-workflow-no-aicould not load a recording it just produced. - Drop the load-time “must end with extract” validator (extract remains the right generation convention for
run-as-tool, not a recorder requirement). - Accept
targetTextas an alias fortarget_textso semantic replay sees the captured label.
Test plan
- Load a click-ending Chrome-shaped payload (
targetText) viaWorkflowDefinitionSchema.model_validate -
target_textsnake_case still loads - Extract-ending workflows still load
-
python cli.py run-workflow-no-ai path/to/sidepanel-download.jsonon a recording that was not manually given an extract step
Made with Cursor
Summary by cubic
Fixes loading of Chrome recorder JSON exports so run-workflow-no-ai can replay recordings that end on click/input instead of extract. Now accepts targetText as an alias for target_text.
- Drops the load-time validator that required a trailing extract step; extract remains the recommended generation convention for
run-as-tool.