ralph-review 0.1.5 → 0.1.6
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 +2 -2
- package/package.json +1 -1
- package/src/commands/init.ts +6 -3
- package/src/lib/agents/models.ts +3 -0
package/README.md
CHANGED
|
@@ -131,10 +131,10 @@ Treats review findings as untrusted input — verifies every claim against actua
|
|
|
131
131
|
## Installation
|
|
132
132
|
|
|
133
133
|
```bash
|
|
134
|
-
# Homebrew
|
|
134
|
+
# Homebrew (install or update)
|
|
135
135
|
brew install kenryu42/tap/ralph-review
|
|
136
136
|
|
|
137
|
-
# npm
|
|
137
|
+
# npm (install or update)
|
|
138
138
|
npm install -g ralph-review
|
|
139
139
|
```
|
|
140
140
|
|
package/package.json
CHANGED
package/src/commands/init.ts
CHANGED
|
@@ -211,11 +211,12 @@ const DEFAULT_MAX_ITERATIONS = 5;
|
|
|
211
211
|
const DEFAULT_ITERATION_TIMEOUT_MINUTES = 30;
|
|
212
212
|
|
|
213
213
|
const REVIEWER_AGENT_PRIORITY: readonly AgentType[] = ["codex", "droid", "claude", "gemini"];
|
|
214
|
-
const FIXER_AGENT_PRIORITY: readonly AgentType[] = ["
|
|
215
|
-
const SIMPLIFIER_AGENT_PRIORITY: readonly AgentType[] = ["
|
|
214
|
+
const FIXER_AGENT_PRIORITY: readonly AgentType[] = ["codex", "claude", "droid", "gemini"];
|
|
215
|
+
const SIMPLIFIER_AGENT_PRIORITY: readonly AgentType[] = ["codex", "claude", "droid", "gemini"];
|
|
216
216
|
|
|
217
217
|
const MODEL_PRIORITY_MATCHERS: Record<ConfiguredRole, readonly ((model: string) => boolean)[]> = {
|
|
218
218
|
reviewer: [
|
|
219
|
+
(model) => matchesModelId(model, "gpt-5.4"),
|
|
219
220
|
(model) => matchesModelId(model, "gpt-5.3-codex"),
|
|
220
221
|
(model) => matchesModelId(model, "gpt-5.2"),
|
|
221
222
|
(model) => matchesModelId(model, "gpt-5.2-codex"),
|
|
@@ -223,11 +224,13 @@ const MODEL_PRIORITY_MATCHERS: Record<ConfiguredRole, readonly ((model: string)
|
|
|
223
224
|
(model) => matchesModelId(model, "gemini-3-pro-preview"),
|
|
224
225
|
],
|
|
225
226
|
fixer: [
|
|
226
|
-
(model) => matchesModelId(model, "
|
|
227
|
+
(model) => matchesModelId(model, "gpt-5.4"),
|
|
227
228
|
(model) => matchesModelId(model, "gpt-5.3-codex"),
|
|
229
|
+
(model) => matchesModelId(model, "claude-opus-4-6"),
|
|
228
230
|
(model) => matchesModelId(model, "gemini-3-pro-preview"),
|
|
229
231
|
],
|
|
230
232
|
"code-simplifier": [
|
|
233
|
+
(model) => matchesModelId(model, "gpt-5.4"),
|
|
231
234
|
(model) => matchesModelId(model, "claude-opus-4-6"),
|
|
232
235
|
(model) => matchesModelId(model, "gpt-5.3-codex"),
|
|
233
236
|
(model) => isClaudeOpus45Model(model),
|
package/src/lib/agents/models.ts
CHANGED
|
@@ -17,6 +17,7 @@ export const claudeModelOptions = [
|
|
|
17
17
|
] as const;
|
|
18
18
|
|
|
19
19
|
export const codexModelOptions = [
|
|
20
|
+
{ value: "gpt-5.4", label: "GPT-5.4" },
|
|
20
21
|
{ value: "gpt-5.3-codex", label: "GPT-5.3 Codex" },
|
|
21
22
|
{ value: "gpt-5.2-codex", label: "GPT-5.2 Codex" },
|
|
22
23
|
{ value: "gpt-5.2", label: "GPT-5.2" },
|
|
@@ -37,6 +38,7 @@ export const droidModelOptions = [
|
|
|
37
38
|
{ value: "gpt-5.2", label: "GPT-5.2" },
|
|
38
39
|
{ value: "gpt-5.2-codex", label: "GPT-5.2-Codex" },
|
|
39
40
|
{ value: "gpt-5.3-codex", label: "GPT-5.3-Codex" },
|
|
41
|
+
{ value: "gpt-5.4", label: "GPT-5.4" },
|
|
40
42
|
{ value: "gemini-3-pro-preview", label: "Gemini 3 Pro" },
|
|
41
43
|
{ value: "gemini-3.1-pro-preview", label: "Gemini 3.1 Pro" },
|
|
42
44
|
{ value: "gemini-3-flash-preview", label: "Gemini 3 Flash" },
|
|
@@ -63,6 +65,7 @@ const droidReasoningLevelsByModel: Record<string, readonly ReasoningLevel[]> = {
|
|
|
63
65
|
"gpt-5.2": ["low", "medium", "high", "xhigh"],
|
|
64
66
|
"gpt-5.2-codex": ["low", "medium", "high", "xhigh"],
|
|
65
67
|
"gpt-5.3-codex": ["low", "medium", "high", "xhigh"],
|
|
68
|
+
"gpt-5.4": ["low", "medium", "high", "xhigh"],
|
|
66
69
|
"claude-sonnet-4-5-20250929": ["low", "medium", "high"],
|
|
67
70
|
"claude-sonnet-4-6": ["low", "medium", "high"],
|
|
68
71
|
"claude-opus-4-5-20251101": ["low", "medium", "high"],
|