Skip to content

feat: support opencode zen reviewer in --review-with - #248

Merged
atomantic merged 1 commit into
mainfrom
cos/task-mtozjjla/agent-7eba8a4a
Sep 6, 2026
Merged

feat: support opencode zen reviewer in --review-with#248
atomantic merged 1 commit into
mainfrom
cos/task-mtozjjla/agent-7eba8a4a

Conversation

@atomantic

Copy link
Copy Markdown
Owner

Summary

  • Adds support for opencode as a local-agent reviewer under --review-with (with friendly aliases zen and opencode-zen).
  • Configures default Zen model to opencode/muse-spark-1.3-contributor-free.
  • Normalizes friendly model identifiers like muse-1.3, zen/muse-1.3, muse-spark-1.3, and bare names to installed Zen models.
  • Maps ~effort=<level> to OpenCode's native reasoning effort flag --variant <level>.
  • Runs OpenCode headlessly in pure isolation mode (opencode run --pure) with redirected stdin (< /dev/null) to ensure non-interactive execution.
  • Updates documentation, CLI command definitions (do:pr, do:release, do:review, do:rpr, do:config, do:depfree, do:better-swift, do:pr-better), and library partials.
  • Adds test coverage verifying OpenCode reviewer parsing, model resolution, effort mapping, and do:config round-tripping.

Test Plan

  • Ran node --test test/review-loop-contract.test.js test/config.test.js (all tests pass).
  • Ran full test suite via npm test (524 passed, 0 failed).

@atomantic
atomantic merged commit f37d79b into main Sep 6, 2026
4 checks passed
@atomantic
atomantic deleted the cos/task-mtozjjla/agent-7eba8a4a branch September 6, 2026 00:17
@atomantic atomantic mentioned this pull request Sep 6, 2026
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