diffray 0.5.2 → 0.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +22 -2
  2. package/dist/diffray.cjs +170 -173
  3. package/package.json +4 -2
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
  </tr>
9
9
  </table>
10
10
 
11
- > **What is this?** A CLI tool that runs multiple AI agents to review your code changes. Each agent specializes in different aspects: bugs, security, performance, code style. Works with [Claude Code](https://github.com/anthropics/claude-code) or [Cursor Agent](https://cursor.com).
11
+ > **What is this?** A CLI tool that runs multiple AI agents to review your code changes. Each agent specializes in different aspects: bugs, security, performance, code style. Works with [Claude Code](https://github.com/anthropics/claude-code), [Cursor Agent](https://cursor.com), OpenCode, or Codex CLI.
12
12
  >
13
13
  > **How is it different from [diffray.ai](https://diffray.ai)?** The cloud platform automatically learns from your team's review feedback and generates rules. This CLI version requires manual rule configuration but gives you full control and runs locally.
14
14
 
@@ -155,7 +155,27 @@ diffray config init
155
155
  diffray review --executor opencode-cli
156
156
  ```
157
157
 
158
- Costs depend on your AI provider's pricing. Claude Code uses your Anthropic account or Claude Pro subscription. Cursor Agent uses your Cursor subscription.
158
+ Costs depend on your AI provider's pricing. Claude Code uses your Anthropic account or Claude Pro subscription. Cursor Agent uses your Cursor subscription. Codex CLI uses your OpenAI account.
159
+
160
+ ### Codex CLI (alternative)
161
+
162
+ OpenAI Codex CLI for local code review:
163
+
164
+ ```bash
165
+ # Install
166
+ npm install -g @openai/codex
167
+ ```
168
+
169
+ Then switch diffray to use it:
170
+
171
+ ```bash
172
+ # Via config
173
+ diffray config init
174
+ # Edit .diffray.json and add: "executor": "codex-cli"
175
+
176
+ # Or per-run
177
+ diffray review --executor codex-cli
178
+ ```
159
179
 
160
180
  **Tips to reduce costs:**
161
181
  - Review smaller changesets more frequently