cc-reviewer 1.0.2 → 1.0.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.
@@ -163,14 +163,16 @@ async function runWithRetry(request, attempt, previousError, previousOutput) {
163
163
  /**
164
164
  * Execute the Gemini CLI in non-interactive mode
165
165
  *
166
- * Uses: gemini -p "<prompt>" --include-directories <workingDir>
166
+ * Uses: gemini --yolo --include-directories <workingDir> "<prompt>"
167
167
  */
168
168
  function runGeminiCli(prompt, workingDir) {
169
169
  return new Promise((resolve, reject) => {
170
170
  // Build CLI arguments for non-interactive execution
171
+ // Use positional prompt (not deprecated -p flag) and --yolo for auto-approval
171
172
  const args = [
172
- '-p', prompt,
173
- '--include-directories', workingDir
173
+ '--yolo',
174
+ '--include-directories', workingDir,
175
+ prompt
174
176
  ];
175
177
  const proc = spawn('gemini', args, {
176
178
  cwd: workingDir,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-reviewer",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "MCP server for Claude Code - Get second-opinion feedback from Codex/Gemini CLIs",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",