cc-reviewer 1.7.0 → 1.8.1

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/README.md CHANGED
@@ -11,7 +11,7 @@ claude mcp add -s user cc-reviewer -- npx -y cc-reviewer
11
11
 
12
12
  **Step 2: Restart Claude Code**
13
13
 
14
- The MCP tools and slash commands (`/codex`, `/gemini`, `/multi`) are automatically installed.
14
+ The MCP tools and slash commands (`/codex`, `/gemini`, `/multi`, `/ask-codex`, `/ask-gemini`, `/ask-multi`) are automatically installed.
15
15
 
16
16
  **Manual command install** (if needed):
17
17
  ```bash
@@ -51,11 +51,16 @@ gemini # follow auth prompts
51
51
 
52
52
  These tools provide **external second-opinion reviews** from Codex and Gemini CLIs. They are designed to complement Claude Code's native review capabilities, not replace them.
53
53
 
54
- **When to use:**
54
+ **Review tools** (external second-opinion on your work):
55
55
  - `/codex` or "review with codex" - Get external Codex review
56
56
  - `/gemini` or "review with gemini" - Get external Gemini review
57
57
  - `/multi` - Get parallel reviews from both CLIs
58
58
 
59
+ **Ask tools** (get help from a peer engineer):
60
+ - `/ask-codex` - Ask Codex for help (planning, debugging, explaining, fixing)
61
+ - `/ask-gemini` - Ask Gemini for help (architecture, patterns, scalability)
62
+ - `/ask-multi` - Ask both models in parallel
63
+
59
64
  **For regular reviews:** Just say "review" and Claude Code will use its native capabilities. These external tools are only invoked when explicitly requested.
60
65
 
61
66
  ## Slash Commands
@@ -63,14 +68,18 @@ These tools provide **external second-opinion reviews** from Codex and Gemini CL
63
68
  These commands are available after restart:
64
69
 
65
70
  ```bash
71
+ # Review tools
66
72
  /codex # Review with Codex
67
73
  /codex security # Focus on security
68
74
  /codex-xhigh # Codex with xhigh reasoning effort
69
-
70
75
  /gemini # Review with Gemini
71
76
  /gemini architecture # Focus on architecture
72
-
73
77
  /multi # Both models in parallel
78
+
79
+ # Ask tools (peer engineer)
80
+ /ask-codex # Ask Codex for help
81
+ /ask-gemini # Ask Gemini for help
82
+ /ask-multi # Ask both in parallel
74
83
  ```
75
84
 
76
85
  ## How It Works
@@ -99,23 +108,33 @@ CC does work → User: /codex → External CLI reviews → CC synthesizes → Up
99
108
 
100
109
  ## MCP Tools
101
110
 
102
- The plugin exposes three MCP tools:
111
+ The plugin exposes six MCP tools:
103
112
 
104
113
  | Tool | Description |
105
114
  |------|-------------|
106
115
  | `codex_review` | Get Codex review (correctness, edge cases, performance) |
107
116
  | `gemini_review` | Get Gemini review (design patterns, scalability, tech debt) |
108
117
  | `multi_review` | Parallel review from both models |
118
+ | `ask_codex` | Ask Codex for help (planning, debugging, explaining, fixing) |
119
+ | `ask_gemini` | Ask Gemini for help (architecture, patterns, scalability) |
120
+ | `ask_multi` | Ask both models in parallel |
109
121
 
110
122
  ## Output Format
111
123
 
112
- External CLIs return structured JSON feedback with:
124
+ **Review tools** return structured JSON feedback with:
113
125
  - **Findings**: Issues with severity, confidence, location, and suggestions
114
126
  - **Agreements**: Validations of CC's correct assessments
115
127
  - **Disagreements**: Challenges to CC's claims with corrections
116
128
  - **Alternatives**: Different approaches with tradeoffs
117
129
  - **Risk Assessment**: Overall risk level with top concerns
118
130
 
131
+ **Ask tools** return structured JSON responses with:
132
+ - **Answer**: Main response text (markdown)
133
+ - **Key Points**: Bullet summary of main points
134
+ - **Suggested Actions**: Recommended actions with priority and rationale
135
+ - **File References**: Files examined with line ranges and relevance
136
+ - **Alternatives**: Alternative approaches considered
137
+
119
138
  ## Development
120
139
 
121
140
  ```bash
@@ -130,9 +149,18 @@ npm start # Run server
130
149
 
131
150
  ## Publishing
132
151
 
133
- Uses npm Trusted Publishing (OIDC, no tokens):
152
+ Release-based publish via npm Trusted Publishing (OIDC, no tokens needed).
153
+ CI triggers on GitHub Release, validates the tag matches `package.json`.
154
+
134
155
  ```bash
135
- gh workflow run publish.yml -f version=patch # or minor/major
156
+ # 1. Bump version in package.json
157
+ # 2. Rebuild and test
158
+ npm run build && npm test
159
+ # 3. Commit, tag, push, release
160
+ git add -A && git commit -m "v1.x.x"
161
+ git tag v1.x.x
162
+ git push && git push --tags
163
+ gh release create v1.x.x --title "v1.x.x" --generate-notes
136
164
  ```
137
165
 
138
166
  ## License
@@ -305,6 +305,7 @@ export class GeminiAdapter {
305
305
  // backticks, JSON templates, etc.
306
306
  const args = [
307
307
  '--yolo',
308
+ '--model', 'gemini-3.1-pro-preview',
308
309
  '--output-format', 'json', // Force JSON output
309
310
  '--include-directories', workingDir,
310
311
  '-p', '', // Force headless mode; actual prompt delivered via stdin
@@ -177,6 +177,7 @@ function runGeminiCli(prompt, workingDir) {
177
177
  // Use positional prompt (not deprecated -p flag) and --yolo for auto-approval
178
178
  const args = [
179
179
  '--yolo',
180
+ '--model', 'gemini-3.1-pro-preview',
180
181
  '--include-directories', workingDir,
181
182
  prompt
182
183
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-reviewer",
3
- "version": "1.7.0",
3
+ "version": "1.8.1",
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",