@kenkaiiii/gg-core 5.9.4 → 5.9.6

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
@@ -1524,49 +1524,63 @@ var MODELS = [
1524
1524
  maxThinkingLevel: "high"
1525
1525
  },
1526
1526
  // ── OpenAI (Codex) ─────────────────────────────────────
1527
+ // GPT-5.6 family — three agentic coding tiers launched July 2026. All share a
1528
+ // 372K context window: the Codex repo's models.json lists both `context_window`
1529
+ // AND `max_context_window` as 372000 for every 5.6 variant, so (unlike 5.4/5.5,
1530
+ // whose public-API 1M window exceeds the Codex-product cap) there's no split
1531
+ // between the API and Codex-transport windows — a single `contextWindow` is
1532
+ // correct in both code paths. All three take text+image input, freeform
1533
+ // apply_patch, text+image web search, and parallel tool calls.
1527
1534
  {
1528
- id: "gpt-5.5",
1529
- name: "GPT-5.5",
1535
+ // Sol — "Latest frontier agentic coding model." (priority 1, default low).
1536
+ // Reasoning ladder: low → medium → high → xhigh → max → ultra. gg-ai's
1537
+ // ThinkingLevel tops out at `max`, so that's the cap here; the `ultra` rung
1538
+ // (auto task delegation) needs a ThinkingLevel extension to expose.
1539
+ id: "gpt-5.6-sol",
1540
+ name: "GPT-5.6 Sol",
1530
1541
  provider: "openai",
1531
- contextWindow: 105e4,
1532
- codexContextWindow: 272e3,
1542
+ contextWindow: 372e3,
1533
1543
  maxOutputTokens: 128e3,
1534
1544
  supportsThinking: true,
1535
1545
  supportsImages: true,
1536
1546
  supportsVideo: false,
1537
1547
  costTier: "high",
1538
- maxThinkingLevel: "xhigh"
1548
+ maxThinkingLevel: "max"
1539
1549
  },
1540
1550
  {
1541
- id: "gpt-5.4",
1542
- name: "GPT-5.4",
1551
+ // Terra — "Balanced agentic coding model for everyday work." (priority 2,
1552
+ // default medium). Same 372K context + ultra reasoning ladder as Sol.
1553
+ id: "gpt-5.6-terra",
1554
+ name: "GPT-5.6 Terra",
1543
1555
  provider: "openai",
1544
- contextWindow: 105e4,
1545
- codexContextWindow: 272e3,
1556
+ contextWindow: 372e3,
1546
1557
  maxOutputTokens: 128e3,
1547
1558
  supportsThinking: true,
1548
1559
  supportsImages: true,
1549
1560
  supportsVideo: false,
1550
- costTier: "high",
1551
- maxThinkingLevel: "xhigh"
1561
+ costTier: "medium",
1562
+ maxThinkingLevel: "max"
1552
1563
  },
1553
1564
  {
1554
- id: "gpt-5.4-mini",
1555
- name: "GPT-5.4 Mini",
1565
+ // Luna — "Fast and affordable agentic coding model." (priority 3, default
1566
+ // medium). Same 372K context; reasoning tops out at `max` (no `ultra` rung).
1567
+ id: "gpt-5.6-luna",
1568
+ name: "GPT-5.6 Luna",
1556
1569
  provider: "openai",
1557
- contextWindow: 4e5,
1570
+ contextWindow: 372e3,
1558
1571
  maxOutputTokens: 128e3,
1559
1572
  supportsThinking: true,
1560
1573
  supportsImages: true,
1561
1574
  supportsVideo: false,
1562
1575
  costTier: "low",
1563
- maxThinkingLevel: "xhigh"
1576
+ maxThinkingLevel: "max"
1564
1577
  },
1565
1578
  {
1566
- id: "gpt-5.3-codex",
1567
- name: "GPT-5.3 Codex",
1579
+ id: "gpt-5.5",
1580
+ name: "GPT-5.5",
1568
1581
  provider: "openai",
1569
- contextWindow: 4e5,
1582
+ contextWindow: 105e4,
1583
+ codexContextWindow: 272e3,
1570
1584
  maxOutputTokens: 128e3,
1571
1585
  supportsThinking: true,
1572
1586
  supportsImages: true,
@@ -1840,7 +1854,7 @@ function getVideoByteLimit(modelId) {
1840
1854
  }
1841
1855
  function getDefaultModel(provider) {
1842
1856
  if (provider === "xiaomi") return MODELS.find((m) => m.id === "mimo-v2.5-pro");
1843
- if (provider === "openai") return MODELS.find((m) => m.id === "gpt-5.5");
1857
+ if (provider === "openai") return MODELS.find((m) => m.id === "gpt-5.6-sol");
1844
1858
  if (provider === "gemini") return MODELS.find((m) => m.id === "gemini-3.1-flash-lite");
1845
1859
  if (provider === "glm") return MODELS.find((m) => m.id === "glm-5.2");
1846
1860
  if (provider === "moonshot") return MODELS.find((m) => m.id === "kimi-k2.7-code");