mirror of
https://github.com/mikeyobrien/ralph-orchestrator.git
synced 2026-04-25 07:05:57 +03:00
[PR #67] [MERGED] feat(adapters): add OpenCode CLI backend support #116
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ralph-orchestrator#116
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?
📋 Pull Request Information
Original PR: https://github.com/mikeyobrien/ralph-orchestrator/pull/67
Author: @mikeyobrien
Created: 1/18/2026
Status: ✅ Merged
Merged: 1/18/2026
Merged by: @mikeyobrien
Base:
main← Head:feat/opencode-backend📝 Commits (2)
0df7eccfeat(adapters): add OpenCode CLI backend support6b06c2edocs: add OpenCode to supported backends in README📊 Changes
4 files changed (+241 additions, -10 deletions)
View changed files
📝
README.md(+10 -3)📝
crates/ralph-adapters/src/auto_detect.rs(+13 -7)📝
crates/ralph-adapters/src/cli_backend.rs(+112 -0)➕
tasks/add-opencode-backend-adapter.code-task.md(+106 -0)📄 Description
Summary
Changes
Implementation (
cli_backend.rs)opencode()factory method with--dangerously-skip-permissionsfor autonomous modeopencode_tui()factory method for interactive TUI modeopencode_interactive()factory method without auto-approve flagfrom_config(),from_name(),for_interactive_prompt()match statementsfilter_args_for_interactive()support for stripping auto-approve flagAuto-Detection (
auto_detect.rs)"opencode"inDEFAULT_PRIORITYarrayNoBackendErrorinstall suggestionsDocumentation (
README.md)curl -fsSL https://opencode.ai/install | bashTest Plan
test_opencode_backend- Headless mode verificationtest_opencode_tui_backend- TUI mode verificationtest_opencode_interactive_mode_omits_flag- Interactive filter testtest_from_name_opencode- Name resolution testtest_for_interactive_prompt_opencode- Interactive prompt mode testcargo clippypasses with no new warningsUsage
Or with auto-detection (if OpenCode is installed):
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.