@kenkaiiii/gg-core 5.103.0 → 5.105.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.
- package/dist/{chunk-7OUR44Y4.js → chunk-757P7L4T.js} +88 -24
- package/dist/{chunk-7OUR44Y4.js.map → chunk-757P7L4T.js.map} +1 -1
- package/dist/index.cjs +89 -25
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/model-registry.cjs +87 -23
- package/dist/model-registry.cjs.map +1 -1
- package/dist/model-registry.d.cts +2 -2
- package/dist/model-registry.d.ts +2 -2
- package/dist/model-registry.js +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -2497,17 +2497,16 @@ var MODELS = [
|
|
|
2497
2497
|
},
|
|
2498
2498
|
// ── OpenAI (Codex) ─────────────────────────────────────
|
|
2499
2499
|
{
|
|
2500
|
-
// GPT-6 Astra — "Our most capable model for
|
|
2501
|
-
//
|
|
2502
|
-
//
|
|
2503
|
-
//
|
|
2504
|
-
// (openai/codex models.json, `gpt-6-astra`). Reasoning ladder low → medium
|
|
2500
|
+
// GPT-6.2 Astra (2026-11) — "Our most capable model for your hardest
|
|
2501
|
+
// projects." Replaced GPT-6 Astra. $8/$40 MTok, cached input $0.40.
|
|
2502
|
+
// 1.05M on the public Responses API (922K max input); 272K on the ChatGPT
|
|
2503
|
+
// plan route, carried over from GPT-6 Astra. Reasoning ladder low → medium
|
|
2505
2504
|
// → high → xhigh → max → ultra; `ultra` is the Codex orchestration preset
|
|
2506
2505
|
// (multi_agent v2) and is Codex-only — the public API tops out at `max`.
|
|
2507
2506
|
// OpenAI requires the Responses API for tool calling on Astra, so both
|
|
2508
2507
|
// the ChatGPT plan and API keys ride gg-ai's Responses transport.
|
|
2509
|
-
id: "gpt-6-astra",
|
|
2510
|
-
name: "GPT-6 Astra",
|
|
2508
|
+
id: "gpt-6.2-astra",
|
|
2509
|
+
name: "GPT-6.2 Astra",
|
|
2511
2510
|
provider: "openai",
|
|
2512
2511
|
contextWindow: 105e4,
|
|
2513
2512
|
codexContextWindow: 272e3,
|
|
@@ -2521,11 +2520,11 @@ var MODELS = [
|
|
|
2521
2520
|
},
|
|
2522
2521
|
{
|
|
2523
2522
|
// Codex Fast mode for Astra (catalog `service_tiers: priority`, "2x speed,
|
|
2524
|
-
// increased usage"). gg-ai's `stream()` sends it as `gpt-6-astra` +
|
|
2523
|
+
// increased usage"). gg-ai's `stream()` sends it as `gpt-6.2-astra` +
|
|
2525
2524
|
// `service_tier: "priority"`, exactly what the Codex CLI sends. On a
|
|
2526
2525
|
// ChatGPT plan it draws included limits at 2.5x the standard rate.
|
|
2527
|
-
id: "gpt-6-astra-fast",
|
|
2528
|
-
name: "GPT-6 Astra Fast",
|
|
2526
|
+
id: "gpt-6.2-astra-fast",
|
|
2527
|
+
name: "GPT-6.2 Astra Fast",
|
|
2529
2528
|
provider: "openai",
|
|
2530
2529
|
contextWindow: 105e4,
|
|
2531
2530
|
codexContextWindow: 272e3,
|
|
@@ -2541,18 +2540,20 @@ var MODELS = [
|
|
|
2541
2540
|
// GPT-6 Sol + Luna — released 2026-09-22 below Astra, replacing the whole
|
|
2542
2541
|
// GPT-5.6 family (Sol/Terra/Luna; there was no GPT-6 Terra — OpenAI's Codex
|
|
2543
2542
|
// catalog upgrades 5.6 Terra to 6 Sol). GPT-6.1 Sol (2026-09-29) then replaced
|
|
2544
|
-
// GPT-6 Sol,
|
|
2543
|
+
// GPT-6 Sol, GPT-6.1 Terra (2026-10-26) sits between Sol and Luna, and
|
|
2544
|
+
// GPT-6.2 Sol (2026-11) replaced GPT-6.1 Sol. Same window split as Astra: 1.05M on the public Responses API,
|
|
2545
2545
|
// 272K on the Codex route; 128K output, text+image input, freeform
|
|
2546
|
-
// apply_patch, responses-lite transport. The GPT-5.6 ids
|
|
2546
|
+
// apply_patch, responses-lite transport. The GPT-5.6 ids, `gpt-6-sol`,
|
|
2547
|
+
// `gpt-6.1-sol` and `gpt-6-astra` are
|
|
2547
2548
|
// retired — a saved session on one falls back to the provider default on
|
|
2548
2549
|
// next start.
|
|
2549
2550
|
{
|
|
2550
|
-
// GPT-6.
|
|
2551
|
-
//
|
|
2551
|
+
// GPT-6.2 Sol — "Our go-to model for everyday work." $2/$10 MTok, cached
|
|
2552
|
+
// input $0.10. Default low, carried over from 6.1 Sol. Ladder low →
|
|
2552
2553
|
// medium → high → xhigh → max → ultra; ultra is the Codex orchestration
|
|
2553
2554
|
// preset (xhigh effort on the wire + proactive local subagent delegation).
|
|
2554
|
-
id: "gpt-6.
|
|
2555
|
-
name: "GPT-6.
|
|
2555
|
+
id: "gpt-6.2-sol",
|
|
2556
|
+
name: "GPT-6.2 Sol",
|
|
2556
2557
|
provider: "openai",
|
|
2557
2558
|
contextWindow: 105e4,
|
|
2558
2559
|
codexContextWindow: 272e3,
|
|
@@ -2565,10 +2566,10 @@ var MODELS = [
|
|
|
2565
2566
|
maxThinkingLevel: "ultra"
|
|
2566
2567
|
},
|
|
2567
2568
|
{
|
|
2568
|
-
// Codex Fast mode for 6.
|
|
2569
|
-
// `gpt-6-astra-fast` for the wire mapping and billing.
|
|
2570
|
-
id: "gpt-6.
|
|
2571
|
-
name: "GPT-6.
|
|
2569
|
+
// Codex Fast mode for 6.2 Sol ("2x speed, increased usage") — see
|
|
2570
|
+
// `gpt-6.2-astra-fast` for the wire mapping and billing.
|
|
2571
|
+
id: "gpt-6.2-sol-fast",
|
|
2572
|
+
name: "GPT-6.2 Sol Fast",
|
|
2572
2573
|
provider: "openai",
|
|
2573
2574
|
contextWindow: 105e4,
|
|
2574
2575
|
codexContextWindow: 272e3,
|
|
@@ -2599,7 +2600,7 @@ var MODELS = [
|
|
|
2599
2600
|
maxThinkingLevel: "ultra"
|
|
2600
2601
|
},
|
|
2601
2602
|
{
|
|
2602
|
-
// Codex Fast mode for 6.1 Terra ("1.5x speed") — see `gpt-6-astra-fast`
|
|
2603
|
+
// Codex Fast mode for 6.1 Terra ("1.5x speed") — see `gpt-6.2-astra-fast`
|
|
2603
2604
|
// for the wire mapping and billing.
|
|
2604
2605
|
id: "gpt-6.1-terra-fast",
|
|
2605
2606
|
name: "GPT-6.1 Terra Fast",
|
|
@@ -2633,7 +2634,7 @@ var MODELS = [
|
|
|
2633
2634
|
maxThinkingLevel: "max"
|
|
2634
2635
|
},
|
|
2635
2636
|
{
|
|
2636
|
-
// Codex Fast mode for Luna ("1.5x speed") — see `gpt-6-astra-fast` for the
|
|
2637
|
+
// Codex Fast mode for Luna ("1.5x speed") — see `gpt-6.2-astra-fast` for the
|
|
2637
2638
|
// wire mapping and billing. Listed after Luna so compaction summaries
|
|
2638
2639
|
// (first `low` OpenAI model) stay on standard-speed Luna.
|
|
2639
2640
|
id: "gpt-6-luna-fast",
|
|
@@ -2736,6 +2737,54 @@ var MODELS = [
|
|
|
2736
2737
|
authStorageKeys: GEMINI_AUTH_KEYS
|
|
2737
2738
|
},
|
|
2738
2739
|
// Keep 3.1 Flash Lite first for the default and fast-model routing.
|
|
2740
|
+
// Gemini 4 (GA Nov 2026, ai.google.dev/gemini-api/docs/changelog): a unified 1M window and
|
|
2741
|
+
// 64K synchronous output. Hydrogen also takes an `xhigh` thinking level; the ladder here
|
|
2742
|
+
// stops at `high` like the other Gemini models.
|
|
2743
|
+
{
|
|
2744
|
+
// The fast everyday model, on the free tier too ($1.50 / $7.50 per 1M paid).
|
|
2745
|
+
id: "gemini-4-hydrogen",
|
|
2746
|
+
name: "Gemini 4 Hydrogen",
|
|
2747
|
+
provider: "gemini",
|
|
2748
|
+
contextWindow: 1048576,
|
|
2749
|
+
maxOutputTokens: 65536,
|
|
2750
|
+
supportsThinking: true,
|
|
2751
|
+
supportsImages: true,
|
|
2752
|
+
supportsVideo: true,
|
|
2753
|
+
maxVideoBytes: 20 * 1024 * 1024,
|
|
2754
|
+
costTier: "medium",
|
|
2755
|
+
maxThinkingLevel: "high",
|
|
2756
|
+
authStorageKeys: GEMINI_AUTH_KEYS
|
|
2757
|
+
},
|
|
2758
|
+
{
|
|
2759
|
+
// Paid tier only ($4 / $20 per 1M from Dec 1, 2026).
|
|
2760
|
+
id: "gemini-4-argon",
|
|
2761
|
+
name: "Gemini 4 Argon",
|
|
2762
|
+
provider: "gemini",
|
|
2763
|
+
contextWindow: 1048576,
|
|
2764
|
+
maxOutputTokens: 65536,
|
|
2765
|
+
supportsThinking: true,
|
|
2766
|
+
supportsImages: true,
|
|
2767
|
+
supportsVideo: true,
|
|
2768
|
+
maxVideoBytes: 20 * 1024 * 1024,
|
|
2769
|
+
costTier: "high",
|
|
2770
|
+
maxThinkingLevel: "high",
|
|
2771
|
+
authStorageKeys: GEMINI_AUTH_KEYS
|
|
2772
|
+
},
|
|
2773
|
+
{
|
|
2774
|
+
// The strongest Gemini 4 reasoning model; paid tier only.
|
|
2775
|
+
id: "gemini-4-carbon",
|
|
2776
|
+
name: "Gemini 4 Carbon",
|
|
2777
|
+
provider: "gemini",
|
|
2778
|
+
contextWindow: 1048576,
|
|
2779
|
+
maxOutputTokens: 65536,
|
|
2780
|
+
supportsThinking: true,
|
|
2781
|
+
supportsImages: true,
|
|
2782
|
+
supportsVideo: true,
|
|
2783
|
+
maxVideoBytes: 20 * 1024 * 1024,
|
|
2784
|
+
costTier: "high",
|
|
2785
|
+
maxThinkingLevel: "high",
|
|
2786
|
+
authStorageKeys: GEMINI_AUTH_KEYS
|
|
2787
|
+
},
|
|
2739
2788
|
// Gemini 3.7
|
|
2740
2789
|
// Flash is retired: Google deprecated it on 2026-10-08 and routes every
|
|
2741
2790
|
// `gemini-3.7-flash` request to 3.8 Flash (ai.google.dev/gemini-api/docs/
|
|
@@ -2754,6 +2803,21 @@ var MODELS = [
|
|
|
2754
2803
|
maxThinkingLevel: "high",
|
|
2755
2804
|
authStorageKeys: GEMINI_AUTH_KEYS
|
|
2756
2805
|
},
|
|
2806
|
+
{
|
|
2807
|
+
// Replaced 3.5 Flash, which Google now routes here (changelog).
|
|
2808
|
+
id: "gemini-3.6-flash",
|
|
2809
|
+
name: "Gemini 3.6 Flash",
|
|
2810
|
+
provider: "gemini",
|
|
2811
|
+
contextWindow: 1048576,
|
|
2812
|
+
maxOutputTokens: 65536,
|
|
2813
|
+
supportsThinking: true,
|
|
2814
|
+
supportsImages: true,
|
|
2815
|
+
supportsVideo: true,
|
|
2816
|
+
maxVideoBytes: 20 * 1024 * 1024,
|
|
2817
|
+
costTier: "low",
|
|
2818
|
+
maxThinkingLevel: "high",
|
|
2819
|
+
authStorageKeys: GEMINI_AUTH_KEYS
|
|
2820
|
+
},
|
|
2757
2821
|
{
|
|
2758
2822
|
id: "gemini-3.5-flash-lite",
|
|
2759
2823
|
name: "Gemini 3.5 Flash Lite",
|
|
@@ -3301,7 +3365,7 @@ function getVideoByteLimit(modelId) {
|
|
|
3301
3365
|
}
|
|
3302
3366
|
var DEFAULT_MODEL_IDS = {
|
|
3303
3367
|
xiaomi: "mimo-v2.6-pro",
|
|
3304
|
-
openai: "gpt-6.
|
|
3368
|
+
openai: "gpt-6.2-sol",
|
|
3305
3369
|
gemini: "gemini-3.1-flash-lite",
|
|
3306
3370
|
glm: "glm-5.3",
|
|
3307
3371
|
moonshot: "kimi-k3",
|
|
@@ -4098,7 +4162,7 @@ var ALL_AUTH_PROVIDERS = [
|
|
|
4098
4162
|
{
|
|
4099
4163
|
value: "openai",
|
|
4100
4164
|
label: "OpenAI",
|
|
4101
|
-
description: "GPT-6 Astra, GPT-6 Astra Fast, GPT-6.
|
|
4165
|
+
description: "GPT-6.2 Astra, GPT-6.2 Astra Fast, GPT-6.2 Sol, GPT-6.2 Sol Fast, GPT-6.1 Terra, GPT-6.1 Terra Fast, GPT-6 Luna, GPT-6 Luna Fast",
|
|
4102
4166
|
methods: ["oauth", "apikey"],
|
|
4103
4167
|
apiKeyLabel: "OpenAI",
|
|
4104
4168
|
methodDetails: {
|
|
@@ -4120,7 +4184,7 @@ var ALL_AUTH_PROVIDERS = [
|
|
|
4120
4184
|
{
|
|
4121
4185
|
value: "gemini",
|
|
4122
4186
|
label: "Gemini",
|
|
4123
|
-
description: "Gemini 3.8 Flash, 3.5 Flash Lite, 3.1 Flash Lite, 3.5 Flash, 3.1 Pro (Preview)",
|
|
4187
|
+
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)",
|
|
4124
4188
|
methods: ["apikey"],
|
|
4125
4189
|
apiKeyLabel: "Gemini",
|
|
4126
4190
|
apiKeyBaseUrl: GEMINI_API_KEY_BASE_URL,
|