Skip to content

v0.8.0

Choose a tag to compare

@dyoshikawa dyoshikawa released this 17 Oct 06:52
58d65f7

What's Changed

Agent runtimes: Claude Agent SDK and Codex SDK

The agent reviewer can now run outside OpenCode. reviewer.agent.runtime picks where:

  • "opencode" (default, unchanged): a read-only OpenCode session.
  • "claude-agent-sdk": Claude Code through @anthropic-ai/claude-agent-sdk, with only Read/Glob/Grep, permissionMode: "auto", and no settings, hooks, MCP servers or plugins loaded from disk.
  • "codex-sdk": Codex through @openai/codex-sdk, in the read-only sandbox without network or web search, in auto mode (approvals_reviewer = "auto_review"), and without the project's AGENTS.md.

Both SDKs are optional peer dependencies. OpenCode does not install them with the plugin, so install the one you use globally and point reviewer.agent.claudeAgentSdk.path or reviewer.agent.codexSdk.path at the installed package directory. reviewer.agent.model takes a model name such as "claude-haiku-5-5" with these runtimes. Their reviews are recorded in the usage log read by npx opencode-auto-approval-plugin stats.

Note that auto mode may let the reviewer read files outside the project when it judges the read safe; use the default opencode runtime if that is not acceptable. See the README's "Agent runtimes" section for details.

  • feat: run the agent reviewer on the Claude Agent SDK or the Codex SDK by @dyoshikawa in #54

Contributors

Full Changelog: v0.7.0...v0.8.0