@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.
@@ -2300,17 +2300,16 @@ var MODELS = [
2300
2300
  },
2301
2301
  // ── OpenAI (Codex) ─────────────────────────────────────
2302
2302
  {
2303
- // GPT-6 Astra — "Our most capable model for complex, demanding work."
2304
- // (Codex catalog priority 2, listed for every ChatGPT plan, requires a
2305
- // Codex client >= 0.153.0). Same split as 5.6:
2306
- // 1.05M on the public Responses API, 272K on the ChatGPT plan route
2307
- // (openai/codex models.json, `gpt-6-astra`). Reasoning ladder low → medium
2303
+ // GPT-6.2 Astra (2026-11) — "Our most capable model for your hardest
2304
+ // projects." Replaced GPT-6 Astra. $8/$40 MTok, cached input $0.40.
2305
+ // 1.05M on the public Responses API (922K max input); 272K on the ChatGPT
2306
+ // plan route, carried over from GPT-6 Astra. Reasoning ladder low → medium
2308
2307
  // → high → xhigh → max → ultra; `ultra` is the Codex orchestration preset
2309
2308
  // (multi_agent v2) and is Codex-only — the public API tops out at `max`.
2310
2309
  // OpenAI requires the Responses API for tool calling on Astra, so both
2311
2310
  // the ChatGPT plan and API keys ride gg-ai's Responses transport.
2312
- id: "gpt-6-astra",
2313
- name: "GPT-6 Astra",
2311
+ id: "gpt-6.2-astra",
2312
+ name: "GPT-6.2 Astra",
2314
2313
  provider: "openai",
2315
2314
  contextWindow: 105e4,
2316
2315
  codexContextWindow: 272e3,
@@ -2324,11 +2323,11 @@ var MODELS = [
2324
2323
  },
2325
2324
  {
2326
2325
  // Codex Fast mode for Astra (catalog `service_tiers: priority`, "2x speed,
2327
- // increased usage"). gg-ai's `stream()` sends it as `gpt-6-astra` +
2326
+ // increased usage"). gg-ai's `stream()` sends it as `gpt-6.2-astra` +
2328
2327
  // `service_tier: "priority"`, exactly what the Codex CLI sends. On a
2329
2328
  // ChatGPT plan it draws included limits at 2.5x the standard rate.
2330
- id: "gpt-6-astra-fast",
2331
- name: "GPT-6 Astra Fast",
2329
+ id: "gpt-6.2-astra-fast",
2330
+ name: "GPT-6.2 Astra Fast",
2332
2331
  provider: "openai",
2333
2332
  contextWindow: 105e4,
2334
2333
  codexContextWindow: 272e3,
@@ -2344,18 +2343,20 @@ var MODELS = [
2344
2343
  // GPT-6 Sol + Luna — released 2026-09-22 below Astra, replacing the whole
2345
2344
  // GPT-5.6 family (Sol/Terra/Luna; there was no GPT-6 Terra — OpenAI's Codex
2346
2345
  // catalog upgrades 5.6 Terra to 6 Sol). GPT-6.1 Sol (2026-09-29) then replaced
2347
- // GPT-6 Sol, and GPT-6.1 Terra (2026-10-26) sits between Sol and Luna. Same window split as Astra: 1.05M on the public Responses API,
2346
+ // GPT-6 Sol, GPT-6.1 Terra (2026-10-26) sits between Sol and Luna, and
2347
+ // GPT-6.2 Sol (2026-11) replaced GPT-6.1 Sol. Same window split as Astra: 1.05M on the public Responses API,
2348
2348
  // 272K on the Codex route; 128K output, text+image input, freeform
2349
- // apply_patch, responses-lite transport. The GPT-5.6 ids and `gpt-6-sol` are
2349
+ // apply_patch, responses-lite transport. The GPT-5.6 ids, `gpt-6-sol`,
2350
+ // `gpt-6.1-sol` and `gpt-6-astra` are
2350
2351
  // retired — a saved session on one falls back to the provider default on
2351
2352
  // next start.
2352
2353
  {
2353
- // GPT-6.1 Sol — "Latest workhorse model for coding and everyday work."
2354
- // (Codex priority 1, default low). $2/$10 MTok, cached input $0.10. Ladder low →
2354
+ // GPT-6.2 Sol — "Our go-to model for everyday work." $2/$10 MTok, cached
2355
+ // input $0.10. Default low, carried over from 6.1 Sol. Ladder low →
2355
2356
  // medium → high → xhigh → max → ultra; ultra is the Codex orchestration
2356
2357
  // preset (xhigh effort on the wire + proactive local subagent delegation).
2357
- id: "gpt-6.1-sol",
2358
- name: "GPT-6.1 Sol",
2358
+ id: "gpt-6.2-sol",
2359
+ name: "GPT-6.2 Sol",
2359
2360
  provider: "openai",
2360
2361
  contextWindow: 105e4,
2361
2362
  codexContextWindow: 272e3,
@@ -2368,10 +2369,10 @@ var MODELS = [
2368
2369
  maxThinkingLevel: "ultra"
2369
2370
  },
2370
2371
  {
2371
- // Codex Fast mode for 6.1 Sol ("2x speed, increased usage") — see
2372
- // `gpt-6-astra-fast` for the wire mapping and billing.
2373
- id: "gpt-6.1-sol-fast",
2374
- name: "GPT-6.1 Sol Fast",
2372
+ // Codex Fast mode for 6.2 Sol ("2x speed, increased usage") — see
2373
+ // `gpt-6.2-astra-fast` for the wire mapping and billing.
2374
+ id: "gpt-6.2-sol-fast",
2375
+ name: "GPT-6.2 Sol Fast",
2375
2376
  provider: "openai",
2376
2377
  contextWindow: 105e4,
2377
2378
  codexContextWindow: 272e3,
@@ -2402,7 +2403,7 @@ var MODELS = [
2402
2403
  maxThinkingLevel: "ultra"
2403
2404
  },
2404
2405
  {
2405
- // Codex Fast mode for 6.1 Terra ("1.5x speed") — see `gpt-6-astra-fast`
2406
+ // Codex Fast mode for 6.1 Terra ("1.5x speed") — see `gpt-6.2-astra-fast`
2406
2407
  // for the wire mapping and billing.
2407
2408
  id: "gpt-6.1-terra-fast",
2408
2409
  name: "GPT-6.1 Terra Fast",
@@ -2436,7 +2437,7 @@ var MODELS = [
2436
2437
  maxThinkingLevel: "max"
2437
2438
  },
2438
2439
  {
2439
- // Codex Fast mode for Luna ("1.5x speed") — see `gpt-6-astra-fast` for the
2440
+ // Codex Fast mode for Luna ("1.5x speed") — see `gpt-6.2-astra-fast` for the
2440
2441
  // wire mapping and billing. Listed after Luna so compaction summaries
2441
2442
  // (first `low` OpenAI model) stay on standard-speed Luna.
2442
2443
  id: "gpt-6-luna-fast",
@@ -2539,6 +2540,54 @@ var MODELS = [
2539
2540
  authStorageKeys: GEMINI_AUTH_KEYS
2540
2541
  },
2541
2542
  // Keep 3.1 Flash Lite first for the default and fast-model routing.
2543
+ // Gemini 4 (GA Nov 2026, ai.google.dev/gemini-api/docs/changelog): a unified 1M window and
2544
+ // 64K synchronous output. Hydrogen also takes an `xhigh` thinking level; the ladder here
2545
+ // stops at `high` like the other Gemini models.
2546
+ {
2547
+ // The fast everyday model, on the free tier too ($1.50 / $7.50 per 1M paid).
2548
+ id: "gemini-4-hydrogen",
2549
+ name: "Gemini 4 Hydrogen",
2550
+ provider: "gemini",
2551
+ contextWindow: 1048576,
2552
+ maxOutputTokens: 65536,
2553
+ supportsThinking: true,
2554
+ supportsImages: true,
2555
+ supportsVideo: true,
2556
+ maxVideoBytes: 20 * 1024 * 1024,
2557
+ costTier: "medium",
2558
+ maxThinkingLevel: "high",
2559
+ authStorageKeys: GEMINI_AUTH_KEYS
2560
+ },
2561
+ {
2562
+ // Paid tier only ($4 / $20 per 1M from Dec 1, 2026).
2563
+ id: "gemini-4-argon",
2564
+ name: "Gemini 4 Argon",
2565
+ provider: "gemini",
2566
+ contextWindow: 1048576,
2567
+ maxOutputTokens: 65536,
2568
+ supportsThinking: true,
2569
+ supportsImages: true,
2570
+ supportsVideo: true,
2571
+ maxVideoBytes: 20 * 1024 * 1024,
2572
+ costTier: "high",
2573
+ maxThinkingLevel: "high",
2574
+ authStorageKeys: GEMINI_AUTH_KEYS
2575
+ },
2576
+ {
2577
+ // The strongest Gemini 4 reasoning model; paid tier only.
2578
+ id: "gemini-4-carbon",
2579
+ name: "Gemini 4 Carbon",
2580
+ provider: "gemini",
2581
+ contextWindow: 1048576,
2582
+ maxOutputTokens: 65536,
2583
+ supportsThinking: true,
2584
+ supportsImages: true,
2585
+ supportsVideo: true,
2586
+ maxVideoBytes: 20 * 1024 * 1024,
2587
+ costTier: "high",
2588
+ maxThinkingLevel: "high",
2589
+ authStorageKeys: GEMINI_AUTH_KEYS
2590
+ },
2542
2591
  // Gemini 3.7
2543
2592
  // Flash is retired: Google deprecated it on 2026-10-08 and routes every
2544
2593
  // `gemini-3.7-flash` request to 3.8 Flash (ai.google.dev/gemini-api/docs/
@@ -2557,6 +2606,21 @@ var MODELS = [
2557
2606
  maxThinkingLevel: "high",
2558
2607
  authStorageKeys: GEMINI_AUTH_KEYS
2559
2608
  },
2609
+ {
2610
+ // Replaced 3.5 Flash, which Google now routes here (changelog).
2611
+ id: "gemini-3.6-flash",
2612
+ name: "Gemini 3.6 Flash",
2613
+ provider: "gemini",
2614
+ contextWindow: 1048576,
2615
+ maxOutputTokens: 65536,
2616
+ supportsThinking: true,
2617
+ supportsImages: true,
2618
+ supportsVideo: true,
2619
+ maxVideoBytes: 20 * 1024 * 1024,
2620
+ costTier: "low",
2621
+ maxThinkingLevel: "high",
2622
+ authStorageKeys: GEMINI_AUTH_KEYS
2623
+ },
2560
2624
  {
2561
2625
  id: "gemini-3.5-flash-lite",
2562
2626
  name: "Gemini 3.5 Flash Lite",
@@ -3104,7 +3168,7 @@ function getVideoByteLimit(modelId) {
3104
3168
  }
3105
3169
  var DEFAULT_MODEL_IDS = {
3106
3170
  xiaomi: "mimo-v2.6-pro",
3107
- openai: "gpt-6.1-sol",
3171
+ openai: "gpt-6.2-sol",
3108
3172
  gemini: "gemini-3.1-flash-lite",
3109
3173
  glm: "glm-5.3",
3110
3174
  moonshot: "kimi-k3",
@@ -3265,4 +3329,4 @@ export {
3265
3329
  getDefaultThinkingLevel,
3266
3330
  getSummaryModel
3267
3331
  };
3268
- //# sourceMappingURL=chunk-7OUR44Y4.js.map
3332
+ //# sourceMappingURL=chunk-757P7L4T.js.map