chore: remove legacy YAML workflow support #410
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR removes all legacy YAML workflow support, leaving only TypeScript workflows.
Breaking Changes
YAML workflows are no longer supported. Only TypeScript workflows are now supported.
What's Removed
server_sequence.rs)output_parser.rsmodule (YAML-specific JavaScript output parsing)workflow_format.rs(YAML vs TypeScript detection)serde_yamldependency from bothterminator-mcp-agentandterminator-cliexamples/*.yml)Why
TypeScript workflows use
context.datadirectly for structured output, making the JavaScript-basedoutput_parserunnecessary. This simplifies the codebase significantly:Migration
Convert YAML workflows to TypeScript format. See
examples/simple_notepad_workflow/for reference.Testing
cargo checkpassescargo test --package terminator-mcp-agent --libpasses (86 tests)Note
Remove all legacy YAML workflow support, making TypeScript the sole workflow format across CLI and MCP agent.
server_sequence.rs, dropworkflow_format.rsandoutput_parser.rs.execute_sequence; requireurland route toworkflow_typescript..ymlworkflows underexamples/.execute_javascript_with_nodejs(...)signature.serde_yamland YAML detection/paths; parsing now expects JSON only inparse_workflow_contentand help text.serde_yamlandunsafe-libyamlfrom workspace (Cargo.lock/Cargo.toml).Written by Cursor Bugbot for commit 3282760. This will update automatically on new commits. Configure here.