Skip to content

Releases: diffray/diffray

v0.5.2

13 Jan 20:38

Choose a tag to compare

What's New

Added

  • OpenCode CLI executor — New executor for OpenCode AI CLI

    • diffray review --executor opencode-cli — Use OpenCode as executor
    • Supports all OpenCode models (e.g., opencode/gpt-5-nano, opencode/grok-code)
    • Streaming support with --stream flag
    • Installation: curl https://opencode.ai/install -fsS | bash
  • --model flag — Override model for all agents from CLI

    • diffray review --model sonnet — Use Sonnet for all agents
    • diffray review --model opus — Use Opus for thorough review
    • diffray review --executor opencode-cli --model opencode/gpt-5-nano — Combine executor and model
    • Overrides both agent settings and config file settings (highest priority)
  • Model override documentation — Comprehensive guide in README

    • Available models per executor
    • Override hierarchy (CLI > project config > global config > defaults)
    • Configuration examples for global and project configs
    • Practical use cases and recommendations

Changed

  • Improved setup-command — Better multi-file support
  • Simplified model override logic — Cleaner code in executeAgent()

Fixed

  • Optional chaining for config.executors access in validation stage

Full Changelog: v0.5.1...v0.5.2

v0.5.0

13 Jan 12:43

Choose a tag to compare

New Features

  • --files flag — Review only specific files (comma-separated)

    diffray review --files src/auth.ts
    diffray review --files src/a.ts,src/b.ts --base main
  • --full flag — Review entire file content without git diff

    diffray review --files src/auth.ts --full

Improvements

  • Refactored runReview() with helper functions for better maintainability
  • Fixed duplicate successCount calculation

Release v0.4.0

12 Jan 22:11

Choose a tag to compare