git-ai-review 2.3.1 → 2.3.3
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/dist/review.js +2 -3
- package/package.json +1 -1
package/dist/review.js
CHANGED
|
@@ -287,7 +287,6 @@ async function runClaude(prompt, verbose, skipPreflight = false) {
|
|
|
287
287
|
'--print',
|
|
288
288
|
'--output-format', 'json',
|
|
289
289
|
'--no-session-persistence',
|
|
290
|
-
'--max-turns', process.env.CLAUDE_MAX_TURNS || '2',
|
|
291
290
|
'--allowedTools', '',
|
|
292
291
|
];
|
|
293
292
|
if (verbose) {
|
|
@@ -450,11 +449,11 @@ export function evaluateResults(claude, codex, copilot) {
|
|
|
450
449
|
}
|
|
451
450
|
const withFindings = [];
|
|
452
451
|
for (const [name, runner] of runners) {
|
|
453
|
-
if (runner.available && runner.result.findings.
|
|
452
|
+
if (runner.available && runner.result.findings.some(f => f.severity !== 'info'))
|
|
454
453
|
withFindings.push(name);
|
|
455
454
|
}
|
|
456
455
|
if (withFindings.length > 0) {
|
|
457
|
-
return { pass: false, reason: `AI review has unresolved findings from: ${withFindings.join(', ')}. Pass requires zero findings.` };
|
|
456
|
+
return { pass: false, reason: `AI review has unresolved findings from: ${withFindings.join(', ')}. Pass requires zero non-info findings.` };
|
|
458
457
|
}
|
|
459
458
|
const passed = [];
|
|
460
459
|
for (const [name, runner] of runners) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "git-ai-review",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.3",
|
|
4
4
|
"description": "Review your git diff with local Codex CLI, Copilot CLI, or Claude CLI — run manually in one command or automatically as a git hook",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/cli.js",
|