@kenkaiiii/gg-core 5.53.2 → 5.54.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
@@ -2107,6 +2107,28 @@ var MODELS = [
2107
2107
  maxThinkingLevel: "high"
2108
2108
  },
2109
2109
  // ── OpenAI (Codex) ─────────────────────────────────────
2110
+ {
2111
+ // GPT-6 Astra — "Our most capable model for complex, demanding work."
2112
+ // (Codex catalog priority 1, default low). Same split as the 5.6 family:
2113
+ // 1.05M on the public Responses API, 272K on the ChatGPT OAuth route
2114
+ // (openai/codex models.json, `gpt-6-astra`). Reasoning ladder low → medium
2115
+ // → high → xhigh → max → ultra; `ultra` is the Codex orchestration preset
2116
+ // (multi_agent v2) and is Codex-only — the public API tops out at `max`.
2117
+ // Note: through a plain API key OpenAI requires the Responses API for tool
2118
+ // calling on Astra, so the Chat Completions path is text-only; the OAuth
2119
+ // Codex route is the supported way to use it as an agent.
2120
+ id: "gpt-6-astra",
2121
+ name: "GPT-6 Astra",
2122
+ provider: "openai",
2123
+ contextWindow: 105e4,
2124
+ codexContextWindow: 272e3,
2125
+ maxOutputTokens: 128e3,
2126
+ supportsThinking: true,
2127
+ supportsImages: true,
2128
+ supportsVideo: false,
2129
+ costTier: "high",
2130
+ maxThinkingLevel: "ultra"
2131
+ },
2110
2132
  // GPT-5.6 family — three agentic coding tiers launched July 2026. The public
2111
2133
  // Responses API advertises a 1.05M context window; OpenAI's Codex product
2112
2134
  // catalog advertises 272K on the ChatGPT OAuth route (corrected from the
@@ -2717,7 +2739,7 @@ function getSupportedThinkingLevels(provider, model) {
2717
2739
  return GLM_THINKING_LEVELS.slice(0, maxIndex2 + 1);
2718
2740
  }
2719
2741
  if (!isOpenAIGptModel(provider, model)) return [maxLevel];
2720
- const levels = model.startsWith("gpt-5.6-") ? OPENAI_GPT_56_THINKING_LEVELS : OPENAI_GPT_THINKING_LEVELS;
2742
+ const levels = model.startsWith("gpt-5.6-") || model.startsWith("gpt-6-") ? OPENAI_GPT_56_THINKING_LEVELS : OPENAI_GPT_THINKING_LEVELS;
2721
2743
  const maxIndex = levels.indexOf(maxLevel);
2722
2744
  if (maxIndex === -1) return ["medium"];
2723
2745
  return levels.slice(0, maxIndex + 1);