cc-reviewer 1.0.0 → 1.0.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/dist/cli/codex.js +2 -5
- package/package.json +1 -1
package/dist/cli/codex.js
CHANGED
|
@@ -160,21 +160,18 @@ async function runWithRetry(request, attempt, previousError, previousOutput) {
|
|
|
160
160
|
/**
|
|
161
161
|
* Execute the Codex CLI in non-interactive mode
|
|
162
162
|
*
|
|
163
|
-
* Uses
|
|
164
|
-
*
|
|
165
|
-
* -c model_reasoning_summary_format=experimental --search \
|
|
163
|
+
* Uses: codex exec -m gpt-5.2-codex -c model_reasoning_effort="xhigh" \
|
|
164
|
+
* -c model_reasoning_summary_format=experimental \
|
|
166
165
|
* --dangerously-bypass-approvals-and-sandbox "<prompt>"
|
|
167
166
|
*/
|
|
168
167
|
function runCodexCli(prompt, workingDir) {
|
|
169
168
|
return new Promise((resolve, reject) => {
|
|
170
169
|
// Build CLI arguments for non-interactive execution
|
|
171
|
-
// Uses: codex exec -m gpt-5.2-codex -c model_reasoning_effort="xhigh" ...
|
|
172
170
|
const args = [
|
|
173
171
|
'exec',
|
|
174
172
|
'-m', 'gpt-5.2-codex',
|
|
175
173
|
'-c', 'model_reasoning_effort=xhigh',
|
|
176
174
|
'-c', 'model_reasoning_summary_format=experimental',
|
|
177
|
-
'--search',
|
|
178
175
|
'--dangerously-bypass-approvals-and-sandbox',
|
|
179
176
|
'-C', workingDir,
|
|
180
177
|
prompt
|