Skip to content

feat: add /workflow slash command for multi-step YAML pipelines#37499

Open
dustinwloring1988 wants to merge 4 commits into
anomalyco:devfrom
dustinwloring1988:dev
Open

feat: add /workflow slash command for multi-step YAML pipelines#37499
dustinwloring1988 wants to merge 4 commits into
anomalyco:devfrom
dustinwloring1988:dev

Conversation

@dustinwloring1988

Copy link
Copy Markdown

Issue for this PR

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Add a new workflow system that allows users to define multi-step pipelines in YAML files under .opencode/workflows/.

How did you verify your code works?

Ran it in windows against a repo with the include example file.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Add a new workflow system that allows users to define multi-step
pipelines in YAML files under .opencode/workflows/. Workflows support
step dependencies, conditional execution, and parallel steps.

- Add workflow YAML schema (ConfigWorkflowV1)
- Add YAML file loader for .opencode/workflows/ directory
- Add Workflow service for listing/getting workflows
- Add workflow runner with dependency resolution
- Add /workflow slash command with resolveTemplate support
- Add example workflows (code-review, deploy-staging)
- Fix black screen by using pre-loaded workflow data instead of Effect.runPromise
- Add ConfigWorkflowPlugin to register workflow commands in V2 service
- Add workflow/* commands for TUI autocomplete dropdown
- Fix resolveTemplate to look up workflows by name from pre-loaded data
@github-actions

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

Based on my search, I found one potentially related PR:

Related PR:

This PR may be related as it also deals with workflows. However, it appears to be for "Dynamic workflows" (a Claude Code feature) rather than a slash command for YAML pipelines. They could be addressing different aspects of workflow functionality or may have been implemented independently.

The current PR (37499) is specifically about adding a /workflow slash command for defining multi-step YAML pipelines in .opencode/workflows/ directories, which appears to be a distinct feature from the Dynamic workflows mentioned in PR #29789.

No clear duplicate found - these appear to be complementary workflow-related features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant