@prestyj/core 5.34.0 → 5.35.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/dist/{chunk-7IHCMEIY.js → chunk-WSFHVWQ4.js} +66 -2
- package/dist/{chunk-7IHCMEIY.js.map → chunk-WSFHVWQ4.js.map} +1 -1
- package/dist/index.cjs +66 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/model-registry.cjs +65 -1
- package/dist/model-registry.cjs.map +1 -1
- package/dist/model-registry.js +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -3202,7 +3202,56 @@ var MODELS = [
|
|
|
3202
3202
|
authStorageKeys: GEMINI_AUTH_KEYS
|
|
3203
3203
|
},
|
|
3204
3204
|
// Keep 3.1 Flash Lite first for the working OAuth default and fast-model routing.
|
|
3205
|
-
// New GA models are opt-in; Code Assist access varies by account.
|
|
3205
|
+
// New GA models are opt-in; Code Assist access varies by account.
|
|
3206
|
+
// Gemini 4 (GA Nov 2026, ai.google.dev/gemini-api/docs/changelog): a unified 1M window and
|
|
3207
|
+
// 64K synchronous output. Hydrogen also takes an `xhigh` thinking level; the ladder here
|
|
3208
|
+
// stops at `high` like the other Gemini models.
|
|
3209
|
+
{
|
|
3210
|
+
// The fast everyday model, on the free tier too ($1.50 / $7.50 per 1M paid).
|
|
3211
|
+
id: "gemini-4-hydrogen",
|
|
3212
|
+
name: "Gemini 4 Hydrogen",
|
|
3213
|
+
provider: "gemini",
|
|
3214
|
+
contextWindow: 1048576,
|
|
3215
|
+
maxOutputTokens: 65536,
|
|
3216
|
+
supportsThinking: true,
|
|
3217
|
+
supportsImages: true,
|
|
3218
|
+
supportsVideo: true,
|
|
3219
|
+
maxVideoBytes: 20 * 1024 * 1024,
|
|
3220
|
+
costTier: "medium",
|
|
3221
|
+
maxThinkingLevel: "high",
|
|
3222
|
+
authStorageKeys: GEMINI_AUTH_KEYS
|
|
3223
|
+
},
|
|
3224
|
+
{
|
|
3225
|
+
// Paid tier only ($4 / $20 per 1M from Dec 1, 2026).
|
|
3226
|
+
id: "gemini-4-argon",
|
|
3227
|
+
name: "Gemini 4 Argon",
|
|
3228
|
+
provider: "gemini",
|
|
3229
|
+
contextWindow: 1048576,
|
|
3230
|
+
maxOutputTokens: 65536,
|
|
3231
|
+
supportsThinking: true,
|
|
3232
|
+
supportsImages: true,
|
|
3233
|
+
supportsVideo: true,
|
|
3234
|
+
maxVideoBytes: 20 * 1024 * 1024,
|
|
3235
|
+
costTier: "high",
|
|
3236
|
+
maxThinkingLevel: "high",
|
|
3237
|
+
authStorageKeys: GEMINI_AUTH_KEYS
|
|
3238
|
+
},
|
|
3239
|
+
{
|
|
3240
|
+
// The strongest Gemini 4 reasoning model; paid tier only.
|
|
3241
|
+
id: "gemini-4-carbon",
|
|
3242
|
+
name: "Gemini 4 Carbon",
|
|
3243
|
+
provider: "gemini",
|
|
3244
|
+
contextWindow: 1048576,
|
|
3245
|
+
maxOutputTokens: 65536,
|
|
3246
|
+
supportsThinking: true,
|
|
3247
|
+
supportsImages: true,
|
|
3248
|
+
supportsVideo: true,
|
|
3249
|
+
maxVideoBytes: 20 * 1024 * 1024,
|
|
3250
|
+
costTier: "high",
|
|
3251
|
+
maxThinkingLevel: "high",
|
|
3252
|
+
authStorageKeys: GEMINI_AUTH_KEYS
|
|
3253
|
+
},
|
|
3254
|
+
// Gemini 3.7
|
|
3206
3255
|
// Flash is retired: Google deprecated it on 2026-10-08 and routes every
|
|
3207
3256
|
// `gemini-3.7-flash` request to 3.8 Flash (ai.google.dev/gemini-api/docs/
|
|
3208
3257
|
// changelog), so a saved session on it falls back to the provider default.
|
|
@@ -3220,6 +3269,21 @@ var MODELS = [
|
|
|
3220
3269
|
maxThinkingLevel: "high",
|
|
3221
3270
|
authStorageKeys: GEMINI_AUTH_KEYS
|
|
3222
3271
|
},
|
|
3272
|
+
{
|
|
3273
|
+
// Replaced 3.5 Flash, which Google now routes here (changelog).
|
|
3274
|
+
id: "gemini-3.6-flash",
|
|
3275
|
+
name: "Gemini 3.6 Flash",
|
|
3276
|
+
provider: "gemini",
|
|
3277
|
+
contextWindow: 1048576,
|
|
3278
|
+
maxOutputTokens: 65536,
|
|
3279
|
+
supportsThinking: true,
|
|
3280
|
+
supportsImages: true,
|
|
3281
|
+
supportsVideo: true,
|
|
3282
|
+
maxVideoBytes: 20 * 1024 * 1024,
|
|
3283
|
+
costTier: "low",
|
|
3284
|
+
maxThinkingLevel: "high",
|
|
3285
|
+
authStorageKeys: GEMINI_AUTH_KEYS
|
|
3286
|
+
},
|
|
3223
3287
|
{
|
|
3224
3288
|
id: "gemini-3.5-flash-lite",
|
|
3225
3289
|
name: "Gemini 3.5 Flash Lite",
|
|
@@ -4571,7 +4635,7 @@ var ALL_AUTH_PROVIDERS = [
|
|
|
4571
4635
|
{
|
|
4572
4636
|
value: "gemini",
|
|
4573
4637
|
label: "Gemini",
|
|
4574
|
-
description: "Gemini 3.8 Flash, 3.5 Flash Lite, 3.1 Flash Lite, 3.5 Flash, 3.1 Pro (Preview)",
|
|
4638
|
+
description: "Gemini 4 Hydrogen, 4 Argon, 4 Carbon, 3.8 Flash, 3.6 Flash, 3.5 Flash Lite, 3.1 Flash Lite, 3.5 Flash, 3.1 Pro (Preview)",
|
|
4575
4639
|
methods: ["oauth", "apikey"],
|
|
4576
4640
|
apiKeyLabel: "Gemini",
|
|
4577
4641
|
apiKeyBaseUrl: GEMINI_API_KEY_BASE_URL,
|