@in-the-loop-labs/pair-review 5.3.3 → 5.3.4

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
@@ -632,7 +632,7 @@ pair-review integrates with AI providers via their CLI tools:
632
632
 
633
633
  - **Claude**: Uses Claude Code CLI
634
634
  - **Antigravity**: Uses the Antigravity CLI (`agy`), the successor to the Gemini CLI. Install it with `curl -fsSL https://antigravity.google/cli/install.sh | bash` (macOS/Linux; it is not an npm package) — see the [Antigravity docs](https://antigravity.google/docs). Antigravity is an analysis-only provider: it runs as an agentic reviewer in non-interactive print mode and has **no chat/ACP mode**.
635
- - **Codex**: Uses Codex CLI
635
+ - **Codex**: Uses Codex CLI. GPT-5.6 Sol High (`gpt-5.6-sol-high`) remains the recommended default during rollout. GPT-6.1 Sol High (`gpt-6.1-sol-high`) and XHigh (`gpt-6.1-sol-xhigh`) are explicit choices for reviews and chat; Enterprise and Edu administrators must enable GPT-6.1 Sol access.
636
636
  - **GitHub Copilot**: Uses Copilot CLI
637
637
  - **OpenCode**: Uses OpenCode CLI (requires model configuration)
638
638
  - **Cursor**: Uses Cursor Agent CLI (streaming output with sandbox mode)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@in-the-loop-labs/pair-review",
3
- "version": "5.3.3",
3
+ "version": "5.3.4",
4
4
  "description": "Your AI-powered code review partner - Close the feedback loop with AI coding agents",
5
5
  "main": "src/server.js",
6
6
  "bin": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pair-review",
3
- "version": "5.3.3",
3
+ "version": "5.3.4",
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": "code-critic",
3
- "version": "5.3.3",
3
+ "version": "5.3.4",
4
4
  "description": "AI-powered code review analysis — Run three-level AI analysis directly in your coding agent. Works standalone, no server required.",
5
5
  "author": {
6
6
  "name": "in-the-loop-labs",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pair-loop",
3
- "version": "5.3.3",
3
+ "version": "5.3.4",
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",
@@ -21,40 +21,24 @@ const BIN_DIR = path.join(__dirname, '..', '..', 'bin');
21
21
  /**
22
22
  * Codex model definitions with tier mappings
23
23
  *
24
- * Based on OpenAI's GPT-6 launches (Astra in September 2026; Sol and Luna on
25
- * 2026-09-22) and the Models guide (developers.openai.com/api/docs/models).
26
- * Verified against the Codex CLI 0.155.1 model catalog with a ChatGPT sign-in.
27
- * - gpt-5.6-sol: the default (gpt-5.6-sol-high; $4/$20 per MTok). GPT-5.6 Sol
28
- * stays the default, and GPT-5.6 Luna Low the first fast entry, while GPT-6
29
- * access rolls out: GPT-6 Sol/Luna access depends on workspace settings and
30
- * Enterprise admins must enable it, testAvailability() only checks
31
- * `codex --version`, and nothing falls back to GPT-5.6 at runtime. A GPT-6
32
- * default would fail every default analysis for users without access.
33
- * - gpt-6-astra: GPT-6 flagship, the most capable model for complex, demanding
34
- * work ($10/$50 per MTok, same context as Sol). About five times GPT-6 Sol's
35
- * price, so it stays an opt-in thorough choice rather than the default.
36
- * - gpt-6-sol: Frontier model built for complex coding and agentic workflows
37
- * ($2/$10 per MTok; 1.05M API context, capped at 272K in the Codex catalog;
38
- * 128K output; API input above 272K bills at 2x, output at 1.5x). Newer than
39
- * GPT-5.6 Sol at half its price, but opt-in until GPT-6 access is universal.
40
- * - gpt-6-luna: GPT-6's most efficient model for focused, high-volume work
41
- * ($0.10/$0.50 per MTok, same context as Sol). Per OpenAI, GPT-6 Luna (max)
42
- * exceeds GPT-5.6 Sol (medium) at a tenth of its cost. No `ultra` effort.
43
- * Opt-in, like GPT-6 Sol.
44
- * - gpt-5.6-sol / gpt-5.6-terra / gpt-5.6-luna: "legacy" in Codex but still
45
- * available (no retirement date announced)
46
- * - gpt-5.5: older frontier model. OpenAI retires it from Codex on ALL plans
47
- * on 2026-10-14 (the API is unaffected); remove the gpt-5.5-* entries then.
48
- * - Every model is exposed only through explicit reasoning-effort variants.
24
+ * Descriptions follow the Codex CLI model catalog. GPT-5.6 Sol High stays the
25
+ * recommended default during the GPT-6 rollout. GPT-6 Sol/Luna require admin
26
+ * enablement in Enterprise; GPT-6.1 Sol requires it in Enterprise and Edu.
27
+ * Selecting a model locally does not grant access. testAvailability() checks
28
+ * only `codex --version`, and model rejection does not trigger a fallback,
29
+ * so GPT-6 and GPT-6.1 remain explicit choices.
30
+ * Each picker entry specifies a reasoning effort explicitly.
49
31
  *
50
- * Tiers: thorough (Astra, GPT-6 Sol, GPT-5.6 Sol, GPT-5.5), balanced (Terra,
51
- * GPT-5.6 Luna, GPT-6 Luna Max), fast (GPT-5.6 Luna Low, GPT-6 Luna Low). In
52
- * the balanced and fast tiers GPT-6 goes last: the first entry of a tier is an
53
- * automatic pick (provider switch in the UI, extraction, default fallback).
54
- * Entries are ordered thorough → balanced → fast; the first `fast` entry
55
- * serves JSON extraction and hunk summaries (see AIProvider.getFastTierModel).
32
+ * Entries are ordered thorough → balanced → fast. The first balanced entry
33
+ * controls provider-switch selection and resolveDefaultModel's fallback. The
34
+ * first fast entry serves JSON extraction and hunk summaries. Both stay on
35
+ * GPT-5.6 during rollout for access compatibility.
56
36
  * Guided tours use the provider default, not the fast tier.
57
37
  *
38
+ * GPT-5.5 retires from Codex on all plans on 2026-10-14 (API unaffected);
39
+ * remove the gpt-5.5-* entries then.
40
+ * Workspace access: learn.chatgpt.com/docs/enterprise/workspace-model-availability
41
+ *
58
42
  * Reasoning-effort variants (-low / -high / -xhigh / -max) use `cli_model` to pass
59
43
  * the base model ID to `codex exec -m` and add `-c model_reasoning_effort="..."`
60
44
  * via extra_args so Codex picks up the effort level through its config override.
@@ -74,6 +58,28 @@ const BIN_DIR = path.join(__dirname, '..', '..', 'bin');
74
58
  */
75
59
  const CODEX_MODELS = [
76
60
  // ── Thorough tier ───────────────────────────────────────────────────────
61
+ {
62
+ id: 'gpt-6.1-sol-high',
63
+ cli_model: 'gpt-6.1-sol',
64
+ extra_args: ['-c', 'model_reasoning_effort="high"'],
65
+ name: 'GPT-6.1 Sol High',
66
+ tier: 'thorough',
67
+ tagline: 'Latest Workhorse',
68
+ description: 'Latest workhorse model for coding and everyday work, with high reasoning effort for demanding reviews and cross-file analysis. Requires GPT-6.1 Sol access; Enterprise and Edu administrators must enable it during rollout.',
69
+ badge: 'Newest',
70
+ badgeClass: 'badge-power'
71
+ },
72
+ {
73
+ id: 'gpt-6.1-sol-xhigh',
74
+ cli_model: 'gpt-6.1-sol',
75
+ extra_args: ['-c', 'model_reasoning_effort="xhigh"'],
76
+ name: 'GPT-6.1 Sol XHigh',
77
+ tier: 'thorough',
78
+ tagline: 'Latest Workhorse Depth',
79
+ description: 'Latest workhorse model for coding and everyday work, with extra-high reasoning effort for difficult architectural reviews, subtle regressions, and security-sensitive changes. Requires GPT-6.1 Sol access; Enterprise and Edu administrators must enable it during rollout.',
80
+ badge: 'Extra High',
81
+ badgeClass: 'badge-power'
82
+ },
77
83
  {
78
84
  id: 'gpt-6-astra-high',
79
85
  cli_model: 'gpt-6-astra',
@@ -81,7 +87,7 @@ const CODEX_MODELS = [
81
87
  name: 'GPT-6 Astra High',
82
88
  tier: 'thorough',
83
89
  tagline: 'Most Capable',
84
- description: 'OpenAI\'s GPT-6 flagship with high reasoning effort for the hardest reviews: deep cross-file analysis, subtle regressions, and demanding architectural work. Costs about five times more than GPT-6 Sol.',
90
+ description: 'Frontier intelligence for the most demanding work, with high reasoning effort for deep cross-file analysis and demanding architectural reviews.',
85
91
  badge: 'Most Capable',
86
92
  badgeClass: 'badge-power'
87
93
  },
@@ -92,7 +98,7 @@ const CODEX_MODELS = [
92
98
  name: 'GPT-6 Astra XHigh',
93
99
  tier: 'thorough',
94
100
  tagline: 'Maximum Depth',
95
- description: 'GPT-6 Astra with extra-high reasoning effort for the most difficult reviews: concurrency, security-sensitive changes, and large codebase context. Premium pricing, about five times GPT-6 Sol.',
101
+ description: 'Frontier intelligence for the most demanding work, with extra-high reasoning effort for concurrency, security-sensitive changes, and large codebase context.',
96
102
  badge: 'Extra High',
97
103
  badgeClass: 'badge-power'
98
104
  },
@@ -102,9 +108,9 @@ const CODEX_MODELS = [
102
108
  extra_args: ['-c', 'model_reasoning_effort="high"'],
103
109
  name: 'GPT-6 Sol High',
104
110
  tier: 'thorough',
105
- tagline: 'Newest Frontier',
106
- description: 'GPT-6 frontier model built for complex coding and agentic work, with high reasoning effort for demanding PR reviews and cross-file analysis, at about a fifth of Astra\'s price. Needs GPT-6 access, which is still rolling out (Enterprise admins must enable it).',
107
- badge: 'Newest',
111
+ tagline: 'Previous Gen',
112
+ description: 'Previous generation workhorse model, with high reasoning effort for demanding reviews and cross-file analysis. Requires GPT-6 access; Enterprise administrators must enable it during rollout.',
113
+ badge: 'Previous Gen',
108
114
  badgeClass: 'badge-power'
109
115
  },
110
116
  {
@@ -113,8 +119,8 @@ const CODEX_MODELS = [
113
119
  extra_args: ['-c', 'model_reasoning_effort="xhigh"'],
114
120
  name: 'GPT-6 Sol XHigh',
115
121
  tier: 'thorough',
116
- tagline: 'Frontier Depth',
117
- description: 'GPT-6 Sol with extra-high reasoning effort for difficult architectural reviews, subtle regressions, and security-sensitive changes. Needs GPT-6 access, which is still rolling out (Enterprise admins must enable it).',
122
+ tagline: 'Previous Gen Depth',
123
+ description: 'Previous generation workhorse model, with extra-high reasoning effort for difficult architectural reviews, subtle regressions, and security-sensitive changes. Requires GPT-6 access; Enterprise administrators must enable it during rollout.',
118
124
  badge: 'Extra High',
119
125
  badgeClass: 'badge-power'
120
126
  },
@@ -124,8 +130,8 @@ const CODEX_MODELS = [
124
130
  extra_args: ['-c', 'model_reasoning_effort="high"'],
125
131
  name: 'GPT-5.6 Sol High',
126
132
  tier: 'thorough',
127
- tagline: 'Frontier Review',
128
- description: 'Strong frontier reviewer with high reasoning effort for demanding PR reviews, complex professional work, and cross-file analysis. The default while GPT-6 access rolls out.',
133
+ tagline: 'Older Workhorse',
134
+ description: 'Older generation workhorse model, with high reasoning effort for demanding reviews and cross-file analysis. The default while GPT-6 and GPT-6.1 access rolls out.',
129
135
  badge: 'Recommended',
130
136
  badgeClass: 'badge-recommended',
131
137
  default: true
@@ -136,8 +142,8 @@ const CODEX_MODELS = [
136
142
  extra_args: ['-c', 'model_reasoning_effort="xhigh"'],
137
143
  name: 'GPT-5.6 Sol XHigh',
138
144
  tier: 'thorough',
139
- tagline: 'Frontier Depth',
140
- description: 'GPT-5.6 Sol with extra-high reasoning effort for difficult architectural reviews, subtle regressions, and security-sensitive changes.',
145
+ tagline: 'Older Workhorse Depth',
146
+ description: 'Older generation workhorse model, with extra-high reasoning effort for difficult architectural reviews, subtle regressions, and security-sensitive changes.',
141
147
  badge: 'Extra High',
142
148
  badgeClass: 'badge-power'
143
149
  },
@@ -147,9 +153,9 @@ const CODEX_MODELS = [
147
153
  extra_args: ['-c', 'model_reasoning_effort="high"'],
148
154
  name: 'GPT-5.5 High',
149
155
  tier: 'thorough',
150
- tagline: 'Previous Flagship',
151
- description: 'Previous-generation GPT model with high reasoning effort for demanding PR reviews, strong code understanding, and careful cross-file analysis. OpenAI retires GPT-5.5 from Codex on 2026-10-14.',
152
- badge: 'Previous Gen',
156
+ tagline: 'Legacy Coding',
157
+ description: 'Legacy coding model, with high reasoning effort for demanding reviews and careful cross-file analysis. OpenAI retires GPT-5.5 from Codex on 2026-10-14.',
158
+ badge: 'Legacy',
153
159
  badgeClass: 'badge-power'
154
160
  },
155
161
  {
@@ -158,24 +164,22 @@ const CODEX_MODELS = [
158
164
  extra_args: ['-c', 'model_reasoning_effort="xhigh"'],
159
165
  name: 'GPT-5.5 XHigh',
160
166
  tier: 'thorough',
161
- tagline: 'Frontier Depth',
162
- description: 'GPT-5.5 with extra-high reasoning effort for the hardest reviews: architecture, concurrency, security-sensitive changes, and large codebase context. OpenAI retires GPT-5.5 from Codex on 2026-10-14.',
167
+ tagline: 'Legacy Coding Depth',
168
+ description: 'Legacy coding model, with extra-high reasoning effort for architecture, concurrency, and security-sensitive reviews. OpenAI retires GPT-5.5 from Codex on 2026-10-14.',
163
169
  badge: 'Max Reasoning',
164
170
  badgeClass: 'badge-power'
165
171
  },
166
172
  // ── Balanced tier ───────────────────────────────────────────────────────
167
- // The first balanced entry is what the UI picks when a user switches to Codex
168
- // from a balanced model, and resolveDefaultModel's fallback when the flagged
169
- // default is disabled, so it must run for every account: GPT-6 goes last.
173
+ // Provider switching and default fallback must work without GPT-6 access.
170
174
  {
171
175
  id: 'gpt-5.6-terra-xhigh',
172
176
  cli_model: 'gpt-5.6-terra',
173
177
  extra_args: ['-c', 'model_reasoning_effort="xhigh"'],
174
178
  name: 'GPT-5.6 Terra XHigh',
175
179
  tier: 'balanced',
176
- tagline: 'Intelligence & Value',
177
- description: 'GPT-5.6 balanced model with extra-high reasoning effort, combining strong intelligence and lower cost for careful everyday PR reviews.',
178
- badge: 'Best Balance',
180
+ tagline: 'Older Balanced',
181
+ description: 'Older balanced model for straightforward work, with extra-high reasoning effort for careful everyday reviews.',
182
+ badge: 'Previous Gen',
179
183
  badgeClass: 'badge-balanced'
180
184
  },
181
185
  {
@@ -185,7 +189,7 @@ const CODEX_MODELS = [
185
189
  name: 'GPT-5.6 Luna Max',
186
190
  tier: 'balanced',
187
191
  tagline: 'Previous Gen',
188
- description: 'Previous-generation Luna, GPT-5.6\'s most cost-efficient model, with max reasoning effort for high-volume reviews and broad codebase scans.',
192
+ description: 'Older fast and efficient model, with max reasoning effort for high-volume reviews and broad codebase scans.',
189
193
  badge: 'Previous Gen',
190
194
  badgeClass: 'badge-balanced'
191
195
  },
@@ -195,14 +199,13 @@ const CODEX_MODELS = [
195
199
  extra_args: ['-c', 'model_reasoning_effort="max"'],
196
200
  name: 'GPT-6 Luna Max',
197
201
  tier: 'balanced',
198
- tagline: 'High-Volume Value',
199
- description: 'GPT-6\'s most efficient model at max reasoning effort. Per OpenAI it beats GPT-5.6 Sol (medium) at a tenth of the cost, for high-volume reviews and broad codebase scans. Needs GPT-6 access, which is still rolling out (Enterprise admins must enable it).',
200
- badge: 'Lowest Cost',
202
+ tagline: 'Affordable Depth',
203
+ description: 'Fast and affordable model for easier tasks, with max reasoning effort for high-volume reviews and broad codebase scans. Requires GPT-6 access; Enterprise administrators must enable it during rollout.',
204
+ badge: 'Affordable',
201
205
  badgeClass: 'badge-speed'
202
206
  },
203
207
  // ── Fast tier ───────────────────────────────────────────────────────────
204
- // The first fast entry serves JSON extraction and hunk summaries, so it must
205
- // run for every account: keep it on GPT-5.6 until GPT-6 access is universal.
208
+ // JSON extraction and hunk summaries must work without GPT-6 access.
206
209
  {
207
210
  id: 'gpt-5.6-luna-low',
208
211
  cli_model: 'gpt-5.6-luna',
@@ -210,8 +213,8 @@ const CODEX_MODELS = [
210
213
  name: 'GPT-5.6 Luna Low',
211
214
  tier: 'fast',
212
215
  tagline: 'Quick Scan',
213
- description: 'GPT-5.6\'s most cost-efficient model at low reasoning effort for surface scans: obvious bugs, style issues, and lint-level feedback.',
214
- badge: 'Fastest',
216
+ description: 'Older fast and efficient model, with low reasoning effort for surface scans: obvious bugs, style issues, and lint-level feedback.',
217
+ badge: 'Previous Gen',
215
218
  badgeClass: 'badge-speed'
216
219
  },
217
220
  {
@@ -220,9 +223,9 @@ const CODEX_MODELS = [
220
223
  extra_args: ['-c', 'model_reasoning_effort="low"'],
221
224
  name: 'GPT-6 Luna Low',
222
225
  tier: 'fast',
223
- tagline: 'Newest Quick Scan',
224
- description: 'GPT-6\'s most efficient model at low reasoning effort for surface scans: obvious bugs, style issues, and lint-level feedback. Needs GPT-6 access, which is still rolling out (Enterprise admins must enable it).',
225
- badge: 'Newest',
226
+ tagline: 'Quick Scan',
227
+ description: 'Fast and affordable model for easier tasks, with low reasoning effort for surface scans: obvious bugs, style issues, and lint-level feedback. Requires GPT-6 access; Enterprise administrators must enable it during rollout.',
228
+ badge: 'Fast',
226
229
  badgeClass: 'badge-speed'
227
230
  }
228
231
  ];