mirror of
https://github.com/mikeyobrien/ralph-orchestrator.git
synced 2026-04-25 07:05:57 +03:00
[GH-ISSUE #69] Bug: OpenCode Backend cli seems to be missing the run subcommand #27
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ralph-orchestrator#27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @maafk on GitHub (Jan 18, 2026).
Original GitHub issue: https://github.com/mikeyobrien/ralph-orchestrator/issues/69
When using
backend: "opencode"in ralph.yml, ralph invokesopencodebut appears to be missing therunsubcommand. This causes OpenCode to print its help menu instead of executing the prompt.Environment
Steps to Reproduce
ralph.ymlwith:Expected Behavior
Ralph should invoke OpenCode with the
runsubcommand and pass the prompt as positional arguments:Or with model selection:
Actual Behavior
Ralph appears to invoke just
opencodewithout therunsubcommand, causing OpenCode to print its help menu 5 times before failing:OpenCode CLI Reference
From
opencode run --help:Root Cause
The opencode adapter seems to not include the
runsubcommand when constructing the command. The correct invocation should be:Not:
Suggested Fix
The command construction needs to:
runsubcommandExample of correct invocation:
@mikeyobrien commented on GitHub (Jan 19, 2026):
@maafk Should be fixed with: https://github.com/mikeyobrien/ralph-orchestrator/pull/72. I manually verified, albeit on a very trivial prompt.
@maafk commented on GitHub (Jan 19, 2026):
Works great @mikeyobrien ! Thanks so much for this awesome project!