There've been a few asks for Claude-Code-style workflows in opencode (#32166, #29059, #30308). @VasyaYovbak built a working version in #29789, but it came in as one ~40k-line PR that's really hard to review.
I rebased that work onto current dev and broke it into six PRs that each do one thing:
They're a stack, but each one is small enough to read on its own, and all six are green and mergeable against current dev right now. I'll keep them rebased.
#32301 is separate and smaller: it lets sub-agents spawn sub-agents (fixes #23091 and #13715) and doesn't touch the workflow stack.
@dzianisv also has a workflow implementation in his fork — if you'd rather have one upstream version, I can reconcile the two.
Mainly I wanted to check with @thdxr / @kitlangton whether this is something you'd want upstream. If so, it's ready to review and I'll keep it current. If the design needs changes first, let me know.
There've been a few asks for Claude-Code-style workflows in opencode (#32166, #29059, #30308). @VasyaYovbak built a working version in #29789, but it came in as one ~40k-line PR that's really hard to review.
I rebased that work onto current dev and broke it into six PRs that each do one thing:
They're a stack, but each one is small enough to read on its own, and all six are green and mergeable against current dev right now. I'll keep them rebased.
#32301 is separate and smaller: it lets sub-agents spawn sub-agents (fixes #23091 and #13715) and doesn't touch the workflow stack.
@dzianisv also has a workflow implementation in his fork — if you'd rather have one upstream version, I can reconcile the two.
Mainly I wanted to check with @thdxr / @kitlangton whether this is something you'd want upstream. If so, it's ready to review and I'll keep it current. If the design needs changes first, let me know.