跳到主要内容
    ↑↓ 选择↵ 打开esc 关闭
    中文English
    joeyism

    Auto Reviewer

    v0.1.0其他
    opencode-auto-reviewer

    OpenCode plugin that acts as a supervisor to detect conceptual loops

    GitHub 星标

    2

    月装机量

    331

    近 7 天 4

    综合评分SCORE

    35.6

    生态多维模型

    最近提交

    2 个月前

    2026-06-07

    快速安装与配置

    opencode.json

    写入当前项目的 opencode.json,只对这个仓库生效。

    opencode.json

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": ["opencode-auto-reviewer@0.1.0"]
    }

    opencode 启动时会通过内嵌运行时自动加载 npm 依赖并缓存至本地目录,无需手动在全局环境执行安装。

    OpenCode plugin that acts as a supervisor to detect conceptual loops

    Installation

    npm install opencode-auto-reviewer
    

    Features

    • Acts as an LLM-powered supervisor observing the agent trajectory.
    • Detects conceptual rabbit holes where the agent is stuck but technically not in an exact loop.
    • Provides hints, warnings, and critical interventions to nudge the agent back on track.
    • Forces strategy changes when approaches fail to converge.

    Usage

    This is a plugin for OpenCode.

    You can easily enable this plugin globally by adding it to your opencode.json (or opencode.jsonc) configuration file under the plugins array.

    {
      "plugins": [
        "opencode-auto-reviewer"
      ]
    }
    

    Once added to your configuration, OpenCode will automatically load and activate the plugin whenever it starts.

    Alternatively, if you are configuring OpenCode programmatically via the SDK, you can register it like this:

    import { configureAgent } from '@opencode-ai/sdk';
    import plugin from 'opencode-auto-reviewer';
    
    const agent = configureAgent({
      plugins: [
        plugin({
          // Provide configuration options here
        })
      ]
    });
    

    License

    MIT