@in-the-loop-labs/pair-review 5.4.3 → 5.4.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/package.json +1 -1
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin-code-critic/.claude-plugin/plugin.json +1 -1
- package/plugin-pair-loop/.claude-plugin/plugin.json +1 -1
- package/public/css/pr.css +0 -108
- package/public/css/toast.css +147 -0
- package/public/index.html +1 -0
- package/public/js/components/Toast.js +39 -4
- package/public/local.html +1 -0
- package/public/pr.html +1 -0
- package/src/ai/antigravity-provider.js +57 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pair-review",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.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": "pair-loop",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.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",
|
package/public/css/pr.css
CHANGED
|
@@ -5764,114 +5764,6 @@ a.posted-comment-icon:focus-visible {
|
|
|
5764
5764
|
border-top-color: #30363d;
|
|
5765
5765
|
}
|
|
5766
5766
|
|
|
5767
|
-
/* Toast Notification Styles */
|
|
5768
|
-
.toast-container {
|
|
5769
|
-
position: fixed;
|
|
5770
|
-
top: 16px;
|
|
5771
|
-
left: 50%;
|
|
5772
|
-
transform: translateX(-50%);
|
|
5773
|
-
z-index: 20000;
|
|
5774
|
-
display: flex;
|
|
5775
|
-
flex-direction: column-reverse;
|
|
5776
|
-
gap: 8px;
|
|
5777
|
-
pointer-events: none;
|
|
5778
|
-
}
|
|
5779
|
-
|
|
5780
|
-
.toast {
|
|
5781
|
-
padding: 12px 16px;
|
|
5782
|
-
border-radius: 8px;
|
|
5783
|
-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
5784
|
-
font-size: 14px;
|
|
5785
|
-
font-weight: 500;
|
|
5786
|
-
opacity: 0;
|
|
5787
|
-
transform: translateY(-20px);
|
|
5788
|
-
transition: var(--transition-ui-slow);
|
|
5789
|
-
pointer-events: auto;
|
|
5790
|
-
max-width: 500px;
|
|
5791
|
-
}
|
|
5792
|
-
|
|
5793
|
-
.toast-show {
|
|
5794
|
-
opacity: 1;
|
|
5795
|
-
transform: translateY(0);
|
|
5796
|
-
}
|
|
5797
|
-
|
|
5798
|
-
.toast-fade-out {
|
|
5799
|
-
opacity: 0;
|
|
5800
|
-
transform: translateY(-10px);
|
|
5801
|
-
transition: var(--transition-ui-slow);
|
|
5802
|
-
}
|
|
5803
|
-
|
|
5804
|
-
.toast-success {
|
|
5805
|
-
background-color: #1f883d;
|
|
5806
|
-
color: white;
|
|
5807
|
-
border: 1px solid #1a7f37;
|
|
5808
|
-
}
|
|
5809
|
-
|
|
5810
|
-
.toast-error {
|
|
5811
|
-
background-color: #d1242f;
|
|
5812
|
-
color: white;
|
|
5813
|
-
border: 1px solid #cf222e;
|
|
5814
|
-
}
|
|
5815
|
-
|
|
5816
|
-
.toast-warning {
|
|
5817
|
-
background-color: #9a6700;
|
|
5818
|
-
color: white;
|
|
5819
|
-
border: 1px solid #bf8700;
|
|
5820
|
-
}
|
|
5821
|
-
|
|
5822
|
-
.toast-info {
|
|
5823
|
-
background-color: #0969da;
|
|
5824
|
-
color: white;
|
|
5825
|
-
border: 1px solid #0550ae;
|
|
5826
|
-
}
|
|
5827
|
-
|
|
5828
|
-
.toast-content {
|
|
5829
|
-
display: flex;
|
|
5830
|
-
align-items: center;
|
|
5831
|
-
gap: 8px;
|
|
5832
|
-
}
|
|
5833
|
-
|
|
5834
|
-
.toast-icon {
|
|
5835
|
-
flex-shrink: 0;
|
|
5836
|
-
}
|
|
5837
|
-
|
|
5838
|
-
.toast-message {
|
|
5839
|
-
flex: 1;
|
|
5840
|
-
line-height: 1.4;
|
|
5841
|
-
}
|
|
5842
|
-
|
|
5843
|
-
.toast-link {
|
|
5844
|
-
color: white;
|
|
5845
|
-
text-decoration: underline;
|
|
5846
|
-
margin-left: 8px;
|
|
5847
|
-
white-space: nowrap;
|
|
5848
|
-
}
|
|
5849
|
-
|
|
5850
|
-
.toast-link:hover {
|
|
5851
|
-
color: rgba(255, 255, 255, 0.9);
|
|
5852
|
-
}
|
|
5853
|
-
|
|
5854
|
-
/* Dark theme toast styles */
|
|
5855
|
-
[data-theme="dark"] .toast-success {
|
|
5856
|
-
background-color: #238636;
|
|
5857
|
-
border-color: #2ea043;
|
|
5858
|
-
}
|
|
5859
|
-
|
|
5860
|
-
[data-theme="dark"] .toast-error {
|
|
5861
|
-
background-color: #da3633;
|
|
5862
|
-
border-color: #f85149;
|
|
5863
|
-
}
|
|
5864
|
-
|
|
5865
|
-
[data-theme="dark"] .toast-warning {
|
|
5866
|
-
background-color: #9e6a03;
|
|
5867
|
-
border-color: #d29922;
|
|
5868
|
-
}
|
|
5869
|
-
|
|
5870
|
-
[data-theme="dark"] .toast-info {
|
|
5871
|
-
background-color: #1f6feb;
|
|
5872
|
-
border-color: #58a6ff;
|
|
5873
|
-
}
|
|
5874
|
-
|
|
5875
5767
|
/* Loading spinner for buttons */
|
|
5876
5768
|
.loading-spinner-small {
|
|
5877
5769
|
width: 16px;
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
/* Copyright 2026 Tim Perkins (tjwp) | SPDX-License-Identifier: Apache-2.0 */
|
|
2
|
+
|
|
3
|
+
/* Toast notifications rendered by js/components/Toast.js.
|
|
4
|
+
* Loaded by every page that loads Toast.js (dashboard, PR, Local), so it must
|
|
5
|
+
* not depend on variables defined only in pr.css.
|
|
6
|
+
*
|
|
7
|
+
* Do NOT load on settings.html or repo-settings.html. Those pages have their
|
|
8
|
+
* own toast system using the same class names (.toast, .toast-container,
|
|
9
|
+
* .toast-icon, .toast-message) and show toasts with `.show`, not `.toast-show`,
|
|
10
|
+
* so `.toast { opacity: 0 }` here would hide them. */
|
|
11
|
+
|
|
12
|
+
.toast-container {
|
|
13
|
+
position: fixed;
|
|
14
|
+
top: 16px;
|
|
15
|
+
left: 50%;
|
|
16
|
+
transform: translateX(-50%);
|
|
17
|
+
z-index: 20000;
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: column-reverse;
|
|
20
|
+
gap: 8px;
|
|
21
|
+
pointer-events: none;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.toast {
|
|
25
|
+
padding: 12px 16px;
|
|
26
|
+
border-radius: 8px;
|
|
27
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
28
|
+
font-size: 14px;
|
|
29
|
+
font-weight: 500;
|
|
30
|
+
opacity: 0;
|
|
31
|
+
transform: translateY(-20px);
|
|
32
|
+
transition: opacity 0.3s ease, transform 0.3s ease;
|
|
33
|
+
pointer-events: auto;
|
|
34
|
+
max-width: 500px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.toast-show {
|
|
38
|
+
opacity: 1;
|
|
39
|
+
transform: translateY(0);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.toast-fade-out {
|
|
43
|
+
opacity: 0;
|
|
44
|
+
transform: translateY(-10px);
|
|
45
|
+
transition: opacity 0.3s ease, transform 0.3s ease;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.toast-success {
|
|
49
|
+
background-color: #1f883d;
|
|
50
|
+
color: white;
|
|
51
|
+
border: 1px solid #1a7f37;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.toast-error {
|
|
55
|
+
background-color: #d1242f;
|
|
56
|
+
color: white;
|
|
57
|
+
border: 1px solid #cf222e;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.toast-warning {
|
|
61
|
+
background-color: #9a6700;
|
|
62
|
+
color: white;
|
|
63
|
+
border: 1px solid #bf8700;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.toast-info {
|
|
67
|
+
background-color: #0969da;
|
|
68
|
+
color: white;
|
|
69
|
+
border: 1px solid #0550ae;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.toast-content {
|
|
73
|
+
display: flex;
|
|
74
|
+
align-items: center;
|
|
75
|
+
gap: 8px;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.toast-icon {
|
|
79
|
+
flex-shrink: 0;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.toast-message {
|
|
83
|
+
flex: 1;
|
|
84
|
+
line-height: 1.4;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.toast-link {
|
|
88
|
+
color: white;
|
|
89
|
+
text-decoration: underline;
|
|
90
|
+
margin-left: 8px;
|
|
91
|
+
white-space: nowrap;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.toast-link:hover {
|
|
95
|
+
color: rgba(255, 255, 255, 0.9);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/* Scoped to .toast-content to target only the Toast.js close button */
|
|
99
|
+
.toast-content .toast-close {
|
|
100
|
+
display: flex;
|
|
101
|
+
align-items: center;
|
|
102
|
+
justify-content: center;
|
|
103
|
+
flex-shrink: 0;
|
|
104
|
+
width: 24px;
|
|
105
|
+
height: 24px;
|
|
106
|
+
margin: -4px -8px -4px 4px;
|
|
107
|
+
padding: 0;
|
|
108
|
+
background: transparent;
|
|
109
|
+
border: none;
|
|
110
|
+
border-radius: 4px;
|
|
111
|
+
color: inherit;
|
|
112
|
+
opacity: 0.8;
|
|
113
|
+
cursor: pointer;
|
|
114
|
+
transition: background-color 0.15s ease, opacity 0.15s ease;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.toast-content .toast-close:hover {
|
|
118
|
+
background: rgba(255, 255, 255, 0.2);
|
|
119
|
+
opacity: 1;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.toast-content .toast-close:focus-visible {
|
|
123
|
+
outline: 2px solid currentColor;
|
|
124
|
+
outline-offset: 1px;
|
|
125
|
+
opacity: 1;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/* Dark theme toast styles */
|
|
129
|
+
[data-theme="dark"] .toast-success {
|
|
130
|
+
background-color: #238636;
|
|
131
|
+
border-color: #2ea043;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
[data-theme="dark"] .toast-error {
|
|
135
|
+
background-color: #da3633;
|
|
136
|
+
border-color: #f85149;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
[data-theme="dark"] .toast-warning {
|
|
140
|
+
background-color: #9e6a03;
|
|
141
|
+
border-color: #d29922;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
[data-theme="dark"] .toast-info {
|
|
145
|
+
background-color: #1f6feb;
|
|
146
|
+
border-color: #58a6ff;
|
|
147
|
+
}
|
package/public/index.html
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
// Copyright 2026 Tim Perkins (tjwp) | SPDX-License-Identifier: Apache-2.0
|
|
2
2
|
/**
|
|
3
3
|
* Toast Notification Component
|
|
4
|
-
* Shows temporary success/error/warning/info messages at the top of the page
|
|
4
|
+
* Shows temporary success/error/warning/info messages at the top of the page.
|
|
5
|
+
* Each toast closes on its timer, or at once when the user clicks its close button.
|
|
5
6
|
*/
|
|
6
7
|
class Toast {
|
|
8
|
+
// Length of the fade-out animation before the toast node is removed
|
|
9
|
+
static FADE_MS = 300;
|
|
10
|
+
|
|
7
11
|
constructor() {
|
|
8
12
|
this.toastContainer = null;
|
|
9
13
|
this.activeToasts = [];
|
|
@@ -134,6 +138,8 @@ class Toast {
|
|
|
134
138
|
* @param {number} duration - Duration in ms
|
|
135
139
|
*/
|
|
136
140
|
showToast(toast, duration) {
|
|
141
|
+
this.addCloseButton(toast);
|
|
142
|
+
|
|
137
143
|
// Add to container
|
|
138
144
|
this.toastContainer.appendChild(toast);
|
|
139
145
|
this.activeToasts.push(toast);
|
|
@@ -144,22 +150,46 @@ class Toast {
|
|
|
144
150
|
}, 10);
|
|
145
151
|
|
|
146
152
|
// Auto dismiss after duration
|
|
147
|
-
setTimeout(() => {
|
|
153
|
+
toast._dismissTimer = setTimeout(() => {
|
|
148
154
|
this.dismissToast(toast);
|
|
149
155
|
}, duration);
|
|
150
156
|
}
|
|
151
157
|
|
|
158
|
+
/**
|
|
159
|
+
* Append a close button to the toast's content row
|
|
160
|
+
* @param {HTMLElement} toast - The toast element
|
|
161
|
+
*/
|
|
162
|
+
addCloseButton(toast) {
|
|
163
|
+
const content = toast.querySelector('.toast-content');
|
|
164
|
+
if (!content || content.querySelector('.toast-close')) return;
|
|
165
|
+
|
|
166
|
+
const button = document.createElement('button');
|
|
167
|
+
button.type = 'button';
|
|
168
|
+
button.className = 'toast-close';
|
|
169
|
+
button.setAttribute('aria-label', 'Dismiss notification');
|
|
170
|
+
button.innerHTML = `
|
|
171
|
+
<svg width="14" height="14" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
|
|
172
|
+
<path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path>
|
|
173
|
+
</svg>
|
|
174
|
+
`;
|
|
175
|
+
button.addEventListener('click', () => this.dismissToast(toast));
|
|
176
|
+
content.appendChild(button);
|
|
177
|
+
}
|
|
178
|
+
|
|
152
179
|
/**
|
|
153
180
|
* Dismiss a specific toast
|
|
154
181
|
* @param {HTMLElement} toast - The toast element to dismiss
|
|
155
182
|
*/
|
|
156
183
|
dismissToast(toast) {
|
|
157
184
|
if (!toast || !toast.parentNode) return;
|
|
185
|
+
if (toast.classList.contains('toast-fade-out')) return;
|
|
186
|
+
|
|
187
|
+
clearTimeout(toast._dismissTimer);
|
|
158
188
|
|
|
159
189
|
// Add fade-out class
|
|
160
190
|
toast.classList.add('toast-fade-out');
|
|
161
191
|
|
|
162
|
-
// Remove after fade animation
|
|
192
|
+
// Remove after fade animation
|
|
163
193
|
setTimeout(() => {
|
|
164
194
|
if (toast.parentNode) {
|
|
165
195
|
toast.parentNode.removeChild(toast);
|
|
@@ -170,7 +200,7 @@ class Toast {
|
|
|
170
200
|
if (index > -1) {
|
|
171
201
|
this.activeToasts.splice(index, 1);
|
|
172
202
|
}
|
|
173
|
-
},
|
|
203
|
+
}, Toast.FADE_MS);
|
|
174
204
|
}
|
|
175
205
|
|
|
176
206
|
/**
|
|
@@ -190,4 +220,9 @@ if (typeof window !== 'undefined' && !window.toast) {
|
|
|
190
220
|
} else {
|
|
191
221
|
window.toast = new Toast();
|
|
192
222
|
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
// Export for CommonJS testing environments
|
|
226
|
+
if (typeof module !== 'undefined' && module.exports) {
|
|
227
|
+
module.exports = { Toast };
|
|
193
228
|
}
|
package/public/local.html
CHANGED
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
<link rel="stylesheet" href="/css/pr.css">
|
|
34
34
|
<link rel="stylesheet" href="/css/ai-summary-modal.css">
|
|
35
35
|
<link rel="stylesheet" href="/css/analysis-config.css">
|
|
36
|
+
<link rel="stylesheet" href="/css/toast.css">
|
|
36
37
|
<link rel="stylesheet" href="/css/snippet-manager.css">
|
|
37
38
|
<link rel="stylesheet" href="/css/styles.css">
|
|
38
39
|
|
package/public/pr.html
CHANGED
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
<link rel="stylesheet" href="/css/pr.css">
|
|
42
42
|
<link rel="stylesheet" href="/css/ai-summary-modal.css">
|
|
43
43
|
<link rel="stylesheet" href="/css/analysis-config.css">
|
|
44
|
+
<link rel="stylesheet" href="/css/toast.css">
|
|
44
45
|
<link rel="stylesheet" href="/css/snippet-manager.css">
|
|
45
46
|
<link rel="stylesheet" href="/css/styles.css">
|
|
46
47
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* the official successor to the Gemini CLI.
|
|
7
7
|
*
|
|
8
8
|
* ============================================================================
|
|
9
|
-
* HOW THIS ADAPTER DRIVES `agy` (verified against agy 1.0.16; models re-verified against 1.5.
|
|
9
|
+
* HOW THIS ADAPTER DRIVES `agy` (verified against agy 1.0.16; models re-verified against 1.5.12)
|
|
10
10
|
* ============================================================================
|
|
11
11
|
* The Antigravity CLI's non-interactive "print" mode (`agy -p`) IS a real
|
|
12
12
|
* agentic loop — it reads files, searches the tree, and runs shell commands to
|
|
@@ -96,7 +96,8 @@ const TIMEOUT_BACKSTOP_GRACE_MS = 15000;
|
|
|
96
96
|
* fast, matching the other providers' pickers. Every built-in passes an
|
|
97
97
|
* effort-suffixed display name (`Gemini 4 Argon (High)`): as of agy 1.5.7 a
|
|
98
98
|
* bare display name is "not recognized", and a bare slug resolves to the
|
|
99
|
-
* server-default effort (Medium for Argon), so effort stays in
|
|
99
|
+
* server-default effort (Medium for Argon, High for Neon), so effort stays in
|
|
100
|
+
* the `cliName`.
|
|
100
101
|
*
|
|
101
102
|
* Gemini 3.8 Flash at high effort stays the default: it is the strongest
|
|
102
103
|
* Gemini every agy plan can run (DeepSWE v1.1 73.7, Terminal-Bench 2.1 89.4),
|
|
@@ -106,6 +107,18 @@ const TIMEOUT_BACKSTOP_GRACE_MS = 15000;
|
|
|
106
107
|
* that tier here, and getFastTierModel() picks the first `tier: 'fast'` model
|
|
107
108
|
* for JSON extraction, so each tier must be LED by a model every plan can run.
|
|
108
109
|
*
|
|
110
|
+
* Gemini 4 Neon (GA 2026-11-18) is the mid-tier Gemini 4 model, adapted from
|
|
111
|
+
* Carbon: "Carbon tackles your hardest, long-horizon projects and Hydrogen
|
|
112
|
+
* handles fast everyday execution, Neon balances depth and efficiency."
|
|
113
|
+
* Terminal-Bench 4.1 65.2 (Hydrogen 57.0, 3.8 Flash 18.2); default effort
|
|
114
|
+
* High, with XHigh available. It is an explicit choice, not the default or a
|
|
115
|
+
* tier leader: at $3/$15 per 1M tokens it costs four times 3.8 Flash and
|
|
116
|
+
* twice Hydrogen, has no API free tier, and is rolling out to paid Google AI
|
|
117
|
+
* Pro, Ultra, Gemini Enterprise, and `GEMINI_API_KEY` sign-ins only. agy
|
|
118
|
+
* resolves the bare `gemini-4-neon` slug to High, so that id is an alias of
|
|
119
|
+
* the High entry. Antigravity made Neon its own default for new conversations;
|
|
120
|
+
* pair-review keeps 3.8 Flash because every plan can run it.
|
|
121
|
+
*
|
|
109
122
|
* Gemini 4 Hydrogen (GA 2026-11-12) is the everyday Gemini 4 model and 3.8
|
|
110
123
|
* Flash's successor (Terminal-Bench 4.1 57.0 vs 18.2; xhigh is a new level).
|
|
111
124
|
* It is an explicit choice, not the default: at $1.50/$7.50 per 1M tokens it
|
|
@@ -119,9 +132,14 @@ const TIMEOUT_BACKSTOP_GRACE_MS = 15000;
|
|
|
119
132
|
* High, which is exactly what `gemini-4-argon-high` now runs.
|
|
120
133
|
*
|
|
121
134
|
* Gemini 4 Carbon (Ultra / Enterprise only) is not built in: agy offers it
|
|
122
|
-
* only to Application Default Credentials
|
|
123
|
-
* Google-account sign-in reports it as "not recognized". Reach
|
|
124
|
-
* `providers.antigravity.models` config override with `cli_model`.
|
|
135
|
+
* only to Application Default Credentials (`AGY_ADC_AUTH`) and `GEMINI_API_KEY`
|
|
136
|
+
* sign-ins, and a Google-account sign-in reports it as "not recognized". Reach
|
|
137
|
+
* it via a `providers.antigravity.models` config override with `cli_model`.
|
|
138
|
+
*
|
|
139
|
+
* The Orchestrator entries (`gemini-pro-orchestrator-neon`, `-g1-pro` for
|
|
140
|
+
* Argon, and Carbon) are not built in either: each pairs a planner with
|
|
141
|
+
* Gemini 4 Hydrogen as the implementer at a fixed effort, a split built for
|
|
142
|
+
* editing code, not for a read-only review pass.
|
|
125
143
|
*
|
|
126
144
|
* Deprecated: gemini-3.1-pro-high, gemini-3.1-pro-low (alias gemini-3.1-pro) —
|
|
127
145
|
* agy no longer offers 3.1 Pro outside Enterprise ("not recognized as a known
|
|
@@ -132,7 +150,7 @@ const TIMEOUT_BACKSTOP_GRACE_MS = 15000;
|
|
|
132
150
|
* an unknown-model error. Retired 3.5 Flash ids are aliases of their 3.8 Flash
|
|
133
151
|
* counterparts at the same effort, so saved selections keep working.
|
|
134
152
|
*
|
|
135
|
-
* `agy` also exposes Claude and GPT-OSS models; those remain reachable via a
|
|
153
|
+
* `agy` also exposes Claude (Opus 5.5, Sonnet 5.5) and GPT-OSS models; those remain reachable via a
|
|
136
154
|
* `providers.antigravity.models` config override but are intentionally left
|
|
137
155
|
* out of the default picker to keep the cross-provider model-mismatch guard
|
|
138
156
|
* and the UX unambiguous.
|
|
@@ -151,6 +169,28 @@ const ANTIGRAVITY_MODELS = [
|
|
|
151
169
|
badgeClass: 'badge-recommended',
|
|
152
170
|
default: true
|
|
153
171
|
},
|
|
172
|
+
{
|
|
173
|
+
id: 'gemini-4-neon-xhigh',
|
|
174
|
+
cliName: 'Gemini 4 Neon (XHigh)',
|
|
175
|
+
name: '4 Neon (XHigh)',
|
|
176
|
+
tier: 'thorough',
|
|
177
|
+
tagline: 'Deepest Review — Paid Plan',
|
|
178
|
+
description: 'Gemini 4 Neon (Nov 2026), Google\'s mid-tier model adapted from Gemini 4 Carbon, at extra-high effort — Terminal-Bench 4.1 65.2 vs Hydrogen\'s 57.0. $3/$15 per 1M tokens, four times 3.8 Flash; rolling out to paid Google AI Pro, Ultra, and Gemini Enterprise plans and paid API keys. Uses the thorough prompt set.',
|
|
179
|
+
badge: 'Newest',
|
|
180
|
+
badgeClass: 'badge-power'
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
id: 'gemini-4-neon-high',
|
|
184
|
+
cliName: 'Gemini 4 Neon (High)',
|
|
185
|
+
// agy resolves the bare `gemini-4-neon` slug to High.
|
|
186
|
+
aliases: ['gemini-4-neon'],
|
|
187
|
+
name: '4 Neon (High)',
|
|
188
|
+
tier: 'thorough',
|
|
189
|
+
tagline: 'Deep Review — Paid Plan',
|
|
190
|
+
description: 'Gemini 4 Neon at its default high effort, which balances depth and efficiency between Hydrogen and Carbon. $3/$15 per 1M tokens; rolling out to paid Google AI Pro, Ultra, and Gemini Enterprise plans and paid API keys. Uses the thorough prompt set.',
|
|
191
|
+
badge: 'Paid Plan',
|
|
192
|
+
badgeClass: 'badge-power'
|
|
193
|
+
},
|
|
154
194
|
{
|
|
155
195
|
id: 'gemini-4-hydrogen-xhigh',
|
|
156
196
|
cliName: 'Gemini 4 Hydrogen (XHigh)',
|
|
@@ -158,7 +198,7 @@ const ANTIGRAVITY_MODELS = [
|
|
|
158
198
|
tier: 'thorough',
|
|
159
199
|
tagline: 'Deepest Everyday Review',
|
|
160
200
|
description: 'Gemini 4 Hydrogen (Nov 2026), the 3.8 Flash successor, at its new extra-high effort — Terminal-Bench 4.1 57.0 vs 3.8 Flash\'s 18.2. $1.50/$7.50 per 1M tokens, twice 3.8 Flash; rolling out to paid Google AI Pro and Ultra plans first. Uses the thorough prompt set.',
|
|
161
|
-
badge: '
|
|
201
|
+
badge: 'XHigh Effort',
|
|
162
202
|
badgeClass: 'badge-power'
|
|
163
203
|
},
|
|
164
204
|
{
|
|
@@ -204,6 +244,16 @@ const ANTIGRAVITY_MODELS = [
|
|
|
204
244
|
badge: 'Medium Effort',
|
|
205
245
|
badgeClass: 'badge-balanced'
|
|
206
246
|
},
|
|
247
|
+
{
|
|
248
|
+
id: 'gemini-4-neon-medium',
|
|
249
|
+
cliName: 'Gemini 4 Neon (Medium)',
|
|
250
|
+
name: '4 Neon (Medium)',
|
|
251
|
+
tier: 'balanced',
|
|
252
|
+
tagline: 'Deeper Standard Review',
|
|
253
|
+
description: 'Gemini 4 Neon at medium effort — more depth than Hydrogen for routine PRs. $3/$15 per 1M tokens, four times 3.8 Flash; rolling out to paid Google AI Pro, Ultra, and Gemini Enterprise plans and paid API keys.',
|
|
254
|
+
badge: 'Paid Plan',
|
|
255
|
+
badgeClass: 'badge-balanced'
|
|
256
|
+
},
|
|
207
257
|
{
|
|
208
258
|
id: 'gemini-3.8-flash-low',
|
|
209
259
|
cliName: 'Gemini 3.8 Flash (Low)',
|