@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.
@@ -555,7 +555,56 @@ var MODELS = [
555
555
  authStorageKeys: GEMINI_AUTH_KEYS
556
556
  },
557
557
  // Keep 3.1 Flash Lite first for the working OAuth default and fast-model routing.
558
- // New GA models are opt-in; Code Assist access varies by account. Gemini 3.7
558
+ // New GA models are opt-in; Code Assist access varies by account.
559
+ // Gemini 4 (GA Nov 2026, ai.google.dev/gemini-api/docs/changelog): a unified 1M window and
560
+ // 64K synchronous output. Hydrogen also takes an `xhigh` thinking level; the ladder here
561
+ // stops at `high` like the other Gemini models.
562
+ {
563
+ // The fast everyday model, on the free tier too ($1.50 / $7.50 per 1M paid).
564
+ id: "gemini-4-hydrogen",
565
+ name: "Gemini 4 Hydrogen",
566
+ provider: "gemini",
567
+ contextWindow: 1048576,
568
+ maxOutputTokens: 65536,
569
+ supportsThinking: true,
570
+ supportsImages: true,
571
+ supportsVideo: true,
572
+ maxVideoBytes: 20 * 1024 * 1024,
573
+ costTier: "medium",
574
+ maxThinkingLevel: "high",
575
+ authStorageKeys: GEMINI_AUTH_KEYS
576
+ },
577
+ {
578
+ // Paid tier only ($4 / $20 per 1M from Dec 1, 2026).
579
+ id: "gemini-4-argon",
580
+ name: "Gemini 4 Argon",
581
+ provider: "gemini",
582
+ contextWindow: 1048576,
583
+ maxOutputTokens: 65536,
584
+ supportsThinking: true,
585
+ supportsImages: true,
586
+ supportsVideo: true,
587
+ maxVideoBytes: 20 * 1024 * 1024,
588
+ costTier: "high",
589
+ maxThinkingLevel: "high",
590
+ authStorageKeys: GEMINI_AUTH_KEYS
591
+ },
592
+ {
593
+ // The strongest Gemini 4 reasoning model; paid tier only.
594
+ id: "gemini-4-carbon",
595
+ name: "Gemini 4 Carbon",
596
+ provider: "gemini",
597
+ contextWindow: 1048576,
598
+ maxOutputTokens: 65536,
599
+ supportsThinking: true,
600
+ supportsImages: true,
601
+ supportsVideo: true,
602
+ maxVideoBytes: 20 * 1024 * 1024,
603
+ costTier: "high",
604
+ maxThinkingLevel: "high",
605
+ authStorageKeys: GEMINI_AUTH_KEYS
606
+ },
607
+ // Gemini 3.7
559
608
  // Flash is retired: Google deprecated it on 2026-10-08 and routes every
560
609
  // `gemini-3.7-flash` request to 3.8 Flash (ai.google.dev/gemini-api/docs/
561
610
  // changelog), so a saved session on it falls back to the provider default.
@@ -573,6 +622,21 @@ var MODELS = [
573
622
  maxThinkingLevel: "high",
574
623
  authStorageKeys: GEMINI_AUTH_KEYS
575
624
  },
625
+ {
626
+ // Replaced 3.5 Flash, which Google now routes here (changelog).
627
+ id: "gemini-3.6-flash",
628
+ name: "Gemini 3.6 Flash",
629
+ provider: "gemini",
630
+ contextWindow: 1048576,
631
+ maxOutputTokens: 65536,
632
+ supportsThinking: true,
633
+ supportsImages: true,
634
+ supportsVideo: true,
635
+ maxVideoBytes: 20 * 1024 * 1024,
636
+ costTier: "low",
637
+ maxThinkingLevel: "high",
638
+ authStorageKeys: GEMINI_AUTH_KEYS
639
+ },
576
640
  {
577
641
  id: "gemini-3.5-flash-lite",
578
642
  name: "Gemini 3.5 Flash Lite",