@in-the-loop-labs/pair-review 4.1.0 → 4.1.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pair-review",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.1",
|
|
4
4
|
"description": "pair-review app integration — Open PRs and local changes in the pair-review web UI, run server-side AI analysis, and address review feedback. Requires the pair-review MCP server.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "in-the-loop-labs",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pair-loop",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.1",
|
|
4
4
|
"description": "Agent-orchestrated review loop — implement, review with pair-review multi-model councils via the headless CLI, triage, fix, and repeat until a final review returns no blockers. MCP-independent.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "in-the-loop-labs",
|
package/src/ai/codex-provider.js
CHANGED
|
@@ -21,14 +21,18 @@ const BIN_DIR = path.join(__dirname, '..', '..', 'bin');
|
|
|
21
21
|
/**
|
|
22
22
|
* Codex model definitions with tier mappings
|
|
23
23
|
*
|
|
24
|
-
* Based on OpenAI
|
|
24
|
+
* Based on OpenAI's GPT-5.6 launch and Models guide
|
|
25
|
+
* (openai.com/index/gpt-5-6 and developers.openai.com/api/docs/models)
|
|
26
|
+
* - gpt-5.6-sol: Flagship frontier model for complex professional work
|
|
27
|
+
* - gpt-5.6-terra: Balances intelligence and cost for everyday work
|
|
28
|
+
* - gpt-5.6-luna: Fast, affordable model for cost-sensitive, high-volume work
|
|
25
29
|
* - gpt-5.4-nano: Cheapest model ($0.20/$1.25 per MTok), good for surface scans
|
|
26
30
|
* - gpt-5.4-mini: Fast with 400k context ($0.75/$4.50 per MTok)
|
|
27
31
|
* - gpt-5.3-codex: Industry-leading coding model for complex engineering tasks
|
|
28
|
-
* - gpt-5.4
|
|
29
|
-
*
|
|
32
|
+
* - GPT-5.6, gpt-5.4, and gpt-5.5 models are exposed only through the requested
|
|
33
|
+
* explicit reasoning-effort variants.
|
|
30
34
|
*
|
|
31
|
-
* Reasoning-effort variants (-high / -xhigh) use `cli_model` to pass the base
|
|
35
|
+
* Reasoning-effort variants (-high / -xhigh / -max) use `cli_model` to pass the base
|
|
32
36
|
* model ID to `codex exec -m` and add `-c model_reasoning_effort="..."` via
|
|
33
37
|
* extra_args so Codex picks up the effort level through its config override.
|
|
34
38
|
*
|
|
@@ -36,17 +40,61 @@ const BIN_DIR = path.join(__dirname, '..', '..', 'bin');
|
|
|
36
40
|
*/
|
|
37
41
|
const CODEX_MODELS = [
|
|
38
42
|
{
|
|
39
|
-
id: 'gpt-5.
|
|
40
|
-
cli_model: 'gpt-5.
|
|
43
|
+
id: 'gpt-5.6-sol-high',
|
|
44
|
+
cli_model: 'gpt-5.6-sol',
|
|
41
45
|
extra_args: ['-c', 'model_reasoning_effort="high"'],
|
|
42
|
-
name: 'GPT-5.
|
|
46
|
+
name: 'GPT-5.6 Sol High',
|
|
43
47
|
tier: 'thorough',
|
|
44
|
-
tagline: '
|
|
45
|
-
description: '
|
|
48
|
+
tagline: 'Frontier Review',
|
|
49
|
+
description: 'OpenAI flagship and best coding model yet, with high reasoning effort for demanding PR reviews, complex professional work, and cross-file analysis.',
|
|
46
50
|
badge: 'Recommended',
|
|
47
51
|
badgeClass: 'badge-recommended',
|
|
48
52
|
default: true
|
|
49
53
|
},
|
|
54
|
+
{
|
|
55
|
+
id: 'gpt-5.6-sol-xhigh',
|
|
56
|
+
cli_model: 'gpt-5.6-sol',
|
|
57
|
+
extra_args: ['-c', 'model_reasoning_effort="xhigh"'],
|
|
58
|
+
name: 'GPT-5.6 Sol XHigh',
|
|
59
|
+
tier: 'thorough',
|
|
60
|
+
tagline: 'Frontier Depth',
|
|
61
|
+
description: 'GPT-5.6 Sol with extra-high reasoning effort for difficult architectural reviews, subtle regressions, and security-sensitive changes.',
|
|
62
|
+
badge: 'Extra High',
|
|
63
|
+
badgeClass: 'badge-power'
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
id: 'gpt-5.6-terra-xhigh',
|
|
67
|
+
cli_model: 'gpt-5.6-terra',
|
|
68
|
+
extra_args: ['-c', 'model_reasoning_effort="xhigh"'],
|
|
69
|
+
name: 'GPT-5.6 Terra XHigh',
|
|
70
|
+
tier: 'balanced',
|
|
71
|
+
tagline: 'Intelligence & Value',
|
|
72
|
+
description: 'GPT-5.6 balanced model with extra-high reasoning effort, combining strong intelligence and lower cost for careful everyday PR reviews.',
|
|
73
|
+
badge: 'Best Balance',
|
|
74
|
+
badgeClass: 'badge-balanced'
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
id: 'gpt-5.6-luna-max',
|
|
78
|
+
cli_model: 'gpt-5.6-luna',
|
|
79
|
+
extra_args: ['-c', 'model_reasoning_effort="max"'],
|
|
80
|
+
name: 'GPT-5.6 Luna Max',
|
|
81
|
+
tier: 'balanced',
|
|
82
|
+
tagline: 'High-Volume Value',
|
|
83
|
+
description: 'GPT-5.6 fastest, most cost-efficient model with max reasoning effort for high-volume reviews and broad codebase scans.',
|
|
84
|
+
badge: 'Lowest Cost',
|
|
85
|
+
badgeClass: 'badge-speed'
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
id: 'gpt-5.5-high',
|
|
89
|
+
cli_model: 'gpt-5.5',
|
|
90
|
+
extra_args: ['-c', 'model_reasoning_effort="high"'],
|
|
91
|
+
name: 'GPT-5.5 High',
|
|
92
|
+
tier: 'thorough',
|
|
93
|
+
tagline: 'Previous Flagship',
|
|
94
|
+
description: 'Previous-generation GPT model with high reasoning effort for demanding PR reviews, strong code understanding, and careful cross-file analysis.',
|
|
95
|
+
badge: 'Previous Gen',
|
|
96
|
+
badgeClass: 'badge-power'
|
|
97
|
+
},
|
|
50
98
|
{
|
|
51
99
|
id: 'gpt-5.5-xhigh',
|
|
52
100
|
cli_model: 'gpt-5.5',
|
|
@@ -122,7 +170,7 @@ class CodexProvider extends AIProvider {
|
|
|
122
170
|
* @param {Object} configOverrides.env - Additional environment variables
|
|
123
171
|
* @param {Object[]} configOverrides.models - Custom model definitions
|
|
124
172
|
*/
|
|
125
|
-
constructor(model = 'gpt-5.
|
|
173
|
+
constructor(model = 'gpt-5.6-sol-high', configOverrides = {}) {
|
|
126
174
|
super(model);
|
|
127
175
|
|
|
128
176
|
// Command precedence: ENV > config > default
|
|
@@ -845,7 +893,7 @@ class CodexProvider extends AIProvider {
|
|
|
845
893
|
}
|
|
846
894
|
|
|
847
895
|
static getDefaultModel() {
|
|
848
|
-
return 'gpt-5.
|
|
896
|
+
return 'gpt-5.6-sol-high';
|
|
849
897
|
}
|
|
850
898
|
|
|
851
899
|
static getInstallInstructions() {
|