@compilr-dev/sdk 0.32.0 → 0.33.0

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.
@@ -161,60 +161,94 @@ export const MODEL_REGISTRY = [
161
161
  // ---------------------------------------------------------------------------
162
162
  // Gemini 2.x - Supported
163
163
  {
164
- id: 'gemini-2.5-flash-lite',
165
- displayName: 'Gemini 2.5 Flash Lite',
166
- description: 'Fast, low cost',
164
+ id: 'gemini-3.8-flash',
165
+ displayName: 'Gemini 3.8 Flash',
166
+ description: 'Most capable',
167
167
  provider: 'gemini',
168
168
  supportsImages: true,
169
- defaultTier: 'fast',
170
- thinkingFormat: 'gemini-v2',
169
+ supportsTools: true,
170
+ defaultTier: 'powerful',
171
+ thinkingFormat: 'gemini-v3',
171
172
  status: 'supported',
172
- contextWindow: 1000000,
173
+ contextWindow: 1048576,
174
+ notes: 'Newest Flash; max output 65,536',
173
175
  },
174
176
  {
175
- id: 'gemini-2.5-flash',
176
- displayName: 'Gemini 2.5 Flash',
177
+ id: 'gemini-3.5-flash',
178
+ displayName: 'Gemini 3.5 Flash',
177
179
  description: 'Balanced (recommended)',
178
180
  provider: 'gemini',
179
181
  supportsImages: true,
182
+ supportsTools: true,
180
183
  defaultTier: 'balanced',
181
- thinkingFormat: 'gemini-v2',
184
+ thinkingFormat: 'gemini-v3',
182
185
  status: 'supported',
183
- contextWindow: 1000000,
186
+ contextWindow: 1048576,
187
+ notes: 'GA; max output 65,536',
188
+ },
189
+ {
190
+ id: 'gemini-3.5-flash-lite',
191
+ displayName: 'Gemini 3.5 Flash Lite',
192
+ description: 'Fast, low cost',
193
+ provider: 'gemini',
194
+ supportsImages: true,
195
+ supportsTools: true,
196
+ defaultTier: 'fast',
197
+ thinkingFormat: 'gemini-v3',
198
+ status: 'supported',
199
+ contextWindow: 1048576,
200
+ notes: 'Max output 65,536',
184
201
  },
202
+ {
203
+ id: 'gemini-3.1-pro-preview',
204
+ displayName: 'Gemini 3.1 Pro (Preview)',
205
+ description: 'Pro tier, preview',
206
+ provider: 'gemini',
207
+ supportsImages: true,
208
+ supportsTools: true,
209
+ thinkingFormat: 'gemini-v3',
210
+ status: 'experimental',
211
+ contextWindow: 1048576,
212
+ notes: 'The only Pro on the Gemini API; PREVIEW — measured 2026-09-30, ~1 turn in 5 returns ' +
213
+ 'MALFORMED_RESPONSE (the provider now reports it instead of showing its internal text)',
214
+ },
215
+ // Legacy Gemini models. ⚠️ Google restricts the 2.5 line to accounts that already used it,
216
+ // so these can fail for a new key even though they work for an established one.
185
217
  {
186
218
  id: 'gemini-2.5-pro',
187
219
  displayName: 'Gemini 2.5 Pro',
188
- description: 'Most capable',
220
+ description: 'Previous generation',
189
221
  provider: 'gemini',
190
222
  supportsImages: true,
191
- defaultTier: 'powerful',
223
+ supportsTools: true,
192
224
  thinkingFormat: 'gemini-v2',
193
225
  status: 'supported',
194
- contextWindow: 1000000,
226
+ contextWindow: 1048576,
227
+ notes: 'Legacy — restricted to accounts that used it before; consider Gemini 3.8 Flash',
195
228
  },
196
- // Gemini 3.x - Preview, has stability issues with function calling
197
229
  {
198
- id: 'gemini-3-flash-preview',
199
- displayName: 'Gemini 3 Flash (Preview)',
200
- description: 'Preview - may have stability issues',
230
+ id: 'gemini-2.5-flash',
231
+ displayName: 'Gemini 2.5 Flash',
232
+ description: 'Previous generation',
201
233
  provider: 'gemini',
202
234
  supportsImages: true,
203
- thinkingFormat: 'gemini-v3',
235
+ supportsTools: true,
236
+ thinkingFormat: 'gemini-v2',
204
237
  status: 'supported',
205
- contextWindow: 1000000,
206
- notes: 'Preview: 500 errors during function calling, high token usage',
238
+ contextWindow: 1048576,
239
+ notes: 'Legacy — restricted to accounts that used it before; consider Gemini 3.5 Flash',
207
240
  },
208
241
  {
209
- id: 'gemini-3-pro-preview',
210
- displayName: 'Gemini 3 Pro (Preview)',
211
- description: 'Preview - may have stability issues',
242
+ id: 'gemini-2.5-flash-lite',
243
+ displayName: 'Gemini 2.5 Flash Lite',
244
+ description: 'Previous generation',
212
245
  provider: 'gemini',
213
246
  supportsImages: true,
214
- thinkingFormat: 'gemini-v3',
247
+ supportsTools: true,
248
+ thinkingFormat: 'gemini-v2',
215
249
  status: 'supported',
216
- contextWindow: 1000000,
217
- notes: 'Preview: Works but very high token usage during function calling',
250
+ contextWindow: 1048576,
251
+ notes: 'Legacy — restricted to accounts that used it before; consider Gemini 3.5 Flash Lite',
218
252
  },
219
253
  // ---------------------------------------------------------------------------
220
254
  // OpenAI Models
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compilr-dev/sdk",
3
- "version": "0.32.0",
3
+ "version": "0.33.0",
4
4
  "description": "Universal agent runtime for building AI-powered applications",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -81,7 +81,7 @@
81
81
  "node": ">=20.0.0"
82
82
  },
83
83
  "dependencies": {
84
- "@compilr-dev/agents": "^0.7.0",
84
+ "@compilr-dev/agents": "^0.7.1",
85
85
  "@compilr-dev/logger": "^0.1.0",
86
86
  "ajv": "^6.14.0",
87
87
  "yaml": "^2.8.4"