@kenkaiiii/gg-core 5.102.0 → 5.104.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/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 complex, demanding work."
2501
- // (Codex catalog priority 2, listed for every ChatGPT plan, requires a
2502
- // Codex client >= 0.153.0). Same split as 5.6:
2503
- // 1.05M on the public Responses API, 272K on the ChatGPT plan route
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, 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,
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 and `gpt-6-sol` are
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.1 Sol — "Latest workhorse model for coding and everyday work."
2551
- // (Codex priority 1, default low). $2/$10 MTok, cached input $0.10. Ladder low →
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.1-sol",
2555
- name: "GPT-6.1 Sol",
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.1 Sol ("2x speed, increased usage") — see
2569
- // `gpt-6-astra-fast` for the wire mapping and billing.
2570
- id: "gpt-6.1-sol-fast",
2571
- name: "GPT-6.1 Sol Fast",
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",
@@ -3301,7 +3302,7 @@ function getVideoByteLimit(modelId) {
3301
3302
  }
3302
3303
  var DEFAULT_MODEL_IDS = {
3303
3304
  xiaomi: "mimo-v2.6-pro",
3304
- openai: "gpt-6.1-sol",
3305
+ openai: "gpt-6.2-sol",
3305
3306
  gemini: "gemini-3.1-flash-lite",
3306
3307
  glm: "glm-5.3",
3307
3308
  moonshot: "kimi-k3",
@@ -4098,7 +4099,7 @@ var ALL_AUTH_PROVIDERS = [
4098
4099
  {
4099
4100
  value: "openai",
4100
4101
  label: "OpenAI",
4101
- description: "GPT-6 Astra, GPT-6 Astra Fast, GPT-6.1 Sol, GPT-6.1 Sol Fast, GPT-6.1 Terra, GPT-6.1 Terra Fast, GPT-6 Luna, GPT-6 Luna Fast",
4102
+ 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
4103
  methods: ["oauth", "apikey"],
4103
4104
  apiKeyLabel: "OpenAI",
4104
4105
  methodDetails: {