openairev 0.3.15 → 0.3.17
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.
package/package.json
CHANGED
package/src/mcp/mcp-server.js
CHANGED
|
@@ -26,7 +26,7 @@ const server = new McpServer({
|
|
|
26
26
|
|
|
27
27
|
server.tool(
|
|
28
28
|
'openairev_review',
|
|
29
|
-
'TRIGGER: Use this tool when the user says "review", "review my code", "get a review", "check my changes", "openairev", or asks for independent/cross-model code review. Sends current code changes to a DIFFERENT AI model for independent review. The review starts in the background and returns immediately. After calling this, run `openairev wait
|
|
29
|
+
'TRIGGER: Use this tool when the user says "review", "review my code", "get a review", "check my changes", "openairev", or asks for independent/cross-model code review. Sends current code changes to a DIFFERENT AI model for independent review. The review starts in the background and returns immediately. IMPORTANT: After calling this tool, you MUST immediately run the `openairev wait --file <path>` Bash command shown in the response. Do NOT skip the wait step.',
|
|
30
30
|
{
|
|
31
31
|
executor: z.string().optional().describe('Which agent wrote the code (claude_code or codex). If you are Claude Code, set this to "claude_code". If you are Codex, set this to "codex".'),
|
|
32
32
|
diff_cmd: z.string().optional().describe('The git diff command for the reviewer to run, e.g. "git diff HEAD -- src/auth.ts src/routes.ts". The reviewer runs in the same repo and executes this itself. If omitted, auto-detects staged or unstaged changes.'),
|
|
@@ -91,7 +91,7 @@ server.tool(
|
|
|
91
91
|
return {
|
|
92
92
|
content: [{
|
|
93
93
|
type: 'text',
|
|
94
|
-
text: `Review started. Reviewer: ${reviewerName}\nProgress file: ${PROGRESS_FILE}\n\
|
|
94
|
+
text: `Review started. Reviewer: ${reviewerName}\nProgress file: ${PROGRESS_FILE}\n\nIMPORTANT: You MUST now run this Bash command immediately:\n\`openairev wait --file ${PROGRESS_FILE}\`\n\nThis streams progress and blocks until the verdict is ready. Do NOT skip this step, do NOT use sleep/polling, do NOT re-call openairev_review.`,
|
|
95
95
|
}],
|
|
96
96
|
};
|
|
97
97
|
}
|